4771 Kerberos pre-authentication failed
Written when the KDC could not issue a TGT due to pre-authentication failure. It is the cornerstone of authentication-failure monitoring for catching password spraying and brute force over the Kerberos path.
Overview
The subcategory is Audit Kerberos Authentication Service. It is generated when pre-authentication (the mechanism that verifies, before issuing a TGT, that the requester holds the correct password) fails, recorded only on domain controllers. Causes include a wrong password, expiration, and smart-card certificate problems. It is not generated for accounts with pre-authentication disabled (see 4768 in that case).
How it is triggered
- A logon attempt with a wrong password on a domain account.
- The reason appears in
Failure Code. Common examples:0x18wrong password (correct username + wrong password) = the main signal of spraying/brute force0x12account disabled/locked/expired/out of hours0x6nonexistent username (a sign of enumeration)
Security review points
- Password spraying: a pattern where
Failure Code 0x18failures spread from one source across many accounts. Use a threshold such as more than 500x18events in one minute. Attacks over the LDAP/Kerberos path that produce no 4625 (NTLM-type failures) are caught by this 4771. - Brute force: consecutive
0x18against a single account. Correlate with lockout 4740. - A burst of
0x6(unknown user) indicates username enumeration. Aggregate by source IP (Client Address).
Notes for log review
- “Self-inflicted” failures by devices/services holding old credentials are also common. Separate attack from configuration-induced causes by source IP and target account.
- Beyond 4771, combine TGT requests 4768, NTLM validation 4776, and lockout 4740 to build the full picture of authentication failures.
Key fields
| Field | Meaning |
|---|---|
Account Name | The targeted account |
Client Address | The source IP of the attempt; an aggregation axis |
Failure Code | The failure reason (0x18 wrong password, 0x6 unknown user, etc.) |
Pre-Authentication Type | The pre-authentication type used |