Windows AD SID History Attribute Modified
The following analytic detects modifications to the SID History attribute in Active Directory by leveraging event code 5136. This detection uses logs from the `wineventlog_security` data source to identify changes to…
Description
The following analytic detects modifications to the SID History attribute in Active Directory by leveraging event code 5136. This detection uses logs from the `wineventlog_security` data source to identify changes to the sIDHistory attribute. Monitoring this activity is crucial as the SID History attribute can be exploited by adversaries to inherit permissions from other accounts, potentially granting unauthorized access. If confirmed malicious, this activity could allow attackers to maintain persistent access and escalate privileges within the domain, posing a significant security risk.
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_5136
Known benign triggers
- Domain mergers and migrations may generate large volumes of false positives for this analytic.
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 |
|---|---|
| adsecurity.org/?p=1772 | 5from 2 sources |
| book.hacktricks.xyz/windows-hardening/active-directory-methodology/sid-history-injection | 2 |
| learn.microsoft.com/en-us/defender-for-identity/security-assessment-unsecure-sid-history-attribute | 3 |
| learn.microsoft.com/en-us/windows/win32/adschema/a-sidhistory?redirectedfrom=MSDN | 3 |
From the source
- At source
- Open at source
- Upstream identifier
- 1155e47d-307f-4247-beab-71071e3a458c
- Tagged by the source as
- Sneaky 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