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
- Live WebSocket-based monitoring stream
- Continuous threat probability updates
- Real-time attack analytics
- Binary malicious/benign traffic classification
- Trained on CIC-IDS2017 cybersecurity dataset
- Feature preprocessing + scaling pipeline
- Model versioning support
- Threat probability gauge
- Live threat trend graph
- Attack distribution analytics
- Feature importance visualization
- Prediction history tracking
Simulate:
- DDoS attacks
- Botnet traffic
- Port scanning activity
Useful for:
- cybersecurity demonstrations
- SOC dashboard simulation
- IDS testing workflows
Simulated global attack monitoring:
- China → Botnet
- Russia → Port Scan
- USA → DDoS
Provides a Security Operations Center (SOC)-style monitoring experience.
- User registration
- JWT authentication
- Login-protected dashboard
Upload datasets directly from the UI for future retraining workflows.
| Layer | Technology |
|---|---|
| Frontend | React, Vite |
| Backend | FastAPI |
| ML Framework | LightGBM |
| Database | SQLite |
| Realtime | WebSockets |
| Charts | Chart.js |
| Authentication | JWT |
| Dataset | CIC-IDS2017 |
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.mdgit clone https://github.com/YOUR_USERNAME/AegisNet.git
cd AegisNetpython -m venv venvvenv\Scripts\activatepip install -r requirements.txtuvicorn backend.main:app --reloadBackend runs at:
http://localhost:8000cd frontend
npm install
npm run devFrontend runs at:
http://localhost:5173Run:
python training/train_binary.pyThe trained model will be saved inside:
models/This project uses the:
Contains:
- benign traffic
- DDoS attacks
- botnet traffic
- brute force attacks
- port scans
- infiltration traffic
AegisNet uses:
- JWT access tokens
- password hashing
- protected API routes
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
v0.1.0Vedant Cybersecurity + AI/ML Developer
This project is intended for:
- educational purposes
- cybersecurity research
- IDS experimentation
Not intended for production enterprise deployment yet.