Inspiration

Existing security tools are reactive by design — they alert you after a threat has already established itself. We wanted to flip that. The idea behind AEGIS was simple: what if a system could read the early signals of an attack, score the risk before it peaks, and act on it autonomously? That question, combined with the availability of rich public network datasets and modern ML infrastructure, is what set this project in motion.

What it does

AEGIS is a predictive cyber defense platform that runs a fully autonomous 7-phase pipeline — from live network telemetry ingestion to verified countermeasure execution. It forecasts escalation risk using an XGBoost early-warning model, scores threats through a deterministic hybrid formula, groups activity into investigation episodes, matches new threats against past attack patterns using kinematic memory, and simulates counterfactual outcomes before dispatching a response. Every phase feeds the next, closing the loop without human intervention.

How we built it

The pipeline is trained across 15 real-world network datasets spanning general intrusion detection (CIC-IDS 2017, 2018) and IoT-specific corpora. The backend is a FastAPI service with a runtime Random Forest inference model, multi-tenant architecture, and a false-positive feedback loop. The frontend dashboard is built in React and deployed on Vercel. We used Nebius infrastructure with NVIDIA GPU acceleration for model training and real-time inference, making it fast enough to operate inside an active SOC environment.

Challenges we ran into

Unifying 15 heterogeneous datasets into a single coherent pipeline without leaking future information across phases was harder than expected. Building meaningful episode detection — knowing when one threat ends and another begins — required careful tuning of cooldown windows and gap thresholds. Getting multi-tenant data isolation right without introducing a database (staying file-based throughout) also forced creative architecture decisions.

Accomplishments that we’re proud of

A fully working end-to-end pipeline — from raw packets to verified dispatch — running on real public datasets. A runtime inference endpoint that returns escalation predictions in milliseconds. A counterfactual simulation engine that shows what would have happened if a threat went unaddressed. And a live packet capture module that bridges the gap between historical training and real network traffic.

What we learned

That the hardest part of building a security product isn’t the ML — it’s the data engineering. Keeping phases cleanly separated, maintaining compliance labels at every output, and building for multi-tenancy from the start rather than retrofitting it are lessons we’ll carry forward.

What’s next for AEGIS

Real firewall and SIEM integrations, enterprise RBAC and SSO, a model retraining pipeline that learns from flagged false positives, and a FAISS-backed vector memory store for faster episode matching at scale. The eventual target: IoT and OT security, where autonomous response time matters most and human-in-the-loop is often not an option.

Built With

Share this project:

Updates

Submission history