UF_DONT_REQUIRE_PREAUTH), the KDC returns an AS-REP encrypted with the user’s hash to anyone who asks: no credentials required to grab it.
How It Works
Normal pre-authentication flow:Why It Works
- The AS-REP contains a blob encrypted with RC4-HMAC derived from the account’s password
- Without pre-auth, the KDC does not verify the requestor’s identity
- You only need to know the username: useful in unauthenticated scenarios when you have a user list
- Hash mode 18200 in hashcat
Finding Vulnerable Accounts
Search for accounts withUF_DONT_REQUIRE_PREAUTH (UAC flag 0x400000) set.
Requesting Hashes
Get the AS-REP blob and save it for offline cracking. Works with or without valid credentials.Cracking
Clock Skew (faketime)
Kerberos requires your clock to be within 5 minutes of the DC. If you getKRB_AP_ERR_SKEW, use faketime to offset your system time for the duration of the command without actually changing your clock.