Nssm-2.24 Privilege Escalation
binary or the application it wraps has weak Access Control Lists (ACLs) that allow "Users" or "Everyone" to modify or replace it, an attacker can swap the legitimate file with a malicious one. Malicious Service Creation : Threat actors, such as those behind Akira ransomware
NSSM (Non-Sucking Service Manager) is a service manager for Windows that provides a more reliable and efficient way to manage services compared to the built-in Windows Service Manager. It is commonly used in production environments due to its flexibility and configurability. However, like any complex software, NSSM is not immune to security vulnerabilities. This review focuses on a privilege escalation vulnerability identified in NSSM version 2.24.
nssm version
: An attacker gains low-level interactive access to the target system (e.g., through a compromised user account, phishing, or remote access trojan).
– Migrate to Microsoft’s native sc.exe or New-Service PowerShell cmdlet, or use WinSW (Windows Service Wrapper) which supports better security configuration. nssm-2.24 privilege escalation
Would you like a of how to detect weak NSSM service configurations instead?
Attackers typically target NSSM-managed services through the following methods: Unquoted Service Paths binary or the application it wraps has weak
: Because NSSM is a legitimate tool for managing services, threat actors often use it to establish persistence