SimulationLab — Overview
SimulationLab - Enterprise Test Environment
SimulationLab is a realistic enterprise network environment with Windows AD, firewall and IDS, provisioned via Terraform + Ansible to test SOCSuite Satellite Agents under real-world conditions.
What's New (v2.0)
- Network segmentation: WAN (10.50.0.0/24) + LAN (10.50.1.0/24)
- Firewall + IDS: nftables stateful firewall + Suricata IDS
- Active Directory: Windows Domain Controller with DNS
- Domain-joined workstations: Realistic enterprise environment
- Static IPs: No DHCP, all IPs configured via Cloud-Init/Autounattend
Architecture
flowchart LR
subgraph HOST["IMVEE Dev Server"]
subgraph IAC["Automation"]
TF["Terraform\nCreate VMs"]
ANS["Ansible\nConfigure VMs"]
end
subgraph NET["Virtual Network"]
UB["Linux System\nUbuntu 24.04"]
WS["Windows Server 2022"]
WD["Windows 11 Workstation"]
end
subgraph STG["Storage"]
POOL[("VM Disks")]
IMG[("Installation Images")]
end
end
subgraph PLAT["SOCSuite Platform"]
OS[("Event Database")]
end
TF -->|"creates"| UB
TF -->|"creates"| WS
TF -->|"creates"| WD
ANS -->|"configures"| UB
ANS -->|"configures"| WS
ANS -->|"configures"| WD
UB -.->|"test events"| OS
WS -.->|"test events"| OS
WD -.->|"test events"| OSVMs in Detail
| VM | OS | IP | vCPU | RAM | Disk | Role |
|---|---|---|---|---|---|---|
| firewall | Ubuntu 24.04 | 10.50.1.1 | 2 | 2GB | 10GB | Gateway + nftables + Suricata |
| win-server | Windows Server 2022 | 10.50.1.10 | 4 | 4GB | 60GB | AD DC + DNS + Satellite Agent |
| win-desktop | Windows 11 | 10.50.1.20 | 4 | 4GB | 60GB | Domain workstation + Agent |
| ubuntu-server | Ubuntu 24.04 | 10.50.1.30 | 2 | 2GB | 20GB | Linux Satellite Agent + tests |
| kali | Kali Linux | 10.50.1.40 | 2 | 2GB | 30GB | Attack tools for scenarios |
Total (profile medium): 16 vCPU, 16 GB RAM, 200 GB Disk
Quick Start
1. Prepare Host
# One-time setup (requires sudo)
make setup
# Provide VM password: Infisical `simlab-linux-password`
# → local copy to .secrets/linux_password (Terraform/Ansible pick it up automatically)2. Deploy VMs
# Initialise Terraform
make init
# Create VMs
make apply
# Fix Windows boot order (after apply)
make fix-boot3. Configuration (order matters!)
# 1. Firewall first (gateway must be up)
make configure-firewall
# 2. Let Windows install (wait until setup is complete)
# Check: virsh console win-server / win-desktop
# 3. Set up AD Domain Controller
make configure-ad
# 4. Windows domain join + baseline
make configure-windows
# 5. Configure Linux VMs
make configure-linux
# OR: everything in correct order
make configureAccess & Login
SOCSuite Access
| Service | URL | Login |
|---|---|---|
| SOCSuite | https://socsuite.dev.imvee.de | Keycloak login (realm socsuite) |
| SIEM (OpenSearch Dashboards) | https://siem.dev.imvee.de | Keycloak login |
| Keycloak | https://auth.dev.imvee.de | Admin via k8s secret keycloak-admin-secret |
:::info [Local Development] For local tests SOCSuite runs in Kubernetes. Port-forward to access:
kubectl port-forward -n imvee-dev svc/backend 8080:8080:::
VM Access
# SSH to VMs (Linux, password auth)
ssh ubuntu@10.50.1.1 # Firewall
ssh ubuntu@10.50.1.30 # ubuntu-server
ssh kali@10.50.1.40 # Kali
# Password: Infisical `simlab-linux-password` (local copy: .secrets/linux_password)
# Windows (via RDP)
# Username: Administrator
# Password: Infisical `simlab-windows-password` (local copy: .secrets/windows_admin_password)Windows Domain
| Parameter | Value |
|---|---|
| Domain | simlab.dev.imvee.de |
| Admin | Administrator@simlab.dev.imvee.de |
| DNS | 10.50.1.10 (Domain Controller) |
Check Agent Status
1. Agents in SOCSuite
# SOCSuite Web UI → Agents → Status
# Or API:
curl -H "Authorization: Bearer <token>" \
https://socsuite.dev.imvee.de/api/v1/agents2. Agent Logs
Windows (win-server, win-desktop):
# Service status
Get-Service IMVEESatellite
# Logs
Get-EventLog -LogName Application -Source "IMVEE"Linux (ubuntu-server):
# Service status
sudo systemctl status imvee-satellite
# Logs
sudo journalctl -u imvee-satellite -f3. OpenSearch Integration
# Pod IP + password from k8s secret
OSIP=$(kubectl get pod opensearch-0 -n imvee-dev -o jsonpath='{.status.podIP}')
OSPASS=$(kubectl get secret opensearch-secret -n imvee-dev -o jsonpath='{.data.OPENSEARCH_PASSWORD}' | base64 -d)
# Check indices
curl -sk -u "admin:$OSPASS" "https://$OSIP:9200/_cat/indices"
# Search events
curl -sk -u "admin:$OSPASS" -H "Content-Type: application/json" \
"https://$OSIP:9200/imvee-satellite-*/_search?q=host.hostname:win-server":::info [SIEM UI]
Alternative via browser: https://siem.dev.imvee.de (OpenSearch Dashboards, Keycloak login).
The satellite agents send their events to OpenSearch via the SOCSuite backend (API_URL=https://socsuite.dev.imvee.de/api/v1).
:::
Troubleshooting
Check VM Status
# VM status
make status
# VM console (for Windows installation)
virsh console win-server
# Network status
virsh net-list --all
virsh net-dhcp-leases simlab-wanNetwork Connectivity
# From firewall to internet
ssh ubuntu@10.50.1.1
ping 8.8.8.8
# From Windows to Domain Controller (in Windows VM)
nslookup simlab.dev.imvee.de
ping 10.50.1.10Agent Configuration
# Windows: config test
& "C:\Program Files\IMVEE Satellite\imvee-satellite.exe" --config-test
# Linux: config test
sudo /usr/local/imvee-satellite/imvee-satellite --config-testDevelopment & Debugging
Firewall Logs
# On firewall VM
ssh ubuntu@10.50.1.1
# nftables logs (denied packets)
sudo tail -f /var/log/nftables.log
# Suricata IDS logs
sudo tail -f /var/log/suricata/eve.json | jq '.'Agent Enrollment
The enrollment token is passed as extra var satellite_enrollment_token when running
make configure-linux. Token sources (tokens are short-lived):
# Option A: create the token manually in the SOCSuite UI (Settings → Agents → Tokens)
# Option B: generate the token via script (SOCSuite API, writes enroll.env)
ENV_NAME=dev bash scripts/gen-enrollment-token.sh
# Deploy manually with token
ENROLLMENT_TOKEN=<TOKEN> bash scripts/deploy-agents.shPost-Deployment Checklist
- All VMs reachable (SSH/RDP)
- Firewall routes LAN ↔ WAN
- DNS works (simlab.dev.imvee.de)
- Windows domain join successful
- Satellite Agents installed and configured
- Agents registered in SOCSuite
- Logs flowing to OpenSearch
- IDS alerts are generated
:::warn [Known Issues]
- Windows Service: Satellite runs as a process, not as a service
- Binary Size: Windows binary is large (45MB) but functional :::