This detection identifies the execution of binaries packed with UPX version 10.x, a technique often employed by adversaries to obscure malicious payloads and evade static analysis. Proactively hunting for these instances in Azure Sentinel is essential because low-severity alerts may overlook sophisticated threats that leverage UPX compression to hide from traditional signature-based defenses until after initial compromise.
rule UPXProtectorv10x2
{
meta:
author="malware-lu"
strings:
$a0 = { EB [5] 8A 06 46 88 07 47 01 DB 75 07 8B 1E 83 EE FC 11 DB }
condition:
$a0
}
This YARA rule can be deployed in the following contexts:
This rule contains 1 string patterns in its detection logic.
Here are 3-5 specific false positive scenarios for the UPXProtectorv10x2 detection rule, including suggested filters and exclusions tailored for an enterprise environment:
Scenario: Deployment of Patched Security Agents via SCCM/Intune
UPXProtectorv10x2 rule may flag these legitimate installer packages as suspicious due to the packed executable structure.C:\Program Files\Microsoft Configuration Manager\AdminConsole or C:\Windows\CCM. Additionally, filter by process name if the execution originates from ccmsetup.exe or IntuneManagementExtension.exe.Scenario: Execution of Scheduled Backup and Maintenance Scripts
D:\Backup\Scripts\). Alternatively, exclude any process where the parent process is TaskScheduler.exe and the file extension is .exe located within the designated maintenance root.Scenario: Distribution of Third-Party Vendor Tools via Group Policy