This hunt detects the presence of legacy or potentially malicious executables utilizing the specific ANA KiN PEPaCK v10 compression signature, which may indicate the use of outdated packing tools often leveraged by adversaries to obfuscate malware functionality. A proactive search is recommended within Azure Sentinel to identify these artifacts across endpoints and cloud workloads, ensuring that legacy dependencies do not introduce hidden risks or serve as a foothold for advanced persistent threats.
rule PEPaCKv10CCopyright1998byANAKiN
{
meta:
author="malware-lu"
strings:
$a0 = { C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 C4 0D 0A 20 2D 3D FE 20 50 45 2D 50 41 43 4B 20 76 31 2E 30 20 2D FE 2D 20 28 43 29 20 43 6F 70 }
condition:
$a0
}
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 PEPaCKv10CCopyright1998byANAKiN detection rule, including suggested filters and exclusions:
Legacy Antivirus or Backup Agent Updates
SymCorp.exe or mfeengine.exe) performs a scheduled nightly update or database backup, it may extract or generate temporary files containing the ANAKIN PEPaCK signature, triggering the rule even though no malicious activity is occurring.SymCorp.exe, mfeengine.exe, and Vssvc.exe from detection if they are running under the context of the specific antivirus service account (e.g., NT SERVICE\Symantec).Scheduled PDF or Document Generation Jobs
w3wp.exe running under the application pool identity associated with the reporting server, or exclude file paths containing \Reports\Generated\.Software Deployment and Patching Tools