DetectionLabELK : A Fork From DetectionLab With ELK Stack Instead Of Splunk
DetectionLabELK is the perfect lab to use if you would like to build effective detection capabilities. It has been designed with defenders in mind. Its primary purpose is to allow blueteams to quickly build a Windows domain that comes pre-loaded with security tooling and some best practices when it comes to system logging configurations. It can easily be modified to fit most needs or expanded to include additional hosts.
Use cases
A popular use case for DetectionLabELK is when you consider adopting MITRE ATT&CK framework and would like to develop detections for its tactics. You can use DetectionLabELK to quickly run atomic tests, see what logs are being generated and compare it to your production environment. This way you can:
Validate that your production logging is working as expected.
Ensure that your SIEM is collecting the correct events.
Enhance alerts quality by reducing false positives and eliminating false negatives.
Microsoft Advanced Threat Analytics is installed on the WEF machine, with the lightweight ATA gateway installed on the DC
Windoes Evenet forwarder along with Winlogbeat are pre-installed and all indexes are pre-created on ELK. Technology add-ons for Windows are also preconfigured.
A custom Windows auditing configuration is set via GPO to include command line process auditing and additional OS-level logging
Palantir’s Windows Event Forwarding subscriptions and custom channels are implemented
Powershell transcript logging is enabled. All logs are saved to \\wef\pslogs
osquery comes installed on each host and is pre-configured to connect to a Fleet server via TLS. Fleet is preconfigured with the configuration from Palantir’s osquery Configuration
Sysmon is installed and configured using Olaf’s open-sourced configuration
All autostart items are logged to Windows Event Logs via AutorunsToWinEventLog
Install the Vagrant-Reload plugin by running the following command: vagrant plugin install vagrant-reload.
Download DetectionLabELK to your local machine by running git clone https://github.com/cyberdefenders/DetectionLabELK.git from command line OR download it directly via this link.
cd to “DetectionLabELK/Vagrant” and execute vagrant up.
Build Boxes From Scratch – ETA ~5 hours.
Install Vagrant on your system.
Install Packer on your system.
Install “Vagrant-Reload” plugin by running the following command: vagrant plugin install vagrant-reload.
Download DetectionLabELK to your local machine by running git clone https://github.com/cyberdefenders/DetectionLabELK.git from command line OR download it directly via this link.
cd to “DetectionLabELK” base directory and build the lab by executing ./build.sh virtualbox (Mac & Linux) or ./build.ps1 virtualbox (Windows).