competition-ad-certificate-abuse
하는 일
이 도구는 잘못 설정된 디지털 인증서가 승인되지 않은 접근에 어떻게 악용될 수 있는지 이해하도록 돕습니다. 발급된 인증서가 네트워크 환경 안에서 어떻게 권한으로 이어질 수 있는지 분석합니다.
사용하는 경우
- ✓디지털 인증서가 잘못 설정되었다고 의심될 때.
- ✓인증서를 사용해 시스템 접근을 얻는 방법을 조사할 때.
- ✓인증서 기반 공격의 단계를 이해하고 싶은 경우.
스킬 링크
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-ad-certificate-abuse/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“잘못 설정된 인증서가 어떻게 관리자 권한을 줄 수 있나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
도구는 디지털 인증서의 설정과 시스템이 이를 받아들이는 방식을 살펴봅니다. 인증서 발급부터 얻게 되는 권한까지의 경로를 추적합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 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
- Identify the CA, template, enrolling principal, and accepting service before diving into every certificate detail.
- Separate template enrollability from cert-based authentication or privilege acceptance.
- Record EKUs, subject or SAN controls, issuance requirements, enrollment rights, and mapping behavior in compact blocks.
- Tie the issued cert to one accepted path: PKINIT, Schannel, LDAPS, WinRM, or another mapped service.
- 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.mdfor 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
자주 묻는 질문
EKU와 SAN은 무엇인가요?
EKU(Extended Key Usages)는 인증서를 어떤 용도로 쓸 수 있는지 정의하고, SAN(Subject Alternative Names)은 도메인 이름이나 IP 같은 정보를 인증서에 추가합니다.
PKINIT이란 무엇인가요?
인증서를 사용해 사용자나 컴퓨터의 신원을 증명하는 인증 방식으로, 시스템 로그인을 가능하게 합니다.
‘권한 경로’는 무엇을 뜻하나요?
잘못 설정된 인증서 같은 출발점에서 시스템의 더 높은 권한을 얻기까지 거치는 단계나 결함의 순서입니다.
상세 정보
작성자의 원본 설명
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
인기도
- GitHub 스타
- 42k
- 순위
- #6417
- 라이선스
- MIT
- 업데이트
- 2026. 9. 22.
댓글
- …
이 저장소의 다른 스킬
competition-agent-cloud
42k에이전트가 AI와 클라우드 시스템의 보안 과제를 분석하도록 돕습니다. 프롬프트, 도구, 클라우드가 어떻게 악용될 수 있는지 조사합니다.
competition-android-hooking
42k에이전트가 안드로이드 애플리케이션을 조사하도록 돕습니다. 앱이 내부적으로 어떻게 작동하는지, 어떻게 변경되거나 악용될 수 있는지 분석합니다.
competition-browser-persistence
42k에이전트가 웹사이트가 브라우저에 정보를 저장하는 방식을 분석하도록 돕습니다. 쿠키와 기타 데이터를 조사해 세션이 어떻게 작동하는지 이해합니다.
competition-bundle-sourcemap-recovery
42k에이전트가 웹사이트 코드를 재구성하도록 돕습니다. 파일과 코드 맵을 분석해 사이트가 어떻게 만들어졌고 어떻게 작동하는지 이해합니다.
비슷한 스킬
add-model-provider
394k에이전트가 안전한 설정 명령으로 새 AI 모델 제공자를 OpenClaw에 연결하고, API 키를 평문으로 두지 않으며, 실시간 테스트를 실행하도록 돕습니다.
acp-router
394k에이전트가 OpenClaw를 통해 Claude Code나 Cursor 같은 코딩 도우미에 작업을 전달해, 작업이 그 도구에서 실행되도록 돕습니다.
browser-automation
394k에이전트가 로그인, 탭, 페이지 응답이 멈췄을 때의 복구를 포함해 웹 페이지를 단계별로 조작하도록 가르칩니다.