Attackers who can write to a world-writable folder like C:\ could plant a malicious My.exe . Again, this is an OS-level design issue, not a buffer overflow in NSSM.
Are you trying to secure a system against these persistence techniques, or are you looking for details on a specific recent security report? Odoo 12.0.20190101 - 'nssm.exe' Unquoted Service Path nssm-2.24 exploit
Event ID 7045 (A service was installed) in the System log records the service name, binary path, and start type. Correlate this with unusual parent processes (e.g., powershell.exe spawning nssm.exe ). Attackers who can write to a world-writable folder
It started with a single, low-priority alert: "Unexpected Process Termination." To a junior analyst, it looked like a routine crash of a legacy background service. But to Senior Architect Elias, it was a "canary in the coal mine." The service in question was managed by NSSM 2.24 , a popular open-source tool used by the company to keep their custom automation scripts running. Odoo 12