This detection identifies the execution of binaries packed with the UPX utility during the archiving phase, a technique frequently employed by adversaries to obscure malicious payloads and evade signature-based scanning. Proactively hunting for this behavior in Azure Sentinel is essential because UPX-packed executables often indicate early-stage delivery mechanisms where threat actors compress code to reduce file size while hiding suspicious attributes that may be missed by standard static analysis.
rule UPXcrypterarchphaseNWC
{
meta:
author="malware-lu"
strings:
$a0 = { BF [3] 00 81 FF [3] 00 74 10 81 2F ?? 00 00 00 83 C7 04 BB 05 [2] 00 FF E3 BE [3] 00 FF E6 00 00 00 00 }
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 UPXcrypterarchphaseNWC detection rule, including targeted filters and exclusions:
Scenario: Deployment of Patched Third-Party Utilities
ccmsetup.exe (SCCM) or Microsoft.Workplace.Join.exe (Intune) and the file extension is .exe.Scenario: Scheduled Backup Agent Execution
C:\Program Files\Veeam\Backup and Replication Service or C:\Acronis\Agent). Additionally, filter by time-of-day if the rule fires consistently during known maintenance windows (e.g., 02:00–04:00 UTC).Scenario: Software Distribution via Package Managers