Sigma rule: Capture Credentials with Rpcping.exe
A detection rule from the SigmaHQ repository, shown as its author published it. Dataset version ref-7adc2c070a9d, updated 2025-10-31T00:00:00.000Z.
Rule
- Title
- Capture Credentials with Rpcping.exe
- Status
- test
- Level
- medium
- Author
- Julia Fomina, oscd.community
- Date
- 2020-10-09
- Modified
- 2025-10-31
- File
- rules/windows/process_creation/proc_creation_win_rpcping_credential_capture.yml
- Commit
- ccbb0369507f796db0b0ae6854c8a2be471b9d84
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.
Log source
- product
- windows
- category
- process_creation
Detection
selection_main_img:
- Image|endswith: '\RpcPing.exe'
- OriginalFileName: '\RpcPing.exe'
selection_main_flag:
CommandLine|contains|windash: '-s'
selection_cli_ntlm:
CommandLine|contains|windash: '-u'
CommandLine|contains: 'NTLM'
selection_cli_ncacn:
CommandLine|contains|windash: '-t'
CommandLine|contains: 'ncacn_np'
condition: all of selection_main_* and 1 of selection_cli_*False positives (as the rule lists them)
- Unlikely
Tags
- attack.credential-access
- attack.t1003
MITRE ATT&CK ids this rule names
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)
Read on 2026-11-03T00:58:21.399Z under licence sigma-drl-1.1@d5f4c36a from https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_rpcping_credential_capture.yml
Sources and licences
SigmaHQ
"Capture Credentials with Rpcping.exe" by Julia Fomina, oscd.community (SigmaHQ). Rule: https://github.com/SigmaHQ/sigma/blob/ccbb0369507f796db0b0ae6854c8a2be471b9d84/rules/windows/process_creation/proc_creation_win_rpcping_credential_capture.yml.
Licensed under the Detection Rule License (DRL) 1.1: https://github.com/SigmaHQ/Detection-Rule-License
Cite this page
Dragons Eye Ransomware Tracker, "Sigma rule: Capture Credentials with Rpcping.exe",
entity page, dataset version ref-7adc2c070a9d, updated 2025-10-31T00:00:00.000Z,
https://ransomware-tracker.com/detections/sigma/93671f99-04eb-4ab4-a161-70d446a84003 (accessed 2026-11-03).
Underlying source: SigmaHQ rule 93671f99-04eb-4ab4-a161-70d446a84003, commit ccbb0369507f796db0b0ae6854c8a2be471b9d84.
Pages change. The dataset version identifies the data, but no archive of old versions is kept, so this citation cannot be replayed later.