HackTool - RemoteKrbRelay Execution
A Sigma rule for process creation on Windows, by Nasreddine Bencherchali (Nextron Systems).
high 1 ATT&CK technique
What it looks for
detection:
selection_cli_attack_addgrpname:
CommandLine|contains|all:
- '-addgroupmember '
- '-group '
- '-groupuser '
selection_cli_attack_changepass:
CommandLine|contains: '-chp '
CommandLine|contains|all:
- '-chpPass '
- '-chpUser '
selection_cli_attack_rbcd_main:
CommandLine|contains: '-rbcd '
selection_cli_attack_rbcd_options:
CommandLine|contains:
- '-cn '
- '--computername '
selection_cli_attack_smb:
CommandLine|contains:
- 'interactive'
- 'secrets'
- 'service-add'
CommandLine|contains|all:
- '-smb '
- '--smbkeyword '
selection_cli_required:
CommandLine|contains|all:
- ' -clsid '
- ' -target '
- ' -victim '
selection_img:
- Image|endswith: '\RemoteKrbRelay.exe'
- OriginalFileName: 'RemoteKrbRelay.exe'
condition: selection_img or selection_cli_required or all of selection_cli_attack_rbcd_* or selection_cli_attack_changepass or selection_cli_attack_addgrpname or selection_cli_attack_smb
The rule’s detection, its selections and fields in order of name. The whole rule, with its references and false positives, is on SigmaHQ, by Nasreddine Bencherchali (Nextron Systems), under the Detection Rule License 1.1. CmdID evaluates it on a command line alone: a test on what a command line cannot show, such as the parent process or the user, is not met.
None of the everyday examples and documented commands on CmdID’s program pages trips it. To see whether a command line does, paste it into CmdID.
ATT&CK
T1558.003Steal or Forge Kerberos Tickets: Kerberoasting