This project focuses on building a Deep Learning-based Intrusion Detection System (IDS) to detect and classify DDoS (Distributed Denial-of-Service) attacks using the UNSW-NB15 dataset.
The main goal is to improve detection accuracy and reduce false positives by applying different deep learning models and data balancing techniques.
The IDS analyzes network traffic to identify potential DDoS attacks.
Models such as CNN, RNN, and LSTM were trained, and dataset imbalance was handled using SMOTE and ADASYN to improve performance.
- CNN (Convolutional Neural Network): Captures spatial patterns in traffic data.
- RNN (Recurrent Neural Network): Learns temporal dependencies across sequences.
- LSTM (Long Short-Term Memory): Improves detection on time-series data.
- SMOTE: Generates synthetic samples to balance class distribution.
- ADASYN: Focuses on more complex samples to enhance model learning.
- UNSW-NB15 Dataset: A benchmark dataset for network intrusion detection.
| Model | Balancing Technique | Accuracy |
|---|---|---|
| CNN | ADASYN | 74.29% |
| RNN | ADASYN | 74.00% |
| LSTM | Random Oversampling (Other Dataset) | 96.97% |
| XGBoost | Random Oversampling (Other Dataset) | 99.94% |
| Logistic Regression | Random Oversampling (Other Dataset) | 94.05% |
| Decision Tree | Random Oversampling (Other Dataset) | 100% |
| Random Forest | Random Oversampling (Other Dataset) | 100% |
The models using ADASYN with CNN and RNN gave the most balanced and reliable performance on the UNSW dataset.
These results show that adaptive sampling techniques combined with deep learning can effectively improve DDoS detection accuracy.
- Balancing imbalanced datasets improves overall detection reliability.
- ADASYN performs better than standard oversampling in most cases.
- CNN and RNN models effectively capture both spatial and temporal patterns in traffic data.
- Language: Python
- Libraries: TensorFlow/Keras, Scikit-learn, NumPy, Pandas, Matplotlib
- Dataset: UNSW-NB15
- Implement real-time attack detection.
- Combine CNN and LSTM for hybrid modeling.
- Add explainable AI (XAI) techniques for model interpretability.
- Develop a dashboard for live monitoring and analytics.
Dev Sopariwala