Windows AD Same Domain SID History Addition
The following analytic detects changes to the sIDHistory attribute of user or computer objects within the same domain. It leverages Windows Security Event Codes 4738 and 4742 to identify when the sIDHistory attribute…
Description
The following analytic detects changes to the sIDHistory attribute of user or computer objects within the same domain. It leverages Windows Security Event Codes 4738 and 4742 to identify when the sIDHistory attribute is modified. This activity is significant because the sIDHistory attribute can be abused by adversaries to grant unauthorized access by inheriting permissions from another account. If confirmed malicious, this could allow attackers to maintain persistent access or escalate privileges within the domain, posing a severe 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_4738windows_event_log_security_4742
Known benign triggers
- No false positives have been identified at this time.
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
- 5fde0b7c-df7a-40b1-9b3a-294c00f0289d
- Tagged by the source as
- Compromised Windows HostSneaky Active Directory Persistence TricksWindows Persistence TechniquesEndpointendpointSplunk 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