Skip to content
Go to file


Failed to load latest commit information.
Latest commit message
Commit time

Detection Lab


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

CircleCI Lint Code Base license Maintenance GitHub last commit Twitter

Donate to the project:

All of the infrastructure, building, and testing of DetectionLab is currently funded by myself in my spare time. If you find this project useful, feel free to buy me a coffee using one of the buttons below!

GitHub Sponsor Donate Donate


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:

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:

Requirements for VMware or Virtualbox

  • 55GB+ of free disk space
  • 16GB+ of RAM
  • Packer 1.6.0 or newer
  • Vagrant 2.2.9 or newer
  • Virtualbox or VMWare Fusion/Workstation

Building Detection Lab

Please view the quickstart guides based on the operating system you are using. The AWS and Azure deployment options for DetectionLab can be launched from any operating system.

Basic Vagrant Usage

Moved to the wiki: Basic Vagrant Usage

Lab Information

Moved to the wiki: Lab Information & Credentials

Known Issues and Workarounds

Moved to the wiki: Known Issues and Workarounds


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

In the Media


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.



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




Sponsor this project

Learn more about GitHub Sponsors
You can’t perform that action at this time.