Account and ACL Persistence
Account and ACL-based persistence survives password changes, reboots, and payload removal. A hidden admin account or a quietly granted ACL right gives you re-entry to the domain without needing to re-exploit anything. These techniques are less detectable than Golden Tickets because they use legitimate authentication flows.
Backdoor domain account
Creating a domain account and adding it to privileged groups gives persistent authenticated access to every domain service.
Adding to Domain Admins generates Event ID 4728 and is detected quickly in monitored environments. Adding to Account Operators or Backup Operators is less visible — both groups have sufficient rights to re-escalate from.
DCSync rights as persistent backdoor
Granting a controlled account DCSync rights is one of the most powerful and stealthy persistence mechanisms. The account looks like a normal domain user but can dump all domain hashes at any time. No group membership change is required.
GenericAll on AdminSDHolder
AdminSDHolder is a special AD object that acts as a permissions template for all protected groups (Domain Admins, Enterprise Admins, etc.). Every 60 minutes, the SDProp process copies AdminSDHolder's ACL to all protected group members. Granting yourself GenericAll on AdminSDHolder means your rights are automatically restored to every privileged account in the domain every hour — even if a defender removes them manually.
Shadow Credentials as persistence
Adding a shadow credential to a privileged account links a certificate key pair to that account. You can authenticate as that account using the certificate at any time — the account's password can change without affecting your access.
Cleanup
References
-
BloodyAD — GitHubgithub.com/CravateRouge/bloodyAD (opens in new tab)
add user, add dcsync, add genericAll, add shadowCredentials reference
-
pywhisker — GitHubgithub.com/ShutdownRepo/pywhisker (opens in new tab)
Shadow Credentials add, list, remove operations
-
dirkjanm/PKINITtoolsgithub.com/dirkjanm/PKINITtools (opens in new tab)
Was this helpful?
Your feedback helps improve this page.