πŸͺͺ
AutomationPython

AD Persistence

by blacklanternsecurity

AD Persistence is an Automation skill for Claude Code, published by blacklanternsecurity in red-run.

266 stars37 forkson blacklanternsecurity/red-runAdded 2026/09/02+3% in starsRepository updated 2026/04/01
claudeclaude-codectfoffensive-securitypenetration-testingred-teamsecurity
Install in seconds
Install AD Persistence
Copy AD Persistence into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/blacklanternsecurity/red-run/tree/main/skills/ad/ad-persistence ~/.claude/skills/ad-persistence

Requires Node.js. Downloads this skill only β€” not the rest of the repository β€” into your Claude Code skills folder.

Without Node.js

git clone https://github.com/blacklanternsecurity/red-run.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
skills/ad/ad-persistence/SKILL.md in blacklanternsecurity/red-run
Installs to
~/.claude/skills/ad-persistence
Collection
One of 25 skills cataloged from this repository
Category
Automation β€” 1648 skills

What AD Persistence does

AD Persistence documents post-compromise techniques for maintaining access in Active Directory after domain admin access. It covers methods like DCShadow, Golden SAML, SID history, certificate persistence, and security descriptor backdoors.

AD Persistence is cataloged under Automation on DirSkills. AD Persistence comes from a repository tagged claude, claude-code, ctf, offensive-security and penetration-testing.

Documentation

README

AD Persistence

You are helping a penetration tester establish persistent access in Active Directory environments after achieving domain admin or equivalent privileges. All testing is under explicit written authorization.

Engagement Logging

Check for ./engagement/ directory. If absent, proceed without logging.

When an engagement directory exists:

  • Print [ad-persistence] Activated β†’ <target> to the screen on activation.
  • Evidence β†’ save significant output to engagement/evidence/ with descriptive filenames (e.g., sqli-users-dump.txt, ssrf-aws-creds.json).

This is the opening of the README. Read the full README on GitHub.

Commands AD Persistence provides

Slash commands named in this skill’s SKILL.md, listed in the order they first appear.

  • /export
  • /ptt
  • /push
  • /stack
  • /remove
  • /letaes

Frequently asked about AD Persistence

  • What else does blacklanternsecurity publish alongside AD Persistence?

    AD Persistence is one of 25 skills that DirSkills catalogs from blacklanternsecurity/red-run, the repository it ships in. Its siblings there include ADCS Persistence, ADCS Template Abuse and AV EDR Evasion. Each one is a separate skill with its own page in this directory, installs the same way AD Persistence does, and is maintained by blacklanternsecurity in that same repository. The rest of the collection is listed on the blacklanternsecurity/red-run page.

  • How does AD Persistence compare to other Automation skills?

    AD Persistence ranks #1381 by stars among the 1648 Automation skills in this catalog. The most-starred ones next to it are Autonomous Loops, Autonomous Agent Harness and Automation Audit Ops. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of AD Persistence against them. Open each page to compare what they document and how they install.

More from blacklanternsecurity/red-run

AD Persistence is one of 25 skills cataloged on DirSkills from blacklanternsecurity/red-run.

See all 25 skills β†’
πŸͺͺ
1h ago

ADCS Persistence

ADCS Persistence establishes long-lived access through AD CS certificate abuse and weak certificate mapping. It is used for Golden Certificates, ESC9/10, altSecIdentities, certificate theft, and related persistence techniques.
AI Engineering
26637
πŸͺͺ
1h ago

ADCS Template Abuse

ADCS Template Abuse exploits misconfigured AD CS certificate templates and CA flags to impersonate domain users with certificates. Use it during authorized assessments to enumerate ESC1, ESC2, ESC3, and ESC6 paths.
AI Engineering
26637
πŸ›‘οΈ
1h ago

AV EDR Evasion

AV EDR Evasion covers payload compilation and runtime bypass methods when antivirus or endpoint protection blocks execution. Use it to build alternate DLL, EXE, script, AMSI, or ETW-based payloads for an authorized engagement.
AI Engineering
26637
πŸ”
1h ago

Acl Abuse

Acl Abuse exploits misconfigured Active Directory ACLs for privilege escalation. It is used to abuse rights like GenericAll, WriteDACL, shadow credentials, SPN manipulation, and password reset paths.
Automation
26637
πŸ—ΊοΈ
1h ago

Ad Discovery

Ad Discovery enumerates Active Directory domains to map hosts, signing settings, and attack paths during authorized testing. It supports unauthenticated and credentialed reconnaissance and records findings for orchestration.
Automation
26637
πŸ›‘οΈ
1h ago

Adcs Access And Relay

Adcs Access And Relay covers ADCS template and CA ACL abuse plus NTLM relay to enrollment endpoints. Use it when enumerating or exploiting ESC4, ESC5, ESC7, ESC8, or ESC11 paths.
AI Engineering
26637