Mimikatz
Description
Utilising the sid::patch & sid::add commands from a mimikatz shell running debug privilegs. Successfully patched ntds & added a SID history ad attribute to a user object. Note, also works with computer accounts ;)
MITRE ATT&CK Techniques
| ID | Technique | Tactic |
|---|---|---|
| T1134.005 | SID-History Injection | Defense Evasion, Privilege Escalation |
Environment Details
| Field | Value |
|---|---|
| Environment | attack_range |
| Directory | mimikatz |
| Test Date | 2022-08-23 |
Datasets
The following datasets were collected during this attack simulation:
Windows-Security-Xml
- Path:
/datasets/attack_techniques/T1134.005/mimikatz/windows-security-xml.log - Sourcetype:
XmlWinEventLog - Source:
XmlWinEventLog:Security
Related Detections
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 Cross Domain SID History Addition | TTP |
Endpoint | T1134.005 | Compromised Windows Host, Sneaky Active Directory Persistence Tricks |
| Windows AD Same Domain SID History Addition | TTP |
Endpoint | T1134.005 | Compromised Windows Host, Windows Persistence Techniques, Sneaky Active Directory Persistence Tricks |
| Windows AD Privileged Account SID History Addition | TTP |
Endpoint | T1134.005 | Compromised Windows Host, Sneaky Active Directory Persistence Tricks |
Usage Instructions
Replay with Splunk Attack Data
Replay attack data with replay.py from Splunk Attack Data.
1python replay.py --dataset /datasets/attack_techniques/T1134.005/mimikatz/windows-security-xml.log --index attack_data
Manual Import
- Download the dataset files from the paths listed above
- Configure your Splunk instance with the appropriate sourcetypes
- Import the logs using the Splunk Add Data wizard
Related Content
Find more detections and analytics for this attack technique in our security content repository.
Source: GitHub | Version: 1.0