This YARA rule targets specific memory patterns associated with the SimplePack packer, indicating the presence of obfuscated executables that adversaries often use to evade static analysis and signature-based detection. Proactively hunting for these artifacts in Azure Sentinel allows the SOC team to identify low-severity, stealthy payloads that may be staging for further compromise or executing persistent mechanisms within the environment.
rule SimplePack12build3009Method2bagie
{
meta:
author="malware-lu"
strings:
$a0 = { 4D 5A 90 EB 01 00 52 E9 86 01 00 00 50 45 00 00 4C 01 02 00 00 00 00 00 00 00 00 00 00 00 00 00 E0 00 0F 03 0B 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0C 00 00 00 00 [3] 00 10 00 00 00 02 00 00 01 00 00 00 00 00 00 00 04 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.
SimplePack compiler or linker (specifically build 3009) as part of a continuous integration (CI) pipeline or local build script to generate application binaries. The YARA rule matches the specific version string or method signature embedded in the executable or intermediate object files.
msbuild.exe, dotnet.exe, npm.exe, or jenkins-agent) and the file path resides in standard development directories (e.g., C:\Users\Public\Documents\Visual Studio 2022\Projects\ or C:\Jenkins\workspace\).SimplePack framework (build 3009) for efficient packaging of configuration files or scripts. The tool is executed via a scheduled task or Group Policy Object (GPO) software installation.
C:\Program Files\CorpTools\ or C:\Admin\Scripts\) and the parent process is svchost.exe (for GPO) or Taskeng.exe (for scheduled tasks).SimplePack build 3009 to unpack or verify its own components during the installation or update process.
setup.exe, install.exe, unins000.exe) and the working directory is within a temporary installation folder