Recently we have been looking at a lot of Blue Team tools to help increase both the visibility of our network, and our ability to audit events.
I recently found a great Sysmon config by @SwiftOnSecurity and decided that is was time to give it a go.
For this test machine I have created a folder in the root of C:\
And this this contains to contents of the extracted zip, and the config file we downloaded separately from GitHub.
The next step is to open a Powershell window with administrator privileges and install Sysmon.
First we need to move to the correct directory, then we can list the switches/options which are available. In my case the commands are as follows (If you have named your folder differently or placed it in a different location then you will need to specify the path and name you have used)
Then your window should look as below
Reading through these options helps to give us a better understanding of what we are doing.
In the case I am installing on a 64 bit machine and I wish to use the config XML file we downloaded from GitHub. From looking through the options we can see that our command to install with this file should be:
.\sysmon.exe -accepteula -i sysmonconfig-export.xml
Below you can see the successful install.
By default the logs are stored with the other Windows Event Logs here “C:\Windows\System32\winevt\Logs” Shown below
Lets set up a custom View in Event Viewer to make them easy to find. First open “Event Viewer” and select “Create Custom View”
Complete the top half of the Windows as shown, selecting only the Sysmon option in the dropdown:
Then complete the bottom half of the window as shown, selecting all keywords from the 2nd dropdown.
The completed window should look like this:
Then we give a name a save it.
That’s it. Now we can easily check our sysmon alerts with our custom template. As shown below.
Sysmon is one of a whole suite of applications from the Sysinternals tool set created by Mark Rissinovich and in the future we will be looking into a few more of these, along with “SysmonView”, and “SysmonShell” by nshalabi which are available here: