Skip to content

SonicDoom25/AegisNet

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›‘οΈ AegisNet

Adaptive Network Intrusion Detection System (IDS)

AegisNet is a machine learning–powered Intrusion Detection System designed to detect malicious network activity in real time using cybersecurity traffic analysis, threat simulation, and live monitoring dashboards.

Built using:

  • FastAPI for backend APIs
  • React + Vite for frontend dashboard
  • LightGBM / ML pipeline for intrusion detection
  • WebSockets for real-time monitoring
  • Chart.js for live analytics visualization

πŸš€ Features

βœ… Real-Time Threat Monitoring

  • Live WebSocket-based monitoring stream
  • Continuous threat probability updates
  • Real-time attack analytics

βœ… Machine Learning Intrusion Detection

  • Binary malicious/benign traffic classification
  • Trained on CIC-IDS2017 cybersecurity dataset
  • Feature preprocessing + scaling pipeline
  • Model versioning support

βœ… Interactive Security Dashboard

  • Threat probability gauge
  • Live threat trend graph
  • Attack distribution analytics
  • Feature importance visualization
  • Prediction history tracking

βœ… Attack Simulation Engine

Simulate:

  • DDoS attacks
  • Botnet traffic
  • Port scanning activity

Useful for:

  • cybersecurity demonstrations
  • SOC dashboard simulation
  • IDS testing workflows

βœ… Live Global Threat Feed

Simulated global attack monitoring:

  • China β†’ Botnet
  • Russia β†’ Port Scan
  • USA β†’ DDoS

Provides a Security Operations Center (SOC)-style monitoring experience.

βœ… Authentication System

  • User registration
  • JWT authentication
  • Login-protected dashboard

βœ… Dataset Uploading

Upload datasets directly from the UI for future retraining workflows.


🧠 Tech Stack

Layer Technology
Frontend React, Vite
Backend FastAPI
ML Framework LightGBM
Database SQLite
Realtime WebSockets
Charts Chart.js
Authentication JWT
Dataset CIC-IDS2017

πŸ“‚ Project Structure

AegisNet/
β”‚
β”œβ”€β”€ backend/
β”‚   β”œβ”€β”€ main.py
β”‚   β”œβ”€β”€ model_loader.py
β”‚   β”œβ”€β”€ predictor.py
β”‚   └── schemas.py
β”‚
β”œβ”€β”€ frontend/
β”‚   β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ public/
β”‚   β”œβ”€β”€ package.json
β”‚   └── vite.config.js
β”‚
β”œβ”€β”€ training/
β”‚   β”œβ”€β”€ preprocess.py
β”‚   └── train_binary.py
β”‚
β”œβ”€β”€ models/
β”‚   └── aegisnet_binary_*.pkl
β”‚
β”œβ”€β”€ data/
β”‚   └── .gitkeep
β”‚
β”œβ”€β”€ requirements.txt
β”œβ”€β”€ Dockerfile
└── README.md

βš™οΈ Installation

1️⃣ Clone Repository

git clone https://github.com/YOUR_USERNAME/AegisNet.git
cd AegisNet

2️⃣ Backend Setup

python -m venv venv

Activate Virtual Environment

Windows

venv\Scripts\activate

Install Dependencies

pip install -r requirements.txt

Run Backend

uvicorn backend.main:app --reload

Backend runs at:

http://localhost:8000

3️⃣ Frontend Setup

cd frontend
npm install
npm run dev

Frontend runs at:

http://localhost:5173

πŸ§ͺ Training the Model

Run:

python training/train_binary.py

The trained model will be saved inside:

models/

πŸ“Š Dataset

This project uses the:

CIC-IDS2017 Dataset

Contains:

  • benign traffic
  • DDoS attacks
  • botnet traffic
  • brute force attacks
  • port scans
  • infiltration traffic

πŸ” Authentication

AegisNet uses:

  • JWT access tokens
  • password hashing
  • protected API routes

🌍 Future Roadmap (v0.2.0)

Planned upgrades:

  • autonomous threat intelligence engine
  • geolocation-based attack mapping
  • SIEM integrations
  • anomaly detection
  • explainable AI threat reasoning
  • live packet capture support
  • advanced SOC visualization
  • multi-model ensemble detection
  • Docker Compose deployment
  • cloud deployment pipeline

πŸ“Œ Current Version

v0.1.0

πŸ‘¨β€πŸ’» Author

Vedant Cybersecurity + AI/ML Developer


⚠️ Disclaimer

This project is intended for:

  • educational purposes
  • cybersecurity research
  • IDS experimentation

Not intended for production enterprise deployment yet.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors