Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
ludus-defender-lab — MDE/MDI Defender setup for Ludus | Kitploit
Tools/GitHubGitHub/zephrfish/ludus-defender-lab
Defensive ToolsSecurity VirtualizationIdentity & Access Management (IAM)MisconfigurationLog AnalysisLabs & Practice
GitHubzephrfish/ludus-defender-lab

ludus-defender-lab

MDE/MDI Defender setup for Ludus

View Repository
61420 days agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

Ludus Defender Lab

Ludus range config and Ansible roles for a Windows security lab pre-staged for MDE and MDI, with a fully misconfigured ADCS installation for detection coverage testing.

ConfigVMsPurpose
zsec-mde-mdi-lab.ymlDC01 + WKS01MDE/MDI detection lab with ADCS ESC1–ESC15

Requirements

  • Ludus installed and configured
  • LUDUS_API_KEY set in your environment
  • VM template: win2022-server-x64-template

Deploy

root@kitploit:~
# Install roles (run on Ludus host with API key set)
cd roles/
./install-roles.sh

# Set config and deploy
ludus range config set -f zsec-mde-mdi-lab.yml
ludus range deploy

MDE and MDI are not auto-installed. Onboard both from security.microsoft.com after the range is up:

  1. MDE — Endpoints → Device management → Onboarding → Windows Server 2022. Run the onboarding script on both DC01 and WKS01.
  2. MDI — Settings → Identities → Sensors → Add sensor. Download and run the sensor installer on DC01.
root@kitploit:~
# Snapshot after onboarding so you can revert without repeating the process
ludus range snapshot create --name post-onboarding

Environment settings

Environment-specific values (domain name, passwords, hostnames) appear inline throughout the config. A reference table at the top of the file lists every value and where it's used — update with find-and-replace before deploying.

Shared MDE prerequisite settings live in global_role_vars (applied to all VMs). DC-specific overrides live in DC01's role_vars and take precedence automatically.

Compound FQDNs in dns_rewrites and SPN strings need updating separately.

Roles

All roles live in roles/. The install script handles everything.

Community role installed via Ansible Galaxy: badsectorlabs.ludus_adcs (DC01).

Credits

enable_asr and enable_mdi_gpo are derived from @curi0usJack's work at curi0usJack/Ludus-MDE-MDI-Roles. This repo extends those roles into a unified DC↔WKS setup and adds the ADCS misconfiguration layer, MDE prerequisites hardening, WEF pipeline, and additional roles.

AD CS lab is a snippet from my course

Download Tool
RoleUsed inPurpose
mde_prereqsDC01, WKS01Defender config, audit policy, logging, LSA hardening, TLS 1.2
wefDC01, WKS01Windows Event Forwarding (collector on DC01, forwarder on WKS01)
sysmonDC01, WKS01Sysmon install and config
adcs_labDC01ADCS ESC1–ESC15 misconfiguration setup
ad_populationDC01Users, groups, OUs, Kerberoastable/ASREPRoastable accounts
smb_sharesDC01, WKS01SMB shares including honeypot share
enable_mdi_gpoDC01MDI audit GPO
enable_asrWKS01Attack Surface Reduction rules
rsatWKS01Remote Server Administration Tools