sysmon-config icon indicating copy to clipboard operation
sysmon-config copied to clipboard

Crash: Sysmon v13.00 + sysmonconfig-export.xml

Open BeanBagKing opened this issue 3 years ago • 5 comments

When running the latest version of sysmon in conjunction with the config file, the program crashes (e.g. "Sysmon.exe -accepteula -i sysmonconfig-export.xml"). However, when installing it without the config file, it seems to run fine (e.g. "Sysmon.exe -accepteula -i").

The message I receive is the following.

System activity monitor has stopped working A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available. [Debug] [Close program]

If I run Debug, I get a Visual Studio Just-In-Time Debugger window that informs me that "an unhandled win32 exception occurred in Sysmon.exe"

Unhandled exception at 0x00007FF7E9BB0D53 in Sysmon.exe: An invalid parameter was passed to a function that considers invalid parameters fatal.

I'm afraid I'm not very framiliar with debugging, and I know the above probably isn't very useful, but I hope it helps.

BeanBagKing avatar Jan 11 '21 19:01 BeanBagKing

There is a bug in the public version of Sysmon, with a working configuration it’s only logging Event ID 1,4,5,16 and 25.I’ve notified the Sysinternals team and they are looking into it. From: BBK Date: Monday, 11 January 2021 at 20:35To: SwiftOnSecurity/sysmon-config Cc: Subscribed Subject: [SwiftOnSecurity/sysmon-config] Crash: Sysmon v13.00 + sysmonconfig-export.xml (#136)When running the latest version of sysmon in conjunction with the config file, the program crashes (e.g. "Sysmon.exe -accepteula -i sysmonconfig-export.xml"). However, when installing it without the config file, it seems to run fine (e.g. "Sysmon.exe -accepteula -i").The message I receive is the following.System activity monitor has stopped workingA problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.[Debug] [Close program]If I run Debug, I get a Visual Studio Just-In-Time Debugger window that informs me that "an unhandled win32 exception occurred in Sysmon.exe"Unhandled exception at 0x00007FF7E9BB0D53 in Sysmon.exe: An invalid parameter was passed to a function that considers invalid parameters fatal.I'm afraid I'm not very framiliar with debugging, and I know the above probably isn't very useful, but I hope it helps.—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or unsubscribe.

olafhartong avatar Jan 11 '21 19:01 olafhartong

I'm having the same issue, but only on windows server 2012 and 2016. I have not tried on 2019.

Windows 10 will load the config fine. I have not tried on Win7.

sysmon13 does install fine but then loading the config, or installing directly with the config, crashes sysmon. on applying config sysmon does say config is valid.

pixelnull avatar Jan 12 '21 11:01 pixelnull

Issue solved with Sysmon 13.01

Mitchou avatar Jan 13 '21 09:01 Mitchou

Issues seems to be resolved here. I'm not sure if this is the best place to ask, but I have two questions related to new sysmon versions and this config that I'm hoping someone can answer.

  1. The current schema version in the config is 4.22, Sysmon is now at 4.5 I believe. Does this have any effect on the functionality of this script? Maybe a better way to ask that is, is 4.22 forward compatible with 4.5, or is 4.5 backwards compatible with 4.22? Outside of these specific versions, does this hold true for all future updates?

  2. If there is no configuration set for a particular event (e.g. "Event ID 25: ProcessTampering (Process image change)") in this configuration file, does it default to recording everything related to this event, or nothing related to this event? I would presume everything, but I wanted to make sure.

BeanBagKing avatar Jan 13 '21 14:01 BeanBagKing

https://web.archive.org/web/20210729123029/http://download.sysinternals.com/files/sysmon.zip - v13.23 works fine. v13.33 and later crashes on my ws2012r2

yu-mor avatar Jul 20 '23 09:07 yu-mor