{"id":6027,"date":"2019-03-04T00:12:25","date_gmt":"2019-03-04T00:12:25","guid":{"rendered":"http:\/\/www.hexacorn.com\/blog\/?p=6027"},"modified":"2019-03-04T00:15:43","modified_gmt":"2019-03-04T00:15:43","slug":"excelling-with-sysmon-configs","status":"publish","type":"post","link":"https:\/\/www.hexacorn.com\/blog\/2019\/03\/04\/excelling-with-sysmon-configs\/","title":{"rendered":"Excelling with sysmon configs"},"content":{"rendered":"\n<p>Writing your own sysmon config is a painful exercise. Well, maybe not if  you start from a scratch and only rely on your own research, because there is an organic growth that you fully control.<\/p>\n\n\n\n<p>Sooner or later you will reach the end of your creative ideas though&#8230; and will start borrowing ideas from others. You will then want to compare your config against others.<\/p>\n\n\n\n<p>You can find an existing tool that does it for you (recommended), write a proper parser (recommended), or try to cheat and use Excel \ud83d\ude09<\/p>\n\n\n\n<p>Despite it looking like an impossible task, Excel can do a pretty good work extracting rules from a sysmon config. We just need to use a bunch of formulas, and in the end can &#8216;visualize&#8217; the data using e.g. a pivot table like the one shown here:<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2019\/03\/syscfg1.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2019\/03\/syscfg1.png\" alt=\"\" class=\"wp-image-6028\" width=\"500\" height=\"415\"\/><\/a><\/figure>\n\n\n\n<p>or this:<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2019\/03\/syscfg2.png\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2019\/03\/syscfg2.png\" alt=\"\" class=\"wp-image-6029\" width=\"272\" height=\"381\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2019\/03\/syscfg2.png 544w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2019\/03\/syscfg2-214x300.png 214w\" sizes=\"(max-width: 272px) 100vw, 272px\" \/><\/a><\/figure>\n\n\n\n<p>From there, it&#8217;s not too far from comparing multiple configs, or even merging them in Excel (I know, I will burn in hell for saying that!).<\/p>\n\n\n\n<p>Anyways&#8230; if you are interested in doing similar analysis yourself you can have a look at this <a href=\"https:\/\/hexacorn.com\/d\/sysmon_config_analyzer.xlsx\">workbook<\/a>. It&#8217;s just one of many ways this can be done, and there is plenty of room for improvements.<\/p>\n\n\n\n<p>And if you are wondering what config I analyzed with this &#8216;tool&#8217;, it is the one from <a href=\"https:\/\/twitter.com\/ionstorm\">ionstorm<\/a> (kudoz!) &amp; you can download it from <a href=\"https:\/\/github.com\/ion-storm\/sysmon-config\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Writing your own sysmon config is a painful exercise. Well, maybe not if you start from a scratch and only rely on your own research, because there is an organic growth that you fully control. Sooner or later you will &hellip; <a href=\"https:\/\/www.hexacorn.com\/blog\/2019\/03\/04\/excelling-with-sysmon-configs\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[15,74,82,79],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/6027"}],"collection":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/comments?post=6027"}],"version-history":[{"count":4,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/6027\/revisions"}],"predecessor-version":[{"id":6033,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/6027\/revisions\/6033"}],"wp:attachment":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/media?parent=6027"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/categories?post=6027"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/tags?post=6027"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}