← Back to SOC feed Coverage →

PeStubOEPv1x

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

Hunt Hypothesis

This rule identifies executable files where the entry point offset (OEP) is located within the PE header, a characteristic often exploited by malware stubs or packers to obscure the true code execution flow. Proactively hunting for these anomalies in Azure Sentinel allows the SOC team to detect low-severity, potentially obfuscated payloads that may evade standard signature-based detections before they establish a foothold in the environment.

YARA Rule

rule PeStubOEPv1x
{
      meta:
		author="malware-lu"
strings:
		$a0 = { 90 33 C9 33 D2 B8 [3] 00 B9 FF }
	$a1 = { E8 05 00 00 00 33 C0 40 48 C3 E8 05 }

condition:
		$a0 or $a1
}

Deployment Notes

This YARA rule can be deployed in the following contexts:

This rule contains 2 string patterns in its detection logic.

False Positive Guidance

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