Test files › Security and validation › eicar.com.txt

EICAR anti-virus test file

The EICAR Standard Anti-Virus Test File: a 68-byte printable-ASCII string that every mainstream scanner is required to detect as if it were malware. It is not malware and contains no malicious code - it is a harmless COM program that prints a message.

↓ Download eicar.com.txt
Filenameeicar.com.txt
FormatTXT
Size68 bytes (68 bytes)
MIME typetext/plain; charset=utf-8
SHA-256275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f
What this file catchesWhether your antivirus integration is actually wired up. Upload this and confirm the scanner quarantines it. If it lands in your bucket clean, your scanning step is not running.

Related guides and tools

Sample TXT and encoding test filesUpload validation checklistQA test stringsVerify its SHA-256

Download & verify

curl -fsSL -o "eicar.com.txt" "https://flagged.hexaqa.com/security/eicar.com.txt"
curl -fsSL "https://flagged.hexaqa.com/security/eicar.com.txt" | sha256sum # expect: 275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f

More security and validation test files

gtube-spam.txthtml-xss-payloads.htmlpath-traversal-payloads.txtpolyglot-gif-html.gifshell-script.shsql-injection-payloads.txtwindows-batch.bat

← All Security and validation files