ROBUSTIDS: evaluating and defending machine learning-based network intrusion detection against adversarial evasion under realizable feature constraints
Nachaat Mohamed, Hamed Taherdoost
Key points
From the paper's conclusion- Under realizable constraints both augmentations lower the already small residual evasion by at most 2.3 percentage points, and the noise control does at least as well as adversarial training.
Abstract
Machine learning-based network intrusion detection systems (ML-IDS) report high accuracy on public benchmarks, but accuracy says little about how they behave when an attacker shapes traffic to avoid detection. ROBUSTIDS is an evaluation and defense protocol that measures evasion of Random Forest (RF), Decision Tree (DT), and Logistic Regression (LR) detectors on the UNSW-NB15 dataset under the Fast Gradient Sign Method (FGSM), Projected Gradient Descent (PGD), and the Carlini-Wagner L2 attack (C&W), using linear, multilayer perceptron, and query-distilled surrogates. Every attack is run in two threat regimes: an unconstrained feature space, and a realizable regime in which only flow duration, source packets, and source bytes can grow while dependent features are recomputed. All results are averaged over five seeds. The RF baseline reaches 95.07 ± 0.08% accuracy and a macro-F1 of 94.67 ± 0.09%. In the unconstrained regime, transferred PGD evades the RF on 41.2% of detected attack flows at ε = 0.50 and the DT on 61.2%, white-box FGSM evades the LR on 85.4% at ε = 0.20, and high-confidence C&W transfers to the RF at 45.4%. Under realizable constraints mean RF evasion stays at or below 3.3% (6.1% in the worst seed), while the DT still reaches 27.5%. Adversarial training of an identically configured RF removes unconstrained evasion almost entirely at no clean-accuracy cost, yet a random-noise augmentation control does the same, and both defended models flag most randomly perturbed benign flows as attacks. Under realizable constraints both augmentations lower the already small residual evasion by at most 2.3 percentage points, and the noise control does at least as well as adversarial training. Feature-space evaluations can therefore overstate both the threat to tree ensembles and the benefit of adversarial training. The protocol, code, and per-seed results are released to support replication.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Adversarial Robustness Is Not Zero-Day Generalization: A Controlled Evaluation of Flow-Based Intrusion Detectors on Corrected CIC-IDS2017arXiv · 2026
- Understanding the adversary: A survey of adversarial machine learning in network intrusion detectionComputer Science Review · 2026
- Dataset-Calibrated Perturbation Budgets for Adversarial Robustness Evaluation of Machine-Learning Network Intrusion Detection SystemsTechnologies · 2026
- Adversarial RL for Port-Scan Evasion: Attacker Feature Visibility in Edge-Deployed IDSarXiv · 2026
- Generative Red Teaming for Robust Network Intrusion Detection: A Constrained Adversarial ApproachACM Transactions on Internet Technology · 2026
- LLM-Orchestrated Evasion of Tabular NIDS and GAN Augmentation for Multimodal DetectionApplied Sciences · 2026