This hypothesis targets the use of ASPack v212, a legacy executable packer often employed by adversaries to compress and obfuscate malicious payloads to evade static analysis and signature-based detection. Proactively hunting for this specific version in Azure Sentinel allows the SOC to identify dormant or low-and-slow threats that may have slipped past initial endpoint defenses by leveraging known packing characteristics to uncover hidden malware in memory or on disk.
rule ASPack_v212_additional: PEiD
{
strings:
$a = { 60 E8 03 00 00 00 E9 EB 04 5D 45 55 C3 E8 01 }
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.
Legacy .NET Application Deployment via Group Policy
C:\Program Files\InternalTools\ via a Group Policy Object (GPO) software installation policy, triggering the YARA rule on the endpoint during the initial copy or execution.C:\Program Files\ or C:\Program Files (x86)\ where the parent folder name matches known internal application directories (e.g., *InternalTools*, *LegacyApps*) and the file hash is in the approved baseline list.Third-Party Backup Agent Installation
\Microsoft\Windows\... or a vendor-specific scheduled task), the YARA rule triggers on the service executable in C:\Program Files\BackupAgent\bin\.msiexec.exe, setup.exe) or where the file path contains *BackupAgent* or *Veeam*/*Acronis* and the process name matches the vendor’s service executable (e.g., vsssvc.exe, acronis_service.exe).Scheduled Task for Log Rotation/Compression