Skip to content

Sreeshan7/EvoIDS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

🛡️ EvoIDS

Drift-Aware Self-Evolving Intrusion Detection Framework for Non-Stationary Cloud Environments

Cloud Security Machine Learning Status

EvoIDS Health Monitor Dashboard

Network intrusion detection in cloud computing faces the fundamental challenge of concept drift, where shifting traffic patterns, user behaviors, and new attack methodologies rapidly degrade static model performance. EvoIDS introduces a unified framework combining adaptive learning with open-set recognition to maintain robust operational effectiveness under temporally shifting, realistic cloud traffic conditions.


🌟 Key Contributions

EvoIDS represents a paradigm shift from static classifiers to dynamic, self-healing intrusion detection systems.

  • 🕰️ Realistic Temporal Evaluation: Highlights the pitfalls of random train-test splitting (which overstates performance) and demonstrates the severity of model degradation (up to 64% drop in operational performance) under realistic chronological deployments on the CICIDS2017 dataset.
  • 🧬 Drift-Guided Self-Evolution: Introduces a Multi-Signal Health Monitor (MSHM) using Population Stability Index (PSI) and prediction confidence to trigger adaptive retraining, successfully recovering up to 99.5% accuracy.
  • 🔍 Multi-Detector Open-Set Recognition (MDOM): Fuses autoencoder reconstruction, k-NN latent-space distance, Isolation Forest, and Mahalanobis distances using CDF-rank composition to flag 99.96% of PortScan, 91.53% of DDoS, and 85.74% of Bot zero-day attacks.

🏗️ System Architecture

EvoIDS is comprised of three core coordinated subsystems designed to keep the intrusion detection robust over time.

🎯 1. Supervised Classification

At the heart of EvoIDS is a high-efficiency LightGBM gradient boosting classifier that distinguishes malicious network activity from legitimate traffic. Unlike static classifiers, this subsystem is fully designed to have its parameters incrementally updated or fine-tuned seamlessly.

🩺 2. Multi-Signal Health Monitor

Monitors incoming traffic for covariate and concept drift without relying on a single metric heuristic. It integrates:
  • PSI: Quantifies covariate drift by comparing feature distributions.
  • Error Rate Tracking: Identifies shifts in the ground-truth relation.
  • Prediction Confidence Distribution: Analyzes entropy to judge model certainty.

🛡️ 3. Multi-Detector Open-Set Module (MDOM)

A parallel processing stream identifying novel attacks by verifying flow conformity against known distributions. Uses 5 complementary detectors fused via Cumulative Distribution Function (CDF) rank aggregation to score the "unknownness" of each sample.

Open Set Zero-Day Detection

📊 Experimental Results

📈 Static Model Degradation vs. EvoIDS Adaptive Recovery

When evaluated chronologically, conventional static models suffer a catastrophic drop in performance. By leveraging a Replay Memory and triggering retraining only when drift thresholds are crossed, EvoIDS effectively adapts its decision boundaries.

Static models exhibit a sharp F1-score and Accuracy collapse when exposed to temporally subsequent data (Concept Drift).


EvoIDS seamlessly adapts and recovers predictive performance, showcasing an average gain of 24.7 percentage points compared to static deployments.


🔬 Out-of-Distribution Detection & Features

EvoIDS successfully maps and flags unknown inputs using Mahalanobis distance and latent-space analysis.

Mahalanobis distance separating known vs unknown classes.


Global Feature Importance determining attack attributes.


Per-Attack Detection Rate Comparison across different threat vectors.


Released under the Standard License. For full details, please refer to the research paper included in this repository.

About

EvoIDS is a self-evolving intrusion detection system that detects concept drift, adapts to changing network traffic patterns, and identifies zero-day attacks using a multi-detector open-set recognition framework.

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors