windows-ad

windows-ad

Popular

Use for authorized Active Directory and Windows identity attacks including Kerberos, AD CS, BloodHound paths, NTLM relay, and domain privilege escalation research.

39Kstars
5.5Kforks
Updated 9/22/2026
SKILL.md
read-only
name
windows-ad
description

Use for authorized Active Directory and Windows identity attacks including Kerberos, AD CS, BloodHound paths, NTLM relay, and domain privilege escalation research.

Windows / Active Directory Security

ACTION REQUIRED (Execute immediately after reading)

  1. NOW: Read ../field-journal/precedent-pentest.md
  2. NOW: Domain/AD testing must explicitly define the authorization scope (including DC and whether poisoning/relay is allowed)
  3. NOW: Execute case-init; clearly document network_profile and prohibited actions
  4. NEXT: Consult tool-index (impacket/certipy/bloodhound, etc., are often run manually)
  5. ACT: Start with identity enumeration and BloodHound graphs; do not attempt destructive exploits first

Applicable Scenarios

  • Domain penetration, Kerberoasting, AS-REP roasting, delegation attacks
  • AD CS (ESC1–ESC8, etc.) certificate attacks
  • BloodHound / SharpHound attack path analysis
  • NTLM Relay / Coercer forced authentication
  • Local privilege escalation to domain path transition (Potato exploits as stepping stones)

Relationship with attack-chain

  • Multi-stage attacks from external network to Domain Controller → PRIMARY can still be attack-chain/; this skill serves as the AD domain specialist
  • Already inside domain focusing on identity → PRIMARY = this skill

Workflow

1. Enumeration

# Example Impacket / Built-in (requires credentials and authorization)
nxc smb <range> -u user -p pass
bloodhound-python -d domain.local -u user -p pass -c All -ns <DC>

2. Common Paths (Graph First, Attack Second)

□ Kerberoast / AS-REP → Offline cracking
□ ACL Abuse (GenericAll/WriteDacl)
□ Delegation (Unconstrained/Constrained/Resource-Based)
□ AD CS Template Misconfigurations → Certipy
□ Relay: LLMNR/NBT-NS + ntlmrelayx (Confirm authorization)

3. Credentials and Lateral Movement

□ secretsdump / lsassy / mimikatz (Strict authorization and cleanup)
□ PtH / PtT / Golden Ticket strictly limited to authorized red team scope
□ Document Evidence for each step; obtain user confirmation for high-risk actions

Toolchain

Tool Purpose
BloodHound / SharpHound Attack path visualization
Certipy AD CS exploitation
Impacket / NetExec Lateral movement and enumeration
Rubeus / Mimikatz Tickets and credential manipulation (Authorized)
Coercer / Responder Forced authentication / Poisoning

References

  • 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

Routing Context

Upstream: MASTER R24
Downstream: Reporting docs-generator; EDR research required edr-bypass-re
MUST NOT: Execute unauthorized DCSync / Golden Tickets against production systems

Task Completion Checklist

  • [ ] Was graph/enumeration completed before exploitation?
  • [ ] Were reproducible commands recorded and sanitized?
  • [ ] Were scope restrictions strictly followed?
  • [ ] Was the checklist completed?