Sysmon 13.20 breaks filtering that worked in 13.10 causing huge surge in event volume

Dave McCormack 11 Reputation points
2021-05-26T21:33:21.027+00:00

In Sysmon 13.10, the attached sysmon config filters ImageLoaded events so that KnownDlls are not reported. With Sysmon 13.20, all these events are appearing in the trace.100032-temp.xml

Sysinternals
Sysinternals
Advanced system utilities to manage, troubleshoot, and diagnose Windows and Linux systems and applications.
1,087 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. dstaulcu 351 Reputation points
    2021-05-27T00:56:28.287+00:00

    Looks like you may have encountered a new limit in the length of a configuration value as part of your ImageLoaded is any conditions.

    When I merged your config and then inspected output of sysmon -c the values were truncated to 'C:\Win'

    I did some boundary testing and it looks like truncation starts with the 128th character.

    It's possible this is a display limit and not an actual configuration limit. If not limited to display this would explain the increase in logging due to your exclude based configuration strategy.

    Update:

    You could likely work within limits by employing the "contains any" filter condition instead of "is any". If you still want to differentiate between 32 bit and 64 bit you could add an additional ImageLoaded "begin with" condition for each rule group. With this situation in mind it would be cool if there was an "images" filter condition.