EICARgen is just a program that creates the EICAR Anti-Virus test file.
The EICAR Anti-Virus test file is 68 bytes long, and it will cause all Anti-Virus software to trigger a virus alert. Of course, this EICAR file is not a virus, it’s just an industry-standard test file. The EICAR file is only detected by Anti-Virus software that supports the EICAR file, but I’m not aware of any that doesn’t.
The EICAR Anti-Virus test file is great to test your Anti-Virus software, but it’s not easy to handle, because your Anti-Virus software keeps deleting it ;-)
Being a toolsmith, I came up with my own solution to this problem: I wrote a program that would just create the EICAR Anti-Virus test file when I need it.
EICARgen is a Windows console application. Start it without arguments, and it does nothing.
Start it with argument “write”, and it will create eicar.com in the working directory and then exit.
Add a filename as argument, and it will create the EICAR test file with the name you specified.
Replace argument “write” with “zip” to write a zip file that contains the EICAR test file, “pdf” to write a pdf file that embeds the EICAR test file, and “xls” to write a xls file that embeds the EICAR test file.
Compiled with Borland’s free C++ 5.5 compiler.