Short Lived Service Principal Name

Description

Manually adding and then deleting a Service Principal Name for a domain admin account account using setspn.exe

MITRE ATT&CK Techniques

ID Technique Tactic
T1098 Account Manipulation Persistence, Privilege Escalation

Environment Details

Field Value
Environment attack_range
Directory short_lived_service_principal_name
Test Date 2022-11-18

Datasets

The following datasets were collected during this attack simulation:

Windows-Security

  • Path: /datasets/attack_techniques/T1098/short_lived_service_principal_name/windows-security.log
  • Sourcetype: XmlWinEventLog
  • Source: XmlWinEventLog:Security

The following detections in our security content repository use this attack data for testing:

Detection Name Type Source MITRE ATT&CK Analytic Story
Windows AD Short Lived Domain Account ServicePrincipalName TTP Endpoint T1098 Sneaky Active Directory Persistence Tricks, Interlock Ransomware

Usage Instructions

Replay with Splunk Attack Data

Replay attack data with replay.py from Splunk Attack Data.

1python replay.py --dataset /datasets/attack_techniques/T1098/short_lived_service_principal_name/windows-security.log --index attack_data

Manual Import

  1. Download the dataset files from the paths listed above
  2. Configure your Splunk instance with the appropriate sourcetypes
  3. Import the logs using the Splunk Add Data wizard

Find more detections and analytics for this attack technique in our security content repository.


Source: GitHub | Version: 1.0