active-directory-certificate-services
Agent skill fromyaklang/hack-skills
AD Certificate Services attack playbook. Use when targeting misconfigured AD CS for privilege escalation via ESC1-ESC13 template abuse, NTLM relay to enrollment, CA officer abuse, and certificate-based persistence.
How to install active-directory-certificate-services
install active-directory-certificate-services
# install the hack-skills pack with the skills CLI
npx skills add yaklang/hack-skills# or add only this skill to Claude Code: copy the folder
skills/active-directory-certificate-services/
# into
~/.claude/skills/active-directory-certificate-services/ (all projects)
.claude/skills/active-directory-certificate-services/ (one project)
1# SKILL: AD CS Attack Playbook — Expert Guide23> **AI LOAD INSTRUCTION**: Expert AD CS (Active Directory Certificate Services) attack techniques. Covers ESC1 through ESC13, certificate-based persistence, NTLM relay to enrollment endpoints, and CA misconfigurations. Base models miss enrollment prerequisite chains and ESC condition combinations.45## 0. RELATED ROUTING67Before going deep, consider loading:89- [active-directory-acl-abuse](../active-directory-acl-abuse/SKILL.md) for ACL-based attacks that enable ESC4 (template modification)10- [active-directory-kerberos-attacks](../active-directory-kerberos-attacks/SKILL.md) for Kerberos techniques after obtaining certificates11- [ntlm-relay-coercion](../ntlm-relay-coercion/SKILL.md) for ESC8 (relay to HTTP enrollment endpoint)12- [windows-lateral-movement](../windows-lateral-movement/SKILL.md) for using obtained certificates for lateral movement1314### Advanced Reference1516Also load [ADCS_ESC_MATRIX.md](./ADCS_ESC_MATRIX.md) when you need:17- ESC1–ESC13 quick reference table with conditions, impact, and tool commands18- One-liner exploitation commands per ESC variant19- Detection indicators per technique2021---2223## 1. AD CS ARCHITECTURE OVERVIEW2425```26Certificate Authority (CA)27│28├── Enterprise CA (AD-integrated, issues certs based on templates)29│ ├── Certificate Templates (define who can enroll, what EKUs, subject settings)30│ ├── Enrollment endpoints: HTTP (certsrv), RPC, DCOM31…
Excerpt shown under the repository's MIT license.
