← Back to SOC feed Coverage →

Entropy Check

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-09-22T11:00:00Z · Confidence: medium

Hunt Hypothesis

Adversaries often use high-entropy strings or data to obfuscate malicious payloads, such as encoded shellcode or encrypted configuration files, to evade static analysis and signature-based detection. Proactively hunting for these anomalies in Azure Sentinel allows the SOC team to identify suspicious artifacts that deviate from normal baseline patterns, potentially uncovering stealthy implants or data exfiltration attempts before they are fully executed.

YARA Rule

rule IsPacked : PECheck
{
	meta: 
		description = "Entropy Check"
	condition:
		// MZ signature at offset 0 and ...
		uint16(0) == 0x5A4D and
		// ... PE signature at offset stored in MZ header at 0x3C
		uint32(uint32(0x3C)) == 0x00004550 and
		math.entropy(0, filesize) >= 7.0
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

False Positive Guidance

Original source: https://github.com/Yara-Rules/rules/blob/main/packers/packer_compiler_signatures.yar