IMVEEDev Portal

Test Scenarios

The SimulationLab provides real VMs with real operating systems to test the SOCSuite Satellite Agent under realistic conditions. This page describes the available test scenarios and how to run them.

Prerequisites

Before running a scenario:

  • SimulationLab is running (make status shows VMs as active)
  • Ansible has been run on the Linux VMs — the agent is installed:
make configure-linux
  • The IP address in the inventory is current (ansible/inventory.ini)
  • The enrollment token is valid (tokens are short-lived — get a new token from the SOCSuite UI or generate it via scripts/gen-enrollment-token.sh)

Scenario: Verify Agent Enrollment

After make configure-linux the Satellite Agent should be running on the VM and enrolled with SOCSuite.

Check agent status on the VM

# Password auth (Infisical `simlab-linux-password`)
ssh ubuntu@10.50.1.30
systemctl status imvee-satellite

Check in SOCSuite: Orbit → Agents

Open SOCSuite and navigate to Orbit → Agents. The agent of the Ubuntu VM should be listed there.

Verify asset in the database

SELECT * FROM assets WHERE type = 'agent';

:::info [Asset verification] Registered agents can be verified via the SOCSuite UI under Orbit → Agents or via the API:

curl -s -H "Authorization: Bearer <API_KEY>" \
  https://socsuite.dev.imvee.de/api/v1/assets?type=agent

:::


Scenario: Missions

Missions are tasks pushed from SOCSuite to registered agents.

Trigger a mission

  1. Open the SOCSuite UI
  2. Navigate to Orbit → Missions
  3. Create a new mission and assign it to the target agent

Check the result in SOCSuite

After execution the mission result appears in the SOCSuite UI under the respective agent.

Available Mission Types

Mission typeDescriptionExpected result
Vulnerability ScanScans installed software, open ports, system infoVulnerabilities in SOCSuite under Orbit → Vulnerabilities
File CollectionCollects files from a pathFile content is transmitted to SOCSuite
Shell CommandExecutes a command on the agentStdout/stderr is reported back to SOCSuite
System InventoryCaptures apps, users, processes, network connectionsInventory data under Orbit → Assets

Scenario: Check Events in the SIEM

The Satellite Agent sends events via the queue (queue.jsonl) to the SOCSuite backend (API_URL=https://socsuite.dev.imvee.de/api/v1), which writes them to OpenSearch (SIEM).

SIEM access: UI: https://siem.dev.imvee.de (Keycloak login) · API: k3s pod opensearch-0 (namespace imvee-dev), HTTPS :9200, credentials from k8s secret opensearch-secret.

After agent activity or after starting the log generator (role scenario-vulnerable) events can be searched in the OpenSearch dashboard.

Typical index prefixes:

  • imvee-satellite-* — Satellite agent events (standard)
  • imvee-logs-* — Legacy format (if IMVEE_INDEX_MODE is set — avoid)

:::info [Find index names] In the OpenSearch dashboard under Index Management → Indices show all available indices. Filter for imvee-*. :::


Ansible Role: scenario-vulnerable

The Ansible role scenario-vulnerable installs intentionally insecure services and configurations on the VM to generate realistic security events that the Satellite Agent should detect and report.

:::warn [Use in isolated lab environment only] The role opens weak SSH auth, weak passwords and listening ports. Never run on production systems or publicly reachable hosts. :::

What the role installs

ComponentPurpose / Vulnerability
Apache2 with ServerTokens FullInfo disclosure — exposes server version
testuser with weak passwordWeak password for brute-force testing
SSH PasswordAuthentication for testuserEnables password login for detection testing
Cron job (*/15 * * * * as root)Persistence simulation — cyclic HTTP request
Log generator (simulationlab-loggen)Generates realistic security events in syslog
Netcat listener on port 8888Open suspicious port as anomaly signal

Generated Security Events (Log Generator)

The simulationlab-loggen service continuously writes synthetic events via logger to syslog:

  • Failed SSH login — invalid users from random IPs
  • Sudo attempt on /etc/shadow — privilege escalation simulation
  • Outbound connection to RFC 5737 IPs (203.0.113.x) — C2 simulation

These events should appear as alerts in the SIEM (https://siem.dev.imvee.de).

Services on the VM after the scenario

# Password: Infisical `simlab-linux-password`
ssh ubuntu@10.50.1.30
systemctl status apache2
systemctl status simulationlab-loggen
systemctl status simulationlab-listener

Check Agent Logs on the VM

When troubleshooting or verifying, agent logs can be viewed directly on the VM:

# Password: Infisical `simlab-linux-password`
ssh ubuntu@10.50.1.30
journalctl -u imvee-satellite -f

For the last 100 lines without live follow:

journalctl -u imvee-satellite -n 100 --no-pager

:::info [Windows scenarios] Windows scenarios require manually providing Windows ISOs in images/. Once ISOs are present: make apply creates the Windows VMs, make configure-windows configures them. :::


See Also

On this page