← Back to SOC feed Coverage →

PECompactv140b2v140b4

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

Hunt Hypothesis

This rule detects the presence of PECompact-packed executables, a technique often used by adversaries to compress malware binaries to evade signature-based detection and reduce file size. Proactively hunting for these artifacts in Azure Sentinel helps identify potentially obfuscated payloads that may have been deployed via phishing or lateral movement, ensuring that low-severity threats are not overlooked before they escalate.

YARA Rule

rule PECompactv140b2v140b4
{
      meta:
		author="malware-lu"
strings:
		$a0 = { EB 06 68 [4] C3 9C 60 E8 02 [3] 33 C0 8B C4 83 C0 04 93 8B E3 8B 5B FC 81 EB 0F A0 40 ?? 87 DD 8B 85 A6 A0 40 ?? 01 85 03 A0 40 ?? 66 C7 85 ?? A0 40 ?? 90 90 01 85 9E A0 40 ?? BB 86 11 }

condition:
		$a0 at pe.entry_point
}

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/packers/packer.yar