A detection written from documentation is a guess about what the logs will say. I wanted to see the logs.
So I built a blue-team lab on a mini PC. It is the proving ground behind my detection catalog (opens in a new tab), and the build is documented in soc-detection-lab (opens in a new tab).
What it runs on
| Layer | Tooling | Job |
|---|---|---|
| Host | Beelink SER5 Pro, Ubuntu Server | Always-on lab host |
| Runtime | Docker, Portainer | Container management for the stack |
| HIDS | Wazuh manager and agents | Process activity, authentication events, file integrity on lab endpoints |
| Endpoints | Windows and Linux test VMs | Where host activity happens |
| Cloud SIEM | Microsoft Sentinel | Identity detection development in KQL |
| Identity | Microsoft 365 lab tenant | Entra ID sign-in and audit logs |
| Access | Tailscale | Private remote access, nothing exposed to the internet |
Two pipelines feed one workflow. Wazuh collects telemetry from the lab endpoints. The lab tenant streams Entra ID logs into Sentinel. Either way, the loop is the same: generate activity, watch what lands in the logs, then build and tune the detection against it.
Making the noise on purpose
I generate test telemetry two ways.
The first is controlled manual activity. Failed sign-ins across several lab accounts from one host reproduce a password spray. A role change triggers the audit detections. Everything runs against identities and machines I own, and nothing touches production or a third party.
The second is Atomic Red Team. Each detection in the catalog maps to its upstream atomic test where one exists, so the trigger is scripted and the expected result is written down.
What is next
The lab is getting a UPS so a power blip does not take the stack down, and NAS storage backed up with restic.
The repository documents architecture and workflow only. It has no tenant identifiers, internal IP addresses, VPN keys, real hostnames, or credentials, and this post does not either.
A rule that has never fired in a lab has not been tested. It has only been written.