AD Attack Toolkit — tool testing LAB

2026-06  |  OS: Windows
winADkerberosldappythontooling
↓ view full writeup .txt  ·  GitHub repo

Test of my ad-attack-toolkit against an Active Directory domain built from scratch, to check
whether it held up in real use or hid bugs that only surfaced because it was tuned on the
development environment. Result: two latent bugs, both fixed. Tool bumped to v1.1.
The version below is a summary: the full writeup is in the linked .txt file above.

Phase 1 — Test domain

Isolated host-only VirtualBox lab. Windows Server 2022 DC, psychosec.local domain, vulnerable
targets created by hand (AS-REP, Kerberoasting, Domain Admin). NetBIOS typed PSYCHOSE instead
of PSYCHOSEC: a seemingly cosmetic detail, actually the key to the first bug.

Phase 2-3 — LDAP bind bug

Immediate crash: invalidCredentials. The orchestrator derived the NetBIOS from the DNS name
(split + upper) and prepended it to the username, building a non-existent domain. AD's SIMPLE
bind wanted a UPN. Fix: build the UPN from the real domain, no hardcoded NetBIOS assumption.

Phase 4-6 — Kerberoasting hashes rejected by hashcat

After the fix, enumeration runs clean but TGS hashes were rejected (separator unmatched).
Character-by-character comparison with impacket's reference format: three overlapping defects
in the hash format (duplicated SPN, :1433 port in the SPN field, checksum not separated from
the ticket). All fixed in kerberoast.py.

Phase 7 — Full chain

Hashes regenerated with the fixed tool and cracked natively, no longer going through impacket.
Four passwords recovered (2 AS-REP, 2 Kerberoasting). Working end-to-end chain: enumeration ->
hash capture -> cracking -> PDF report. Tool promoted to v1.1.

Fase 1: crash al primo run, bind rifiutato (invalidCredentials)
Fase 1: crash al primo run, bind rifiutato (invalidCredentials)
Dopo il fix del bind: enumerazione completa, target AS-REP e Kerberoasting
Dopo il fix del bind: enumerazione completa, target AS-REP e Kerberoasting
Run completo dopo i fix: tutte le fasi e report PDF generato
Run completo dopo i fix: tutte le fasi e report PDF generato

← back