← Back to SOC feed Coverage →

Rule to detect Eicar pattern

yara LOW Yara-Rules
community
This rule was pulled from an open-source repository and enriched with AI. Validate in a test environment before deploying to production.
View original rule at Yara-Rules →
Retrieved: 2026-06-13T23:00:00Z · Confidence: medium

Hunt Hypothesis

The rule detects the presence of the Eicar test file, a known signature used to simulate malware activity, indicating potential adversarial testing or false positive generation. SOC teams should proactively hunt for this behavior to identify and mitigate potential false positives or early-stage adversary testing within their Azure Sentinel environment.

YARA Rule

rule eicar 
{
	meta:
		description = "Rule to detect Eicar pattern"
		author = "Marc Rivero | @seifreed"
		hash1 = "275a021bbfb6489e54d471899f7db9d1663fc695ec2fe2a2c4538aabf651fd0f"

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

	condition:
		all of them
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 1 string patterns in its detection logic.

False Positive Guidance

Original source: https://github.com/Yara-Rules/rules/blob/main/malware/MALW_Eicar.yar