Sysmon configuration was updated. ConfigurationFileHash indicates what changed.
Attackers who gain admin access may modify Sysmon configuration to exclude their tools from monitoring. Configuration changes that reduce coverage are defense evasion.
Alert: configuration change during non-maintenance windows. Compare ConfigurationFileHash against known-good baseline.
ImageCommandLineParentImageUserHashes | Tactic | Technique |
|---|---|
| Defense Evasion | Disable or Modify Tools (T1562.001) |
Starting points — adapt the log source, projected fields and thresholds for your environment.
Event
| where EventLog == "Microsoft-Windows-Sysmon/Operational" and EventID == 16 // Sysmon configuration state changed
// EventData holds: Image, CommandLine, ParentImage, User, Hashes
| project TimeGenerated, Computer, RenderedDescription
| sort by TimeGenerated desc
index=* sourcetype="WinEventLog:Microsoft-Windows-Sysmon/Operational" EventCode=16
| stats count earliest(_time) as first_seen latest(_time) as last_seen by ComputerName
| sort - count `# Sysmon configuration state changed — add EventData fields: Image, CommandLine, ParentImage, User`
Sysmon configuration state changed. Sysmon configuration was updated. ConfigurationFileHash indicates what changed.
Event 16 is written to the Microsoft-Windows-Sysmon/Operational channel by Microsoft-Windows-Sysmon. Requires Sysmon installed with a config that logs this event (e.g. SwiftOnSecurity / Olaf Hartong).
Event 16 is associated with: Disable or Modify Tools (T1562.001).
Alert: configuration change during non-maintenance windows. Compare ConfigurationFileHash against known-good baseline.