This hypothesis targets the execution of SimplePack, a known malware loader that utilizes specific packing methods to obscure its payload and evade static analysis. Proactively hunting for this signature in Azure Sentinel allows the SOC team to identify early-stage compromise attempts where adversaries deploy this loader to establish persistence or download secondary payloads before full-blown ransomware or trojan activity manifests.
rule SimplePack_V11X_Method2_bagie_additional: PEiD
{
strings:
$a = { 4D 5A 90 EB 01 00 52 E9 89 01 00 00 50 45 00 00 4C 01 02 00 00 00 00 00 00 00 00 00 00 00 00 00 E0 00 0F 03 0B 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0C 00 00 00 00 ?? ?? ?? 00 10 00 00 00 02 00 00 01 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 }
condition:
$a at pe.entry_point
}
This YARA rule can be deployed in the following contexts:
This rule contains 1 string patterns in its detection logic.
C:\Dev\Projects\*, C:\Builds\*) or exclude if the parent process is a known compiler/IDE executable (e.g., cl.exe, gcc.exe, code.exe)..exe is copied to a standard C:\Program Files\InternalTools\ directory.
C:\Program Files\InternalTools\* and the file size is under a specific threshold (e.g., < 500KB).Task Scheduler entry “DailyLogCompressor”) executes a small, self-contained executable built with SimplePack to compress and archive log files in C:\Logs\Archived\, which is a common pattern for lightweight, stateless utilities.
svchost.exe (for scheduled tasks) or TaskScheduler.exe, and the file path is within a designated log/archive directory (e.g., C:\Logs\*, C:\Archives\*).