This detection identifies the execution of Nullsoft’s NSIS installer, a common legitimate tool frequently leveraged by adversaries to package and deploy malicious payloads during the initial stages of an attack. Proactive hunting for this behavior in Azure Sentinel is essential to distinguish between routine software installations and potential supply chain compromises or fileless attacks that utilize standard installers to evade signature-based defenses.
rule NSISInstallerNullSoft
{
meta:
author="malware-lu"
strings:
$a0 = { 83 EC 20 53 55 56 33 DB 57 89 5C 24 18 C7 44 24 10 [4] C6 44 24 14 20 FF 15 30 70 40 00 53 FF 15 80 72 40 00 68 [4] 68 [4] A3 [4] E8 [4] BE }
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 4 specific false positive scenarios for the NSISInstallerNullSoft detection rule in an enterprise environment, along with targeted filters and exclusions:
Scenario: Automated Software Deployment via SCCM/Intune
/S or /VERYSILENT flags), triggering the rule on every deployment cycle across hundreds of machines.CommandLine argument containing specific silent install switches (e.g., * /S, * /VERYSILENT) and restrict the scope to known distribution point accounts (e.g., DOMAIN\SCCM-Admin). Alternatively, exclude file paths located within the standard deployment cache directory: C:\Windows\CCMCache\*\*.exe.Scenario: Scheduled Maintenance Jobs for Legacy Applications
Process Name and Parent Process. Exclude events where the parent process is Task Scheduler (svchost.exe) or specific service accounts running under SYSTEM, provided the executable path matches the known legacy application directory (e.g., C:\Program Files\LegacyHR\Updates\).Scenario: Endpoint Protection Agent Self-Update