Retour au catalogue
Examen statiqueDéveloppement

Dossier du skill

exploiting-adcs-with-certipy

Déclaration de la source

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.

La description originale de l'auteur, conservée en anglais. Elle décrit l'intention, pas des performances vérifiées.

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

Le contenu de recherche de ce site est publié en anglais et en chinois ; il est affiché ici en anglais.

Résumé de la recherche

Analyse statique

Ces observations proviennent d'une analyse déterministe de la source. Ce n'est pas une évaluation de tâche contrôlée.

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.

Portée de l'examen

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.

Capacités observables

  • 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]

Limites et portée

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

Pertinent pour

  • 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]

Ce que contient le skill

L'inventaire des fichiers provient de la source collectée au commit consigné. Les chemins et les tailles sont des observations structurelles, pas une mesure de qualité.

fichiers
5
Fichiers Markdown
3
scripts
1
références
2
Taille
31,5 KB
Complexité structurelle
Faible

Inventaire des fichiers

CheminTypeOctets
skills/exploiting-adcs-with-certipy/LICENSEAutre11 KB
skills/exploiting-adcs-with-certipy/references/api-reference.mdRéférence3,2 KB
skills/exploiting-adcs-with-certipy/references/standards.mdRéférence1,1 KB
skills/exploiting-adcs-with-certipy/scripts/agent.pyScript5,7 KB
skills/exploiting-adcs-with-certipy/SKILL.mdInstruction10,4 KB

Frontmatter du SKILL.md

{
  "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"
  ]
}

Une lecture de la séquence de fonctionnement

Ce workflow reconstitue la séquence apparente à partir du matériel source. Sauf si une évaluation contrôlée est explicitement consignée, il est provisoire et non une trace observée.

  1. 01
    Action

    Overview

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

  2. 02
    Décision

    When to Use

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

  3. 03
    Action

    Objectives

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

  4. 04
    Action

    MITRE ATT&CK Mapping

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

  5. 05
    Action

    Workflow

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

  6. 06
    Action

    Step 1: Enumerate AD CS with `certipy find`

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

Examiner toutes les étapes de workflow candidates (19 étapes candidates)
  1. 07
    Action

    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
    Action

    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
    Action

    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
    Décision

    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
    Action

    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
    Action

    Step 5: Exploit ESC4 — Template ACL hijack

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

  7. 13
    Décision

    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
    Action

    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
    Action

    Step 7: Shadow Credentials shortcut

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

  10. 16
    Décision

    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
    Action

    Tools and Resources

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

  12. 18
    Action

    ESC Vulnerability Reference

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

  13. 19
    Action

    Validation Criteria

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

Surfaces de risque potentielles

Les constats statiques signalent les points à examiner avant l'installation. Ils n'établissent pas qu'un skill est sûr, malveillant ou efficace.

Éléments à examiner

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.

Accès réseauObservé
Écritures de fichiersObservé
Utilisation d'identifiantsNon observé
Moyen

Network access is mentioned

15 occurrences

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.

Note

File modification is described or implemented

5 occurrences

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.

Où le contexte peut être consommé

Les couches de découverte, d'activation et de ressources n'ont pas la même signification. Les valeurs exactes n'apparaissent que si la méthode officielle de comptage a été exécutée avec un modèle nommé.

Comptage exact des tokens indisponible

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

Aucune mesure de tokens n'a été consignée selon la méthode officielle requise. Ce dossier ne la remplace ni par un nombre de caractères, ni par une taille de fichier, ni par une estimation.

Évaluation contrôlée

Aucune évaluation contrôlée

Ce skill ne dispose que des preuves identifiées ci-dessus. Aucun taux de réussite, gain d'efficience en tokens, latence ou avantage de qualité n'est affirmé.

Non testé

Utiliser en gardant la source en vue

Commande d'installation
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.

Prérequis

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

Exemples de prompts

Non renseigné

Une conclusion, avec ses limites

Points forts

  • 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]

Points d'attention

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

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

Traçable par construction

Le dossier est une lecture datée d'un artefact public, pas une approbation. Utilisez le lien source pour examiner le contenu amont exact.

mukul975Anthropic-Cybersecurity-Skillsskills/exploiting-adcs-with-certipy
Type de source
Communauté
Commit
54a798831d2266a3ca61ce68a7acb80b81160d57
Collecté
20 nov. 2026
Dernière vérification
20 nov. 2026
Licence amont
Apache-2.0
Étoiles du dépôt
36 446
Base du contenu

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.