Microsoft WinRM Content Pack

The following content pack is available for use with a Graylog Illuminate license and Graylog Enterprise or Graylog Security. Contact sales to learn more about obtaining Illuminate.

Microsoft Windows Remote Management (WinRM) is the Microsoft implementation of the WS-Management protocol that enables remote administration of Windows systems. This technology pack processes Microsoft-Windows-WinRM/Operational event logs, providing normalization and enrichment of WinRM session, operation, authentication, and error events.

Supported Versions

  • Windows Server 2012 R2 or later

  • Windows 10 or later

  • NXLog 2.10 (im_msvistalog)

  • Winlogbeat 8.x

Requirements

  • Graylog 7.1+ with a valid Enterprise license

  • WinRM Operational event log collection enabled on the source host

  • NXLog or Winlogbeat agent forwarding the Microsoft-Windows-WinRM/Operational channel

Log Collection and Delivery

WinRM logs are collected via NXLog or Winlogbeat running on the WinRM host (client or server) and delivered to a Graylog input.

NXLog Collection

Configure NXLog to read the Microsoft-Windows-WinRM/Operational channel and forward via GELF.

  1. Configure an im_msvistalog input with QueryXML targeting Channel='Microsoft-Windows-WinRM/Operational'.

  2. Configure an om_tcp or om_udp output with the GELF format pointed at your Graylog GELF input.

Winlogbeat Collection

Configure Winlogbeat to read the Microsoft-Windows-WinRM/Operational channel.

  1. Add an event_logs entry named Microsoft-Windows-WinRM/Operational.

  2. Configure the Logstash or Beats output to deliver to your Graylog Beats input.

Stream Configuration

This technology pack includes 1 stream:

  • "Illuminate:WinRM Event Messages"

Hint: If this stream does not exist prior to the activation of this pack then it is created and configured to route messages to this stream and the associated index set. There should not be any stream rules configured for this stream.

Index Set Configuration

This technology pack includes 1 index set definition:

  • "WinRM Event Messages"

Hint: If this index set is already defined, then nothing is changed. If this index set does not exist, then it is created with retention settings of a daily rotation and 90 days of retention. These settings can be adjusted as required after installation.

What is Provided

  • Parsing rules to extract WinRM Operational event log fields into Graylog schema-compatible fields for both NXLog and Winlogbeat agents.

  • Lookup-based enrichment of WSMan/WinRM error codes to human-readable descriptions.

  • Normalization of WinRM operation names (e.g. Enumeration, Get, Invoke, Subscribe) to a canonical event_action verb.

  • Graylog Information Model (GIM) categorization for WinRM authentication, authorization, network connection, and service lifecycle events under the authentication, network, and service categories.

  • Network direction tagging (inbound/outbound) for session lifecycle events (6, 80, 91).

  • WinRM Spotlight content pack with one overview dashboard.

Events Processed by This Technology Pack

The content pack processes events from the Microsoft-Windows-WinRM/Operational channel.

  • Session lifecycle events (6, 80, 91): outbound session creation, request dispatch, inbound session reception

  • Operation events (132, 142, 143, 172, 774, 775, 1025, 1048, 1840, 1843, 2049): WSMan operation success, failure, response handling, and protocol diagnostics

  • Authentication events (161, 164, 169, 1291, 1295): user and machine authentication failures and successful credential validation

  • Authorization events (192, 1536): post-authentication access decisions

  • Service lifecycle events (208, 210, 213, 215, 224): WinRM service start, stop, security/plugin errors, and configuration change

GIM Categorization

GIM categorization is provided for the following messages:

Event ID Description gim_event_type_code gim_event_class gim_event_category gim_event_subcategory gim_event_type
6, 80 WinRM outbound session created or request dispatched 120200 protocol network network.open network connection initiated
91 WinRM inbound session received on the server 120000 protocol network network.network_connection network connection
161 User authentication failure on the remote system 100501 authentication authentication authentication.credential validation credential validation error
164 Destination machine authentication failure on the client 100501 authentication authentication authentication.credential validation credential validation error
169 User authenticated to remote system 100000, 100500 authentication authentication authentication.logon, authentication.credential validation logon and credential validation
192 WinRM authorization granted to authenticated user 101000 authentication authentication authentication.access notice access notice
208 WinRM service startup initiated 210000 endpoint service service.start service started
210 WinRM service stop failure 210100 endpoint service service.stop service stopped
213 WinRM service security error 211504 endpoint service service.state service error
215 WinRM service plugin loading error 211504 endpoint service service.state service error
224 WinRM service configuration change 211000 endpoint service service.configuration service configuration change
1291 Client authentication success 100000, 100500 authentication authentication authentication.logon, authentication.credential validation logon and credential validation
1295 Server authentication success 100000, 100500 authentication authentication authentication.logon, authentication.credential validation logon and credential validation
1536 WinRM authorization completed successfully 101000 authentication authentication authentication.access notice access notice

Fields Extracted by This Pack

Fields extracted from WinRM Operational events. Some fields are only present on specific event IDs.

WinRM Spotlight Content Pack

The WinRM Spotlight offers a dashboard with the following tabs:

WinRM Overview