SID History Injection
Also called SID history abuse.
Adding privileged SIDs to an account's history for stealthy access.
What it is
Abuse of the SID history attribute, originally meant to preserve access during domain migrations, by inserting the security identifiers of privileged groups into a controlled account. The account then inherits those privileges even though its visible group memberships look ordinary.
Why it matters
It grants hidden elevated access and is a durable persistence technique, since an account that appears unprivileged can wield domain-admin rights through its injected history. Auditing SID history for unexpected privileged values is the way to catch it.
In practice
An analyst finds a help-desk account carrying the Domain Admins SID in its history, explaining how it accessed servers it should never reach.
What to look for
- Events 4765 or 4766 for SID history changes.
- Accounts with SID history containing privileged SIDs from the same domain.
- Access that group membership alone does not explain.
Common mistake
Auditing only group membership. SID history grants access without the account being in the group.
Practice it nearby
CyberKit has no tool for this term itself. These are the closest places to practice it.
- Cloud Identity Case
A cloud account acting out of character: read its CloudTrail records and sign-ins, name the attack, and pick the containment.
- Event Log Reader
Read a binary .evtx file or pasted event XML, with logon types, NTSTATUS codes and the Keywords mask decoded.
In the field
Well-known tools where this shows up on the job. They are listed to show the landscape, not as a recommendation.
-
Microsoft Defender for Identity Commercial
Watches domain controller traffic and events for attacks such as Kerberoasting and DCSync.
-
BloodHound Open source
Maps attack paths through Active Directory, the same view an attacker builds.
-
Splunk Enterprise Security Commercial
Where many teams search domain controller logs, such as Kerberos ticket events, for these attacks.
Read next
- DCShadow: Registering a rogue domain controller to push malicious AD changes.
- Golden Ticket: A forged Kerberos TGT minted from the stolen krbtgt key.
- Access Token Manipulation: Stealing or forging Windows tokens to act as another account.