Zum Inhalt springen
Skillpedia
Agenten42k · #6417

competition-ad-certificate-abuse

Was er macht

Dieses Tool hilft dir zu verstehen, wie falsche Konfigurationen bei digitalen Zertifikaten für unautorisierten Zugriff ausgenutzt werden können. Es analysiert, wie ein ausgestelltes Zertifikat innerhalb einer Netzwerkumgebung zu Berechtigungen führen kann.

Wann du ihn nutzt

  • ✓Wenn du vermutest, dass ein digitales Zertifikat falsch konfiguriert ist.
  • ✓Wenn du untersuchst, wie ein Zertifikat für einen Systemzugriff genutzt werden kann.
  • ✓Um die Schritte eines zertifikatsbasierten Angriffs zu verstehen.

Link zum Skill

https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-ad-certificate-abuse/SKILL.md

Kopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.

So nutzt du ihn

Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.

Fertige Nachricht zum Einfügen

Nutze diesen Skill, um mir zu helfen: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-ad-certificate-abuse/SKILL.md Lies die SKILL.md unter diesem Link und folge ihren Anweisungen für meine Aufgabe.
Soll deine KI Skills wie diesen selbst finden?Installiere den kostenlosen Skillpedia-MCP: eine Zeile, und sie durchsucht vor jeder Aufgabe 15.000+ Skills.In 1 Minute installieren →

Beispielanfrage an deine KI

“Wie kann mir ein falsch konfiguriertes Zertifikat Administratorzugriff verschaffen?”

5 neue Skills pro Woche. 1 Minute Lesezeit.

So funktioniert es

Das Tool untersucht die Konfiguration digitaler Zertifikate und wie Systeme sie akzeptieren. Es verfolgt den Weg von der Ausstellung des Zertifikats bis zur erlangten Berechtigung nach.

Technischer Inhalt (originale SKILL.md)

Originaltext des Autors, auf Englisch, direkt von GitHub.

Competition AD Certificate Abuse

Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.

Use this skill when the decisive identity edge is certificate-based and the hard part is proving how a template or CA policy turns into accepted privilege.

Reply in Simplified Chinese unless the user explicitly requests English.

Quick Start

  1. Identify the CA, template, enrolling principal, and accepting service before diving into every certificate detail.
  2. Separate template enrollability from cert-based authentication or privilege acceptance.
  3. Record EKUs, subject or SAN controls, issuance requirements, enrollment rights, and mapping behavior in compact blocks.
  4. Tie the issued cert to one accepted path: PKINIT, Schannel, LDAPS, WinRM, or another mapped service.
  5. Reproduce the smallest certificate issuance-to-acceptance chain that yields the decisive privilege.

Workflow

1. Map CA And Template Trust

  • Record CA configuration, template name, enrollment permissions, manager approval, authorized signatures, EKUs, subject requirements, and SAN behavior.
  • Note whether the path depends on alternate subject names, UPN, DNS names, enrollment agent behavior, or template supersedence.
  • Keep principal, template, and issuance policy tied together.

2. Prove Cert-To-Privilege Acceptance

  • Show how the issued certificate is mapped or accepted: PKINIT, smartcard logon, Schannel auth, service mapping, or explicit certificate mapping.
  • Record serial, subject, SAN, EKU, validity, and the exact service or domain edge that accepts it.
  • Distinguish certificate issuance from the separate step where privilege is actually granted.

3. Reduce To The Decisive Abuse Chain

  • Compress the path to the smallest sequence: enrollment right or misconfig -> issued cert -> accepted mapping -> resulting privilege.
  • State clearly whether the weakness lives in template config, CA policy, mapping logic, relay path, or enrollment rights.
  • If the task is really about delegation or ticket transformation after PKINIT, switch back to the tighter Kerberos skill.

Read This Reference

  • Load references/ad-certificate-abuse.md for the AD CS checklist, template checklist, and evidence packaging.

What To Preserve

  • CA names, template names, rights, EKUs, issuance flags, SAN controls, and mapping details
  • Issued certificate fields, serials, subjects, SANs, and the accepting service or logon path
  • The smallest reproducible enrollment-to-privilege chain
Häufige Fragen

Was sind EKUs und SANs?

EKUs (Extended Key Usages) legen fest, wofür ein Zertifikat verwendet werden darf. SANs (Subject Alternative Names) ergänzen das Zertifikat um Informationen wie Domainnamen oder IP-Adressen.

Was ist PKINIT?

PKINIT ist eine Authentifizierungsmethode, die Zertifikate nutzt, um die Identität eines Benutzers oder Computers nachzuweisen, und so die Anmeldung am System ermöglicht.

Was bedeutet „Privilege Path“?

Damit ist die Abfolge von Schritten oder Schwachstellen gemeint, die von einem Ausgangspunkt (etwa einem falsch konfigurierten Zertifikat) zu höheren Berechtigungen auf einem System führt.

Details

Originalbeschreibung des Autors

Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for AD CS, certificate templates, enrollment rights, EKUs, SAN controls, PKINIT, certificate mapping, and cert-based privilege paths. Use when the user asks about ESC-style abuse, certificate templates, enrollment agents, EKUs, SAN or subject controls, smartcard or PKINIT logon, CA policy, or how an issued cert turns into

repo: zhaoxuya520/reverse-skill

Beliebtheit

GitHub-Sterne
42k
Platz im Ranking
#6417
Lizenz
MIT
Aktualisiert
22.9.2026

Ist dieser Skill nützlich?

0

Anmelden um abzustimmen.

Kommentare

  • …

Weitere Skills aus diesem Repository

Ähnliche Skills