Credential Theft and Reconnaissance¶
Using Kerberos to discover, test, and reuse credentials.
These attacks use the Kerberos protocol as an oracle for credential validation and account discovery, or reuse stolen Kerberos artifacts (tickets and keys) to impersonate users. Unlike roasting attacks, which require offline cracking, the attacks in this category either test credentials in real time against the KDC or replay stolen material directly.
Two of these attacks - password spraying and user enumeration - require nothing more than network access to the domain controller on port 88: no domain membership, no LDAP bind, and no existing credentials. Pass-the-Ticket and Pass-the-Key start from a ticket or key the attacker has already stolen.
Authorized use only
The techniques in this section are documented so that defenders can recognize, detect, and mitigate them, and for authorized security testing, research, and education only. You must have explicit written permission before testing any technique against systems you do not own. Unauthorized access to computer systems is illegal.
Attacks in This Category¶
| Attack | Technique | Auth Required | Description |
|---|---|---|---|
| Pass-the-Ticket | Ticket injection | Stolen ticket | Extract cached TGTs or service tickets and inject them into a new session to impersonate the original user |
| Pass-the-Key / Overpass-the-Hash | AS-REQ with stolen key | Stolen NT hash or AES key | Use a stolen encryption key to request a legitimate TGT from the KDC, converting an NTLM hash into Kerberos access |
| Password Spraying | AS-REQ pre-authentication | None (network access only) | Test common passwords against many accounts using Kerberos error codes as an oracle |
| User Enumeration | AS-REQ error code analysis | None (network access only) | Discover valid Active Directory usernames by distinguishing PRINCIPAL_UNKNOWN from PREAUTH_REQUIRED |
Tool Coverage¶
CredWolf supports Kerberos-based credential testing and user enumeration:
credwolf kerberos- test passwords, NT hashes, AES keys, and ticket files against the KDC via pre-authentication (see CredWolf Kerberos usage)credwolf userenum- enumerate valid usernames via bare AS-REQs without triggering login attempts or incrementing the bad-password counter
kerbwolf tools handle the offensive side:
kw-tgt- request TGTs with passwords, NT hashes, or AES keys (pass-the-key / overpass-the-hash)kw-asrep- AS-REP Roasting with implicit user enumeration
Common Defenses¶
- Credential Guard - isolates NTLM hashes and Kerberos TGTs outside LSASS; service tickets are not protected
- Protected Users group - no NTLM authentication, a 4-hour TGT that cannot be renewed, and no DES or RC4 in Kerberos pre-authentication
- Short TGT lifetimes - limit the window during which a stolen ticket is usable
- Account lockout policies - limit password spraying attempts (but beware of lockout-based denial of service)
- Network rate limiting - restrict AS-REQ volume per source IP on port 88