SSZcreate/Pentab_server / .agents/skills/cybersecurity/skills/exploiting-adcs-with-certipy
exploiting-adcs-with-certipy
VerifiedUse Certipy to enumerate AD CS certificate authorities and templates over LDAP/RPC, then exploit ESC1-ESC16 misconfigurations - SAN abuse, NTLM relay to web enrollment (ESC8), Shadow Credentials, golden certificate forgery, and PKINIT/Schannel auth. Use during authorized penetration tests to escalate a domain foothold to Domain Admin, or to validate that certificate template ACLs and CA hardening detect these attacks.
| File | Kind | Size |
|---|---|---|
| LICENSE | other | 11.0 KB |
| SKILL.md | skill md | 10.4 KB |
| references/api-reference.md | markdown | 3.2 KB |
| references/standards.md | markdown | 1.1 KB |
| scripts/agent.py | script | 5.7 KB |
references/standards.md
View on GitHub# Standards Mapping — Exploiting AD CS with Certipy
## MITRE ATT&CK (Enterprise)
| ID | Name | Rationale |
|----|------|-----------|
| T1649 | Steal or Forge Authentication Certificates | Certipy requests, relays, and forges AD CS certificates that map to privileged principals, enabling PKINIT authentication as those principals. |
Reference: https://attack.mitre.org/techniques/T1649/
## NIST Cybersecurity Framework 2.0
| ID | Name | Rationale |
|----|------|-----------|
| PR.AA-05 | Access permissions, entitlements, and authorizations are defined, managed, and enforced incorporating least privilege and separation of duties | AD CS template enroll rights, CA management permissions, and PKI object ACLs are exactly the access-control surface this skill tests; ESC1-ESC16 all stem from over-permissive entitlements. |
Reference: https://csrc.nist.gov/projects/cybersecurity-framework
## Notes
- ESC8/ESC11 chain Forced Authentication (T1187) and Adversary-in-the-Middle (T1557) when combined with coercion + relay; those are covered in companion skills.
- Remediation maps to NIST PR.PS-01 (hardening baselines) for CA/template configuration.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |