Detectionhightest

HackTool - KrbRelay Execution

Detects the use of KrbRelay, a Kerberos relaying tool

Convert In Phoenix Studio

Open this Sigma rule in the converter with the YAML preloaded and ready for backend selection.

Launch
Florian Roth (Nextron Systems)Created Wed Apr 27Updated Sat Feb 04e96253b8-6b3b-4f90-9e59-3b24b99cf9b4windows
Log Source
WindowsProcess Creation
ProductWindows← raw: windows
CategoryProcess Creation← raw: process_creation

Events generated when a new process is spawned on the system. Covers command-line arguments, parent/child relationships, and process metadata.

Detection Logic
Detection Logic4 selectors
detection:
    selection_img:
        - Image|endswith: '\KrbRelay.exe'
        - OriginalFileName: 'KrbRelay.exe' # In case the file has been renamed after compilation
    selection_cli_1:
        CommandLine|contains|all:
            - ' -spn '
            - ' -clsid '
            - ' -rbcd '
    selection_cli_2:
        CommandLine|contains|all:
            - 'shadowcred'
            - 'clsid'
            - 'spn'
    selection_cli_3:
        CommandLine|contains|all:
            - 'spn '
            - 'session '
            - 'clsid '
    condition: 1 of selection_*
False Positives
Unlikely

False positives are unlikely for most environments. High confidence detection.

Rule Metadata
Rule ID
e96253b8-6b3b-4f90-9e59-3b24b99cf9b4
Status
test
Level
high
Type
Detection
Created
Wed Apr 27
Modified
Sat Feb 04
Path
rules/windows/process_creation/proc_creation_win_hktl_krbrelay.yml
Raw Tags
attack.credential-accessattack.t1558.003
View on GitHub