Skip to content

YARA · Trellix Advanced Research Center

TRELLIX_ARC_Malw_Eicar

Rule to detect the EICAR pattern

MalwareW32/EicarTrellix Advanced Research CenterApache License 2.0Compiles with YARA-X
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

malw-eicar.yarApache License 2.0
rule TRELLIX_ARC_Malw_Eicar : EICAR
{
	meta:
		description = "Rule to detect the EICAR pattern"
		author = "Marc Rivero | McAfee ATR Team"
		id = "16307b03-7fab-5d68-ad3b-0efcea952fcf"
		date = "2026-09-01"
		modified = "2020-08-14"
		reference = "https://www.eicar.org/"
		source_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/malware/MALW_Eicar.yar#L1-L22"
		license_url = "https://github.com/advanced-threat-research/Yara-Rules//blob/1919562a59f190bda60c982424f6a24c542ee3e0/LICENSE"
		hash = "275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f"
		logic_hash = "564b0592f40582fe71e2dab0c0f25c168462f9297c13e7c9f06ac51b492e4533"
		score = 75
		quality = 70
		tags = "EICAR"
		malware_type = "eicar"
		malware_family = "W32/Eicar"
		actor_type = "Unknown"
		actor_group = "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)

IdentifierTypeValueModifiers
$s1text"X5O!P%@AP[4\\PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*"fullword ascii

Condition

any of them

In 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.

Drop a file here or click to chooseScanned locally with YARA-X. Files up to 200 MB.

Open in editor

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)

Original rule

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_typeeicar
malware_familyW32/Eicar
actor_typeUnknown
actor_groupUnknown

Tags:EICAR