Security case study · 2026
Casewright — Local-first AI Security Analyst
An open-source, local-first AI security analyst in Go that takes alerts from Wazuh, Elastic or Security Onion from alert to resolved case — grouping related alerts into one case per attack, investigating it with a local or hosted LLM, and proposing a response a person approves.

P1–P5
severity triage
MITRE
ATT&CK mapping
1 cmd
Docker demo
The problem
SOC teams drown in alert volume — rule-based tools miss novel attacks, related alerts arrive as disconnected noise, and analysts still cross-reference MITRE ATT&CK, look up IOCs, and write remediation notes by hand for every event.
What I built
I built a Go backend that parses syslog, uploads and pasted logs, detects known attacks instantly with Sigma and threshold rules, and sends only the rest to an LLM (Gemini, Ollama, or any OpenAI-compatible API) for classification, MITRE mapping and IOC extraction. Related alerts are grouped into incidents, a tool-calling agent investigates P1/P2 cases with AbuseIPDB, OTX, MITRE and similar-event recall, and YAML playbooks propose responses that analysts approve.
Why it matters
Cheap Sigma and threshold rules catch known attacks with no LLM call; confirmed cases become new rules, so the rules tier keeps growing and fewer events need the model.
Results
- Incidents and case management: alerts grouped by IP, user or host, with assignee, comments, kill-chain view, full timeline, and a cited AI investigation report per high-severity case.
- Human-approved response playbooks — block IP, disable user, isolate host, webhook — with dry-run mode and a full audit log, plus SOC metrics (MTTD, MTTA, MTTR, false-positive rate).
- One-command Docker demo replays a prepared attack chain; semantic search over Qdrant embeddings, Prometheus metrics, RBAC users and a WCAG AA light/dark dashboard.
