This detection identifies potentially malicious or obfuscated executables that utilize the WinRAR (WWPACK) compression format with unextractable characteristics, which often indicates an adversary attempting to hide payload content from static analysis tools. A SOC team should proactively hunt for this behavior in Azure Sentinel because such anomalies frequently signal advanced evasion tactics where attackers embed hidden code within compressed archives to bypass initial security scans and delay detection until runtime execution.
rule WWPACKv305c4Unextractable
{
meta:
author="malware-lu"
strings:
$a0 = { 03 05 00 1B B8 [2] 8C CA 03 D0 8C C9 81 C1 [2] 51 B9 [2] 51 06 06 B1 ?? 51 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.
Here are 4 specific false positive scenarios for the WWPACKv305c4Unextractable rule, along with suggested filters and exclusions:
Scenario: Microsoft Defender Antivirus Update Service (UsoSvc)
.cab or .msu update packages. Due to the specific compression method used by Microsoft for these cumulative updates, the YARA rule often fails to extract the internal structure, flagging them as “unextractable” even though they are legitimate system files.ProcessName = "usocoreworker.exe" and CommandLine contains /update. Alternatively, add a path exclusion for C:\Windows\SoftwareDistribution\Download\*.Scenario: Scheduled SQL Server Backup Jobs (SQL Agent)
.bak files. These binary backup archives utilize proprietary compression headers that the WWPACK rule cannot parse, triggering an alert every time a backup job completes.ProcessName = "sqlservr.exe" or ProcessName = "vssvc.exe" and the file extension matches .bak. Ensure this applies to scheduled tasks running under the NT SERVICE\SQLAgent account.Scenario: Adobe Acrobat Pro Document Conversion