ランキングに戻る

clong/DetectionLab

HTML

Automate the creation of a lab environment complete with security tooling and logging best practices

vagrantvagrantfilepackerinformation-securitylab-environmentdfirterraformansiblepowershelldetectiondetectionlabosquery
スター成長
スター
5k
フォーク
1k
週間成長
Issue
39
2k4k
2017年12月2020年10月2023年9月2026年7月
README

Detection Lab

As of 2023-01-01, DetectionLab is no longer being actively maintained

DetectionLab

DetectionLab is tested weekly on Saturdays via a scheduled CircleCI workflow to ensure that builds are passing.

Lint Code Base license Maintenance GitHub last commit Twitter

Purpose

This lab has been designed with defenders in mind. Its primary purpose is to allow the user 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.

Read more about Detection Lab on Medium here: https://medium.com/@clong/introducing-detection-lab-61db34bed6ae

NOTE: This lab has not been hardened in any way and runs with default vagrant credentials. Please do not connect or bridge it to any networks you care about. This lab is deliberately designed to be insecure; the primary purpose of it is to provide visibility and introspection into each host.

Primary Lab Features:

  • Microsoft Advanced Threat Analytics (https://www.microsoft.com/en-us/cloud-platform/advanced-threat-analytics) is installed on the WEF machine, with the lightweight ATA gateway installed on the DC
  • A Splunk forwarder is pre-installed and all indexes are pre-created. Technology add-ons 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 Hartong's open-sourced Sysmon configuration
  • All autostart items are logged to Windows Event Logs via AutorunsToWinEventLog
  • Zeek and Suricata are pre-configured to monitor and alert on network traffic
  • Apache Guacamole is installed to easily access all hosts from your local browser

Building Detection Lab

When preparing to build DetectionLab locally, be sure to use the prepare.[sh|ps1] scripts inside of the Vagrant folder to ensure your system passes the prerequisite checks for building DetectionLab.


DetectionLab Documentation

The primary documentation site is located at https://detectionlab.network


Contributing

Please do all of your development in a feature branch on your own fork of DetectionLab. Contribution guidelines can be found here: CONTRIBUTING.md

In the Media

Credits/Resources

A sizable percentage of this code was borrowed and adapted from Stefan Scherer's packer-windows and adfs2 Github repos. A huge thanks to him for building the foundation that allowed me to design this lab environment.

Acknowledgements

DetectionLab Sponsors

Last updated: 01/01/2023

I would like to extend thanks to everyone who sponsored DetectionLab over the past few years. DetectionLab is no longer actively being maintained or developed.

関連リポジトリ
hashicorp/vagrant

Vagrant is a tool for building and distributing development environments.

RubyRubyGemsOthervagrantruby
vagrantup.com
27.2k4.4k
geerlingguy/ansible-for-devops

Ansible for DevOps examples.

PythonPyPIMIT Licenseansibledevops
ansiblefordevops.com
9.8k3.8k
Orange-Cyberdefense/GOAD

game of active directory

PowerShellGNU General Public License v3.0active-directoryinfrastructure-as-code
8.1k1.1k
Varying-Vagrant-Vagrants/VVV

An open source Vagrant configuration for developing with WordPress

ShellMIT Licensevvvwordpress
varyingvagrantvagrants.org
4.5k826
chef/bento

Packer templates for building minimal Vagrant baseboxes for multiple platforms

HCLApache License 2.0packer-templatesvagrant
4.4k1.1k
ServiceStack/redis-windows

Vagrant redis configuration and the binary releases of MS Open Tech redis port of windows

Shellrediswindows
2.7k962
vagrant-libvirt/vagrant-libvirt

Vagrant provider for libvirt.

RubyRubyGemsMIT Licenselibvirtruby
vagrant-libvirt.github.io/vagrant-libvirt/
2.4k512
Artemmkin/infrastructure-as-code-tutorial

Infrastructure As Code Tutorial. Covers Packer, Terraform, Ansible, Vagrant, Docker, Docker Compose, Kubernetes

Apache License 2.0infrastructure-as-codepacker
2.3k418
leucos/ansible-tuto

Ansible tutorial

ShellOtheransibletutorial
2.3k705
ianmiell/shutit

Automation framework for programmers

PythonPyPIMIT Licensepythonvagrant
ianmiell.github.io/shutit/
2.1k110
geerlingguy/ansible-vagrant-examples

Ansible examples using Vagrant to deploy to local VMs.

MIT Licenseansiblevagrant
2.1k700
rootsongjc/kubernetes-vagrant-centos-cluster

Setting up a distributed Kubernetes cluster along with Istio service mesh locally with Vagrant and VirtualBox, only PoC or Demo use.

ShellApache License 2.0kubernetesvagrant
jimmysong.io
1.9k577