Active Directory — Hub

External: Internal All The Things — Enumeration External: Internal All The Things — AD Tricks

Tools for Windows domain environments — enumerate users, capture or relay NTLM hashes, abuse Kerberos, map attack paths, and dump credentials.

OSCP workflow: Kerbrute user enum → Kerberoast / AS-REP → Bloodhound + Sharphound map paths → Impacket for shells & dumps → Responder on internal nets.

For domain concepts, see AD and Kerberos.

Install AD tools on Kali: Installation - Kali Setup > 📌 Active Directory (Kali-side)

Decision trees: Attack Path Graph · Credential Graph · Credential Discovery


📌 Tools in This Folder

NotePurpose
KerbruteValid username enum & password spray (Kerberos)
nxcsprayMulti-protocol cred reuse — one user+pass via nxc
krb5-userkinit, klist, kpasswd — Kerberos client & password change (port 464)
KerberoastKerberoasting & AS-REP roasting
Bloodhound + SharphoundAD attack path mapping (UI + analysis)
SharpHoundBloodHound data collector (Windows on-box)
RustHoundBloodHound collector (Rust — Linux/Windows/macOS)
bloodyADLDAP read/write — DCSync, GenericAll, RBCD, ACL abuse
PowerViewPowerShell AD enum from Windows shell (Recon)
PowerSploitPowerShell offensive framework — PowerView, PowerUp hub
PowerUpWindows local privesc — services, registry (on-box)
Active Directory CmdletsGet-ADUser, Get-ADComputer, Get-ADGroup (RSAT)
MimikatzCredential dump on Windows (on-box)
pypykatzParse LSASS dumps / registry hives offline on Kali
ResponderLLMNR/NBT-NS poison → capture NTLMv2
ntlm_theftMalicious files → force NTLM to your listener
RubeusWindows Kerberos — roast, PtT, golden/silver tickets
Certipy & CertifyAD CS abuse — Certipy (Linux) + Certify (Windows)
AD CS ESCESC1–ESC16 index — detect, exploit, Hacker Recipes links
Shadow Credentials - pywhiskerGenericWrite → pywhisker → PKINITtools → NT hash
RunasCsRun process as another user — creds on Windows shell, -l 8, reverse -r
krbrelayxdnstool (ADIDNS) · addspn · printerbug · Kerberos relay
gMSADumperDump gMSA passwords (ReadGMSAPassword)
GMSA - Group Managed Service AccountsgMSA attributes, extraction tools, Golden GMSA
dMSA - Delegated Managed Service AccountsBadSuccessor, dMSA credential dumping (Server 2025)

AD Permissions (BloodHound ACL abuse)

NotePurpose
AD PermissionsHub — every DACL right → exploit file
WriteDaclWriteDACL on Domain → DCSync
GenericAllFull control by target type
GenericWriteShadow creds · RBCD · SPN
ForceChangePasswordReset victim password
AllExtendedRightsExtended rights bundle
WriteOwnerTake ownership → grant rights
AddMemberJoin privileged group
AD CS PermissionsCertificate template & CA ACLs → ESC4/ESC7
DCSyncDump all domain hashes — secretsdump / nxc —ntds
HasSessionSession on computer → cred theft via LSASS

📌 Attack Chains

No creds yet

[[Kerberos Setup - krb5.conf]] — hosts + /etc/krb5.conf (nxc --generate-krb5-file)
[[Time Sync]] — `timedatectl set-ntp false` then `sudo ntpdate -s DC_IP` (Kerberos requires ±5 min)
Kerbrute userenum → GetNPUsers (AS-REP) → Kerberoast → crack with [[Hashcat]]

Port 5222 (XMPP)? → Pidgin user search → users.txt → GetNPUsers / Kerbrute

On internal network

Responder (capture) → crack OR [[ntlmrelayx]] relay → [[secretsdump]] → Pass-the-Hash

With domain user

BloodHound collect → path to DA → [[bloodyAD]] / [[Impacket]] psexec/wmiexec → [[evil-winrm]]

AD CS misconfig? → [[Certipy & Certify]] find → [[AD CS ESC]] (ESC1/8/9) → req / auth

NeedGo to
Impacket scripts (GetUserSPNs, secretsdump, relay)Impacket
SMB enumSMB
Crack captured hashesPassword Attacks
WinRM shellevil-winrm in Remote Access
XMPP user enum (5222)Pidgin in Recon
LDAP enum (389)ldapsearch in Recon
Kerberos on Windows shellRubeus
AD Certificate ServicesCertipy & Certify · AD CS ESC

24 items under this folder.