How To Make an Antivirus by yourself

How To Make an Antivirus by yourself

In today’s era of cyber warfare, Cyber has been rising for years in public awareness. With recent events of cyber warfare attacks like Hackers linked to Hezbollah breached telecom companies or Unidentified hackers breached one of the data centers of New Zealand’s central bank, it has become very important for every individual to understand the protection of information and implement security on connected systems against the cyber attacks.

If you have been struggling to find the reason why your computer is acting up lately then chances are that your computer has been infected by a malicious virus.

The amount of malware that exists on the web has skyrocketed reputable antivirus programs. Not only the systems are getting smarter the viruses are getting smarter too. Polymorphic viruses encrypt themselves in a different way every time they infect a host machine making them harder to detect a worm self-replicate so it can spread to other computers as well.

In this article, we will be telling you how a simple file made on a notepad can save secure your computer from malicious files.

Making an antivirus on Notepad

First of all you have to open notepad and paste the below code in it.

@ echo off

echo off turn off the active virus

taskkill / F / IM virusname1.exe / IM virusname2.exe

echo Deleting all of viruses based on size

for / RC: %% a in (*. exe) do if%% ~ za 157,184 equ del / A: HSRA “%% a”

echo deleting hidden virus

echo for drive c and subfolders

for / R C: %% a in (*. doc.exe) do del “%% a”

echo for drive d and subfolders

for / R D: %% a in (*. doc.exe) do del “%% a”

echo Unhide Document

cd / d c:

echo for drive C and subfolders

*. doc attrib-H-S-A / S

cd / d d:

echo for drive D and subfolders

*. doc attrib-H-S-A / S


After that save it with the extension (.bat) exactly like the screenshot below.

Just like that after running it press enter and antivirus will do its work.


Use this knowledge to better understand cybersecurity and the protection of your information on your computer. Share this article with your colleagues and feel free to contact us.

Leave a Reply

Your email address will not be published. Required fields are marked *