This YARA rule targets the WWPACKv303 file packer, a technique often used by adversaries to compress and obfuscate malicious payloads to evade static analysis and signature-based detection. Proactively hunting for this indicator in Azure Sentinel allows the SOC to identify potentially compromised endpoints or staging areas where packed executables are present, reducing the risk of undetected malware execution or persistence.
rule WWPACKv303
{
meta:
author="malware-lu"
strings:
$a0 = { B8 [2] 8C CA 03 D0 8C C9 81 C1 [2] 51 B9 [2] 51 06 06 BB [2] 53 }
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.
Scenario: Execution of the WWPACKv303 packer during the build or deployment of legacy Windows applications that rely on specific compression algorithms to reduce binary size. This often occurs when CI/CD pipelines (e.g., Jenkins, Azure DevOps) compile and package installers for distribution.
msbuild.exe, dotnet.exe, nmake.exe) or where the executable path resides within standard build artifact directories (e.g., C:\builds\, C:\artifacts\).Scenario: Running legacy third-party utilities or older versions of enterprise software (e.g., specific versions of Adobe Creative Suite, older Java JRE components, or niche database clients) that were packed with WWPACKv303 to protect intellectual property or reduce file size. These are often invoked by scheduled tasks for automated backups, log rotation, or data synchronization.
C:\Program Files\Adobe\, C:\Program Files\Java\) and exclude processes initiated by Task Scheduler (taskschd.msi) or schtasks.exe if the binary hash matches a known-good baseline.Scenario: Execution of custom internal tools or scripts written in languages like C++ or Delphi that use WWPACKv303 for obfuscation or size optimization, particularly in finance or engineering departments where proprietary code is run on workstations or servers. These tools may be triggered by user actions or automated data processing jobs.
internal-tool-launcher.exe, data-processor.exe) and the executable resides