This rule identifies memory regions containing extractable payloads associated with the WWPACKv300 and v301 packers, which adversaries often use to compress and obfuscate malicious code to evade static analysis. Proactively hunting for these signatures in Azure Sentinel allows the SOC team to detect low-severity, packed executables that may be staging for execution or persistence, ensuring visibility into stealthy threat actor activity before it escalates.
rule WWPACKv300v301Extractable
{
meta:
author="malware-lu"
strings:
$a0 = { B8 [2] 8C CA 03 D0 8C C9 81 C1 [2] 51 6A ?? 06 06 8C D3 83 [2] 53 6A ?? FC }
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 administrators deploy older, unmanaged line-of-business applications (e.g., legacy POS systems or specialized engineering tools) that were compiled with older versions of the WWPACK packer to reduce file size, the binary may retain the WWPACKv300 or WWPACKv301 signature.
C:\Program Files\LegacyPOS\) or exclude executables with specific known hashes (SHA-256) associated with the approved legacy software versions.Scheduled Maintenance Jobs for Third-Party Utilities: Certain third-party maintenance or cleanup utilities (e.g., older versions of CCleaner, specific disk defragmenters, or driver installers) may use WWPACK packing to compress their payload. If these tools are executed via scheduled tasks or service accounts during routine maintenance windows, they will trigger the rule.
svc_maintenance, svc_backup) or exclude execution paths under C:\ProgramData\VendorName\ where these utilities are typically installed.Driver Installation and Hardware Provisioning: During hardware provisioning or driver updates, OEM-provided driver packages (e.g., for specific network cards, GPUs, or printers) may contain packed executables to minimize download size. These are often extracted and executed by the Windows Update service or vendor-specific installers.
.cab, .msi, or .inf that are being extracted by msiexec.exe or wusa.exe, or exclude specific vendor directories such as C:\Program Files\Intel\ or C:\Program Files\NVIDIA\ where packed drivers are commonly stored.**Backup