Detectionmediumtest

Potential SPN Enumeration Via Setspn.EXE

Detects service principal name (SPN) enumeration used for Kerberoasting

Convert In Phoenix Studio

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

Launch
Markus Neis, keepwatchCreated Wed Nov 14Updated Mon Oct 231eeed653-dbc8-4187-ad0c-eeebb20e6599windows
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 Logic2 selectors
detection:
    selection_pe:
        - Image|endswith: '\setspn.exe'
        - OriginalFileName: 'setspn.exe'
        - Description|contains|all:
              - 'Query or reset the computer'
              - 'SPN attribute'
    selection_cli:
        CommandLine|contains:
            - ' -q '
            - ' /q '
    condition: all of selection_*
False Positives

Administration activity

Rule Metadata
Rule ID
1eeed653-dbc8-4187-ad0c-eeebb20e6599
Status
test
Level
medium
Type
Detection
Created
Wed Nov 14
Modified
Mon Oct 23
Path
rules/windows/process_creation/proc_creation_win_setspn_spn_enumeration.yml
Raw Tags
attack.credential-accessattack.t1558.003
View on GitHub