In this tutorial, I’ll show you how make a fake virus. The
only thing that you need is the Notepad. This virus is called EICAR and in fact
it is a standard virus that used to test antivirus. EICAR stands for European
Institute for Computer Antivirus Research and it cannot harm your system in any
ways.
From the Start Menu go to All Programs>Accessories>Notepad
Now in
Notepad copy and paste the following code:
Click on Save as and Save the document with any desired name and extension you want. Now scan it with your antivirus and you will see it will respond and detect it as a virus.