Ad Discovery

Description

Simulated test Attack range dataset for AD discovery techniques using PoschC2 and a PowerShell implant

MITRE ATT&CK Techniques

ID Technique Tactic
T1069.002 Domain Groups Discovery

Environment Details

Field Value
Environment attack_range
Directory AD_discovery
Test Date 2021-09-07

Datasets

The following datasets were collected during this attack simulation:

Windows-Xml

  • Path: /datasets/attack_techniques/T1069.002/AD_discovery/windows-xml.log
  • Sourcetype: XmlWinEventLog
  • Source: XmlWinEventLog:Security

Windows-Powershell-Xml

  • Path: /datasets/attack_techniques/T1069.002/AD_discovery/windows-powershell-xml.log
  • Sourcetype: XmlWinEventLog
  • Source: XmlWinEventLog:Microsoft-Windows-PowerShell/Operational

Ldifde_4688_windows-Security

  • Path: /datasets/attack_techniques/T1069.002/AD_discovery/ldifde_4688_windows-security.log
  • Sourcetype: XmlWinEventLog
  • Source: XmlWinEventLog:Security

Ldifde_windows-Sysmon

  • Path: /datasets/attack_techniques/T1069.002/AD_discovery/ldifde_windows-sysmon.log
  • Sourcetype: XmlWinEventLog
  • Source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational

Windows-Sysmon

  • Path: /datasets/attack_techniques/T1069.002/AD_discovery/windows-sysmon.log
  • Sourcetype: XmlWinEventLog
  • Source: XmlWinEventLog:Microsoft-Windows-Sysmon/Operational

Windows-Powershell-Xml-Powerview

  • Path: /datasets/attack_techniques/T1069.002/AD_discovery/windows-powershell-xml-powerview.log
  • Sourcetype: XmlWinEventLog
  • Source: XmlWinEventLog:Microsoft-Windows-PowerShell/Operational

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

Detection Name Type Source MITRE ATT&CK Analytic Story
Windows Group Discovery Via Net Hunting Endpoint T1069.001, T1069.002 Windows Discovery Techniques, Windows Post-Exploitation, Graceful Wipe Out Attack, Active Directory Discovery, Prestige Ransomware, Medusa Ransomware, Azorult, Cleo File Transfer Software, Rhysida Ransomware, IcedID, Volt Typhoon, Microsoft WSUS CVE-2025-59287
Windows Sensitive Group Discovery With Net Anomaly Endpoint T1069.002 Active Directory Discovery, Volt Typhoon, Rhysida Ransomware, BlackSuit Ransomware, IcedID, Microsoft WSUS CVE-2025-59287
Domain Group Discovery With Wmic Hunting Endpoint T1069.002 Active Directory Discovery
Elevated Group Discovery With Wmic TTP Endpoint T1069.002 Active Directory Discovery
GetWmiObject Ds Group with PowerShell TTP Endpoint T1069.002 Active Directory Discovery
Domain Group Discovery With Dsquery Anomaly Endpoint T1069.002 Active Directory Discovery, LAMEHUG
GetAdGroup with PowerShell Hunting Endpoint T1069.002 Active Directory Discovery
GetDomainGroup with PowerShell TTP Endpoint T1069.002 Active Directory Discovery
Elevated Group Discovery with PowerView Hunting Endpoint T1069.002 Active Directory Discovery
Windows Ldifde Directory Object Behavior TTP Endpoint T1105, T1069.002 Volt Typhoon
GetAdGroup with PowerShell Script Block Hunting Endpoint T1069.002 Scattered Lapsus$ Hunters, Active Directory Discovery

Usage Instructions

Replay with Splunk Attack Data

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

1python replay.py --dataset /datasets/attack_techniques/T1069.002/AD_discovery/windows-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