EICAR test file
From Wikipedia, the free encyclopedia
The EICAR test file (official name: EICAR Standard Anti-Virus Test File) is a file, developed by the European Institute for Computer Antivirus Research, to test the response of computer antivirus (AV) programs. The rationale behind it is to allow people, companies, and AV programmers to test their software without having to use a real computer virus that could cause actual damage should the AV not respond correctly. EICAR likens the use of a live virus to test AV software to setting a fire in a trashcan to test a fire alarm, and promotes the EICAR test file as a safe alternative.
A compliant virus scanner, when detecting the file, will respond in exactly the same manner as if it found genuinely harmful code. Its use can be more versatile than straightforward detection - for example, a file containing the EICAR test string can be compressed or archived, and then the antivirus software can be run to see whether it can detect the test string in the compressed file.
The file is simply a text file of either 68 or 70 bytes that is a legitimate executable file called a COM file that can run by Microsoft operating systems and some work-alikes (except for 64-bit due to 16-bit limitations), including OS/2. When executed, it will print "EICAR-STANDARD-ANTIVIRUS-TEST-FILE!" and then stop. The test string was specifically engineered to consist of ASCII human-readable characters, easily created using a standard computer keyboard. It makes use of self-modifying code to work around technical issues that this constraint makes on the execution of the test string.
The Eicar test string reads:
X5O!P%@AP[4\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
It can be created by using Notepad and saving with .com as the extension, or downloaded from EICAR's web site.
Notes:
- The third character in the string is the capital letter O, not a zero.
- Although the string itself is 68 bytes in length, some text editors add an extra blank line (CR+LF) to the end of the file, increasing the size to 70 bytes. This does not affect its functionality.
[edit] See also
- GTUBE - a similar test for unsolicited bulk email (e-mail spam)
[edit] External links
- The Anti-Virus test file (EICAR)
- Assembly-language analysis of the EICAR test file
- Let's have fun with EICAR test file
- EICAR test file, antimalware testing with no collateral damages
This computer software article is a stub. You can help by expanding it. |