This rule detects the presence of PEX (Portable Executable) clones or packed binaries associated with the Anorganix family, indicating potential use of obfuscation techniques to hide malicious payloads from static analysis. Proactively hunting for these signatures in Azure Sentinel allows the SOC to identify compromised workstations or staging environments where adversaries are leveraging PEX packers to evade detection and establish a foothold before executing further post-exploitation actions.
rule _PseudoSigner_01_Pack_Master_10_PEX_Clone_Anorganix: PEiD
{
strings:
$a = { 60 E8 01 01 00 00 E8 83 C4 04 E8 01 90 90 90 E9 5D 81 ED D3 22 40 90 E8 04 02 90 90 E8 EB 08 EB 02 CD 20 FF 24 24 9A 66 BE 47 46 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 }
condition:
$a at pe.entry_point
}
This YARA rule can be deployed in the following contexts:
This rule contains 1 string patterns in its detection logic.
C:\BuildAgent\work\, D:\CI\artifacts\) or files with the extension .pex if the rule is overly broad. Alternatively, whitelist specific known-good hashes of the PEX compiler tool itself if it resides in a tools directory.Copy-Item.
C:\Program Files\LegacyApp\bin\app.exe) and exclude events where the parent process is a known file transfer tool like robocopy.exe or powershell.exe performing a copy operation.ansible-runner, chef-client) or those running from temporary extraction directories (e.g., `C:\