competition-kerberos-delegation — скилл для Claude Code
Скилл competition-kerberos-delegation для Claude Code, автоматизирующий анализ цепочек делегирования Kerberos в CTF-сценариях. Запускается после настройки контекста через $ctf-sandbox-orchestrator для проверки путей эксплуатации.
MIT 109 установок ★ 45 047 обновлён 2026-09-22
npx skills add zhaoxuya520/reverse-skill --skill competition-kerberos-delegation -a claude-codeЧто делает competition-kerberos-delegation
Этот скилл специализируется на анализе делегирования Kerberos в рамках CTF-песочниц. Он отслеживает цепочки от принципала до целевого SPN, проверяет типы билетов и подтверждает, какой сервис принимает запрос. Инструмент работает только как дополнение к $ctf-sandbox-orchestrator, который должен быть запущен заранее для определения базовых условий и прав доступа.
Внутри скилла реализованы алгоритмы для проверки путей S4U, RBCD и constrained-делегирования. Для работы необходимо загрузить references/kerberos-delegation.md, где описаны чек-листы и типичные ошибки при доказательстве эксплуатации. Скилл помогает сжать цепочку до воспроизводимого пути, выделяя только те шаги, которые реально приводят к повышению привилегий.
Какие задачи решает
- проверить путь делегирования Kerberos
- подтвердить принятие билета сервисом
- отличить constrained-делегирование от RBCD
- сформировать воспроизводимую цепочку эксплуатации
Примеры запросов агенту
- Проанализируй путь делегирования для SPN
cifs/dc01.corp.local - Подтверди, что этот билет принимается сервисом и даёт привилегии
Как установить competition-kerberos-delegation
1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-kerberos-delegation -a claude-code2Вручную: положить файлы
~/.claude/skills/competition-kerberos-delegation/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/competition-kerberos-delegation/
1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-kerberos-delegation -a codex2Вручную: положить файлы
.agents/skills/competition-kerberos-delegation/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-kerberos-delegation -a cursor2Вручную: положить файлы
.cursor/skills/competition-kerberos-delegation/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install zhaoxuya520/reverse-skill CTF-Sandbox-Orchestrator/competition-kerberos-delegation/SKILL.md2Вручную: положить файлы
.github/skills/competition-kerberos-delegation/SKILL.md1Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-kerberos-delegation -a gemini-cli2Командой платформы
gemini skills install https://github.com/zhaoxuya520/reverse-skill --path CTF-Sandbox-Orchestrator/competition-kerberos-delegationВручную: положить файлы
.devin/skills/competition-kerberos-delegation/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add zhaoxuya520/reverse-skill --skill competition-kerberos-delegation -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о competition-kerberos-delegation
Как установить competition-kerberos-delegation в Claude Code?
Выполните npx skills add zhaoxuya520/reverse-skill --skill competition-kerberos-delegation -a claude-code. Затем используйте файл ~/.claude/skills/competition-kerberos-delegation/SKILL.md.
Что делает этот скилл?
Он автоматизирует проверку цепочек делегирования Kerberos, включая S4U и RBCD, в рамках CTF-песочниц.
Что нужно для работы?
Запущенный $ctf-sandbox-orchestrator и наличие файла references/kerberos-delegation.md для справочных данных.
Исходный текст
SKILL.md · MIT
--- name: competition-kerberos-delegation description: Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for Kerberos delegation, SPN trust edges, S4U abuse, RBCD, constrained or unconstrained delegation, and service-ticket acceptance. Use when the user asks about constrained delegation, unconstrained delegation, RBCD, S4U, SPNs, ticket acceptance, or how a Kerberos trust edge turns into effective privilege under sandbox assumptions. Use only after `$ctf-sandbox-orchestrator` has already established sandbox assumptions and routed here. --- # Competition Kerberos Delegation 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 hard part is not "is there Kerberos here," but which delegation edge exists, which ticket is being minted, and which service really accepts it. Reply in Simplified Chinese unless the user explicitly requests English. ## Quick Start 1. Write the trust chain first: principal -> delegation edge -> ticket type -> target SPN -> accepting service -> resulting privilege. 2. Separate ticket possession from accepted privilege. 3. Keep SPNs, delegation mode, PAC/group data, encryption type, and service acceptance in one compact evidence block. 4. Reproduce one minimal delegation chain before broadening into variants. 5. Tie every privilege claim to a specific accepted ticket or service-side effect. ## Workflow ### 1. Identify The Delegation Edge - Determine whether the path is constrained delegation, unconstrained delegation, resource-based constrained delegation, protocol transition, or another trust edge. - Inspect SPNs, ACLs, service accounts, SIDHistory, certificate templates, and replication rights only when they affect the active path. ### 2. Trace Ticket Minting And Acceptance - Record TGT/TGS type, S4U steps when relevant, delegation flags, PAC or group data, encryption type, cache location, and target SPN. - Prove which service actually accepts the ticket and what capability appears after acceptance. ### 3. Report The Effective Edge - Compress the chain into one replayable path, not a vague "domain compromise" statement. - Separate candidate edges from the edge that really lands privilege. ## Read This Reference - Load `references/kerberos-delegation.md` for the delegation checklist, ticket fields to preserve, and common proof mistakes. ## What To Preserve - SPN, ticket type, delegation mode, PAC/group data, encryption type, cache location, accepting service - Service-side logs, event IDs, logon session changes, or group changes proving effective privilege - The exact trust edge that makes the ticket replayable
© zhaoxuya520 · MIT · zhaoxuya520/reverse-skill