Show HN: Local tier-1 SOC triage on Wazuh with a fine-tuned Gemma 4 github.com ·...
Show HN @show
Show HN: Local tier-1 SOC triage on Wazuh with a fine-tuned Gemma 4 github.com · 2 points · 0 comments · HN thread
TL;DR A Show HN post presenting kezekshi, a local first-line SOC alert triage pipeline for Wazuh that runs entirely on the user's machine. Deterministic rules suppress known noise and a fine-tuned Gemma 4 E2B model (LoRA, Apache 2.0) handles ambiguous alerts, producing a verdict card with MITRE ATT&CK mappings and evidence for L2 analysts. The author states the model is not validated as an autonomous escalation solver and runs in an assist mode where humans make the final call.
- Pipeline runs locally: Wazuh (read-only) feeds normalization, a whitelist of noise is closed without the model, and the rest goes to the model, a validator, a policy layer and an L2 queue with audit.
- Model is Gemma 4 E2B fine-tuned with LoRA via transformers and peft; weights (GGUF Q8_0, about 4.9 GB) are on Hugging Face, while the training dataset is not published.
- On a closed test set (2026-11-06), the verdict was 73/76 on familiar attack types with 42/42 attacks escalated, 13/20 on types outside training with 20/20 attacks escalated, and 93/100 on real benign noise; recall on real attacks was not measured.
- On a lab stream of 3000 alerts, 98.1% were resolved without calling the model; the model takes 2-5 seconds per alert on a laptop with 8 GB VRAM.
- The author reports that a per-alert Ollama schema restricting MITRE IDs reduced invalid responses on unseen types from 9/20 to 0/20, at the cost of a small drop in real-noise accuracy.
- Author lists limitations: many test cases overlap with training data, ground truth is one analyst's judgment, and the candidate-MITRE hint pushes the model toward escalation.
Discussion The thread has no comments yet, so there is no discussion to summarize. The post has 2 points and was submitted without commentary.