VeriKQL by Kaushik Saha

T1207 Rogue Domain Controller

Defense Impairmenton attack.mitre.org

ATT&CK Enterprise 20.0 · 20.1 released, update in review

How MITRE detects it

DET0276 Detection Strategy for Rogue Domain Controller (DCShadow) Registration and Replication Abuse

AN0770 Windows

Detection of rogue Domain Controller registration and Active Directory replication abuse by correlating: (1) creation/modification of nTDSDSA and server objects in the Configuration partition, (2) unexpected usage of Directory Replication Service SPNs (GC/ or E3514235-4B06-11D1-AB04-00C04FC2DCD2), (3) replication RPC calls (DrsAddEntry, DrsReplicaAdd, GetNCChanges) originating from non-DC hosts, and (4) Kerberos authentication by non-DC machines using DRS-related SPNs. These events in combination, especially from hosts outside the Domain Controllers OU, may indicate DCShadow or rogue DC activity.

MITRE log sourceIn Microsoft Sentinel
WinEventLog:SecurityEventCode=4928
  • Windows Security Events via AMA → SecurityEvent
    SecurityEvent | where EventID in (4928)
  • Security Events via Legacy Agent → SecurityEvent
    SecurityEvent | where EventID in (4928)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel == "Security" | where EventID in (4928)

The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only.

WinEventLog:SecurityEventCode=4929
  • Windows Security Events via AMA → SecurityEvent
    SecurityEvent | where EventID in (4929)
  • Security Events via Legacy Agent → SecurityEvent
    SecurityEvent | where EventID in (4929)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel == "Security" | where EventID in (4929)

The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only.

WinEventLog:SecurityEventCode=4662
  • Windows Security Events via AMA → SecurityEvent
    SecurityEvent | where EventID in (4662)
  • Security Events via Legacy Agent → SecurityEvent
    SecurityEvent | where EventID in (4662)
  • Windows Forwarded Events → WindowsEvent
    WindowsEvent | where Channel == "Security" | where EventID in (4662)

The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only.

m365:dirsyncReplication cookie changes involving Configuration partition with new server/nTDSDSA objects.interpreted
  • Microsoft Entra ID → AuditLogs
    AuditLogs

Directory synchronisation changes are recorded as Entra audit events.

NSM:FlowDrsAddEntry, DrsReplicaAdd, GetNCChanges calls between non-DC and DCs.Not mapped to Sentinel yet.

Content Hub rules tagged with it (4)

Rules tagged with this technique (or a sub-technique) in their metadata. Whether one fits your connectors is the coverage view (M2).

How the Content Hub rules for T1207 are built: their tables, filters, joins, schedules and windows.

In Sigma rules

2 SigmaHQ community rules name it or one of its sub-techniques in their tags.

Community rules, not Microsoft's, and not checked by VeriKQL (Sigma is not KQL). From SigmaHQ/sigma at f083329, under the Detection Rule License (DRL) 1.1; each rule is credited to its author.

Mitigations

MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.