This rule identifies the presence of ZCode Win32 PE Protector, a commercial code obfuscation tool often leveraged by adversaries to mask malicious payloads and evade static analysis. Proactively hunting for this signature in Azure Sentinel allows the SOC team to detect potentially obfuscated executables on endpoints before they are executed or further manipulated, reducing the risk of stealthy malware deployment.
rule ZCodeWin32PEProtectorv101
{
meta:
author="malware-lu"
strings:
$a0 = { E9 12 00 00 00 [12] E9 FB FF FF FF C3 68 [4] 64 FF 35 }
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.
Legitimate Software Packaging and Deployment
ZCodeWin32PEProtector signature.C:\Program Files\, C:\Program Files (x86)\) that are signed by known vendor certificates (e.g., Microsoft Corporation, Advanced Installer, InstallShield). Alternatively, exclude files with specific extensions like .msi, .msp, or .exe in C:\Windows\Installer\ or C:\ProgramData\Package Cache\.Antivirus/EDR Self-Protection and Update Binaries
CrowdStrike, Inc., Trend Micro, Inc., Symantec Corporation) located in vendor-specific directories (e.g., C:\Program Files\CrowdStrike\, C:\Program Files (x86)\Trend Micro\). Also, exclude files in C:\Windows\Temp\ or C:\ProgramData\ if they are created by known security service processes (e.g., FalconSensor.exe, `T