Windows Security 4625 — Failed logon

Windows Security 4625 — Failed logon. A logon attempt failed on the computer recording the event.

windows xml authentication failure

Source and collection

Windows Event Log: Security; archived .evtx is binary, while this fixture is an XML event export.

Configure Audit Logon. Read with Get-WinEvent and preserve provider, event ID, version, computer and record ID.

Native example and provenance

publisher documentation example. Published example; no independent capture provenance claimed.

Original publisher / pinned upstream fixture — preformatted example 1

Removed Event Viewer tree expansion markers before XML tags; field values unchanged.

Download the exact sample · Offline research kit

SHA-256: 169ca6119ee289934e0ac6feb96b0da0a5a9f6faa87828b939ca1aaffc364a4a

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
 <Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" /> 
 <EventID>4625</EventID> 
 <Version>0</Version> 
 <Level>0</Level> 
 <Task>12546</Task> 
 <Opcode>0</Opcode> 
 <Keywords>0x8010000000000000</Keywords> 
 <TimeCreated SystemTime="2015-09-08T22:54:54.962511700Z" /> 
 <EventRecordID>229977</EventRecordID> 
 <Correlation /> 
 <Execution ProcessID="516" ThreadID="3240" /> 
 <Channel>Security</Channel> 
 <Computer>DC01.contoso.local</Computer> 
 <Security /> 
 </System>
<EventData>
 <Data Name="SubjectUserSid">S-1-5-18</Data> 
 <Data Name="SubjectUserName">DC01$</Data> 
 <Data Name="SubjectDomainName">CONTOSO</Data> 
 <Data Name="SubjectLogonId">0x3e7</Data> 
 <Data Name="TargetUserSid">S-1-0-0</Data> 
 <Data Name="TargetUserName">Auditor</Data> 
 <Data Name="TargetDomainName">CONTOSO</Data> 
 <Data Name="Status">0xc0000234</Data> 
 <Data Name="FailureReason">%%2307</Data> 
 <Data Name="SubStatus">0x0</Data> 
 <Data Name="LogonType">2</Data> 
 <Data Name="LogonProcessName">User32</Data> 
 <Data Name="AuthenticationPackageName">Negotiate</Data> 
 <Data Name="WorkstationName">DC01</Data> 
 <Data Name="TransmittedServices">-</Data> 
 <Data Name="LmPackageName">-</Data> 
 <Data Name="KeyLength">0</Data> 
 <Data Name="ProcessId">0x1bc</Data> 
 <Data Name="ProcessName">C:\\Windows\\System32\\winlogon.exe</Data> 
 <Data Name="IpAddress">127.0.0.1</Data> 
 <Data Name="IpPort">0</Data> 
 </EventData>
 </Event>

Structure and field interpretation

Observed structure in this specific sample
Field/pathSerialized type
Microsoft-Windows-Security-AuditingXML text
EventIDXML text
VersionXML text
LevelXML text
TaskXML text
OpcodeXML text
KeywordsXML text
TimeCreatedXML text
EventRecordIDXML text
CorrelationXML text
ExecutionXML text
ChannelXML text
ComputerXML text
SecurityXML text
SubjectUserSidXML text
SubjectUserNameXML text
SubjectDomainNameXML text
SubjectLogonIdXML text
TargetUserSidXML text
TargetUserNameXML text
TargetDomainNameXML text
StatusXML text
FailureReasonXML text
SubStatusXML text
LogonTypeXML text
LogonProcessNameXML text
AuthenticationPackageNameXML text
WorkstationNameXML text
TransmittedServicesXML text
LmPackageNameXML text
KeyLengthXML text
ProcessIdXML text
ProcessNameXML text
IpAddressXML text
IpPortXML text
System/EventID
Event identifier within the named provider.
System/Version
Version of this event layout.
System/TimeCreated/@SystemTime
Event timestamp in UTC.
EventData
Named fields; use names, not positional array indices.
Relevant fields
Status, SubStatus, LogonType, IpAddress

Investigation uses

Validation boundaries

Failures include stale services and mistyped passwords; do not equate a count threshold with password spraying. This sample uses event version 0.

This sample passed byte-integrity and JSON/XML parsing checks, including the catalogue’s specified event discriminators. This is not a complete vendor-schema validation or a tested detection.

For a simulation, first parse this fixture offline, then create a separately labelled synthetic variant and test it against the intended collector in an isolated lab. Never replay public example identities or destinations into production.

Ecosystem connections

References

Sample provenance is linked above. Field availability and product behavior must be checked against the deployed version.