Nssm224: Privilege Escalation Updated ((new))
Without NSSM, an attacker would need to manually stop the service, modify registry keys (which require SYSTEM or Administrator rights), or use APIs that trigger User Account Control (UAC). NSSM bypassed many of these friction points because it relied on the ChangeServiceConfig API—which respects service DACLs—but did check if the target binary was trustworthy.
Monitor Windows Security Event ID 7045 (A new service was created) and Event ID 7040 (The start type of a service was changed).
copy malicious_payload.exe nssm.exe /Y
Process Creation. Look for instances where nssm.exe spawns unexpected children like cmd.exe , powershell.exe , or unknown binaries out of user-writable paths. nssm224 privilege escalation updated
The NSSM224 privilege escalation exploit works by exploiting a vulnerability in the NSSM224 service manager. The exploit involves the following steps:
Windows environments rely heavily on background services to maintain system functionality, manage hardware, and run enterprise applications. However, when the binaries or configuration files powering these services are improperly secured, they become prime targets for attackers. One such critical vulnerability that has seen a recent resurgence in disclosure and exploit methodologies is .
While NSSM 2.24 itself is an older version, it is frequently used by legitimate software and malicious actors alike to maintain persistence on Windows systems. Securelist Vulnerability Overview NSSM 2.24. Vulnerability Type: Local Privilege Escalation (LPE). Without NSSM, an attacker would need to manually
A service path like C:\Program Files\Custom Tools\nssm.exe allows an attacker with write access to C:\ or C:\Program Files\ to drop a malicious file named Program.exe or Custom.exe .
The nssm (Non-Sucking Service Manager) is a service manager for Windows that allows users to manage and monitor system services. Version 224 of nssm has been identified as vulnerable to a privilege escalation attack. This report summarizes the findings and provides recommendations for mitigation.
Are you writing this for a , a compliance report , or an internal audit ? Share public link copy malicious_payload
Windows interprets the space as a terminator and executes the malicious file instead of the intended NSSM binary. Technical Walkthrough: Exploiting an NSSM Misconfiguration
However, its convenience creates a powerful attack primitive: if an attacker can write nssm.exe to disk (or use an existing installation) and has the ability to modify service configurations, they can escalate privileges.
View registry parameters: