Ad Discovery

Description

Simulated test Attack range dataset for AD discovery techniques

MITRE ATT&CK Techniques

ID Technique Tactic
T1087.002 Domain Account Discovery

Environment Details

Field Value
Environment attack_range
Directory AD_discovery
Test Date 2021-08-24

Datasets

The following datasets were collected during this attack simulation:

Windows-Powershell-Xml

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

Windows-Powershell-Localadminaccess-Xml

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

Windows-Powershell-Domainou-Xml

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

Windows-Powershell-Forestdomain-Xml

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

Windows-Powershell-Interestingacl-Xml

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

Windows-Sysmon

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

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

Detection Name Type Source MITRE ATT&CK Analytic Story
AdsiSearcher Account Discovery TTP Endpoint T1087.002 Industroyer2, Active Directory Discovery, CISA AA23-347A, Data Destruction, Scattered Lapsus$ Hunters
Get ADUser with PowerShell Script Block Hunting Endpoint T1087.002 Active Directory Discovery, CISA AA23-347A
Windows Find Domain Organizational Units with GetDomainOU TTP Endpoint T1087.002 Active Directory Discovery
Windows Find Interesting ACL with FindInterestingDomainAcl TTP Endpoint T1087.002 Active Directory Discovery
Remote System Discovery with Adsisearcher TTP Endpoint T1018 Active Directory Discovery
Windows Get Local Admin with FindLocalAdminAccess TTP Endpoint T1087.002 Active Directory Discovery
Domain Account Discovery with Wmic TTP Endpoint T1087.002 Active Directory Discovery, Interlock Ransomware
Get DomainUser with PowerShell TTP Endpoint T1087.002 Active Directory Discovery, CISA AA23-347A
Domain Account Discovery with Dsquery Anomaly Endpoint T1087.002 Active Directory Discovery, LAMEHUG
Get ADUser with PowerShell Hunting Endpoint T1087.002 Active Directory Discovery, CISA AA23-347A
Windows PowerShell Process With Malicious String TTP Endpoint T1059.001 Malicious PowerShell
GetWmiObject DS User with PowerShell TTP Endpoint T1087.002 Active Directory Discovery
Get DomainUser with PowerShell Script Block TTP Endpoint T1087.002 Active Directory Discovery, CISA AA23-347A
Windows Forest Discovery with GetForestDomain TTP Endpoint T1087.002 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/T1087.002/AD_discovery/windows-powershell-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