Zurück zum Katalog
Statische PrüfungEntwicklung

Skill-Dossier

exploiting-adcs-with-certipy

Quellenangabe

Use 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.

Die ursprüngliche Beschreibung der Autorinnen und Autoren, unverändert auf Englisch. Sie beschreibt die Absicht, nicht die geprüfte Leistung.

Use 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.

developmentreferencesscripts

Die Forschungsinhalte dieser Website sind auf Englisch und Chinesisch veröffentlicht und werden hier auf Englisch angezeigt.

Forschungszusammenfassung

Statische Analyse

Diese Beobachtungen stammen aus deterministischem Quell-Parsing. Sie sind keine kontrollierte Aufgabenevaluation.

Use 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. This bilingual summary is generated deterministically from collected source text and file structure; it is from static parsing.

Prüfungsumfang

Deterministic static analysis of collected SKILL.md and supporting text/code. Machine-assisted candidates and findings are static-analysis candidates; no dynamic behavior or effect is assessed.

Beobachtbare Fähigkeiten

  • Workflow [Source statement; provisional, not tested. Evidence: skills/exploiting-adcs-with-certipy/SKILL.md:L73]
  • Step 1: Enumerate AD CS with `certipy find` [Source statement; provisional, not tested. Evidence: skills/exploiting-adcs-with-certipy/SKILL.md:L75]
  • Step 2: Exploit ESC1 — Enrollee-Supplied Subject (SAN abuse) [Source statement; provisional, not tested. Evidence: skills/exploiting-adcs-with-certipy/SKILL.md:L95]
  • Step 3: Authenticate with the certificate via `certipy auth` [Source statement; provisional, not tested. Evidence: skills/exploiting-adcs-with-certipy/SKILL.md:L108]
  • Step 4: Exploit ESC8 — NTLM relay to AD CS Web Enrollment [Source statement; provisional, not tested. Evidence: skills/exploiting-adcs-with-certipy/SKILL.md:L120]
  • Step 5: Exploit ESC4 — Template ACL hijack [Source statement; provisional, not tested. Evidence: skills/exploiting-adcs-with-certipy/SKILL.md:L136]
  • Step 6: Forge a Golden Certificate (post-compromise persistence) [Source statement; provisional, not tested. Evidence: skills/exploiting-adcs-with-certipy/SKILL.md:L146]
  • Step 7: Shadow Credentials shortcut [Source statement; provisional, not tested. Evidence: skills/exploiting-adcs-with-certipy/SKILL.md:L160]

Grenzen & Umfang

  • Static analysis cannot assess runtime behavior, command success, network reachability, or model output quality.
  • No commands, scripts, network requests, model calls, or controlled skill executions were performed.
  • Category, tags, capabilities, workflows, and bilingual editorial summaries are deterministic candidates from static parsing, not verified outcomes.
  • Exact token counts are unavailable until a later pipeline performs and records an official model-specific count.

Relevant für

  • Practitioners evaluating whether to inspect and install the source skill; this audience is inferred from the product context, not measured usage. [Evidence: skills/exploiting-adcs-with-certipy/SKILL.md:L1-L22]

Was der Skill enthält

Die Dateiübersicht stammt aus der erfassten Quelle beim protokollierten Commit. Pfade und Größen sind strukturelle Beobachtungen, kein Qualitätsmaß.

Dateien
5
Markdown-Dateien
3
Skripte
1
Verweise
2
Größe
31,5 KB
Strukturelle Komplexität
Niedrig

Dateiübersicht

PfadArtBytes
skills/exploiting-adcs-with-certipy/LICENSESonstiges11 KB
skills/exploiting-adcs-with-certipy/references/api-reference.mdVerweis3,2 KB
skills/exploiting-adcs-with-certipy/references/standards.mdVerweis1,1 KB
skills/exploiting-adcs-with-certipy/scripts/agent.pySkript5,7 KB
skills/exploiting-adcs-with-certipy/SKILL.mdAnweisung10,4 KB

SKILL.md-Frontmatter

{
  "name": "exploiting-adcs-with-certipy",
  "description": "Use 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.",
  "domain": "cybersecurity",
  "subdomain": "red-teaming",
  "tags": [
    "red-team",
    "active-directory",
    "adcs",
    "certipy",
    "esc1",
    "esc8",
    "privilege-escalation",
    "pkinit"
  ],
  "version": "1.0",
  "author": "mahipal",
  "license": "Apache-2.0",
  "nist_csf": [
    "PR.AA-05"
  ],
  "mitre_attack": [
    "T1649"
  ]
}

Eine Lesart des Ablaufs

Dieser Workflow rekonstruiert die offensichtliche Reihenfolge aus dem Quellmaterial. Sofern nicht ausdrücklich eine kontrollierte Evaluation protokolliert ist, ist er vorläufig und keine beobachtete Ausführung.

  1. 01
    Aktion

    Overview

    Source-described action candidate under “Overview”; not verified execution.

  2. 02
    Entscheidung

    When to Use

    Source-described decision candidate under “When to Use”; not verified execution.

  3. 03
    Aktion

    Objectives

    Source-described action candidate under “Objectives”; not verified execution.

  4. 04
    Aktion

    MITRE ATT&CK Mapping

    Source-described action candidate under “MITRE ATT&CK Mapping”; not verified execution.

  5. 05
    Aktion

    Workflow

    Source-described action candidate under “Workflow”; not verified execution.

  6. 06
    Aktion

    Step 1: Enumerate AD CS with `certipy find`

    Source-described action candidate under “Step 1: Enumerate AD CS with `certipy find`”; not verified execution.

Alle extrahierten Workflow-Kandidaten ansehen (19 Kandidatenschritte)
  1. 07
    Aktion

    Step 2: Exploit ESC1 — Enrollee-Supplied Subject (SAN abuse)

    Source-described action candidate under “Step 2: Exploit ESC1 — Enrollee-Supplied Subject (SAN abuse)”; not verified execution.

  2. 08
    Aktion

    Step 3: Authenticate with the certificate via `certipy auth`

    Source-described action candidate under “Step 3: Authenticate with the certificate via `certipy auth`”; not verified execution.

  3. 09
    Aktion

    Use the issued PFX to perform PKINIT, obtain a TGT, and recover the target's NT hash.

    Source-described action candidate under “Step 3: Authenticate with the certificate via `certipy auth`”; not verified execution.

  4. 10
    Entscheidung

    If PKINIT is unavailable, fall back to Schannel/LDAP authentication:

    Source-described decision candidate under “Step 3: Authenticate with the certificate via `certipy auth`”; not verified execution.

  5. 11
    Aktion

    Step 4: Exploit ESC8 — NTLM relay to AD CS Web Enrollment

    Source-described action candidate under “Step 4: Exploit ESC8 — NTLM relay to AD CS Web Enrollment”; not verified execution.

  6. 12
    Aktion

    Step 5: Exploit ESC4 — Template ACL hijack

    Source-described action candidate under “Step 5: Exploit ESC4 — Template ACL hijack”; not verified execution.

  7. 13
    Entscheidung

    If you hold write access over a template, temporarily reconfigure it into an ESC1-vulnerable state, exploit, then restore.

    Source-described decision candidate under “Step 5: Exploit ESC4 — Template ACL hijack”; not verified execution.

  8. 14
    Aktion

    Step 6: Forge a Golden Certificate (post-compromise persistence)

    Source-described action candidate under “Step 6: Forge a Golden Certificate (post-compromise persistence)”; not verified execution.

  9. 15
    Aktion

    Step 7: Shadow Credentials shortcut

    Source-described action candidate under “Step 7: Shadow Credentials shortcut”; not verified execution.

  10. 16
    Entscheidung

    If 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).

    Source-described decision candidate under “Step 7: Shadow Credentials shortcut”; not verified execution.

  11. 17
    Aktion

    Tools and Resources

    Source-described action candidate under “Tools and Resources”; not verified execution.

  12. 18
    Aktion

    ESC Vulnerability Reference

    Source-described action candidate under “ESC Vulnerability Reference”; not verified execution.

  13. 19
    Aktion

    Validation Criteria

    Source-described action candidate under “Validation Criteria”; not verified execution.

Mögliche Risikoflächen

Statische Befunde zeigen Stellen, die vor der Installation zu prüfen sind. Sie belegen nicht, dass ein Skill sicher, bösartig oder wirksam ist.

Punkte, die eine Prüfung erfordern

20 deterministic lexical finding(s) require review across the collected text. Findings can occur in documentation and do not prove execution or exploitability; binary-only files were not scanned.

NetzwerkzugriffBeobachtet
DateischreibzugriffeBeobachtet
Verwendung von ZugangsdatenNicht beobachtet
Mittel

Network access is mentioned

15 Vorkommen

A URL or network client appears in this source line. Review destinations, data sent, and trust boundaries; static text cannot establish actual network activity. This rule matched 15 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Hinweis

File modification is described or implemented

5 Vorkommen

This line contains a possible file-write or redirection operation. Check destination paths and overwrite behavior; the static review did not write any file. This rule matched 5 location(s) in the collected text; 3 representative location(s) are cited. Matching text may be documentation, and the analyzer did not execute it.

Wo Kontext verbraucht werden kann

Discovery-, Aktivierungs- und Ressourcenschichten haben unterschiedliche Bedeutung. Exakte Werte erscheinen nur, wenn die offizielle Zählmethode mit einem benannten Modell lief.

Keine exakten Token-Zählwerte verfügbar

All token values, including per-file inventory, are null until the pipeline performs an official exact count with an explicit model.

Es wurde keine Token-Messung mit der vorgeschriebenen offiziellen Methode erfasst. Dieses Dossier ersetzt sie nicht durch Zeichenanzahl, Dateigröße oder Schätzwerte.

Kontrollierte Evaluation

Keine kontrollierte Evaluation

Für diesen Skill liegen nur die oben genannten Belege vor. Es wird keine Aufgabenerfolgsquote, Token-Effizienz, Latenz oder kein Qualitätsvorteil behauptet.

Nicht getestet

Verwendung mit der Quelle im Blick

Installationsbefehl
Inspect the pinned source at https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/54a798831d2266a3ca61ce68a7acb80b81160d57/skills/exploiting-adcs-with-certipy/SKILL.md and follow the source repository's installation instructions. No installation was performed or verified by this static analyzer. Source license: Apache-2.0.

Voraussetzungen

  • Static analysis cannot assess runtime behavior, command success, network reachability, or model output quality.
  • No commands, scripts, network requests, model calls, or controlled skill executions were performed.
  • Category, tags, capabilities, workflows, and bilingual editorial summaries are deterministic candidates from static parsing, not verified outcomes.
  • Exact token counts are unavailable until a later pipeline performs and records an official model-specific count.

Beispiel-Prompts

Nicht angegeben

Ein Urteil, mit seinen Grenzen

Stärken

  • The snapshot contains 5 collected file(s), 3 Markdown file(s), and 1 script file(s), enabling source-level inspection. [Evidence: skills/exploiting-adcs-with-certipy/SKILL.md:L1]

Abwägungen

  • No functional, security, or model-quality result has been established. Inspect source context and all cited findings before installation or publication.
Forschungsfazit

Provisional deterministic static inventory only; from static parsing and, separately, controlled evaluation. No install recommendation, security assurance, or effectiveness claim is made.

Konstruktiv nachvollziehbar

Das Dossier ist eine zeitlich begrenzte Lesart eines öffentlichen Artefakts, keine Empfehlung. Über den Quelllink können Sie das exakte Upstream-Material prüfen.

mukul975Anthropic-Cybersecurity-Skillsskills/exploiting-adcs-with-certipy
Quellenart
Community
Commit
54a798831d2266a3ca61ce68a7acb80b81160d57
Erfasst
20. Nov. 2026
Zuletzt geprüft
20. Nov. 2026
Upstream-Lizenz
Apache-2.0
Repository-Sterne
36.446
Inhaltsgrundlage

Deterministic lexical parsing, YAML frontmatter validation, file inventory, source-described workflow extraction, and heuristic provisional classification of the supplied files only. Generated by machine; no LLM, execution, or dynamic testing.