How to create a fake virus for testing anti-virus software installations.

Export to PDF | Export to DOC

The European Institute of Computer Anti-Virus Research, EICAR, center developed a standard to help users test anti-virus software.  This standard has been incorporated into most anti-virus software as the virus.

Note: This a harmless file.  IT IS NOT A VIRUS!   Most anti-virus packages recognize this text file as a virus for testing only.

To create the EICAR Standard Anti-Virus Test File, do the following:

  1. Highlight and copy the following line of code:


  2. Open any ASCII text editor (Notepad or DOS editor) and paste the copied code into the editor.
  3. Save the file as EICAR.COM.
  4. Save the file and scan it on the test machine or e-mail the file to the test machine.
  5. Delete the file when done testing.

Leave a Reply

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