A bench-scale defensive cyber operations lab and AI-assisted security operations centre, shaped by the public description of National Defence's Cyber Defence - Decision Analysis and Response (CD-DAR) project: network discovery, integrated open-source defence tools, a Cyber Data Repository, a Cyber Common Operating Picture, remote forensics, and response actions that a person approves.
Independent personal research by Taki Sadik. Not affiliated with, funded by, or submitted to DND, the CAF or ADM(DS). Public information, synthetic data and my own hardware only. Project page: https://tyfsadik.org/work/defence/cyber-defence-decision-analysis-response
+----------------- Proxmox node, isolated bridge vmbr2 -----------------+
atk01 (VLAN 66) --> | lab-router (nftables, WireGuard) --> VLAN 20: dc01 ws01 srv01 srv02 |
| | | (hub bridge copy) |
| VLAN 10: cddar-core cddar-soc cddar-sensor (Zeek, Suricata) |
+--------|----------------------------------------------------------------+
| WireGuard
field kit (mini PC, k3s) <-- mirror port -- field switch -- field devices
| CD-DAR need | Here |
|---|---|
| Network discovery | Nmap sweeps + passive Zeek sightings, reconciled with NetBox |
| Integrated cyber defence tools | Zeek, Suricata, Wazuh, Sysmon, auditd, one pipeline |
| Cyber Data Repository | Vector + Kafka -> OpenSearch, every event in OCSF 1.3 |
| Cyber Common Operating Picture | Grafana dashboard CD-DAR Cyber Common Operating Picture |
| Detection | Python rule engine (match, threshold, sequence) plus Suricata, Zeek and Wazuh rules |
| Decision analysis | Scorer: asset criticality x ATT&CK stage x confidence x severity, with reasons |
| Incident correlation | Findings grouped by shared IP or user into incidents with timelines, one TheHive alert each |
| AI investigation | Local LLM on vLLM explains each incident; code checks every cited evidence id, target and action |
| Response | TheHive + Cortex playbooks (triage, contain, release, block) that run only when an analyst starts them |
| SIEM | Daru over Splunk HEC; Splunk-compatible HEC input for any sender |
| Remote forensics | Velociraptor on every endpoint; SHA-256 custody records |
| Human factors | NASA-TLX workload, ranked queue vs plain queue |
| Deployable networks | Physical kit on k3s, store-and-forward through link loss |
| Accountability | Hash-chained approval log of every case, approval, AI answer, response step, emulation step and evidence file |
| Testing | 14 test machines; scripted emulation, Caldera and Atomic Red Team, scored for coverage, MTTD and MTTR |
You (physical, about one weekend): docs/01-physical-setup.md: prepare the Proxmox node, upload Windows ISOs, wire the kit and switch, set the switch mirror port, install Ubuntu on the kit and Windows in two VMs.
Scripts (everything else):
cp lab.env.example lab.env && nano lab.env
./proxmox/setup-lab-bridge.sh
./proxmox/create-lab.sh
./proxmox/create-windows-shells.sh
./deploy/deploy.sh all
./deploy/deploy.sh llm <user@gpu-host> # vLLM for the AI investigator
./deploy/deploy.sh kit <kit-ip>
./deploy/deploy.sh internet off
./tests/emulation/run-all.sh
./deploy/deploy.sh ddil- Physical setup: your part
- Build the lab
- Windows
- SOC console setup
- Running the tests
- Troubleshooting
- The AI-assisted SOC layer: detection rules, incidents, AI investigation, playbooks, Daru
- Architecture reference: addresses, VMs, RAM, ports, firewall matrix
proxmox/ bridge, VM creation, cloud-init for every Linux VM (router firewall lives here)
deploy/ secrets generator and the one deploy script
stacks/core/ OpenSearch, Kafka, Vector (OCSF mapping + tests), Grafana, NetBox
stacks/soc/ TheHive, Cortex, Velociraptor, Wazuh shipper
stacks/sensor/ Zeek policy, Suricata config + lab rules, Vector (also used by the kit)
stacks/llm/ vLLM on a GPU machine for the AI investigator
services/ detector, scorer, correlator, investigator, discovery, approval-log (Python, unit-tested)
responders/ Cortex responders: block an IP; triage, contain and release playbooks (Velociraptor)
endpoints/ Windows and Linux agent installers
kit/ field kit setup, k3s pod, outage test
tests/ emulation runners, Caldera, Atomic Red Team, NASA-TLX
tools/ NetBox, TheHive/Cortex and Daru setup, run scoring, incident reports, custody, dashboards
- Offline checks pass:
./tools/run-tests.sh(54 Python tests, 8 Vector pipeline tests), every Compose file validates (including the Daru override against Daru's own compose file), every shell script is ShellCheck-clean. - Not yet run end to end on the hardware. Expect first-run fixes. Versions are
pinned in the Compose files and
lab.env; bump them once the lab works.
Attack tooling runs only inside the isolated lab, against machines I own. The
attacker VLAN cannot reach management or the internet once lab-internet off is
set. Every name, user and document in the lab is synthetic.
MIT licence.