Detection rules › Sigma

Potential SPN Enumeration Via Setspn.EXE

Severity
medium
Author
Markus Neis, keepwatch
Source
upstream

Detects service principal name (SPN) enumeration used for Kerberoasting

MITRE ATT&CK coverage

TacticTechniques
Credential AccessT1558.003 Steal or Forge Kerberos Tickets: Kerberoasting

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation

Stages and Predicates

Stage 1: all of selection_pe

or:
Description|contains: 'Query or reset the computer'
Description|contains: 'SPN attribute'
Image|endswith: '\setspn.exe'
OriginalFileName: setspn.exe

Stage 2: all of selection_cli

or:
CommandLine|contains: ' -q '
CommandLine|contains: ' /q '

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
  • -q corpus 2 (sigma 2)
  • /q
Descriptionmatch
  • Query or reset the computer
  • SPN attribute
Imageends_with
  • \setspn.exe
OriginalFileNameeq
  • setspn.exe