DEDUPED Hot AI repos, turned into use cases Get 5 a day

How to review ADCS ESC1 through ESC17 misconfigurations with Claude AD

Check certificate services for ESC1 through ESC17 weaknesses with the adcs-attacks skill and certipy.

Authorization notice. Claude AD is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.

Who it is forA penetration tester or internal auditor on an authorized engagement who needs to check whether the Active Directory Certificate Services setup has known escalation paths.

The problemADCS misconfigurations are numerous and easy to overlook, and each ESC variant needs a different check.

The outcomeA list of ADCS templates and settings that map to specific ESC variants, with the certipy command and the fix for each.

What you need first

  • Claude Code installed
  • Written authorization to test the target domain (your own lab, a contracted engagement, or a CTF)
  • The standard tools the plugin drives (netexec, impacket, certipy, bloodyAD, BloodHound CE) available to you for the engagement

Steps

  1. Install the plugin with /plugin marketplace add ADScanPro/Claude-AD and /plugin install claude-ad@claude-ad.
  2. Ask Claude to apply the adcs-attacks skill to the certificate authority in the authorized domain.
  3. Have Claude check each ESC variant from ESC1 through ESC17 against the enumerated templates.
  4. Note the detection events and the remediation listed for each matched variant.
  5. Hand the confirmed findings to the report with their fixes.

Prompt for your agent

Using the Claude-AD repo (ADScanPro/Claude-AD), apply the adcs-attacks skill to the certificate authority <ca-name> in the authorized domain <target-domain>. Expected output is a table of matched ESC variants with the certipy check and the fix for each. Verify that every finding cites a template or setting you actually enumerated.

Caveat. Some ESC checks can change certificate templates in the directory, so confirm scope before running any write action.

Share: X LinkedIn Hacker News Email Copy link

Disclaimer

Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked "Seen in the wild", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email [email protected] and we will look at it promptly. Full disclaimer page