Domain persistence techniques — DCSync rights grants, AdminSDHolder/SDProp abuse, DCShadow, krbtgt golden-ticket persistence, skeleton key, Directory Services Restore Mode (DSRM) abuse, and ACL backdoors. Establish resilient, stealthy access after domain compromise. Use post-DA, within RoE, and document each for remediation.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Ad Persistence?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-ad-persistence)
---
name: ad-persistence
description: Domain persistence techniques — DCSync rights grants, AdminSDHolder/SDProp abuse, DCShadow, krbtgt golden-ticket persistence, skeleton key, Directory Services Restore Mode (DSRM) abuse, and ACL backdoors. Establish resilient, stealthy access after domain compromise. Use post-DA, within RoE, and document each for remediation.
---
# Active Directory Persistence
After reaching Domain Admin, establish durable access that survives credential resets. Each technique here is detectable/removable — document precisely so the client can remediate.
## Trigger phrases
`domain persistence, dcsync backdoor, adminsdholder, dcshadow, skeleton key, dsrm, krbtgt persistence, sdprop`
## Techniques
- **Golden ticket (krbtgt):** see `kerberos-ticket-forging` — survives until krbtgt is rotated twice.
- **DCSync ACL backdoor:** grant a low-priv account `DS-Replication-Get-Changes[-All]` on the domain head → dump hashes anytime (`dacledit.py`, see `acl-abuse`).
- **AdminSDHolder:** write a malicious ACE (e.g., GenericAll for your account) on the AdminSDHolder object; SDProp re-applies it to all protected groups every 60 min → re-grants your rights even after cleanup.
- **DCShadow:** register a rogue DC to push arbitrary directory changes (e.g., add SID history, group membership) without standard logging (mimikatz `lsadump::dcshadow`).
- **DSRM:** set DSRM admin password and enable network logon with it for a local-DC backdoor.
- **Skeleton key:** patch LSASS on a DC to accept a master password for any account (mimikatz `misc::skeleton`) — volatile, noisy; lab/RoE only.
- **SID history injection:** add a privileged SID to a controlled account for hidden access.
## OPSEC
Prefer quiet, attributable-looking backdoors (ACL/DCSync) over LSASS patching. Keep an exact change log.
## Evidence & cleanup
Record every object/ACE/ticket created, prove re-access, and provide remediation steps (krbtgt double-reset, ACE removal, AdminSDHolder review).