Detection rules › Sigma
HackTool - KrbRelayUp Execution
Detects KrbRelayUp used to perform a universal no-fix local privilege escalation in Windows domain environments where LDAP signing is not enforced
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Credential Access | T1558.003 Steal or Forge Kerberos Tickets: Kerberoasting |
| Lateral Movement | T1550.003 Use Alternate Authentication Material: Pass the Ticket |
Event coverage
| Provider | Event | Title |
|---|---|---|
| Sysmon | Event ID 1 | Process creation |
Rule body yaml
title: HackTool - KrbRelayUp Execution
id: 12827a56-61a4-476a-a9cb-f3068f191073
status: test
description: Detects KrbRelayUp used to perform a universal no-fix local privilege escalation in Windows domain environments where LDAP signing is not enforced
references:
- https://github.com/Dec0ne/KrbRelayUp
author: Florian Roth (Nextron Systems)
date: 2022-04-26
modified: 2023-02-04
tags:
- attack.credential-access
- attack.t1558.003
- attack.lateral-movement
- attack.t1550.003
logsource:
category: process_creation
product: windows
detection:
selection_img:
- Image|endswith: '\KrbRelayUp.exe'
- OriginalFileName: 'KrbRelayUp.exe' # In case the file has been renamed after compilation
selection_cli_1:
CommandLine|contains|all:
- ' relay '
- ' -Domain '
- ' -ComputerName '
selection_cli_2:
CommandLine|contains|all:
- ' krbscm '
- ' -sc '
selection_cli_3:
CommandLine|contains|all:
- ' spawn '
- ' -d '
- ' -cn '
- ' -cp '
condition: 1 of selection_*
falsepositives:
- Unlikely
level: high
Stages and Predicates
Stage 0: condition
1 of selection_*Stage 1: selection_img
selection_img:
- Image|endswith: '\KrbRelayUp.exe'
- OriginalFileName: 'KrbRelayUp.exe'
Stage 2: selection_cli_1
selection_cli_1:
CommandLine|contains|all:
- ' relay '
- ' -Domain '
- ' -ComputerName '
Stage 3: selection_cli_2
selection_cli_2:
CommandLine|contains|all:
- ' krbscm '
- ' -sc '
Stage 4: selection_cli_3
selection_cli_3:
CommandLine|contains|all:
- ' spawn '
- ' -d '
- ' -cn '
- ' -cp '
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.
| Field | Kind | Values |
|---|---|---|
CommandLine | match |
|
Image | ends_with |
|
OriginalFileName | eq |
|