This detection identifies the presence of a specific version of the ASProtect executable protection tool, which is frequently utilized by threat actors to obfuscate malware and evade static analysis. A proactive hunt for this indicator in Azure Sentinel allows the SOC team to uncover potentially protected malicious binaries that may bypass standard signature-based defenses due to their packed nature.
rule ASProtectvIfyouknowthisversionpostonPEiDboardh2
{
meta:
author="malware-lu"
strings:
$a0 = { 90 60 E8 03 00 00 00 E9 EB 04 5D 45 55 C3 E8 01 00 00 00 EB 5D BB ED FF FF FF 03 DD 81 EB 00 [2] 00 80 7D 4D 01 75 0C 8B 74 24 28 83 FE 01 89 5D 4E 75 31 8D 45 53 50 53 FF B5 DD 09 00 00 8D 45 35 50 E9 82 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 }
condition:
$a0
}
This YARA rule can be deployed in the following contexts:
This rule contains 1 string patterns in its detection logic.
Here are 5 specific false positive scenarios for the ASProtect detection rule (ASProtectvIfyouknowthisversionpostonPEiDboardh2), along with targeted filters and exclusions:
Scenario: Deployment of Licensed Enterprise Software via SCCM/Intune
NT SERVICE\CcmExec or Microsoft.Windows.IntuneManagementAgent) running on specific file paths within the C:\Program Files\ directory that match known vendor hashes (e.g., Sage, QuickBooks).Scenario: Scheduled Antivirus Database Updates
Symantec Antivirus Update Service (or equivalent vendor process names like McAfeeHostAgent) when executing from their default installation directories, specifically filtering out events occurring during the defined maintenance window (e.g., 02:00–04:00 UTC).Scenario: Execution of Protected Digital Rights Management (DRM) Components