Status / FailureCodeDepends on context
0x18: KDC_ERR_PREAUTH_FAILED
Pre-authentication failed: the password is wrong.
How to read it
The Kerberos equivalent of a 4625 with 0xC000006A, logged in the Status field of 4771 on the domain controller (the rendered message labels it Failure Code). One source producing 0x18 across many accounts is a password spray.
Find it
Get-WinEvent -LogName 'Security' -FilterXPath "*[System[(EventID=4768)]] and *[EventData[Data[@Name='Status']='0x18']]" -MaxEvents 100Keep going
About Status
Kerberos events carry RFC 4120 error codes rather than NTSTATUS. 0x18 in 4771 is a bad password; 0x6 in 4768 is an unknown user name.
Questions
- What does Status 0x18 mean?
- KDC_ERR_PREAUTH_FAILED. Pre-authentication failed: the password is wrong. The Kerberos equivalent of a 4625 with 0xC000006A, logged in the Status field of 4771 on the domain controller (the rendered message labels it Failure Code). One source producing 0x18 across many accounts is a password spray.
- Is Status 0x18 a sign of an attack?
- It depends on the context around it. Confirm it with the surrounding events: who made the request, from where, and what happened next.
- Where is Status 0x18 recorded?
- In the Status field of Windows Security event 4768 (A Kerberos authentication ticket (TGT) was requested), Windows Security event 4769 (A Kerberos service ticket was requested), Windows Security event 4771 (Kerberos pre-authentication failed), Windows Security event 4770 (A Kerberos service ticket was renewed) and 1 more events.
- How do I search for Status 0x18?
- The queries on this page filter for it in PowerShell, Microsoft Sentinel and the source's own tools. Paste a full record into the WETNav decoder to see every other field explained too.
Appears in
Other Kerberos result codes (Status) values
- 0x0Success
- 0x6KDC_ERR_C_PRINCIPAL_UNKNOWN
- 0x7KDC_ERR_S_PRINCIPAL_UNKNOWN
- 0xcKDC_ERR_POLICY
- 0xeKDC_ERR_ETYPE_NOTSUPP
- 0x12KDC_ERR_CLIENT_REVOKED
- 0x17KDC_ERR_KEY_EXPIRED
- 0x19KDC_ERR_PREAUTH_REQUIRED
- 0x1bKDC_ERR_MUST_USE_USER2USER
- 0x1fKRB_AP_ERR_BAD_INTEGRITY
- 0x20KRB_AP_ERR_TKT_EXPIRED
- 0x25KRB_AP_ERR_SKEW
- 0x29KRB_AP_ERR_MODIFIED
- 0x3cKRB_ERR_GENERIC
Decode a whole event
Paste the event and every field is explained, in your browser.