{"id":"93671f99-04eb-4ab4-a161-70d446a84003","title":"Capture Credentials with Rpcping.exe","description":"Detects using Rpcping.exe to send a RPC test connection to the target server (-s) and force the NTLM hash to be sent in the process.","author":"Julia Fomina, oscd.community","status":"test","level":"medium","date":"2020-10-09","modified":"2025-10-31","tags":["attack.credential-access","attack.t1003"],"technique_ids":["T1003"],"logsource":{"category":"process_creation","product":"windows"},"falsepositives":["Unlikely"],"references":["https://lolbas-project.github.io/lolbas/Binaries/Rpcping/","https://twitter.com/vysecurity/status/974806438316072960","https://twitter.com/vysecurity/status/873181705024266241","https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/hh875578(v=ws.11)"],"source_path":"rules/windows/process_creation/proc_creation_win_rpcping_credential_capture.yml","source_sha256":"95e7a4bb4e8ffb041db6b85bfbb1e94d2a666f289b27faed42874c7c5f90b841","source_url":"https://github.com/anpa1200/sigma/blob/b249e9683190cffdcaf188ccbfb90bf4759844e1/rules/windows/process_creation/proc_creation_win_rpcping_credential_capture.yml","license":"Detection Rule License 1.1","license_url":"https://github.com/SigmaHQ/Detection-Rule-License/blob/main/LICENSE.Detection.Rules.md","yaml":"title: Capture Credentials with Rpcping.exe\nid: 93671f99-04eb-4ab4-a161-70d446a84003\nstatus: test\ndescription: Detects using Rpcping.exe to send a RPC test connection to the target server (-s) and force the NTLM hash to be sent in the process.\nreferences:\n    - https://lolbas-project.github.io/lolbas/Binaries/Rpcping/\n    - https://twitter.com/vysecurity/status/974806438316072960\n    - https://twitter.com/vysecurity/status/873181705024266241\n    - https://learn.microsoft.com/en-us/previous-versions/windows/it-pro/windows-server-2012-r2-and-2012/hh875578(v=ws.11)\nauthor: Julia Fomina, oscd.community\ndate: 2020-10-09\nmodified: 2025-10-31\ntags:\n    - attack.credential-access\n    - attack.t1003\nlogsource:\n    category: process_creation\n    product: windows\ndetection:\n    selection_main_img:\n        - Image|endswith: '\\RpcPing.exe'\n        - OriginalFileName: '\\RpcPing.exe'\n    selection_main_flag:\n        CommandLine|contains|windash: '-s'\n    selection_cli_ntlm:\n        CommandLine|contains|windash: '-u'\n        CommandLine|contains: 'NTLM'\n    selection_cli_ncacn:\n        CommandLine|contains|windash: '-t'\n        CommandLine|contains: 'ncacn_np'\n    condition: all of selection_main_* and 1 of selection_cli_*\nfalsepositives:\n    - Unlikely\nlevel: medium\n","validation":"yaml_parsed_not_backend_compiled_or_live_validated","techniques":[{"key":"enterprise/T1003","id":"T1003","name":"OS Credential Dumping","page":"techniques/enterprise/T1003/"}],"data_path":"data/detection-rules/93671f99-04eb-4ab4-a161-70d446a84003.json","kind":"sigma"}
