Windows: Potential Kerberoasting SPN Enumeration via setspn.exe

Detects Windows setspn.exe runs with SPN query command-line parameters that may indicate Kerberoasting preparation.

FreeReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
Markus Neis, keepwatch (SigmaHQ), DRL 1.1
Published
2018-11-14
Updated
2026-07-30

ATT&CK techniques

Cred Access
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Execution

  5. Persistence

  6. Priv Esc

  7. Defense Evasion

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule flags process executions of setspn.exe that include queries for SPN attributes, consistent with enumerating service principal names. Attackers use SPN enumeration to identify targets for Kerberos-related credential access, which can enable Kerberoasting-style attacks. The detection relies on Windows process creation telemetry, including executable identification (path, original filename, and description text) and command-line content indicating SPN query syntax.

Related detections9 linkedT1558.003 — drag to rearrange
Malicious Kerberos Ticket File Creation Indicating Credential Theft (via file_event)
Suspicious Kerberoasting via setspn Service Principal Query
Masquerading Kerberos Ticket Abuse via Rubeus (via process_creation)
Possible Targeted Kerberoasting via servicePrincipalName Modification
Suspicious SQL Service Principal Name Enumeration via Setspn
Windows: Suspicious Kerberos Ticket Requests from PowerShell Using KerberosRequestorSecurityToken
Windows Process Creation: RemoteKrbRelay Kerberos Relay Tool Execution
Windows Kerberos KDC Key Distribution Failure: No Suitable Encryption Key or Unsupported EType
Rubeus HackTool Execution via PowerShell ScriptBlock Flags (Windows)
Windows: Potential Kerberoasting SPN Enumeration via setspn.exe
Pivot detection · T1558.003 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.