World Library  
Flag as Inappropriate
Email this Article

EICAR test file

Article Id: WHEBN0000655457
Reproduction Date:

Title: EICAR test file  
Author: World Heritage Encyclopedia
Language: English
Subject: EICAR test file, GTUBE, Alphanumeric shellcode, Stanford dragon, The quick brown fox jumps over the lazy dog
Collection: Computer Security Software, Test Items
Publisher: World Heritage Encyclopedia

EICAR test file

The EICAR Standard Anti-Virus Test File or EICAR test file is a computer file that was developed by the antivirus (AV) programs. Instead of using real malware, which could do real damage, this test file allows people to test anti-virus software without having to use a real computer virus.

Anti-virus programmers set the EICAR string as a verified virus, similar to other identified signatures. A compliant virus scanner, when detecting the file, will respond in exactly the same manner as if it found a harmful virus. Not all virus scanners are compliant, and may not detect the file even when they are correctly configured.

The use of the EICAR test string can be more versatile than straightforward detection: 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.


  • Design 1
  • See also 2
  • References 3
  • External links 4


The file is a text file of between 68 and 128 bytes [1] that is a legitimate executable file called a COM file that can be run by MS-DOS, some work-alikes, and its successors OS/2 and Windows (except for 64-bit due to 16-bit limitations). When executed, the EICAR test file will print "EICAR-STANDARD-ANTIVIRUS-TEST-FILE!" and then will stop. The test string was 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 imposes on the execution of the test string.

The EICAR test string[2] reads:


See also


  1. ^ Eddy Willems, “The Winds of Change: Updates to the EICAR Test File”, Virus Bulletin June 2003
  2. ^

External links

  • Official Site of the European Institute For Computer Antivirus Research (also known as the European Expert Group for IT-Security)
  • Assembly-language analysis of the EICAR test file
  • Let's have fun with EICAR test file – detailed information and assembly analysis
  • Test Files and Product Evaluation: the Case for and against Malware Simulation
  • Antivirus results from scanning the EICAR file
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.