This rule identifies the presence of Nullsoft Install System (NSIS) executable files, which are commonly used by adversaries to package and execute malicious payloads during initial access or lateral movement. Proactively hunting for these artifacts in Azure Sentinel allows the SOC team to detect potential supply chain compromises or unauthorized installer deployments that may bypass standard application whitelisting controls.
rule NullsoftInstallSystemv20b2v20b3
{
meta:
author="malware-lu"
strings:
$a0 = { 83 EC 0C 53 55 56 57 FF 15 ?? 70 40 00 8B 35 ?? 92 40 00 05 E8 03 00 00 89 44 24 14 B3 20 FF 15 2C 70 40 00 BF 00 04 00 00 68 [3] 00 57 FF 15 [2] 40 00 57 FF 15 }
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.
gpupdate.exe, ccmsetup.exe, IntuneAgent.exe, or msiexec.exe with specific service arguments, or filter by known trusted publisher names (e.g., “Adobe Systems”, “Oracle Corporation”) in the file metadata./S (silent) or /passive, and the working directory is a known temp or patch folder (e.g., C:\Windows\Temp, C:\ProgramData\Microsoft\UpdateOrchestrator).Dev-Team, QA-Staff) or where the installer path matches known development tool directories (e.g., C:\Users\<User>\Downloads, C:\Tools).CrowdStrike Falcon, `Carbon