Create your own virus – Test your antivirus software

April 8th, 2009



Do you want to test your antivirus software to check whether it alive or dead?

First you need to create a virus to test your antivirus software.

Creating a virus?! Yes, I mean it. Here are the steps to create a virus. Don’t worry, this will not harm your computer. If you execute the file, it will print EICAR-STANDARD-ANTIVIRUS-TEST-FILE! and then stop.

Steps to create your own virus :

  • Paste the below text in a text file.


  • Save the file as myvirus.exe in desktop.
  • Within few seconds, your Antivirus will identify this file and take actions(delete/quarantine) on it.
  • If it is done, then you can conclude that your antivirus is Alive.
  • If your antivirus software does not find this file then it is time to change/update your antivirus.

The file created above is called as EICAR Standard Anti-Virus Test File which was developed by European Institute for Computer Antivirus Research.

This file was developed to test the antivirus softwares without have a real computer virus.

Like this article?

  1. grafitti123
    April 21st, 2009 at 15:02 | #1

    That is not a virus nor does it mimic one. Many antivirus vendors have designed their viruses to pick up this thing (pioneered by eicar) as a virus. In fact some like malwarebytes and superantispyware dont detect it at all. This is done by antivirus so that people can check if their protection is working. If uwant to simulate a virus, use the trojan simulator.

  2. kanapathi
    October 29th, 2009 at 08:27 | #2

    i need coding for creating a virus…..

  3. danielnana
    March 25th, 2010 at 09:50 | #3

    after creating a virus how do create your own antivirus. i have created a virus the procedures for creating antivirus.

  4. March 25th, 2010 at 11:02 | #4

    @danielnana Desctruction is simpler than construction :)

  5. boopalan
    September 3rd, 2010 at 08:37 | #5

    i want to develop own anti -virus software .what is the procedure to develop it?

  6. Isabel Allen
    September 9th, 2010 at 11:47 | #6

    not bad

  7. pratik
    November 15th, 2010 at 14:22 | #7

    I want Make own anti-virus software. Can you tell me procedure how to devlelop code…?

  8. Anand
    March 5th, 2011 at 07:59 | #8

    Windows 7, “Microsoft security essentials” not identifying this as a virus

  9. luke
    May 17th, 2011 at 15:24 | #9

    i want to make a virus to sent to someone I HATE NOTHING IS F****** SIMPLE THES DAYS!

  10. anomymous
    July 11th, 2011 at 06:41 | #10

    LOL , smadav can’t detect it

    October 3rd, 2011 at 04:28 | #11

    SMADAV can detect it but open the myvirus.exe folder first then it will warn you…

  12. hauntingclark
    December 24th, 2011 at 12:07 | #12

    What is the best antivirus as your look? Please tell me someone.

  13. Chandu
    February 20th, 2012 at 20:28 | #13

    That Code is not working
    My Anti virus is ESET NOD 32

  14. request
    March 8th, 2012 at 09:54 | #14

    How to design an Antivirus software? can any one help me…..

  15. Thomson
    August 21st, 2012 at 09:16 | #15

    i think kaspersky is the best

  16. mms131319
    November 8th, 2012 at 08:20 | #16


  17. Ferry
    November 18th, 2012 at 14:24 | #17

    Omg, my virus ”detector” has none virus detected. Very bad. My real name = Ferry. Not a boat or something.

  18. computersrus
    December 12th, 2012 at 21:20 | #18

    Me Too

  19. Appu
    December 19th, 2012 at 12:46 | #19

    Kaspersky is not bad or useless. It is not detecting the EICAR Test file because its so intelligent to identify such a ‘fake virus’

  20. samdee
    May 23rd, 2014 at 17:03 | #20

    ain’t detecting anything, try something better next please

Comments are closed.