Dsrm Account

Description

Firstly resetting the DSRM account password using ntdsutil (captured via the DSRM password reset event code 4795), second event was altering the functionality of the DSRM account to enable it to become a backdoor account (reg.exe modifying the DSRMAdminLogonBehavior value)

MITRE ATT&CK Techniques

ID Technique Tactic
T1098 Account Manipulation Persistence, Privilege Escalation

Environment Details

Field Value
Environment attack_range
Directory dsrm_account
Test Date 2022-07-21

Datasets

The following datasets were collected during this attack simulation:

Windows-Security-Xml

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

Windows-Sysmon

  • Path: /datasets/attack_techniques/T1098/dsrm_account/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
Windows AD DSRM Account Changes TTP Endpoint T1098 Sneaky Active Directory Persistence Tricks, Windows Registry Abuse, Windows Persistence Techniques, Scattered Lapsus$ Hunters
Windows AD DSRM Password Reset TTP Endpoint T1098 Sneaky Active Directory Persistence Tricks, Scattered Lapsus$ Hunters

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/dsrm_account/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