ad-breach

ad-breach is a skill for Claude Code, Codex from Rifteo/skills. It costs 0 tokens per session (7,417 once invoked), scanned C, original, MIT.

A Linux-based method for finding and exploiting attack paths in Active Directory, Microsoft's system for managing users, computers, and permissions in a Windows network.

In plain words
What is it for?
Use it for authorized Active Directory assessments, including LDAP, SMB, RPC, Kerberos, BloodHound, credential, and permission checks.
Why use it?
It organizes security testing from initial discovery through privilege escalation, helping reveal how a low-privilege account could reach higher access.

Skill for Claude CodeCodex

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

Good fit Use it for authorized Active Directory assessments, including LDAP, SMB, RPC, Kerberos, BloodHound, credential, and permission checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rifteo/skills/ad-breach
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Rifteo/skills --skill ad-breach
Clone the repo
git clone --depth 1 https://github.com/Rifteo/skills

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-breach

README.md
[![agentmods](https://agentmods.dev/badge/skills/rifteo/skills/ad-breach/github.svg)](https://agentmods.dev/skills/rifteo/skills/ad-breach)
Your own site
<a href="https://agentmods.dev/skills/rifteo/skills/ad-breach"><img src="https://agentmods.dev/badge/skills/rifteo/skills/ad-breach/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-breach

Your own site · 80×15
<a href="https://agentmods.dev/skills/rifteo/skills/ad-breach"><img src="https://agentmods.dev/badge/skills/rifteo/skills/ad-breach.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,417 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. 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.00000 $0.07417
Opus 5 $0.00000 $0.03708
Sonnet 5 $0.00000 $0.01483
Haiku 4.5 $0.00000 $0.00742

Measured 10d ago against content hash d9b00b1db027, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade C, and why

ad-breach scanned grade C with 1 finding 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 10d ago.

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.

Harvests environment variableshighData exfiltration

Enumerating or grepping the environment for keys collects credentials unrelated to what the mod says it does.

**Goal:** Extract credentials from every angle: LSASS, SAM, NTDS.dit, cached tickets, GPP passwords.
ad-breach/SKILL.md · 662 lines

How it starts

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

AD Breach: Active Directory Attack Path Enumeration & Exploitation

A structured, iterative methodology for enumerating, analyzing, and compromising Active Directory environments from Linux. Starts from zero credentials and escalates to full domain compromise through enumeration, vulnerability discovery, and multi-stage exploitation chains. Every phase feeds into the next; each credential unlock cascades into deeper access.

When this skill is active, follow the phases in order but iterate: Phase 0 output feeds Phase 1, Phase 3 findings unlock Phase 4 abuses, Phase 5 credentials upgrade Phase 1, etc. Run each command, collect output, and build the final Markdown report incrementally. Always operate within scope and rules of engagement: AD attack tooling is intrusive, and some techniques (password spraying, DCSync, ticket forging, coercion attacks) can lock out accounts, trigger EDR alerts, or destabilize directory replication if misconfigured.


Pre-flight: Tool Check

Before starting, verify required tools are available:

for tool in nxc netexec crackmapexec impacket-GetNPUsers impacket-GetUserSPNs impacket-secretsdump impacket-psexec impacket-addcomputer ldapsearch kerbrute bloodhound-python certipy-ad smbclient rpcclient enum4linux-ng dig; do
  command -v $tool >/dev/null 2>&1 && echo "$tool OK" || echo "$tool MISSING"
done

nxc (NetExec) has replaced CrackMapExec upstream. If nxc is missing, use crackmapexec as fallback. Install missing tools:

# Impacket suite (comprehensive)
pipx install impacket

# NetExec (unified SMB/LDAP/Kerberos enum)
pipx install netexec

# BloodHound ingestor
pipx install bloodhound

# Certipy (AD CS enumeration/abuse)
pipx install certipy-ad

# kerbrute (silent Kerberos user enum, no event logs)
go install github.com/ropnop/kerbrute@latest

# enum4linux-ng (legacy RPC/RID fallback)
git clone https://github.com/cddmp/enum4linux-ng /opt/enum4linux-ng

Inform the user of any tools that could not be installed and note which phases will be skipped or degraded. Critical for AD breach: having nxc + bloodhound-python + impacket is the minimum viable toolkit; everything else is force-multiplier bonus.

Read the full file on GitHub · 662 lines

Files

What ships with it

3 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. 10d ago First seen · 662 lines · 0 tokens per session scan C d9b00b1db027

Subscribe to this mod's changes

ad-breach is a skill published in the GitHub repository Rifteo/skills (35 stars, last pushed 6d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 7,417 tokens. A static security scan graded it C with 1 finding (harvests environment variables). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

happiness-skill

A Chinese-language guide to happiness based on reducing unmet wants, focusing on the present, and treating happiness as a trainable skill.

kangarooking/cangjie-skill · 136 tokens

docx-comment-reply

Reply to comments (批注) in Word .docx/.doc files: extract comment context, draft replies, write threaded replies back, and validate OOXML.

foryourhealth111-pixel/Vibe-Skills · 39 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens

pcbway

PCBWay PCB fabrication and assembly — turnkey/consigned assembly, design rules, ordering workflow. Alternative to JLCPCB for manufacturing. Use with KiCad. Use this skill when the user mentions PCBWay, needs turnkey assembly (PCBWay sources parts by MPN), has parts not available on LCSC, needs assembled boards with…

aklofas/kicad-happy · 119 tokens

explaining-machine-learning-models

Explain trained machine learning models through feature attribution, local explanations, and behavior summaries. Use as an explicit/manual helper once a model already exists, not for training ownership, leakage auditing, or general ML strategy selection.

foryourhealth111-pixel/Vibe-Skills · 49 tokens

influence-psychology

Apply the seven principles of ethical persuasion (reciprocity, commitment, social proof, authority, liking, scarcity, unity) to product design, copy, and sales. Use when the user mentions "social proof", "persuasive copy", "why users dont convert", "ethical persuasion", "reciprocity", "scarcity tactics", "commitment…

wondelai/skills · 156 tokens