This rule identifies the execution of the Nullsoft Install System (NSIS), a common installer framework frequently leveraged by adversaries to package and deploy malicious payloads or establish persistence through standard installation routines. Proactively hunting for this activity in Azure Sentinel helps detect low-fidelity initial access or lateral movement attempts that may blend in with legitimate software deployments, ensuring that suspicious installer usage is investigated before it escalates into a full compromise.
rule NullsoftInstallSystemv198
{
meta:
author="malware-lu"
strings:
$a0 = { 83 EC 0C 53 56 57 FF 15 2C 81 40 }
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.
Silent Installation of Legacy Enterprise Software via GPO or SCCM
gpupdate.exe, ccmsetup.exe, or ccmexec.exe, and the command line contains flags like /S, /silent, or /quiet. Additionally, whitelist known NSIS-based installer executables (e.g., setup.exe from specific vendor paths) if they are consistently benign.Scheduled Maintenance Jobs for Third-Party Agents
setup.exe or install.exe with NSIS characteristics.svchost.exe (specifically the Task Scheduler service) or taskschd.exe, and the working directory is a standard vendor-specific folder (e.g., C:\Program Files\VMware\, C:\Program Files\Hyper-V\). Whitelist specific task names known to trigger these installers.Developer or QA Environment Local Tooling