Dcshadowpermissions

Description

Executing the Set-DCShadowPermissions.ps1 powershell script to apply the minimal permissions required to perform a DCShadow attack.

MITRE ATT&CK Techniques

ID Technique Tactic
T1484 Domain or Tenant Policy Modification Defense Evasion, Privilege Escalation

Environment Details

Field Value
Environment attack_range
Directory DCShadowPermissions
Test Date 2023-11-10

Datasets

The following datasets were collected during this attack simulation:

Windows-Security-Xml

  • Path: /datasets/attack_techniques/T1484/DCShadowPermissions/windows-security-xml.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 DCShadow Privileges ACL Addition TTP Endpoint T1484, T1207, T1222.001 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/T1484/DCShadowPermissions/windows-security-xml.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