This detection identifies files packed with the UPX utility that exhibit specific scrambling behaviors indicative of obfuscation techniques often employed by adversaries to conceal malicious payloads within legitimate applications. A proactive hunt is essential in Azure Sentinel because these compressed and scrambled executables frequently evade static signature-based analysis, requiring dynamic inspection to uncover hidden threats before they execute on endpoints.
rule UPXSCRAMBLER306OnToL
{
meta:
author="malware-lu"
strings:
$a0 = { E8 00 00 00 00 59 83 C1 07 51 C3 C3 BE [4] 83 EC 04 89 34 24 B9 80 00 00 00 81 36 [4] 50 B8 04 00 00 00 50 03 34 24 58 58 83 E9 03 E2 E9 EB D6 }
condition:
$a0 at pe.entry_point
}
This YARA rule can be deployed in the following contexts:
This rule contains 1 string patterns in its detection logic.
Here are 4 specific false positive scenarios for the UPXSCRAMBLER306OnToL detection rule, which identifies executables packed with UPX (Ultimate Packer for eXecutables) that may be flagged as suspicious due to their compressed nature:
Scenario: Deployment of Microsoft Office Click-to-Run Updates
OfficeClickToRun.exe) and its associated update agents often utilize UPX packing to reduce download sizes during routine patching cycles. When the Microsoft Office Update Service runs as a scheduled task, it extracts these packed binaries, triggering the YARA rule.OfficeClickToRun.exe or oobebroker.exe, and the file path contains \Program Files\Microsoft Office Root\.Scenario: Execution of Third-Party Antivirus Scanners (e.g., CrowdStrike, SentinelOne)
CrowdStrike Falcon Sensor update job may launch a compressed helper utility that matches the detection logic.\Program Files\CrowdStrike\Falcon\ or \Program Files\SentinelOne\, specifically targeting executables with known SHA-256 hashes from the vendor’s trusted repository.Scenario: Automated Deployment of Internal Line-of-Business (LOB) Tools