Skip to content
OpenAgentSkill
Browsing is open · Catalog captured 2026-11-21 · Automatic updates and account services are paused.
Security

ad-persistence

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.

AnandJogawade · Static checks on file

Installation

Read the source and dependencies before running a command. Copying does not install or execute anything.

npx skills add AnandJogawade/Zazy-Pentest-Plugin-for-Claude --skill ad-persistence

About this skill


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).