A smart, AI-powered platform for identifying and responding to abnormal network traffic patterns in real time through advanced machine learning and interactive visualizations.
CyberRangers merges cutting-edge ML algorithms with live network data inspection to proactively detect and mitigate suspicious activity. The architecture includes:
- Backend: A Python-driven analytics engine using trained machine learning models
- Frontend: A responsive dashboard for visualization and simulated traffic interaction
Backend
- Python 3.8 or higher
- Required Python packages (requirements.bat or requirements.txt)
- Minimum 8GB RAM recommended for training tasks
Frontend
- Node.js v14+
- npm or yarn package manager
Backend Setup
- Navigate to the backend folder:
cd backend- Install the necessary Python packages:
./requirements.bat
# or
pip install -r requirements.txt- (Optional) Prepare the dataset:
python data_preprocessing.pyFrontend Setup
- Navigate to the frontend simulation directory:
cd frontendsim- Install dependencies:
npm installBackend Execution
- Run the core backend application:
cd backend
python app.py- In a new terminal, start the data visualization panel:
python dashboard_v3.pyThe interface will be accessible at http://localhost:5000
Frontend Execution
- To launch the frontend server:
cd frontendsim
npm run devThe dashboard will be available at http://localhost:3000
For production deployment:
npm run build- Live monitoring of network traffic
- Anomaly detection using autoencoder networks
- Graph-based analysis with GNNs
- Reinforcement learning for threat scoring
- Transparent AI-based decision-making
- Network simulation capabilities
- Interactive and analytical frontend dashboard
Backend
- app.py – Primary backend entry point
- autoencoder_model.py – Handles anomaly detection
- gnn_model.py – Performs graph neural network analysis
- rl_threat_scorer.py – Scores threats using reinforcement learning
- xai_explainer.py – Provides explainability for AI decisions
- dashboard_v3.py – Launches visual monitoring interface
Frontend
- Built with ReactJS
- Visual components powered by D3.js
- Simulated traffic environment
- Real-time monitoring panels