Communitygithub.com

windows-ad

승인된 Active Directory 및 Windows ID 공격(예: Kerberos, AD CS, BloodHound 경로, NTLM 중계, 도메인 권한 상승 연구)에 사용합니다.

windows-ad란 무엇인가요?

이 스킬은 Active Directory 및 Windows 환경에 대한 보안 평가 및 침투 테스트를 지원합니다. 특히 Kerberos, AD CS(Active Directory Certificate Services), BloodHound/SharpHound를 이용한 공격 경로 분석, NTLM 중계, 도메인 권한 상승 등 다양한 공격 벡터를 다룹니다. 사전 설정 파일인 `field-journal/precedent-pentest.md`를 읽고 도메인 컨트롤러(DC) 테스트, 중독/중계 허용 여부 등 명확한 권한 범위를 설정하는 것으로 시작합니다. 이 스킬은 BloodHound 그래프를 통한 신원 열거와 경로 분석을 우선시하며, 파괴적인 공격은 나중에 수행합니다. 다단계 외부 침투부터 도메인 컨트롤러 장악까지는 `attack-chain` 스킬을 주요 경로로 사용하고, 이미 도메인 내부에 진입하여 신원 기반 공격에 집중할 때 이 스킬을 주요 경로로 사용합니다.

지원 대상~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/zhaoxuya520/reverse-skill/tree/main/skills/windows-ad

즐겨 사용하는 AI에게 물어보기

이 에이전트 스킬이 미리 로드된 새 채팅을 엽니다.

문서

Windows / Active Directory 보안

조치 필요 (읽기 즉시 실행)

  1. NOW: ../field-journal/precedent-pentest.md 읽기
  2. NOW: 도메인/AD 테스트는 반드시 명시적 권한 범위를 확인해야 함 (DC 포함, 중독/중계 허용 여부)
  3. NOW: case-init; network_profile 및 금지 동작 명시
  4. NEXT: tool-index (impacket/certipy/bloodhound 등은 수동으로 많음)
  5. ACT: 신원 열거와 BloodHound 그래프로 시작하며, 먼저 파괴적 공격을 하지 않음

적용 시나리오

  • 도메인 침투, Kerberoasting, AS-REP, 위임
  • AD CS (ESC1–ESC8 등) 인증서 공격
  • BloodHound / SharpHound 공격 경로
  • NTLM 중계 / Coercer 강제 인증
  • 로컬 권한 상승에서 도메인 경로 (Potato 등을 점프 호스트로 사용)

attack-chain과의 관계

  • 외부에서 도메인 컨트롤러까지 다단계 → PRIMARY는 여전히 attack-chain/일 수 있음, 이 스킬은 AD 전문
  • 이미 도메인 내부에서 신원 중심 공격 → PRIMARY = 이 스킬

워크플로우

1. 열거

# 예시 Impacket / 내장 (자격 증명과 권한 필요)
nxc smb <range> -u user -p pass
bloodhound-python -d domain.local -u user -p pass -c All -ns <DC>

2. 일반적인 경로 (그래프 먼저, 실행은 나중에)

□ Kerberoast / AS-REP → 오프라인 크랙
□ ACL 남용 (GenericAll/WriteDacl)
□ 위임 (비제한/제한/리소스 기반)
□ AD CS 템플릿 오류 → Certipy
□ 중계: LLMNR/NBT-NS + ntlmrelayx (권한 확인)

3. 자격 증명 및 횡적 이동

□ secretsdump / lsassy / mimikatz (엄격한 권한 및 정리)
□ PtH / PtT / 골든 티켓은 권한이 있는 레드팀 범위 내에서만
□ 모든 단계 Evidence 기록; 고위험 작업은 사용자 확인

도구 체인

도구용도
BloodHound / SharpHound경로 그래프
CertipyAD CS
Impacket / NetExec횡적 이동 및 열거
Rubeus / Mimikatz티켓 및 자격 증명 (권한 있음)
Coercer / Responder강제 인증 / 중독

참고

  • references/ad-attack-paths.md
  • ../pentest-tools/references/network-attack-defense.md
  • ../attack-chain/
  • seeds: field-journal/seed-005_ad-certipy-esc1.md seed-007_ntlm-relay-coercer.md seed-013_kerberoasting-spn.md

라우팅 컨텍스트

상위: MASTER R24
하위: 보고서 docs-generator; EDR 연구 필요 edr-bypass-re
MUST NOT: 권한 없는 DCSync / 골든 티켓을 프로덕션에서 사용

작업 완료 자가 점검

  • 먼저 그래프/열거를 수행한 후 공격을 진행했는가?
  • 재현 가능한 명령어를 기록하고 탈식별화했는가?
  • 범위 금지 항목을 준수했는가?
  • 체크리스트?

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

api-security

Use for authorized security assessment of REST, GraphQL, WebSocket, or SOAP APIs, including discovery, authentication, authorization, rate-limit, and CI/CD testing.

apk-reverse

在 CLI 环境下做 Android APK 逆向时使用。适用于 APK 解包、Java 反编译、smali 修改、重打包、Frida 动态 Hook,以及按需切换到 so/native 分析。优先使用本机已安装的 jadx、apktool、frida、adb、ida-reverse、radare2。

attack-chain

Use for authorized multi-stage attack-path planning and orchestration when a task spans reconnaissance, initial access, privilege escalation, lateral movement, or impact assessment. Route single-stage tasks directly to their specialist skill.

binary-diff

|

binary-ninja-reverse

Use for authorized binary analysis in Binary Ninja, including HLIL/MLIL/LLIL inspection, strings/imports/exports, cross-references, types, patch review, Python API automation, and optional Binary Ninja MCP or localhost HTTP integration.

browser-automation

|

browser-extension-reverse

Use for authorized reverse engineering of browser extensions (Chrome/Firefox) including manifest analysis, background workers, and extension-based credential or traffic logic recovery.

case-review

Reviews a reverse-skill case package for scope readiness, Evidence to Finding to Path traceability, work item coverage, timeline references, and optional artifact hash integrity before report handoff.

cloud-k8s

Use for authorized cloud, container, and Kubernetes security assessment including metadata SSRF, IAM misconfig, container escape paths, and cluster RBAC review.

code-audit

Use for authorized source-code security review and SAST workflows including Semgrep, CodeQL patterns, dangerous API hunting, and fix verification.

ctf-sandbox

Thin PRIMARY for CTF / AWD / 靶场 multi-type orchestration. Hands off to the sidecar CTF-Sandbox-Orchestrator. Use when the user says CTF, AWD, 靶场, or 比赛题 and no more specific pwn/APK/IDA route already won.

database-security

Use for authorized database security assessment covering PostgreSQL/MySQL/MSSQL/Mongo/Redis exposure, authz, UDF/command paths, and misconfiguration review.

diagram-generator

generate, refine, validate, and render diagrams from natural language, notes, code snippets, schemas, tables, or existing diagram source. use for flowcharts, swimlanes, sequence diagrams, state diagrams, er diagrams, class diagrams, architecture/c4-style diagrams, dependency graphs, gantt charts, mind maps, user journeys, sankey-style flows, org charts, network graphs, and other visual models. supports mermaid by default, graphviz dot for complex graph layout, plantuml for uml-heavy engineering diagrams, and svg output when direct markup is more reliable.

digital-forensics

Use for authorized digital forensics including memory dumps, disk timelines, PCAP investigation, artifact triage, and IR evidence preservation.

docs-generator

|

dotnet-reverse

.NET / C# 二进制逆向。当目标是 .NET assembly(PE 头含 CLR、.exe/.dll 托管程序)、C# 编译产物(含 NativeAOT)、红队 Sharp* 工具(Rubeus / SharpHound / SharpHound 等)、.NET 混淆程序(ConfuserEx / SmartAssembly / Babel / Eazfuscator)、.NET loader / info-stealer / 套壳 malware 时使用。优先用 dnSpyEx + de4dot,需要 AI 直接操作时联动 dnSpy MCP。不用于纯 native 二进制(走 reverse-engineering / ida-reverse)。

edr-bypass-re

|

email-security

Use for authorized email security review including phishing analysis, header authentication (SPF/DKIM/DMARC), BEC patterns, and mailbox token abuse research.

firmware-pentest

|

ghidra-reverse

Use for free/open reverse engineering with Ghidra (headless or GUI), including decompile, cross-refs, and optional Ghidra MCP workflows when IDA is unavailable.

관련 스킬