Windows event log ยท Microsoft-Windows-WinRM/Operational91 Creating WSMan shell on server with ResourceUri

  • Remote access
  • 1 field
  • Microsoft-Windows-WinRM%4Operational.evtx
  • Microsoft-Windows-WinRM

Fields EvtxECmd extracts

1 column in the EvtxECmd CSV

  • PayloadData1ResourceUri: %resourceUri%
    • %resourceUri% = /Event/EventData/Data[@Name="resourceUri"]

Sample event

Event XML from the map file

<Event>
  <System>
    <Provider Name="Microsoft-Windows-WinRM" Guid="a7975c8f-ac13-49f1-87da-5a984a4ab417"/>
    <EventID>91</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>9</Task>
    <Opcode>0</Opcode>
    <Keywords>0x4000000000000004</Keywords>
    <TimeCreated SystemTime="2025-03-21 00:02:31.123456"/>
    <EventRecordID>679</EventRecordID>
    <Correlation ActivityID="61asd50f-467a-1201-8749-3b617a13abc01"/>
    <Execution ProcessID="1234" ThreadID="112"/>
    <Channel>Microsoft-Windows-WinRM/Operational</Channel>
    <Computer>HOSTNAME.DOMAIN.local</Computer>
    <Security UserID="S-1-5-21-1679126543-180235051-12459516791-1189"/>
  </System>
  <EventData>
    <Data Name="resourceUri">http://schemas.microsoft.com/powershell/Microsoft.PowerShell (DOMAIN\ThreatActor clientIP: 192.168.1.234)</Data>
  </EventData>
</Event>

References

2 links

Source: evtx/Maps/Microsoft-Windows-WinRM-Operational_Microsoft-Windows-WinRM_91.map(opens in new tab) by Andrew Rathbun and contributors(opens in new tab), MIT License(opens in new tab)