Windows AD Short Lived Server Object
The following analytic identifies the creation and quick deletion of a Domain Controller (DC) object within 30 seconds in an Active Directory environment, indicative of a potential DCShadow attack. This detection…
Description
The following analytic identifies the creation and quick deletion of a Domain Controller (DC) object within 30 seconds in an Active Directory environment, indicative of a potential DCShadow attack. This detection leverages Windows Security Event Codes 5137 and 5141, analyzing the duration between these events. This activity is significant as DCShadow allows attackers with privileged access to register a rogue DC, enabling unauthorized changes to AD objects, including credentials. If confirmed malicious, this could lead to unauthorized AD modifications, compromising the integrity and security of the entire domain.
Detection logic
Detection requirements
- Platform
- Windows
The rule states no platform. This is derived from the ATT&CK technique it maps to.
- Log source category
- windows_event_log_security_5137windows_event_log_security_5141
Known benign triggers
- Creating and deleting a server object within 30 seconds or less is unusual but not impossible in a production environment. Filter as needed.
MITRE ATT&CK mappings
0 exclusive techniques.This is coverage no other published rule has; it is not this rule's total technique count.
References
| Reference | Cited by |
|---|---|
| attack.mitre.org/techniques/T1207/ | 4 |
| learn.microsoft.com/en-us/windows/security/threat-protection/auditing/event-5137 | Only this detection cites it |
| learn.microsoft.com/en-us/windows/security/threat-protection/auditing/event-5141 | Only this detection cites it |
| pentestlab.blog/2018/04/16/dcshadow/ | Only this detection cites it |
| stealthbits.com/blog/detecting-dcshadow-with-event-logs/ | Only this detection cites it |
| www.dcshadow.com | 2 |
From the source
- At source
- Open at source
- Upstream identifier
- 193769d3-1e33-43a9-970e-ad4a88256cdb
- Tagged by the source as
- Compromised Windows HostSneaky Active Directory Persistence TricksEndpointendpointSplunk CloudSplunk EnterpriseSplunk Enterprise Securityendpoint
Licence
- Published under
- Apache License 2.0Read the licence
- Attribution
- Required
- Obtained under
- Apache-2.0Read the origin licence
Authorship
- Written by
- Published
- Aug 26, 2026
- Version
- 1