Skip to main content
skill CX Codex

competition-ad-certificate-abuse — Claude Code skill for AD CS

The competition-ad-certificate-abuse Claude Code skill traces certificate-based abuse in AD CS CTF sandboxes. It is triggered by questions about templates, enrollment rights, PKINIT, and privilege paths through certificates.

MIT 109 installs ★ 45,047 updated 2026-09-22

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add zhaoxuya520/reverse-skill --skill competition-ad-certificate-abuse -a claude-code
Open on GitHub

What competition-ad-certificate-abuse does

The skill connects CA and certificate-template settings to the way an issued certificate is accepted for authentication or privilege. It records enrollment permissions, EKUs, subject and SAN controls, then follows the path through PKINIT, Schannel, or another accepting service. It runs as a downstream skill: ctf-sandbox-orchestrator must first set the sandbox assumptions and route the task here.

The analysis reduces the path to an enrollment right or misconfiguration, an issued certificate, an accepted mapping, and the resulting privilege. It separates certificate issuance from the later acceptance step. For AD CS and template checklists and evidence packaging, it loads references/ad-certificate-abuse.md. Delegation or ticket transformation after PKINIT belongs back in the Kerberos skill.

What it helps with

  • connect enrollment permissions to template settings
  • trace how a service accepts an issued certificate
  • link a CA or template weakness to resulting privilege
  • reduce certificate abuse to its decisive steps

Example prompts for the agent

  • Trace certificate-template abuse in this CTF sandbox.
  • Show how a certificate's SAN and EKU lead to acceptance through PKINIT.
  • Connect the enrollment rights to the privilege granted through this certificate.

How to install competition-ad-certificate-abuse

1Skills CLI (Vercel)

npx skills add zhaoxuya520/reverse-skill --skill competition-ad-certificate-abuse -a claude-code

2Manually: put the files in place

~/.claude/skills/competition-ad-certificate-abuse/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/competition-ad-certificate-abuse/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about competition-ad-certificate-abuse

How do I install competition-ad-certificate-abuse in Claude Code?

Run npx skills add zhaoxuya520/reverse-skill --skill competition-ad-certificate-abuse -a claude-code. The skill file is at ~/.claude/skills/competition-ad-certificate-abuse/SKILL.md.

What does competition-ad-certificate-abuse do?

It examines AD CS settings and follows an issued certificate through authentication or privilege acceptance. It is a downstream CTF-sandbox skill routed by ctf-sandbox-orchestrator.

When does the skill hand a task back to Kerberos?

When the task concerns delegation or ticket transformation after PKINIT, it switches back to the narrower Kerberos skill.

Source text

SKILL.md · MIT
---
name: competition-ad-certificate-abuse
description: 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 accepted privilege. Use only after `$ctf-sandbox-orchestrator` has already established sandbox assumptions and routed here.
---

# 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

© zhaoxuya520 · MIT · zhaoxuya520/reverse-skill

Similar skills

All skills for Security →
active-directory-acl-abuse yaklang active-directory-acl-abuse — a Claude Code skill covering exploitation of misconfigured Active Directory ACLs. Loads as a playbook with BloodHound paths, dangerous ACEs, DCSync, shadow credentials, LAPS and GPO abuse. CX Codex +1 4,000installs active-directory-certificate-services yaklang The active-directory-certificate-services skill maps misconfigured AD CS and ESC1–ESC13 paths. Use it to review privilege escalation, certificate authentication, and certificate-based persistence in Active Directory. CX Codex +1 3,900installs SSL Certificate Checker — Validity, Expiry & Grade axel-belfort SSL Certificate Checker — Validity, Expiry & Grade is an MCP server for Claude Code that checks a domain’s SSL/TLS certificate and returns its validity status, expiry date, issuer, and security grade. CX Codex +1 5,042installs referral-abuse-guardrails Maya-Beth Finotti referral-abuse-guardrails is a Claude Code skill that creates a guardrail spec for refer-a-friend programs, covering reward caps, hold windows, eligibility, verification, and enforcement. CX Codex +1 17,100installs tool-abuse-detection Tencent tool-abuse-detection runs dialogue probes against an agent to catch command execution, out-of-scope file reads and SSRF. Useful when the agent holds file, code or network tools. CX Codex +1 ★ 7,607repo stars analyzing-active-directory-acl-abuse mahipal analyzing-active-directory-acl-abuse reads Domain Controller DACLs over LDAP with ldap3, parses them into SDDL and reports ACEs where non-admin accounts hold GenericAll, WriteDACL or WriteOwner. CX Codex +1 562installs

From the same set36

The whole set →
competition-graphql-rpc-drift competition-graphql-rpc-drift — a Claude Code skill compares GraphQL and RPC contracts with live handler behavior. It joins a CTF workflow after the main orchestrator sets up the sandbox. CX Codex +1 110installs competition-identity-windows competition-identity-windows — a skill for Claude Code and Codex that examines Active Directory attacks, Windows host artifacts, and CTF pivot chains. It runs after routing by $ctf-sandbox-orchestrator. CX Codex +1 109installs competition-agent-cloud The competition-agent-cloud Claude Code skill investigates agent and cloud paths in CTF sandboxes. It is routed in after the orchestrator sets the sandbox assumptions, for tracing input-to-tool actions or deployment behavior. CX Codex +1 109installs competition-browser-persistence competition-browser-persistence — a skill for Claude Code that investigates browser persistence surfaces in CTF sandboxes. It activates when stored client state alters request flows, rendering, or access rules. CX Codex +1 109installs competition-reverse-pwn competition-reverse-pwn is a Claude Code skill for binary and vulnerability analysis in CTF challenges. After $ctf-sandbox-orchestrator is active, it inspects dumps and verifies exploit chains. CX Codex +1 109installs competition-supply-chain The competition-supply-chain Claude Code skill traces artifact provenance from source to runtime. It is routed after ctf-sandbox-orchestrator when a challenge involves dependency drift, CI, builds, or releases. CX Codex +1 109installs competition-custom-protocol-replay competition-custom-protocol-replay — a skill for Claude Code decodes custom network protocols and recreates accepted sessions in CTF tasks. Triggers when handling custom framing, checksum rules, and stateful packet sequences. CX Codex +1 109installs competition-runtime-routing The competition-runtime-routing Claude Code skill traces request routing in a CTF sandbox. It maps how hosts, proxy rules, headers, and paths lead to a service or process. CX Codex +1 109installs

Project sponsors

Companies that keep this analytics open