r/Wazuh • u/ynprgrmmr • 5h ago
Blocking is the easy part: bursts, release races, and re-detection in an open-source SOAR pipeline (Wazuh → Shuffle → MikroTik CHR, 87 trials)
As a follow-up to my earlier end-to-end block latency measurement on `r/Wazuh`, I tested what happens *after* the initial block in a Wazuh → Shuffle → MikroTik CHR pipeline on OCI across 87 trials—specifically under alert bursts, TTL expiry/release races, and repeated re-detection.
*(Note: This is an architecture and behavior measurement of a single OSS stack, not a product comparison.)*
### Key Findings (87 Trials)
* **Burst throughput is capped by serial Wazuh daemons:** Under concurrent alert bursts, `wazuh-execd` (Active Response) plateaued around **~9.7 actions/s**, while `wazuh-integratord` (webhook hand-off to Shuffle) capped around **~1.33 events/s**.
* **Host CPU returning to normal ≠ pipeline recovered:** Even after CPU utilization dropped back to baseline, queued alerts and backlog drain continued delaying downstream enforcement.
* **Escalating TTL cuts attacker re-exposure:** Replacing a flat block TTL with an escalating TTL policy reduced cumulative attacker pass-through exposure to roughly **1/2 to 1/4** during repeated probing.
* **Release race condition:** When an attacker resumes immediately as a dynamic address-list entry expires, stateless webhook triggers can leave a gap; local stateful tracking closed the re-block window down to **~18 ms**.
### Write-up & Open Data
* **Full article (architecture, charts, and failure modes):** https://dev.to/ynprgrmmr/blocking-is-the-easy-part-bursts-release-races-and-re-detection-in-an-open-source-soar-pipeline-5gm1
* **Raw trial data, harness, and reproduction scripts (MIT / CC BY 4.0):** https://github.com/ynprgrmmr/oss-soar-e2e-latency
*(Disclosure: The Part 1 starter kit linked at the bottom of the post covers the baseline setup only and does not include the Part 2 lifecycle/state-tracking controls, which are open in the repository above.)*
For those running Wazuh Active Response or `integratord` webhooks in production: how are you handling duplicate suppression, queue backpressure, or TTL expiry races on your firewall/router edge?