Blue team · SIEM · Open source

AegisSOC

A real-time mini-SIEM and log analyzer. It tails your access logs, detects attacks, records hostile IPs in a SQLite blocklist and streams everything to an Orbital SOC dashboard over WebSocket.

Dashboard

Threat velocity chart, streaming log terminal with highlighted payloads, severity badges, active threats and top attackers.
Threat velocity chart, streaming log terminal with highlighted payloads, severity badges, active threats and top attackers.
Active Blocklist drawer: inspect, manual block, and one-click unblock with undo.
Active Blocklist drawer: inspect, manual block, and one-click unblock with undo.

Detection engine

SQL injection

UNION SELECT, boolean tautologies, stacked queries, time-based blind, schema recon and file primitives.

Cross-site scripting

Script tags, event handlers, javascript: URIs and DOM sinks.

Path traversal

../ in plain, URL and double URL encoding, /etc/passwd, win.ini and null bytes.

Brute force

Sliding window: by default 5 failed logins in 60 seconds per IP (HTTP 401/403 on auth paths, or sshd failures).

Features

Live log tailing

watchdog-based tailing of nginx/Apache combined logs and sshd failed-password lines, with a polling safety net and rotation handling.

Automated banning

Critical hits and brute force ban immediately. Other hits ban after 3 in 5 minutes. Stored in SQLite alerts and blocklist tables.

Alert dispatcher

Optional Discord and Telegram webhooks.

Attack simulator

simulate_attacks.py runs an end-to-end attack run to verify detection.

Architecture

access.log --watchdog--> parser --> detector --> SQLite (alerts, blocklist)
                                        |
                                        +--> WebSocket /ws --> React dashboard
                                        +--> Discord / Telegram webhooks

Tech

PythonFastAPIWebSocketSQLitewatchdogReactTypeScriptTailwind CSSFramer MotionRechartsDocker

Honest limits

  • This page is a static showcase. The live system needs a Python backend and a log file, so it does not run here.
  • Banning is a record in the blocklist and a signal in the UI and webhooks. AegisSOC does not touch your firewall. Feed GET /api/blocklist to fail2ban, nginx deny or a WAF to enforce it.
  • It is a mini-SIEM for learning and small setups, not a replacement for a production SIEM.
  • No demo video yet.

Run it yourself

git clone https://github.com/mkx-official/AegisSOC.git
cd AegisSOC
cp .env.example .env    # optional webhooks
docker compose up --build
# dashboard: http://localhost:8080
python simulate_attacks.py