Event ID 551: SMB session authentication failure
Written on the SMB server when a client's session setup fails authentication. Records the client name and address, the account, the status and, on newer builds, the SPN the client used.
- Channel
- Microsoft-Windows-SMBServer/Security
- Logged by default
- Yes
- Written on
- Target host
- Volume
- Low
- Provider
- Microsoft-Windows-SMBServer
- Needs a SACL
- No
Key fields
Exact XML field names, as they appear in <Data Name="…"> and in SIEM field extractions.
| Field | What it tells you |
|---|---|
| ClientName | Client name as the server sees it; often an IP address rather than a host name |
| ClientAddress | Client IP address and port. Stored as a binary socket address in the XML; the rendered message shows it as text |
| UserName | Account the client tried to authenticate as |
| Status | NTSTATUS of the failure, for example 0xC000006D (logon failure) |
| SessionId | SMB session ID of the failed session setup |
| SPN | Service principal name the client used (event version 2 and later); relevant when SMB server SPN validation is enabled |
Analyst notes
- 01551 records failed SMB logons with the client address and the account name, independent of the Security log audit policy, which makes it a dependable source for spotting brute force and password spraying against file servers.
- 02Many accounts failing from one ClientAddress is spraying; one account failing from many addresses is more often a stale saved credential on several devices. Correlate with Security 4625 (Logon Type 3) on this server and 4776 or 4771 on the domain controllers.
- 03On builds that record SPN, a 551 next to a Security 5168 (SPN check failed, which needs file share failure auditing) points to SPN validation rejecting the client. That happens with misconfigured aliases and also with NTLM relay attempts.
- 04Windows 11 24H2 and Windows Server 2025 turn on the SMB authentication rate limiter by default, a 2-second delay after each failed NTLM or PKU2U attempt, which slows brute force and caps how fast 551s accumulate.
Pull this event
Retrieval queries for a live host, a collected .evtx file and common SIEMs. Filter further on the key fields above.
Get-WinEvent -LogName 'Microsoft-Windows-SMBServer/Security' -FilterXPath "*[System[(EventID=551)]]" -MaxEvents 50 |
Select-Object TimeCreated, Id, MachineName, Message-FilterXPath supports exact matches only. For substring matching, filter in Where-Object.
ATT&CK mapping
Techniques this event can help detect. Most of these depend on specific field values; the event alone does not mean the technique happened.
Related events
Common questions
- What does Windows event ID 551 mean?
- Written on the SMB server when a client's session setup fails authentication. Records the client name and address, the account, the status and, on newer builds, the SPN the client used. It is written to the SMBServer Security log (Microsoft-Windows-SMBServer/Security).
- Is event 551 logged by default?
- Yes, a default Windows installation records it.
- Where is event 551 recorded?
- In the Microsoft-Windows-SMBServer/Security channel on the target host.
Decode a real event
Paste the XML and every value gets explained. Nothing leaves your browser.
Open decoderWritten on the SMB server when a client's session setup fails authentication. Records the client name and address, the account, the status and, on newer builds, the SPN the client used. Key fields, logging requirements, ATT&CK mapping and ready-to-run queries.