IMVEEDev Portal

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"| OS

VMs in Detail

VMOSIPvCPURAMDiskRole
firewallUbuntu 24.0410.50.1.122GB10GBGateway + nftables + Suricata
win-serverWindows Server 202210.50.1.1044GB60GBAD DC + DNS + Satellite Agent
win-desktopWindows 1110.50.1.2044GB60GBDomain workstation + Agent
ubuntu-serverUbuntu 24.0410.50.1.3022GB20GBLinux Satellite Agent + tests
kaliKali Linux10.50.1.4022GB30GBAttack 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-boot

3. 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 configure

Access & Login

SOCSuite Access

ServiceURLLogin
SOCSuitehttps://socsuite.dev.imvee.deKeycloak login (realm socsuite)
SIEM (OpenSearch Dashboards)https://siem.dev.imvee.deKeycloak login
Keycloakhttps://auth.dev.imvee.deAdmin 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

ParameterValue
Domainsimlab.dev.imvee.de
AdminAdministrator@simlab.dev.imvee.de
DNS10.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/agents

2. 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 -f

3. 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-wan

Network 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.10

Agent 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-test

Development & 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.sh

Post-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 :::

On this page