.. / windows-vulnerable-service
Star

This attack leverages a vulnerable third-party Windows service (e.g., Druva inSync) running locally with SYSTEM privileges. The service exposes an unsecured RPC interface on a local port, allowing command injection and remote code execution as SYSTEM. By sending a crafted command over the RPC service, an attacker can execute arbitrary code such as adding users or running reverse shells.

Command Reference: wmic product get name, netstat, PowerShell, python3 -m http.server, nc

  Target: Druva inSync service version 6.6.3 running on Windows 10 workstation
Command: Copy Extra code: Copy References:

https://www.rapid7.com/db/modules/exploit/windows/local/druva_insync_elevation

https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/local/druva_insync_elevation.rb