Detection rules › Sigma
Suspicious SPN enumeration previous to Kerberoasting attack (native commands)
Detects scenarios where an attacker attempts to retrieve SPN using commandline and native tools.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Discovery | T1087.002 Account Discovery: Domain Account |
Event coverage
| Provider | Event | Title |
|---|---|---|
| Sysmon | Event ID 1 | Process creation |
| Security-Auditing | Event ID 4688 | A new process has been created. |
Rule body yaml
title: Suspicious SPN enumeration previous to Kerberoasting attack (native commands)
description: Detects scenarios where an attacker attempts to retrieve SPN using commandline and native tools.
references:
- https://github.com/mdecrevoisier/EVTX-to-MITRE-Attack/tree/master/TA0007-Discovery/T1087-Account%20discovery
- https://github.com/nidem/kerberoast
- https://github.com/cyberark/RiskySPN
- https://pentestlab.blog/2018/06/04/spn-discovery/
- https://adsecurity.org/?p=3458
- https://www.security.com/threat-intelligence/us-china-espionage
tags:
- attack.account_discovery
- attack.t1087.002 # Account Discovery: Domain Account
author: mdecrevoisier
status: experimental
logsource:
product: windows
category: process_creation
detection: # full command : 'setspn -T my_domain -Q */*'
selection:
NewProcessName|endswith: \setspn.exe
CommandLine|contains: # Perform query on the specified domain
- '/Q'
- '-Q'
condition: selection
falsepositives:
- Administrators
level: high
Stages and Predicates
Stage 0: condition
selectionStage 1: selection
selection:
NewProcessName|endswith: \setspn.exe
CommandLine|contains:
- '/Q'
- '-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.
| Field | Kind | Values |
|---|---|---|
CommandLine | match |
|
NewProcessName | ends_with |
|