← Back to SOC feed Coverage →

PECompactv2xx

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

Hunt Hypothesis

This rule detects the presence of PECompact v2.x compressed executables, a technique often used by adversaries to reduce the size of malicious payloads and evade basic file-based detection mechanisms. Proactively hunting for these compressed binaries in Azure Sentinel allows the SOC to identify potentially obfuscated malware or trojans that may have been dropped on endpoints or stored in cloud storage before they are executed or expanded.

YARA Rule

rule PECompactv2xx
{
      meta:
		author="malware-lu"
strings:
		$a0 = { B8 [3] 00 50 64 FF 35 00 00 00 00 64 89 25 00 00 00 00 33 C0 89 08 50 45 43 6F 6D 70 61 63 74 32 00 }

condition:
		$a0
}

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