Detection rules › Sigma

Capture Credentials with Rpcping.exe

Severity
medium
Author
Julia Fomina, oscd.community
Source
upstream

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.

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1003 OS Credential Dumping

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation

Stages and Predicates

Stage 1: all of selection_main_img

or:
Image|endswith: '\RpcPing.exe'
OriginalFileName: '\RpcPing.exe'

Stage 2: all of selection_main_flag

CommandLine|contains: -s

Stage 3: 1 of selection_cli_ntlm

CommandLine|contains: -u
CommandLine|contains: NTLM

Stage 4: 1 of selection_cli_ncacn

CommandLine|contains: -t
CommandLine|contains: ncacn_np

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
CommandLinematch
  • -s corpus 2 (sigma 2)
  • -t
  • -u corpus 3 (sigma 3)
  • NTLM
  • ncacn_np
Imageends_with
  • \RpcPing.exe
OriginalFileNameeq
  • \RpcPing.exe