Nssm224 Privilege Escalation Updated ((full)) → [ Hot ]
The technical root cause is straightforward but dangerous: nssm.exe is installed with permissions that allow to overwrite or replace the file. This is often a result of third‑party installers copying NSSM into directories that inherit overly permissive Access Control Lists (ACLs) from their parent folder.
However, in the context of red teaming and penetration testing, NSSM 2.24 has become a notorious binary for unintended privilege escalation. Recently, updated research has shed light on specific configurations and default behaviors in version 2.24 that, while patched or altered in later forks, remain exploitable on legacy systems and misconfigured enterprise environments.
: When the system reboots or the service restarts, the Windows Service Control Manager executes the malicious file with Administrator privileges. 2. Unquoted Service Paths
Check service ImagePath and account:
In late 2025 and early 2026, researchers identified that multiple enterprise products—including Phoenix Contact Device and Update Management and Wowza Streaming Engine—were vulnerable to this exact pattern.
due to misconfigurations in third-party installers and legacy permission sets.
(Updated 2026) Verified exploitation via "Everyone" group full access to service binaries. CVE-2016-8742 Apache CouchDB Local users could substitute due to inherited parent directory permissions. How to Defend Your Systems nssm224 privilege escalation updated
REM Step 4: Trigger escalation C:\Users\Public\nssm.exe restart VulnService
If your application relies on NSSM, take these actions:
The updated privilege escalation technique focuses on the component ( nssm edit <servicename> ). While the GUI requires administrative privileges to install a service, an updated finding reveals a race condition in v2.24: The technical root cause is straightforward but dangerous:
– The attacker does not need to trick a user into clicking anything or running a suspicious file. The privilege escalation occurs automatically when the service next starts, whether through a crash, manual restart, or system reboot.
For instance, if nssm.exe installs a service with the path: C:\Program Files\App Folder\nssm.exe Windows may try to interpret this sequentially: C:\Program.exe (with args Files\App Folder\nssm.exe ) C:\Program Files\App.exe (with args Folder\nssm.exe ) C:\Program Files\App Folder\nssm.exe 2. The Exploitation Mechanism
When the service starts, the reverse_shell.exe runs with SYSTEM privileges, granting the attacker full administrative control. Recent proofs-of-concept even demonstrate using NSSM to create backdoor administrative users or launch SYSTEM-level shells. Recently, updated research has shed light on specific
In environments using NSSM 2.24, attackers typically look for the following misconfigurations to escalate to SYSTEM privileges:
Consider deploying application whitelisting (e.g., Windows Defender Application Control or AppLocker) to allow only signed or trusted binaries to execute. This can prevent a malicious replacement of nssm.exe from ever running, even if the file is replaced.