Configuring Sysmon for endpoint collection
System Monitor (Sysmon) is a Windows service that collects detailed events on Windows processes, services, operations, and so on. Sysmon is part of Microsoft's Sysinternals project.
Let's download Sysmon, apply a configuration, and run it as a service. First, we need to collect the Sysmon binary, so from the Windows VM, do the following:
- Download Sysmon: https://docs.microsoft.com/en-us/sysinternals/downloads/sysmon.
- Download SwiftOnSecurity's Sysmon config:
curl -OL https://raw.githubusercontent.com/SwiftOnSecurity/sysmon-config/master/sysmonconfig-export.xml
Find the sysmon.zip file that was downloaded, right-click it, and extract it to the c:\Program Files directory.
Open up a terminal window and install Sysmon as a service with the SwiftOnSecurity configuration. Remember you need administrator privileges, so right-click and select Run as administrator when you open Command Prompt (cmd.exe), and then type...