Installation
Full setup from a bare Debian/Proxmox host to a running ThruntOps lab.
Table of contents
- 1. Install Ludus
- 2. Configure API Access
- 3. Build Templates
- 4. Install Ansible Roles
- 5. Deploy the Range
- 6. Verify
- Notes
1. Install Ludus
Full Ludus documentation at docs.ludus.cloud. Project home at ludus.cloud.
Prerequisites
- x86_64 CPU with VMX/SVM (hardware virtualization enabled in BIOS)
- Debian 12/13 or Proxmox 8/9
- Minimum 32 GB RAM, 200 GB storage (NVMe recommended)
- Wired ethernet (WiFi not supported)
- Root access + internet connectivity
- Docker must NOT be installed on the host
Install
1
curl --proto '=https' --tlsv1.2 -sSf https://ludus.cloud/install | bash
The installer will prompt for configuration values (defaults are fine) and reboot the machine. After reboot, monitor progress:
1
ludus-install-status
2. Configure API Access
Once Ludus is running, get your API key and configure the client:
1
ludus users apikey
Set the API URL and key in ~/.config/ludus/config.yml or via environment variables if accessing remotely.
3. Build Templates
List available templates and build the ones required by this lab:
1
ludus templates list
Build required templates (each can take 20–60 minutes):
1
2
3
4
5
ludus templates build -n debian-12-x64-server-template # Elastic SIEM VM
ludus templates build -n ubuntu-24.04-x64-server-template # Wazuh / Splunk SIEM VM
ludus templates build -n win2022-server-x64-template # AD DC
ludus templates build -n win11-22h2-x64-enterprise-template # Workstation
ludus templates build -n kali-x64-desktop-template # Attacker VM
Monitor build progress:
1
ludus templates logs -f
Wait for all templates to show BUILT before proceeding:
1
ludus templates list
4. Install Ansible Roles
Install the Galaxy roles and register all local roles with the included script:
1
2
3
4
5
6
# Elastic Stack Galaxy roles
ludus ansible roles add badsectorlabs.ludus_elastic_container
ludus ansible roles add badsectorlabs.ludus_elastic_agent
# All local roles (AD content, SIEM servers, ops, etc.)
bash roles/install-roles.sh
After any change to a local role, re-sync with --force to overwrite the cached version:
1
ludus ansible roles add -d roles/<name> --force
Verify all roles are installed:
1
ludus ansible roles list
5. Deploy the Range
The unified siem.sh script (./siem.sh <deploy|start|stop|check|status> <elastic|wazuh|splunk>) destroys any existing range, applies the matching ranges/<backend>-base-2022.yml config, and deploys in one step:
1
2
3
4
./siem.sh deploy elastic # ranges/elk-base-2022.yml
./siem.sh deploy wazuh # ranges/wazuh-base-2022.yml
./siem.sh deploy splunk # ranges/splunk-base-2022.yml
./siem.sh deploy splunk --license /path/to/Splunk.License
For Splunk, --license <file> is optional. After deployment completes, the script installs the local license file through the Splunk REST API on port 8089; the API account must have the license_edit capability.
Or step by step:
1
2
3
ludus range config set -f ranges/elk-base-2022.yml
ludus range deploy
ludus range logs -f
Monitor deployment:
1
ludus range logs -f
Check final status:
1
ludus range status
All four VMs (SIEM, DC01-2022, WIN11-22H2-1, kali) should show BUILT and the deployment status should be SUCCESS.
6. Verify
Elastic
Open Kibana at https://<range_ip>.20.1:5601 and navigate to:
Management → Fleet → Agents
Both Windows VMs (DC01-2022, WIN11-22H2-1) should show status Healthy.
Splunk
Check that all Universal Forwarders are connected via Splunk Web at http://<range_ip>.20.1:8000:
- Settings → Forwarding and receiving → Forwarder management — all forwarders should appear
- Search:
index=windows earliest=-15m— Windows Event Logs from both domain-joined VMs
Wazuh
Run the Wazuh agent status check:
1
./siem.sh status wazuh
All agents should appear with status active.
The post-deploy checklist for any backend:
1
RANGE_PREFIX=10.<range> ./siem.sh check <elastic|wazuh|splunk>
Notes
- DCs do not support local SAM accounts — local user provisioning only applies to member machines
ludus ansible roles adddoes not overwrite an existing role — use--forceflag to update installed roles- The attacker VM is documented in Kali