CD-DAR Testbed: an AI-Assisted Security Operations Centre
An AI-assisted security operations centre shaped by National Defence's Cyber Defence - Decision Analysis and Response (CD-DAR) project: it collects logs from 14 test machines, detects suspicious activity with its own rules, correlates alerts into incidents, has a local language model explain each incident with evidence, and lets an analyst approve every response.
Overview
The CD-DAR Testbed is a planned, bench-scale version of the capability National Defence describes in its Cyber Defence - Decision Analysis and Response project: see every device on a network, collect what the defence tools report into one trusted store, show it as a single cyber picture, and help an analyst decide what to do, fast. This page is a build guide; nothing here is built or tested yet.
CD-DAR is one of the largest cyber projects in the Defence Capabilities Blueprint, with a listed funding range of $250 million to $499 million and Assistant Deputy Minister (Digital Services) as the sponsoring group. Its goal is to improve decision support and security across DND/CAF networks so Defensive Cyber Operations (DCO) can detect, analyze and respond to threats in time. That is the same problem every security operations centre faces, at a much larger scale and with much higher stakes.
This build takes the public requirement list and answers each line with open-source tools on my own homelab: Zeek and Suricata on the wire, Wazuh on the hosts, my own Daru SIEM holding a copy of everything, OpenSearch as the data repository, Grafana as the operating picture, Velociraptor for remote forensics, and TheHive for cases and response. On top sits an AI-assisted SOC layer: a Python detection engine, a correlator that turns alerts into incidents, and a local language model on vLLM that explains each incident with evidence. The design rule throughout: the tools rank and explain, a person decides. The model only suggests, code checks what it says, and every response needs human approval and is written to a tamper-evident log.
This is independent research, not part of the CD-DAR project. It uses only public information, synthetic data and my own machines. Where it stands: the whole testbed is now written as code: 120 files of Proxmox scripts, cloud-init, Docker stacks, data pipelines, six Python services, response playbooks and 62 automated tests that pass. What is left is the physical build and the first full run; nothing on this page is measured yet.
The DND Project
The facts below come from the public CD-DAR entry in the Defence Capabilities Blueprint, managed by the Directorate of Capability Integration at National Defence.
| Item | Public detail |
|---|---|
| Project | Cyber Defence - Decision Analysis and Response (CD-DAR), new project |
| Sponsor | Assistant Deputy Minister (Digital Services) |
| Funding range | $250 million to $499 million |
| Networks in scope | Designated Command Network (Comd-Net) extensions and interfaces, and deployable Defence Wide Area Network (DWAN) systems |
| Options Analysis | Completed |
| Definition | In progress |
| Start of implementation | 2026/2027 |
| Initial delivery | 2029/2030 |
| Final delivery | 2030/2031 |
| Capability areas | C4I; Cyber, Electronic and Irregular Warfare; Emerging Technology; Training and Simulation |
| Key industrial capabilities | Artificial Intelligence; Cyber Resilience |
The requirement in plain words: DND/CAF need network discovery, integrated software cyber defence tools, an authoritative Cyber Data Repository (CDR), a Cyber Common Operating Picture (CyCOP), attention to the human factors of the analysts using it, and the ability to do cyber forensics remotely, giving full situational awareness and a timely response across strategic and operational cyber domains.
Target Design
Each row maps one stated CD-DAR need to the component that answers it in this testbed. The status table below tracks each one honestly.
| CD-DAR need | Testbed component | Design requirement |
|---|---|---|
| Network discovery | Nmap, Zeek, NetBox | Scheduled active scans plus passive discovery from Zeek, reconciled against NetBox as the asset source of truth. Unknown devices raise an alert within one scan cycle. |
| Integrated cyber defence tools | Zeek, Suricata, Wazuh, Daru | Network sensors on a SPAN port and agents on every host, all feeding one pipeline instead of separate consoles. |
| Cyber Data Repository | Vector, Kafka, OpenSearch | Every event normalised to one schema (OCSF), tagged with its source and asset, kept with a stated retention, and searchable from one place. |
| Cyber Common Operating Picture | Grafana, OpenSearch Dashboards | One screen showing assets, live alerts, ATT&CK stage, and which mission-critical services each alert touches, refreshed in under a minute. |
| Detection | Python detection engine, Suricata, Zeek, Wazuh | Rules as code (match, threshold, sequence) on the normalised event stream, next to the sensors' own rules, every hit tagged with its ATT&CK technique. |
| Decision analysis | Scoring service, MITRE ATT&CK | Each alert ranked by asset criticality, detection confidence and ATT&CK stage, with a plain-language reason shown next to the score. |
| Contextual analysis | Incident correlator, local LLM on vLLM | Related alerts grouped into one incident with a timeline; a local model explains it, citing evidence; code removes anything not grounded in the evidence. |
| Response | TheHive, Cortex playbooks | Playbooks (triage, contain, release, block) run only when an analyst starts them, each step logged. |
| Remote forensics | Velociraptor | Collect memory, disk artefacts and logs from any enrolled host without being there, with every artefact hashed for chain of custody. |
| Human factors | Workload study | Analyst workload measured (alerts per hour, time per triage, NASA-TLX survey) so the tooling is judged on whether it helps people, not only on what it detects. |
| Deployable networks | k3s kit, store-and-forward | A small deployable sensor kit that keeps collecting when its link drops and syncs to the central repository when it returns. |
Lab Layout
The whole lab runs on one Proxmox node behind its own router VM. Four networks keep the roles apart: management for the security tools, a notional command network of victims, an attacker network that can only reach the victims, and a physical field network behind the deployable kit, which comes home over WireGuard.
How the sensor sees traffic without a physical tap: the lab bridge is set to
forget MAC addresses instantly (bridge-ageing 0), so it floods every frame to
every port like an old hub. The sensor VM's capture card is a member of the victim and attacker
VLANs, so Zeek and Suricata see everything between them. That trick is fine for a lab and
never for production; the field kit uses a real switch mirror port instead.
| Network | Subnet | Machines | Can reach |
|---|---|---|---|
| VLAN 10 management | 10.10.10.0/24 | router, cddar-core, cddar-soc, cddar-sensor | Everything |
| VLAN 20 command (notional) | 10.10.20.0/24 | dc01, ws01, srv01, srv02 | Only the security agent ports, and the attacker's C2 ports so emulation agents can call back |
| VLAN 66 adversary | 10.10.66.0/24 | atk01 | The command network only; never management, never the internet during tests |
| Field network (physical) | 10.10.30.0/24 | kit01 and field devices | The internet through its own uplink; the lab only through WireGuard to Kafka, Wazuh and Velociraptor |
| WireGuard | 10.10.40.0/24 | kit01, analyst laptop | Kit: three service ports. Laptop: the web consoles |
The router's firewall is default-deny with one switch, lab-internet on|off: on while
packages install, off before any attack test runs. Every address and name in the lab is synthetic.
What the Build Will Prove
A homelab cannot stand in for a national defence network, and this one will not claim to. What it can prove, with published methods and data, is narrower and useful:
- One picture from many tools works. Network, host and forensic data from different tools land in one normalised repository and one operating picture, without analysts switching between consoles.
- Context speeds up decisions. Ranking alerts by asset criticality and ATT&CK stage, with a stated reason, is measured against a plain severity-sorted queue for time to triage and missed attacks.
- Discovery finds what the inventory misses. Planted unknown devices are found and flagged, and discovery completeness is measured against the known asset list.
- Forensics can be done remotely. Evidence is collected from a distant host in a measured time, with hashes that prove it was not changed.
- AI can help without being trusted. A local model's incident summaries are measured for how often they pass evidence checks, how much of the evidence they cite, and how often the analyst agrees, while the model is never allowed to act.
- A person stays in charge. No response action runs without approval, and every decision can be replayed from the tamper-evident log.
Architecture
Figure 2: sensors, host agents, discovery and the deployable kit all feed one pipeline into the Cyber Data Repository; the operating picture and decision scoring read from it; an analyst approves every response, and every approval and action is written to the tamper-evident log.
The data path is built around one rule: every tool writes into the same repository in the same schema. Zeek and Suricata watch traffic from a switch SPAN port, Wazuh and Daru watch the hosts, and discovery keeps NetBox current. Vector ships everything through Kafka, normalising it to OCSF on the way, so a login event from a firewall and a login event from a server look the same to the analyst.
On the decision side, a small scoring service reads new alerts, joins them to the asset's criticality in NetBox and to the ATT&CK technique, and writes back a score with a reason the analyst can read. The operating picture shows that ranked list beside the asset map. When the analyst opens a case, TheHive suggests playbook steps, Velociraptor collects evidence remotely, and nothing that changes a system runs until a person approves it.
Every event is stored in one schema, the Open Cybersecurity Schema Framework (OCSF): Zeek and Suricata flows become Network, DNS or HTTP Activity, and every alert from Suricata, Zeek, Wazuh or the discovery service becomes a Detection Finding with its ATT&CK technique. The mapping is written in Vector's language and ships with its own tests, so a broken mapping fails before it reaches the lab.
Decision Scoring
CD-DAR asks for "reliable contextual analysis to support decisions". In this build that is a small scoring service. For every finding it multiplies four factors, each between 0 and 1, and takes the fourth root so the result reads on a 0 to 100 scale:
| Factor | Where it comes from | Example |
|---|---|---|
| Asset criticality | NetBox custom field, 1 to 5, set per asset in inventory.yaml | dc01 = 5 (every login depends on it) |
| Attack stage | The ATT&CK tactic, from Discovery 0.40 to Exfiltration 0.95 and Impact 1.00 | Credential Access = 0.80 |
| Confidence | The sensor's own confidence, 0 to 100% | Suricata rule metadata "confidence High" = 90% |
| Severity | The sensor's severity, OCSF 1 to 5 | Wazuh level 12 = critical |
Multiplying means one weak factor pulls the score down hard, which is what an analyst would do in their head. If several different techniques hit the same asset within 30 minutes, the score rises by up to 15 points and says so. Scores of 60 or more open a TheHive alert; 80 or more are P1.
Every score carries its reasons, in plain words, into the alert the analyst reads:
[P1 92] LSASS access on dc01
- Asset dc01 has criticality 5/5.
- ATT&CK T1003.001 (Credential Access) is at attack stage 0.80.
- Detection confidence is 90%.
- Sensor severity is critical.
No response action has been taken.
The AI-Assisted SOC
Scoring single alerts is not enough: an analyst needs to see an attack as one story, with the evidence, and decide quickly. Four pieces turn the testbed into an AI-assisted security operations centre.
1. Detection engine: rules as code
A small Python engine reads every normalised event from Kafka and applies YAML rules, alongside the rules Suricata, Zeek and Wazuh already ship. Three rule types cover most needs:
| Type | Fires when | Shipped rules |
|---|---|---|
| Match | One event meets every condition | Admin share opened over SMB (T1021.002); any connection from the attacker network into the command network (T1046) |
| Threshold | N events, or N distinct values, per source in a window | Port scan, 40 ports in 2 minutes (T1046); host sweep (T1018); SSH password guessing (T1110.001); DNS tunnelling, 10 long names in 10 minutes (T1048.003) |
| Sequence | Finding A, then finding B, on the same host in a window | Credential access then lateral movement (T1021); discovery then exfiltration (T1048) |
2. Incident correlation
The correlator groups scored findings into incidents. Two findings join the same incident when they share an IP address, in either role, or a user account, within 30 minutes. A finding that links two open incidents merges them, so a workstation that is attacked and then attacks the domain controller stays one story. The incident score is the highest finding score plus 3 for every extra ATT&CK tactic it reached. TheHive gets one alert per incident, updated as it grows, with the full timeline, instead of one alert per detection.
3. AI investigation with a local model
When an incident scores 60 or more and goes quiet for 90 seconds, the investigator asks a local language model, served by vLLM on my own GPU (Qwen2.5-7B-Instruct by default), to explain it. No incident data leaves the lab. Because attackers control some of the text the model reads (DNS names, user agents, file names), the model is treated as untrusted:
- Evidence is numbered and fenced. Each finding becomes E1, E2, and so on; network context becomes C1, C2. Control characters are stripped and long fields are cut. The prompt says the evidence is data, never instructions.
- Every claim must cite evidence that exists. A statement with no valid evidence ID is removed.
- Suggested actions come from an allow-list (block an IP, isolate a host, collect triage, reset credentials, monitor), and the target must appear in the evidence. In the test suite, a DNS name that tells the model to "block 8.8.8.8" produces a suggestion that the checks remove.
- One retry, then give up. If nothing grounded is left, the model gets the list of problems once; after that the analyst works the incident without a summary.
- Recorded. The model name, the prompt hash and the answer hash go into the approval log, so every summary can be traced.
This is the shape of what lands in the TheHive alert (format from the test suite, not a lab result):
### AI investigation (model: cddar-llm, suggestions only)
An outside host scanned dc01, then ws01 showed LSASS access and DNS exfiltration.
What happened
- atk01 scanned dc01 (E1)
- Credentials were read from LSASS on ws01 (E2)
- Data left ws01 over DNS (E3)
Suggested actions (an analyst decides):
- block_ip on 10.10.66.10: source of the scan (E1)
- isolate_host on ws01: stop exfiltration (E3)
Checks removed 5 item(s) from the model's answer:
- recommended_actions[1]: target '8.8.8.8' is not in the evidence, removed
- recommended_actions[2]: 'wipe_disk' is not an allowed action, removed
4. Human-approved response playbooks
| Responder | What it does |
|---|---|
| Triage | Velociraptor collects client info, running processes, network connections and scheduled tasks |
| Contain host | Collects triage first, then quarantines the host so it can only talk to Velociraptor. If collection fails, it stops before the quarantine |
| Release host | Removes the quarantine |
| Block IP | Adds the address to the lab router's block list, refusing anything outside the lab ranges |
These are Cortex responders. They run only when an analyst starts one on an observable in TheHive, and every step is written to the approval log. I chose custom playbooks over a full SOAR platform such as Shuffle to keep the lab small and every action easy to audit.
Daru and Splunk-compatible ingestion
Every normalised event is also sent to my Daru SIEM over Splunk's HTTP Event Collector protocol, so Daru's search, dashboards and alerts work on the whole lab. The pipeline also accepts Splunk HEC itself, so any forwarder or script that speaks it can send logs in, and they go through the same detection engine. Incident reports bring it together: one command writes the timeline with evidence IDs, the checked AI summary, every decision and response step, and the approval log's chain check.
The Operating Picture

The main Grafana dashboard has twelve panels, each answering one question an analyst asks. A second dashboard, Incidents and AI Investigation, lists incidents by score with their kill chain and checked AI summary, and tracks how often the model's answers pass the checks, how much evidence they cite, and how long they take.
- P1 findings, all findings, unknown devices, decisions logged: is anything on fire right now?
- Decision queue: every finding ranked by score, with the asset, ATT&CK technique and the reasons. This replaces the plain severity-sorted list most consoles show.
- Findings by ATT&CK tactic and over time by priority: how far along is an intruder, and is it getting worse?
- Most-targeted assets and top talkers: where is the activity concentrated?
- Network activity per sensor: a flat line means a sensor or its link is down, which matters for the deployable kit.
- Discovered devices and the approval log: what is on the network, and who decided what.
How to Build It
The build splits into a physical part, which I do by hand over about one weekend, and a scripted
part, which the repository does. Full step-by-step instructions, with the exact menu path for every
setting, are in the docs/ folder of the public repository on GitHub.
Step 1: The physical part
- Proxmox node: free about 71 GB of RAM (53 GB with the lite profile) and 1 TB of disk on one node, enable Snippets on the
localstorage, and installgit,rsyncandgenisoimage. - Windows ISOs: download the free Windows Server 2022 and Windows 11 Enterprise evaluation images and
virtio-win.iso, and upload them to Proxmox. - Home router: give the lab router VM a DHCP reservation. Forward UDP 51820 to it only if the kit will sit on a different network.
- Field kit: install Ubuntu Server 24.04 on the mini PC with user
laband the Proxmox node's SSH key, then wire it as in Figure 6. - Switch mirror port: on a TP-Link Easy Smart switch, Monitoring > Port Mirror: enable, destination port 2, sources ports 1 and 3 to 5, ingress and egress. Netgear calls it System > Monitoring > Mirroring.
- GPU machine for the model: any box with an NVIDIA GPU of 16 GB or more, the NVIDIA driver and the NVIDIA Container Toolkit. An existing vLLM or other OpenAI-compatible server works too.
- Windows installs: install Windows Server in
dc01and Windows 11 inws01from the Proxmox console, loading thevioscsidriver so the disk appears.
Step 2: Build the lab (scripted)
cp lab.env.example lab.env # set node name, storage, SSH key
./proxmox/setup-lab-bridge.sh # isolated VLAN-aware bridge in hub mode
./proxmox/create-lab.sh # router, core, soc, sensor, srv01-srv10, atk01
./proxmox/create-windows-shells.sh # dc01 and ws01, with a CD of lab scripts
Step 3: Windows domain (three scripts from the CD)
E:\01-dc01-promote.ps1 -SafeModePassword "..." # dc01: lab.cddar.test forest
E:\02-dc01-populate.ps1 # dc01: synthetic users, audit policy
E:\01-ws01-join.ps1 # ws01: join the domain
Step 4: Deploy everything else
./deploy/deploy.sh all # 30 to 60 minutes
./deploy/deploy.sh passwords # every web console login
./deploy/deploy.sh status # every service should say "up"
./deploy/deploy.sh llm [email protected] # vLLM on my GPU machine for the AI investigator
That one command generates every password and key, then sets up the router (responder key,
WireGuard configs), the core (OpenSearch, Kafka, Vector, Grafana, NetBox with the asset list,
detection engine, scorer, correlator, AI investigator, discovery, approval log), the SOC
(Wazuh, Daru, TheHive, Cortex with the block and playbook responders, Velociraptor, and links
them all), the sensor (Zeek, Suricata with ET Open rules), the Linux
agents and Caldera. Then E:\install-agents.ps1 on both Windows machines adds
Sysmon, the Wazuh agent and the Velociraptor client.
Step 5: The field kit
./deploy/deploy.sh kit 192.168.1.50 # the kit's home-network address
./deploy/deploy.sh internet off # close the lab before any attack test
The kit becomes the gateway and DHCP server for its field network, opens WireGuard to the lab, installs k3s and runs Zeek, Suricata and Vector as one pod, using the same configuration files as the lab sensor.
Step 6: Test it
./tests/emulation/run-all.sh # 10 attack steps, then scores coverage, MTTD, MTTR
.\run-atomics.ps1 -RunId ... # on ws01: Atomic Red Team, 15 techniques, scored the same way
./deploy/deploy.sh ddil # kit outage test: healthy, degraded, cut, restored
| ATT&CK | Step | From | Expected detector |
|---|---|---|---|
| T1046 | Service scan of the command network | atk01 | Suricata (ET Open + lab rule) |
| T1110.001 | SSH password guessing against srv01 | atk01 | Zeek SSH brute-force policy, Wazuh |
| T1021.002 | SMB admin share access on dc01 | atk01, ws01 | Suricata lab rules, Wazuh |
| T1059.001 | Encoded PowerShell | ws01 | Sysmon + Wazuh |
| T1087.002 | Domain account discovery | ws01 | Sysmon + Wazuh |
| T1053.005 | Scheduled task created and deleted | ws01 | Sysmon + Wazuh |
| T1547.001 | Run key added and removed | ws01 | Sysmon + Wazuh |
| T1003.001 | LSASS minidump, deleted at once | ws01 | Sysmon LSASS access + Wazuh |
| T1048.003 | Synthetic document out over DNS to a lab-only zone | ws01 | Zeek long-query notice, Suricata lab rule |
| T1200 | Unknown device plugged into the field switch | field network | Discovery vs NetBox |
Each step is logged to the approval log before it starts, so the scoring script can measure time to detect exactly, and each step cleans up after itself. A missed technique is a result, not a failure: tune the detection, re-run, and publish both runs.
What Is in the Code
All of it is open source under the MIT licence: github.com/TYFSADIK/cd-dar-testbed.
| Folder | What it holds |
|---|---|
proxmox/ | Lab bridge, VM creation, cloud-init for every Linux VM, including the router's default-deny firewall, WireGuard and the restricted lab-block command |
deploy/ | Secret generator and one deploy script with all, per-machine, kit, internet on|off, status, passwords and ddil targets |
stacks/ | Docker Compose stacks for core, SOC and sensor; the Vector OCSF mapping with built-in tests; the OpenSearch index template and retention; the generated Grafana dashboard; Zeek policy and Suricata lab rules |
services/ | Six Python services: detection engine with YAML rules, decision scorer, incident correlator, AI investigator, discovery (Nmap plus passive Zeek sightings against NetBox) and the hash-chained approval log |
responders/ | Cortex responders: block an IP on the router; triage, contain and release playbooks driving Velociraptor |
stacks/llm/ | vLLM for the AI investigator on a GPU machine |
endpoints/ | Windows domain scripts and the Sysmon, Wazuh and Velociraptor installers for Windows and Linux |
kit/ | Field kit setup, the k3s sensor pod, and the outage test |
tests/, tools/ | Emulation runners, Caldera launcher, Atomic Red Team runner, NASA-TLX workload scoring, run scoring, incident reports, NetBox, TheHive, Cortex and Daru setup, chain-of-custody hashing |
Checked before any hardware is touched:
- 62 automated tests pass: 54 Python tests (detection rules, incident correlation and merging, AI answer checks including a prompt-injection case, playbook ordering, scoring, discovery, hash-chain tamper and deletion detection, run scoring, incident reports) and 8 Vector pipeline tests (Zeek, Suricata, Wazuh, Splunk HEC and discovery events mapped to OCSF).
- All four Docker Compose stacks validate, including the Daru override checked against Daru's own compose file, every shell script passes ShellCheck, every cloud-init template renders with no missing values.
- A security review of my own code caught one real problem before it shipped: the endpoint download server would have exposed Velociraptor's private server keys. It now serves a separate folder holding only client files.
What tests on a laptop cannot prove is how it behaves on real hardware. Expect first-run fixes; they will be recorded here.
Testing also caught a real problem in a dependency: Vector 0.62 no longer fills in environment variables in its configuration unless a flag is set, so every pipeline would have started with placeholder text instead of its passwords and addresses. The flag is now set explicitly.
Spec-Gap and Status Table
"Code ready" means written and tested offline, not yet running in the lab. Nothing is "Measured" until a lab run produces the number. This table will be updated in place.
| Capability | Design intent | Status |
|---|---|---|
| Network discovery | Active and passive discovery reconciled with NetBox; unknown devices flagged | Code ready |
| Integrated sensors | Zeek, Suricata, Wazuh and Daru feeding one pipeline | Code ready |
| Cyber Data Repository | OpenSearch with OCSF-normalised events and stated retention | Code ready |
| Cyber COP | Single picture of assets, alerts, ATT&CK stage and mission impact | Code ready |
| Detection engine | Match, threshold and sequence rules as code, ATT&CK-tagged | Code ready |
| Decision scoring | Context-ranked alerts with a readable reason | Code ready |
| Incident correlation | Findings grouped and merged into incidents with timelines; one alert per incident | Code ready |
| AI investigation | Local model on vLLM; evidence-cited summaries checked in code; suggestions only | Code ready |
| AI answer quality | Check pass rate, evidence coverage, analyst agreement, latency | Not tested |
| Daru SIEM and HEC ingestion | Every event copied to Daru; Splunk-compatible input | Code ready |
| Human-approved response | Triage, contain, release and block playbooks; no action without approval; every step logged | Code ready |
| Remote forensics | Velociraptor collection with hashed chain of custody | Code ready |
| ATT&CK coverage | Caldera and Atomic Red Team scenarios scored per technique | Not tested |
| Human factors | Workload and triage time measured against a plain queue | Not tested (form and script ready) |
| Deployable kit | k3s kit with store-and-forward through link loss | Code ready |
Metrics to Publish
- ATT&CK technique coverage: share of emulated techniques detected.
- Mean time to detect and mean time to respond, for the ranked queue and the plain queue.
- False-positive rate per day of normal lab activity.
- Asset discovery completeness against NetBox, and time to flag a planted unknown device.
- Remote forensic collection time per host, and hash verification of every artefact.
- Operating picture freshness: time from event to screen.
- Analyst workload: alerts per hour, time per triage, and NASA-TLX score.
- Deployable kit: events lost during link outages, target zero.
- Incident correlation: alerts per incident, and how many separate alerts the analyst no longer has to open.
- AI investigation: share of answers that pass the evidence checks, evidence coverage, analyst agreement with the assessment, items the checks removed, and latency.
Hardware to Buy First
Most of the build runs on the homelab I already have. The shopping list is short:
| Item | Why | Notes |
|---|---|---|
| Fanless mini PC, 16 GB RAM, 256 GB SSD, two Ethernet ports | The deployable kit | Any N100 or N305 class box with dual 2.5 GbE |
| USB 3 gigabit Ethernet adapter | Third port on the kit, for the mirror port | RTL8153 or AX88179 chipsets work well on Linux |
| 5 or 8 port managed switch with port mirroring | The field network | TP-Link TL-SG105E / TL-SG108E or Netgear GS305E / GS308E |
| One or two small devices | Something on the field network to watch | A Raspberry Pi or an old laptop |
| RAM for the Proxmox node, if short | The lab needs about 71 GB, 53 GB in lite mode | See Figure 9 |
| NVIDIA GPU, 16 GB or more (if none at home) | Runs the local model for AI investigation | Optional: any OpenAI-compatible server works, but data must stay local |
Safety and Legal Notes
Frequently Asked Questions
What is CD-DAR?
Cyber Defence - Decision Analysis and Response (CD-DAR) is a National Defence project listed in the Defence Capabilities Blueprint. It will acquire defensive cyber capabilities for DND/CAF networks: network discovery, integrated cyber defence tools, an authoritative Cyber Data Repository, a Cyber Common Operating Picture, attention to human factors, and remote cyber forensics. The listed funding range is $250 million to $499 million, with implementation starting in 2026/2027 and final delivery in 2030/2031.
Is this build part of the CD-DAR project?
No. This is an independent, personal research build. It uses only the public project description to shape a bench-scale testbed on homelab hardware. It is not affiliated with, funded by, or submitted to DND, the CAF or ADM(DS), and it touches no government network or data.
Which open-source tools does the testbed use?
Zeek and Suricata for network sensing, Nmap and NetBox for discovery, Wazuh with Sysmon and auditd on hosts, the Daru SIEM, Vector and Kafka feeding OpenSearch as the OCSF Cyber Data Repository, a Python detection engine and incident correlator, a local language model on vLLM for incident investigation, Grafana for the cyber COP, TheHive and Cortex for cases and approved response, Velociraptor for remote forensics and quarantine, and Caldera with Atomic Red Team for testing.
Does the AI take any action on its own?
No. A local model on vLLM writes an incident summary and suggests actions, and code checks every claim: each statement must cite evidence that exists, each suggested action must be on an allow-list, and each target must appear in the evidence, or it is removed. The checked summary goes into the TheHive alert. Nothing runs until an analyst starts a responder, and the model's answer is recorded in the tamper-evident approval log.
How will detection and response be tested?
With adversary emulation in an isolated lab segment: MITRE Caldera and Atomic Red Team run known ATT&CK techniques against my own machines. The testbed is scored on ATT&CK coverage, time to detect, time to respond, false-positive rate, asset discovery completeness and remote forensic collection time.
Is anything built or measured yet?
The code is. The whole testbed is written as scripts, configuration, six Python services and response playbooks, with 62 automated tests that pass. The physical build and the first lab run come next, so no capability is measured yet; results will be added to the status table as each one is.
What Happens Next
- Next: buy the kit parts, wire the switch, install Windows, then
deploy.sh all. - First results: the first emulation run's coverage, time to detect and time to respond, published as a table here, missed techniques included.
- Winter fit: like the other software builds, this one needs no field weather window, so it runs through the southern Ontario winter.
- Project timeline: CD-DAR implementation is listed to start in 2026/2027, so this testbed is pre-competitive skill building aligned with where Canada's defensive cyber work is heading.
Cite This Page
Citation formats
Plain text
Taki Sadik, "Cyber Defence Decision Analysis and Response (CD-DAR) Testbed Build Guide", TYFSADIK, https://tyfsadik.org/work/defence/cyber-defence-decision-analysis-response (accessed 2026-11-21).
BibTeX
@misc{sadik-cd-dar-testbed,
author = {Sadik, MD. Taki Yasir Faraji},
title = {Cyber Defence Decision Analysis and Response (CD-DAR) Testbed Build Guide},
year = {2026},
url = {https://tyfsadik.org/work/defence/cyber-defence-decision-analysis-response},
urldate = {2026-11-21}
}
APA
Sadik, M. T. Y. F. (2026). Cyber Defence Decision Analysis and Response (CD-DAR) Testbed Build Guide. TYFSADIK. https://tyfsadik.org/work/defence/cyber-defence-decision-analysis-response