Windows event log ยท Security4800 The workstation was locked

  • Security
  • 1 field
  • Security.evtx
  • Microsoft-Windows-Security-Auditing

Fields EvtxECmd extracts

1 column in the EvtxECmd CSV

  • PayloadData1Target: %TargetDomainName%\%TargetUserName%
    • %TargetDomainName% = /Event/EventData/Data[@Name="TargetDomainName"]
    • %TargetUserName% = /Event/EventData/Data[@Name="TargetUserName"]

Sample event

Event XML from the map file

<Event>
  <System>
    <Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-a5ba-3e3b0328c30d}"/>
    <EventID>4800</EventID>
    <Version>0</Version>
    <Level>0</Level>
    <Task>12551</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8020000000000000</Keywords>
    <TimeCreated SystemTime="2019-04-27T21:23:49.758740900Z"/>
    <EventRecordID>90525</EventRecordID>
    <Correlation ActivityID="{32dfcbe2-f43e-0002-74cc-df323ef4d401}"/>
    <Execution ProcessID="940" ThreadID="11368"/>
    <Channel>Security</Channel>
    <Computer>pooh</Computer>
    <Security/>
  </System>
  <EventData>
    <Data Name="TargetUserSid">S-1-5-21-1987904521-730768085-2188298509-1001</Data>
    <Data Name="TargetUserName">baz</Data>
    <Data Name="TargetDomainName">POOH</Data>
    <Data Name="TargetLogonId">0x1887d9f9</Data>
    <Data Name="SessionId">19</Data>
  </EventData>
</Event>

References

3 links

Source: evtx/Maps/Security_Microsoft-Windows-Security-Auditing_4800.map(opens in new tab) by Barrie Hill and contributors(opens in new tab), MIT License(opens in new tab)