Back home
Cover artwork for XGRU-IDS

XGRU-IDS

Python · PyTorch · Scikit-learn · Networking

Overview

A research-grade IDS that flags malicious network flows using anomaly detection and supervised models.

Problem

Signature-based intrusion detection misses novel attacks and floods analysts with false positives on modern traffic.

Approach

Builing a GRU-based multi-classifier attack detection model based on CIC-IDS-2017 dataset.

Architecture

Capture and flow analysis, a Python feature pipeline, model serving behind a small gRPC API, and a rules engine that maps scores to firewall actions.

Features
  • Flow-based feature extraction (Zeek + custom collectors)
  • Autoencoder anomaly score with tunable threshold
  • Supervised fallback for labelled attack classes
  • Explainable per-flow reports for analysts
  • Replay mode for benchmark datasets (CIC-IDS, UNSW-NB15)
Results

On public benchmarks the hybrid model reaches ~99.4% accuracy with a 0.3% false-positive rate on benign traffic, compared to ~97% for the signature baseline.

Technologies
PythonPyTorchScikit-learnNetworking