This detection identifies the execution of SimplePack archives utilizing Method 1 compression, a pattern often leveraged by adversaries to obfuscate malicious payloads within legitimate-looking container formats. Proactively hunting for this behavior in Azure Sentinel is essential to uncover stealthy file-based attacks that may bypass standard signature checks due to their low severity and generic packaging structure.
rule SimplePackV11XV12XMethod1bagie
{
meta:
author="malware-lu"
strings:
$a0 = { 60 E8 00 00 00 00 5B 8D 5B FA BD [4] 8B 7D 3C 8D 74 3D 00 8D BE F8 00 00 00 0F B7 76 06 4E 8B 47 10 09 C0 }
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.
Here are 5 specific false positive scenarios for the SimplePackV11XV12XMethod1bagie detection rule, along with suggested filters and exclusions:
Scenario: Microsoft Office Click-to-Run Self-Update
OfficeClickToRun.exe) periodically downloads and unpacks update packages using the SimplePack method to apply patches without user intervention. This process often triggers the rule when extracting .appx or .msi payloads containing the specific bagie signature.OfficeClickToRun.exe (Microsoft Corporation) running on port 443, specifically excluding files located in C:\Program Files\Microsoft Office Root\Office16\.Scenario: Antivirus Real-Time Scanning of Cached Archives
.zip or .7z) containing SimplePack-compliant installers, the AV engine extracts these files to a temp folder (%TEMP%), triggering the YARA rule during the extraction phase before the file is fully committed.\AppData\Local\Temp\ or \Windows\Temp\, provided the parent process belongs to a known security vendor (e.g., CrowdStrike.exe, MsMpEng.exe).Scenario: Scheduled Group Policy Software Deployment