[Paper Review] Enhancing Network Intrusion Detection Performance using Generative Adversarial Networks
This paper proposes enhancing network intrusion detection systems (NIDS) by generating synthetic attack traffic using three GAN models—Vanilla GAN, Wasserstein GAN, and Conditional Tabular GAN—on the CIC-IDS2017 dataset. The approach significantly improves detection performance, achieving a 1.00 precision, 0.82 recall, and 0.90 F1-score for Botnet detection, setting a new benchmark in the literature.
Network intrusion detection systems (NIDS) play a pivotal role in safeguarding critical digital infrastructures against cyber threats. Machine learning-based detection models applied in NIDS are prevalent today. However, the effectiveness of these machine learning-based models is often limited by the evolving and sophisticated nature of intrusion techniques as well as the lack of diverse and updated training samples. In this research, a novel approach for enhancing the performance of an NIDS through the integration of Generative Adversarial Networks (GANs) is proposed. By harnessing the power of GANs in generating synthetic network traffic data that closely mimics real-world network behavior, we address a key challenge associated with NIDS training datasets, which is the data scarcity. Three distinct GAN models (Vanilla GAN, Wasserstein GAN and Conditional Tabular GAN) are implemented in this work to generate authentic network traffic patterns specifically tailored to represent the anomalous activity. We demonstrate how this synthetic data resampling technique can significantly improve the performance of the NIDS model for detecting such activity. By conducting comprehensive experiments using the CIC-IDS2017 benchmark dataset, augmented with GAN-generated data, we offer empirical evidence that shows the effectiveness of our proposed approach. Our findings show that the integration of GANs into NIDS can lead to enhancements in intrusion detection performance for attacks with limited training data, making it a promising avenue for bolstering the cybersecurity posture of organizations in an increasingly interconnected and vulnerable digital landscape.
Motivation & Objective
- Address the critical challenge of data scarcity in training NIDS, particularly for rare attack classes like Botnet.
- Overcome class imbalance in network intrusion datasets by generating realistic synthetic attack samples.
- Improve the detection performance of machine learning-based NIDS through data augmentation using GANs.
- Evaluate and validate the quality of generated attack samples using multiple metrics to ensure fidelity and reliability.
- Demonstrate that increasing the volume of GAN-generated attack samples leads to consistent performance gains across multiple attack classes.
Proposed method
- Employ three distinct GAN architectures—Vanilla GAN, Wasserstein GAN, and Conditional Tabular GAN—to generate synthetic network traffic data representing anomalous behavior.
- Train the GANs on the CIC-IDS2017 dataset to learn the distribution of real attack samples, particularly focusing on the Botnet class.
- Use the generated samples to augment the original CIC-IDS2017 dataset, increasing the number of attack instances while preserving class balance.
- Train a Random Forest (RF) classifier on the augmented dataset to evaluate intrusion detection performance across all attack classes.
- Apply multiple evaluation metrics—precision, recall, and F1-score—to assess detection performance and compare results across different GAN models and sample generation scales.
- Conduct ablation studies by replacing original Botnet samples with 99× generated samples to validate the stability and reliability of the augmentation process.
Experimental results
Research questions
- RQ1Can GAN-based data augmentation effectively improve the detection performance of NIDS for rare attack classes?
- RQ2How does the quality of GAN-generated attack samples compare to real attack samples in terms of distributional similarity?
- RQ3Does increasing the number of generated attack samples lead to consistent improvements in NIDS performance across different attack types?
- RQ4To what extent does the augmentation process affect the detection performance of non-augmented attack classes?
- RQ5Can GAN-augmented training achieve state-of-the-art performance on the CIC-IDS2017 benchmark for Botnet detection?
Key findings
- The proposed GAN-augmented NIDS achieved a precision of 1.00, recall of 0.82, and F1-score of 0.90 for Botnet detection, outperforming existing methods.
- The integration of 99 times the original Botnet samples via WGAN generation led to a stable performance with 1.00 precision and 1.00 F1-score for benign, DoS, Probe, DDoS, and Brute Force classes.
- The Web Attack and Infiltration classes showed marginal improvements within a 4% range, suggesting that performance gains were primarily driven by increased Botnet sample volume rather than model generalization.
- The IDS performance on non-augmented classes remained stable, confirming the validity and reliability of the data augmentation methodology.
- The Conditional Tabular GAN model did not outperform simpler GANs on simpler distributions, indicating that model complexity does not always equate to better performance in this context.
- The study establishes a new benchmark for Botnet detection on CIC-IDS2017, surpassing prior works such as those by Keserwani et al. (F1=0.75) and Lee et al. (F1=0.66).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.