Skip to content

Joseph Henry Cariazo · security engineering · detection engineering · infrastructure security

10+ years running enterprise infrastructure. Now I attack it and build the detections that catch it.

A home SOC built like a small enterprise: an Active Directory domain behind OPNsense and Suricata, with management, target and attack zones separated under default-deny. It’s monitored by Wazuh, Splunk and Sysmon, with n8n, TheHive and MISP for human-approved response. I attack it with MITRE Caldera and Kali, score each step Prevented, Alerted, Logged-only or Missed, turn every miss into a tested detection, and re-run it blind.

See the results Read a case Browse the code LinkedIn

5
scored purple-team operations across 12 ATT&CK tactics
20
ATT&CK techniques exercised end to end
4 / 5
techniques found cold in the blind re-run, decoy ignored
155
automated tests on the detections and tools, run in CI
0
automatic containment actions: every response waits for a human

The loop, in one picture

The project loop: Build (AD lab, SIEM, SOAR) leads to Attack (Caldera or Kali), then Score every step as Prevented, Alerted, Logged-only or Missed, then Detect: turn misses into tested detections. Detect leads to a re-run or retest that proves the fix, which feeds the next operation's Attack, and to Heartbeat, whose scheduled probes re-test key detections.

Native discovery · OP-002

Missed → Alerted

Built D1: 4+ discovery tools on one host in 10 min. Caught cold in ~5 min.

Workstation → workstation logon · OP-003

Missed → Alerted

Built D2: logons between peer workstations. Caught cold in ~6 min.

Run-key persistence · OP-001

Logged-only → Alerted

Found why Wazuh was silent; wrote rule 510150. Caught in seconds.

SQL injection that reached the database · OP-005

Logged-only → Alerted

Built W1: alert on the WAF's own verdict. Same request retested: now level 10.

ATT&CK coverage heatmap: outcome per technique across OP-001 to OP-005

ATT&CK coverage after OP-001 to OP-005. Purple = a miss turned into a working detection (OP-004, OP-005); amber = still logged-only, on the backlog.

Explore

  • Operations & results


    Five operations, from assumed breach to a web attack from outside, scored Prevented / Alerted / Logged-only / Missed, then a blind re-run to prove the fixes.

    Results

  • Casebook


    Incident reports written as a SOC analyst hands off a case: bottom line, timeline, scope, indicators, response, and what changed.

    Read the cases

  • Detections as code


    Sigma, Wazuh and Splunk rules with must-fire and must-stay-quiet tests that run on every change.

    Detections

  • SOC tools


    EVTX Hunter: triage Windows logs with the same rules, rebuild process trees, and send findings to TheHive.

    Tools

How the lab is built

Three internal zones (management, monitored endpoints, attacker) plus the WAN uplink, under default-deny, with alerts flowing Wazuh → Splunk and high-severity alerts into n8n for enrichment, a TheHive case and a signed Slack approval before any response.

Architecture and data flow

Stack: Wazuh 4.14 · Splunk 10.4 · Sysmon · OPNsense + Suricata · ModSecurity + OWASP CRS · n8n · TheHive 5 · MISP 2.5 · MITRE Caldera 5.3 · Kali · Active Directory · Windows 10/11 · Ubuntu