← Back to SOC feed Coverage →

UPXModifiedstub

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

Hunt Hypothesis

This rule identifies executables that have been packed or modified using the UPX packer with a non-standard or altered stub, a common technique adversaries employ to compress malware and evade static signature-based detection. Proactively hunting for these artifacts allows the SOC to uncover stealthy payloads that may be hiding in memory or on disk, ensuring that compressed binaries are properly unpacked and analyzed to reveal their true malicious behavior.

YARA Rule

rule UPXModifiedstub
{
      meta:
		author="malware-lu"
strings:
		$a0 = { 79 07 0F B7 07 47 50 47 B9 57 48 F2 AE 55 FF 96 84 ?? 00 00 09 C0 74 07 89 03 83 C3 04 EB D8 FF 96 88 ?? 00 00 61 E9 [3] FF }

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