← Back to SOC feed Coverage →

IsPE32

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

This rule identifies 32-bit Windows Portable Executable files, which are frequently used by adversaries to deploy legacy malware or exploit 32-bit process emulation techniques to evade modern 64-bit security controls. Proactively hunting for these artifacts in Azure Sentinel allows the SOC to detect potential low-severity intrusions or staging activities that may indicate an attacker leveraging older binaries to maintain a foothold within the environment.

YARA Rule

rule IsPE32 : PECheck
{
	condition:
		// MZ signature at offset 0 and ...
		uint16(0) == 0x5A4D and
		// ... PE signature at offset stored in MZ header at 0x3C
		uint16(uint32(0x3C)+0x18) == 0x010B
}

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