Windows event log ยท Microsoft-Windows-WMI-Activity/Operational5861 WMI Registration of Permanent Event Consumer

WMI Registration of Permanent Event Consumer

  • Windows operational
  • 2 fields
  • Microsoft-Windows-WMI-Activity%4Operational.evtx
  • Microsoft-Windows-WMI-Activity

Fields EvtxECmd extracts

2 columns in the EvtxECmd CSV

  • PayloadData1Ess: %ESS%
    • %ESS% = /Event/UserData/Operation_ESStoConsumerBinding/ESS
  • PayloadData2%PossibleCause%
    • %PossibleCause% = /Event/UserData/Operation_ESStoConsumerBinding/PossibleCause

Sample event

Event XML from the map file

<Event>
  <System>
    <Provider Name="Microsoft-Windows-WMI-Activity" Guid="1418ef04-b0b4-4623-bf7e-d74ab47bbdaa"/>
    <EventID>5861</EventID>
    <Version>0</Version>
    <Level>0</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x4000000000000000</Keywords>
    <TimeCreated SystemTime="2018-08-06 19:21:16.8143539"/>
    <EventRecordID>5150</EventRecordID>
    <Correlation/>
    <Execution ProcessID="1484" ThreadID="4652"/>
    <Channel>Microsoft-Windows-WMI-Activity/Operational</Channel>
    <Computer>base-rd-01.shieldbase.lan</Computer>
    <Security UserID="S-1-5-18"/>
  </System>
  <UserData>
    <Operation_ESStoConsumerBinding>
      <Namespace>//./root/subscription</Namespace>
      <ESS>SCM Event Log Filter</ESS>
      <CONSUMER>NTEventLogEventConsumer="SCM Event Log Consumer"</CONSUMER>
      <PossibleCause>Binding EventFilter: , instance of __EventFilter, {, CreatorSID = {1, 2, 0, 0, 0, 0, 0, 5, 32, 0, 0, 0, 32, 2, 0, 0};, EventNamespace = "root\\cimv2";, Name = "SCM Event Log Filter";, Query = "select * from MSFT_SCMEventLogEvent";, QueryLanguage = "WQL";, };, Perm. Consumer: , instance of NTEventLogEventConsumer, {, Category = 0;, CreatorSID = {1, 2, 0, 0, 0, 0, 0, 5, 32, 0, 0, 0, 32, 2, 0, 0};, EventType = 1;, Name = "SCM Event Log Consumer";, NameOfUserSIDProperty = "sid";, SourceName = "Service Control Manager";, };,</PossibleCause>
    </Operation_ESStoConsumerBinding>
  </UserData>
</Event>

References

2 links

Source: evtx/Maps/Microsoft-Windows-WMI-Activity-Operational_Microsoft-Windows-WMI-Activity_5861.map(opens in new tab) by Eric Zimmerman and contributors(opens in new tab), MIT License(opens in new tab)