Phase B is complete. The lab now has a detection pack I wrote: Sigma rules ported to Wazuh by hand, each one mapped to MITRE ATT&CK and pinned by test cases for what it must fire on and what it must leave alone. Then the pack had to face the real thing. Atomic Red Team tests ran on the Windows endpoint, and a rule counts as validated only if it raised a live alert inside its test’s window.
The lesson that kept repeating: a miss is worth as much as a hit if it has a cause. A hit tells me the rule works. A miss with no cause tells me nothing. So every rule that did not fire got run down until I could say why.
Defender took the first ones. It stopped the commands before they connected, so my rules never got their events. The lab still saw it happen, through Defender’s own detection and a stock Wazuh rule. The behavior was caught, by Defender and not by my rules. Those rules stay in the pack and stay unvalidated.
The best catch of the phase was a clock. Two rules missed on the first run and validated on a later one, and nothing about the rules had changed. The Dell had been rebooted. Its clock is corrected once a day and Sysmon’s network timestamps do not follow. Once they trail, Sysmon cannot name a short-lived process, and my config drops a connection it cannot name. I went looking for a broken rule and found a gap in the sensor. That is one test each way, not a series, and fixing the time sync is planned for a later phase.
One thing I could not explain. Defender’s real-time protection read on, and the standard EICAR test file still sat untouched for over a minute. An on-demand scan caught it at once. A status read proves the switch, not the protection. Phase A taught me that Active is not proof, and this is the same lesson in a different place.
The rules behind the lessons Link to heading
| Rule | ATT&CK | What happened |
|---|---|---|
| 100340 | T1105 | Blocked by Defender |
| 100341 | T1218.010, T1559.001 | Blocked by Defender |
| 100342 | T1218.011 | Blocked by Defender |
| 100343 | T1105 | Missed, then validated after a reboot |
| 100412 | T1590 | Missed, then validated after a reboot |
| 100344 | T1105 | Not run. No test in the pinned set fits it |
The full results table is in the writeup, with every rule, its test and its session. I do not type the counts. They are generated from files in the repo, and a check refuses any count or percentage I write by hand, there and in this post. Anyone with a clone can rebuild them with one command.
What I’m taking with me Link to heading
- A rule that passes in the test engine is a rule that exists. Only a live alert makes it a detection.
- Run down every miss. Two of mine were the sensor, not the rule.
- The limits are part of the result. Every validation here is one test, run once, on one Windows machine.
Next up: Phase C, Active Directory attack and defense. A small domain, a detection chain, and a purple-team report.