This hypothesis targets the presence of WWPACK-packed executables, a common obfuscation technique used by adversaries to hide malicious payloads and evade static analysis. Proactively hunting for these signatures in Azure Sentinel helps identify potentially compromised workstations or servers where attackers have deployed packed binaries to establish persistence or execute stealthy operations.
rule WWPACKv302v302aExtractable
{
meta:
author="malware-lu"
strings:
$a0 = { B8 [2] 8C CA 03 D0 8C C9 81 C1 [2] 51 33 C9 B1 ?? 51 06 06 BB [2] 53 8C D3 }
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.
Legacy Application Deployment via Group Policy: When IT operations deploy older, unmanaged Windows applications (e.g., legacy accounting or engineering tools) via Group Policy Software Installation, the installer executable is often packed with WWPACK to reduce size. This triggers the rule on the C:\Windows\Installer or user profile temp directories during the initial deployment or repair.
C:\Windows\Installer\ or C:\Program Files\ (and C:\Program Files (x86)\) where the filename matches known legacy application installer patterns (e.g., *.msi, setup.exe, or specific vendor names like SAP, Oracle, Adobe).Antivirus/EDR Self-Extraction and Cache: Security tools like CrowdStrike Falcon, Microsoft Defender, or SentinelOne frequently cache unpacked or extracted components in their local data directories for rapid scanning or signature updates. If the YARA rule scans the EDR’s own cache folder (e.g., C:\ProgramData\CrowdStrike\ or C:\Program Files\Microsoft Defender\), it may detect the packed binary as it is being staged for execution or analysis.
C:\ProgramData\ and C:\Program Files\ that contain the EDR vendor name (e.g., CrowdStrike, Defender, SentinelOne, CarbonBlack) and where the file is owned by the SYSTEM or EDR service account.Scheduled Maintenance Jobs for Third-Party Utilities: Automated maintenance tasks (e.g., disk cleanup, log rotation, or backup agents) often use small, packed executables to perform specific actions. For instance, a scheduled task for VeeamBackup.exe or CommvaultAgent might use a WWPACK-compressed helper