Skip to content

A Winlogbeat and Sysmon installer for windows written in Go.

Notifications You must be signed in to change notification settings

RickSKy/WinlogSysmonInstaller

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sysmon and Winlogbeat Installer

This is a Go program that will let you easily install a working Sysmon/Winlogbeat setup on an endpoint. This works with ELK set up how Ryan Watsons' fantastic tutorial shows us.

Credit goes to Mathias Lafeldt for his awesome Embedding Assets in Go tutorial.

Requierements:

  • Go Lang
  • go-bindata (make sure the go/bin/ directory is in your PATH after installing if you're using windows)
  • Powershell on the endpoint you'll be installing Sysmon/Winlogbeat on. If you're using XP you'll probably have to install it.
  • Sysmon.exe, it's not included due to licencing reasons. You can download it from here.

Usage:

  • Clone this repository using git clone or download and uncompress the zip.
  • Download Sysmon.exe from https://live.sysinternals.com/Sysmon.exe, and put it into the assets folder. It's not included due to licensing reasons.
  • Update line 107 in the winlogbeat.yml file in the assets directory so that your IP matches your ELK server and make any other necessary adjustments.
  • Customize Swift on Security's sysmonconfig-export.xml that's in the assets folder according to your needs, it's already set up very well though and personalization isn't strictly necessary.
  • Copy the cert you generated in the tutorial into the assets directory, make sure it's called 'ELK-Stack.crt'.
  • Run go generate and then go build in the project folder. (Note: I'm building this in windows, if you're doing it in linux you're probably going to have to tell Go to output an .exe)
  • Test on an endpoint!

To Do:

  • Make an Uninstaller.

About

A Winlogbeat and Sysmon installer for windows written in Go.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages

  • Go 89.9%
  • PowerShell 10.1%