beenuar/AiSOC

Open-source AI Security Operations Center: alert fusion, LLM-agent triage, MITRE ATT&CK investigation, and a replayable decision ledger for every agent step. Self-hostable, runs with no API keys, MIT licensed. Ships an MCP server for Claude, Cursor and Continue.

What it solves

Security teams drown in alerts from many separate tools. AiSOC collects telemetry from those tools, normalizes it, runs 2,966 executable detection rules (from a library of 7,407), groups related alerts into incidents, and has an AI agent investigate each incident with fully recorded reasoning. It proposes a response, but a human always approves before anything touches a vendor. Fresh threat intelligence (the CISA Known Exploited Vulnerabilities catalog, no API key) also re-sweeps history you already collected, so new intel can surface things you missed.

How it works

Telemetry arrives by push (a REST ingest API) or by pull — 91 click-and-connect connectors (Splunk, Sentinel, Elastic, CrowdStrike, Okta, AWS, Kubernetes audit, and more) plus collectors for an S3/SQS CloudTrail trail, GCP Pub/Sub, Azure Event Hubs, and syslog/CEF. Each event is normalized to a common shape and stamped with an activity projection (actor, action, resource, location, outcome). Kafka carries events to a rule engine that runs 2,966 executable detection rules plus 76 sliding-window rules, applies your tenant's own tuning (a rule you disabled actually stops firing), and decides what becomes an alert. Correlation groups related alerts, then an AI agent investigates and writes its reasoning to the Investigation Ledger — prompts, tool calls, citations, verdict, token cost. The agent calls typed tools (lake queries, graph traversals, enrichment lookups) but never writes SQL. Playbooks triggered by an alert preview before acting; three switches must agree (deployment, tenant, playbook), all default off, and an approval step is a durable pause that survives restarts and expires with a recorded outcome.

Everything ships with a local model (llama3.2:3b-instruct-q4_K_M, ~2 GB) running via Ollama, sized for CPU-only inference, so triage verdicts and token counts are real, not stubs. A single command (make up) brings up 16 services at ~8 GB RAM; the full profile adds an event lake, entity graph, full-text search, and enrichment (22 services, ~12 GB).

Who it's for

Security operations teams that want to self-host their detection and investigation pipeline, and that value transparent AI-assisted triage with full auditability over a black-box SIEM. It suits organizations migrating existing Splunk, Sentinel, or Elastic detections, since the migration tooling translates those rule languages and refuses what it cannot carry rather than approximating. It is not a drop-in SIEM replacement — it correlates and investigates, but does not replace long-term log retention and compliance search — and it is not autonomous by default: responses require explicit policy authorization and a human approver.

Highlights

  • 2,966 executable detection rules are proven by replaying vendor-shaped events through the real connector and engine and watching them fire — never inferred from a directory or an enabled flag
  • Every AI investigation is logged to an Investigation Ledger (prompts, tool calls, citations, verdict, cost) and exports as a signed evidence bundle (OCSF 1.9.0), byte-identical with prompts as digests
  • A bundled local LLM produces real triage verdicts with zero API keys; CPU-only inference supported, with optional GPU or hosted-model routes
  • 91 click-and-connect data connectors plus S3/SQS, GCP Pub/Sub, Azure Event Hubs, and syslog/CEF collectors, each with resumable cursors and backpressure on backlogs
  • Real CISA KEV threat intelligence feed ships in a fresh install — no API key, neither synthetic nor yours
  • Playbooks require three opt-ins (deployment, tenant, playbook) and human approval by default; previews show the plan before anything acts
  • Maturity gate: any capability marked Stable has a PR-gated test that drives the real production path and includes a negative control proven by breaking the thing and watching it go red
  • Quick start via make up, one-line install scripts for Windows/Linux/macOS, GitHub Codespaces, or an offline sandbox demo via pip install aisoc-sandbox

What it is not

It is not a drop-in SIEM replacement, it cannot see telemetry you have not connected, and it is not autonomous by default — response requires explicit policy authorization and a human approver.

Related

  • Project
  • Project
  • Project
  • Project
  • Project