YARA · Trellix Advanced Research Center
TRELLIX_ARC_Malw_Eicar
Rule to detect the EICAR pattern
- Author
- Marc Rivero | McAfee ATR Team
- Date
- 2026-09-01
- Modified
- 2020-08-14
- Score / Quality
- 75 / 70
What this rule detects
Rule to detect the EICAR pattern
Associated malware family: W32/Eicar.
It defines 1 patterns (1 text, 0 hex, 0 regex).
Summary generated from the rule's metadata and condition.
Rule source
rule TRELLIX_ARC_Malw_Eicar : EICAR
{
meta:
= "Rule to detect the EICAR pattern"
= "Marc Rivero | McAfee ATR Team"
= "16307b03-7fab-5d68-ad3b-0efcea952fcf"
= "2026-09-01"
= "2020-08-14"
= "https://www.eicar.org/"
= "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/malware/MALW_Eicar.yar#L1-L22"
= "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE"
= "275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f"
= "564b0592f40582fe71e2dab0c0f25c168462f9297c13e7c9f06ac51b492e4533"
= 75
= 70
= "EICAR"
= "eicar"
= "W32/Eicar"
= "Unknown"
= "Unknown"
strings:
$s1 = "X5O!P%@AP[4\\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*" fullword ascii
condition:
any of them
}
Strings (1 patterns)
| Identifier | Type | Value | Modifiers |
|---|---|---|---|
| $s1 | text | "X5O!P%@AP[4\\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*" | fullword ascii |
Condition
any of themIn plain words (Heuristic)
- At least one pattern in the rule must match.
Test this rule in your browser
Drop a file to scan it with this rule using YARA-X compiled to WebAssembly. Nothing is uploaded.
References
Sample hashes
Hashes of samples the author lists in the rule's meta (look them up in your threat-intelligence platform).
- 275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f
Licence & attribution
Author: Marc Rivero | McAfee ATR Team
Source repository: Trellix Advanced Research Center @ 1919562a59
Licence: Apache License 2.0 (repository licence)
Mirrored via YARA Forge 20260927, which prefixes rule names with the source and adds normalised meta fields.
Rule id: 16307b03-7fab-5d68-ad3b-0efcea952fcf
Metadata
| malware_type | eicar |
|---|---|
| malware_family | W32/Eicar |
| actor_type | Unknown |
| actor_group | Unknown |
Tags:EICAR
Related rules
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2026-09-01
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2026-09-01
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2020-04-21
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2020-07-21
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2020-08-20
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2020-08-19
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2020-04-24
- MalwareTrellix Advanced Research Center· Marc Rivero | McAfee ATR Team· 2020-04-17