This detection identifies the presence of Thinstall virtualization packers, which adversaries often use to compress executables and obfuscate their code to evade static analysis. Proactively hunting for these artifacts in Azure Sentinel helps identify potentially malicious or suspicious binaries that may be leveraging packing techniques to hide their true functionality within the environment.
rule Thinstallvxx
{
meta:
author="malware-lu"
strings:
$a0 = { B8 EF BE AD DE 50 6A ?? FF 15 10 19 40 ?? E9 AD FF FF FF }
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.
C:\Dev\Builds\, D:\Temp\Thinstall\) or exclude processes where the parent process is a known IDE or build tool (e.g., dotnet.exe, msbuild.exe, cmd.exe launched by VisualStudio.exe).C:\SCCM\, C:\ProgramData\Intune\) or correlate with recent SCCM/Intune deployment task history. Exclude if the file extension is .exe but the original source was a .msi or .cab processed by Thinstall.C:\QA\Tests\, D:\ManualTesting\) or exclude if the file is accessed by test automation frameworks (e.g., Selenium, Appium) or manual testing tools (e.g., WinAppDriver).