Windows event log ยท Security4673 A privileged service was called
- Security
- 6 fields
Security.evtxMicrosoft-Windows-Security-Auditing
Fields EvtxECmd extracts
6 columns in the EvtxECmd CSV
- UserName
%domain%\%user% (%sid%)- %domain% = /Event/EventData/Data[@Name="SubjectDomainName"]
- %user% = /Event/EventData/Data[@Name="SubjectUserName"]
- %sid% = /Event/EventData/Data[@Name="SubjectUserSid"]
- ExecutableInfo
%ProcessName% (PID: %ProcessId%)- %ProcessName% = /Event/EventData/Data[@Name="ProcessName"]
- %ProcessId% = /Event/EventData/Data[@Name="ProcessId"]
- PayloadData1
PrivilegeList: %PrivilegeList%- %PrivilegeList% = /Event/EventData/Data[@Name="PrivilegeList"]
- PayloadData2
ObjectServer: %ObjectServer%- %ObjectServer% = /Event/EventData/Data[@Name="ObjectServer"]
- PayloadData3
LogonId: %SubjectLogonId%- %SubjectLogonId% = /Event/EventData/Data[@Name="SubjectLogonId"]
- PayloadData4
Service: %Service%- %Service% = /Event/EventData/Data[@Name="Service"]
Sample event
Event XML from the map file
<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>4673</EventID>
<Version>0</Version>
<Level>0</Level>
<Task>13056</Task>
<Opcode>0</Opcode>
<Keywords>0x8020000000000000</Keywords>
<TimeCreated SystemTime="2015-10-09T00:37:36.434836600Z"/>
<EventRecordID>1099777</EventRecordID>
<Correlation/>
<Execution ProcessID="496" ThreadID="504"/>
<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="ObjectServer">NT Local Security Authority / Authentication Service</Data>
<Data Name="Service">LsaRegisterLogonProcess()</Data>
<Data Name="PrivilegeList">SeTcbPrivilege</Data>
<Data Name="ProcessId">0x1f0</Data>
<Data Name="ProcessName">C:\\Windows\\System32\\lsass.exe</Data>
</EventData>
</Event>References
3 links
- ultimatewindowssecurity.com/securitylog/encyclopedia/event.aspx?eventid=4673(opens in new tab)
- docs.microsoft.com/en-us/windows/security/threat-protection/auditing/event-4673(opens in new tab)
- github.com/nasbench/EVTX-ETW-Resources/blob/main/ETWProvidersCSVs/Internal/Microsoft-Windows-Security-Auditing.csv(opens in new tab)
Source: evtx/Maps/Security_Microsoft-Windows-Security-Auditing_4673.map(opens in new tab) by Andrew Rathbun and contributors(opens in new tab), MIT License(opens in new tab)