Nssm-2.24 Exploit |top| -
These functional bugs are fixed in NSSM 2.25 pre-release builds, available from the official NSSM website.
This misconfiguration allowed an attacker with write permissions to any directory along the path hierarchy to plant a malicious executable that would be executed with the service's privileges (often SYSTEM level) before the legitimate nssm.exe was loaded. The Odoo exploit is documented in Exploit-DB and serves as a cautionary example for administrators deploying NSSM in directory paths containing spaces.
To prevent exploitation of the NSSM-2.24 vulnerability, users can take the following measures: nssm-2.24 exploit
NSSM 2.24, when used to install a service, creates a service with default permissions. By default, the SC_MANAGER_ALL_ACCESS is not granted to low-privileged users. However, if an administrator installs a service using NSSM without locking down the service’s DACL (Discretionary Access Control List), a local attacker with authenticated access could modify the service binary path.
int main() // Create a malicious configuration file FILE* config_file = fopen("C:\\path\\to\\nssm-2.24\\test.conf", "w"); fprintf(config_file, "[test]\n"); fprintf(config_file, "binPath= C:\\path\\to\\malicious\\payload.exe\n"); fclose(config_file); These functional bugs are fixed in NSSM 2
: Windows attempts to execute the path in parts. For the example above, it first looks for C:\Program.exe , then C:\Program Files\My.exe , and finally the intended nssm.exe .
Regularly audit permissions on NSSM binaries using the icacls command: To prevent exploitation of the NSSM-2
The exploit typically involves the following steps:
due to how third-party installers deploy it with insecure permissions. The "Ghost in the Service" LPE Feature
The most straightforward mitigation is to upgrade to a version of NSSM that does not contain the vulnerability. Check the official NSSM website or repository for updates.
to create and manage malicious services on compromised hosts. Securelist Recommendation
6 augusti, ApowerUnlock har släppts för att hjälpa iOS-användare att låsa upp sin iOS-skärm och Apple ID.
21 juni, släpptes Apowersoft GIF för att hjälpa användare snabbt göra animerade GIFs.
15 mars, ApowerCompress lanserades som syftar till att hjälpa användare att lösa problemen med att komprimera videos, bilder och PDF-filer.
These functional bugs are fixed in NSSM 2.25 pre-release builds, available from the official NSSM website.
This misconfiguration allowed an attacker with write permissions to any directory along the path hierarchy to plant a malicious executable that would be executed with the service's privileges (often SYSTEM level) before the legitimate nssm.exe was loaded. The Odoo exploit is documented in Exploit-DB and serves as a cautionary example for administrators deploying NSSM in directory paths containing spaces.
To prevent exploitation of the NSSM-2.24 vulnerability, users can take the following measures:
NSSM 2.24, when used to install a service, creates a service with default permissions. By default, the SC_MANAGER_ALL_ACCESS is not granted to low-privileged users. However, if an administrator installs a service using NSSM without locking down the service’s DACL (Discretionary Access Control List), a local attacker with authenticated access could modify the service binary path.
int main() // Create a malicious configuration file FILE* config_file = fopen("C:\\path\\to\\nssm-2.24\\test.conf", "w"); fprintf(config_file, "[test]\n"); fprintf(config_file, "binPath= C:\\path\\to\\malicious\\payload.exe\n"); fclose(config_file);
: Windows attempts to execute the path in parts. For the example above, it first looks for C:\Program.exe , then C:\Program Files\My.exe , and finally the intended nssm.exe .
Regularly audit permissions on NSSM binaries using the icacls command:
The exploit typically involves the following steps:
due to how third-party installers deploy it with insecure permissions. The "Ghost in the Service" LPE Feature
The most straightforward mitigation is to upgrade to a version of NSSM that does not contain the vulnerability. Check the official NSSM website or repository for updates.
to create and manage malicious services on compromised hosts. Securelist Recommendation