uncle fabs
project 01 · purple team

I attacked my own network, then scored the SIEM

A coverage map is a promise. A real attack is proof. So I ran a controlled purple-team exercise against my own lab, scored every technique honestly, and used the misses to drive new detections.

purple teamAtomic Red Teamdetection engineeringElastic DefendAI pair

the setup

the scoreboard

Round 1 — recon & initial access.

TechniqueWhat I didResultLatency
T1046 Network scan1,035-port scan ×2 + /24 sweepsDETECTED · IPS~41 s
T1595 Web enumeration85 requests at the proxyDETECTED · 4xx burst rule~30 s
T1046 Honeypot touchconnected to the decoy hostDETECTED · slow~4 min
T1595.002 Scanner UAgobuster / Nikto user-agentsMISSED → fixed—
T1110.001 SSH brute force75 failed logins on the MacMISSED → rule added—

Round 2 — execution, persistence & credential access (Atomic Red Team on the Mac).

TechniqueWhat it doesResult
T1056.002 Osascript credential promptfake password dialogDETECTED ×2 · EDR + SIEM rule
T1059.004 Unix shell executionshells from odd parentsDETECTED · EDR behaviour
T1543.001 Launch Agent/Daemonpersistence via plistMISSED · telemetry only
T1053.003 Cronpersistence via cronMISSED
T1518.001 Security software discoverylook for the EDRMISSED

5 detected of 10. And the edge box gave the attacker nothing: all 85 enumeration requests got a 401 before any route, because forward-auth answers first.

what the misses taught me

A green cell on the map ≠ a working rule

My scanner-user-agent rule looked covered, but it had never run once: a KQL syntax error (an escaped space in Fuzz\ Faster) made it fail on every execution. The attack is what surfaced it. Fixed; it now matches cleanly.

Prebuilt rules assume Linux auth logs

The SSH brute force on the Mac went unseen: the prebuilt SSH rules watch logs-system.auth, but macOS reports SSH through the EDR (ssh_log_on). I wrote a rule for the endpoint telemetry (T1110.001 · T1021.004).

EDR catches noise; persistence is quiet

The loud techniques (shells, a fake password prompt) tripped Elastic Defend on their own. The quiet ones (a Launch Daemon, a cron job) only left telemetry, no alert. That's the exact gap detection engineering exists to close, and my next detections to write.

The honest number is 5/10

Not 10/10. A portfolio that claims total coverage is lying. The value is knowing precisely what slipped, why, and what you did next.

round 3: next

The persistence misses (Launch Daemon, cron) become the next detection rules; then I re-run the same atomics and the cells turn green. That loop, attack → measure → write → re-attack, is the whole discipline, on my own equipment, with nobody's data but mine.

← all projects