Enhancing Intrusion Detection Systems with Synthetic Attack Data and Advanced Classification Models

Authors:

Abstract
As the cybersecurity landscape rapidly evolves, Intrusion Detection Systems (IDS) remain a cornerstone of network defense. However, their performance is often hindered by the class imbalance problem in network traffic datasets, where normal traffic and common attacks dominate while rare but critical intrusions are severely underrepresented. This imbalance leads to biased classifiers and poor detection of minority attacks. To address this challenge, we propose a Protocol-Aware Auxiliary Classifier Generative Adversarial Network (PA-ACGAN) that generates realistic, network-valid synthetic samples for under-represented attack classes. By enforcing protocol constraints such as valid TCP/UDP header fields and payload sizes, the model ensures that the augmented traffic conforms to real-world network characteristics. The balanced datasets are then used to train an Extreme Gradient Boosting (XGBoost) classifier, which benefits from improved class representation and robust feature learning. Evaluations conducted on benchmark datasets including NSL-KDD, UNSW-NB15, and CICIDS-2017 demonstrate that our approach significantly enhances intrusion detection performance. Compared to existing state-of-the-art methods, the proposed framework achieves superior results in accuracy, precision, recall, and F1-score, particularly improving detection of rare attack types. This work highlights the effectiveness of combining Protocol-Aware Data Augmentation(PA-DA) with XGBoost classification to mitigate class imbalance and strengthen the reliability of intrusion detection systems.

This publication has 21 references indexed in Scilit: