ROBUSTIDS: evaluating and defending machine learning-based network intrusion detection against adversarial evasion under realizable feature constraints

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.

Authors

Institutions

Publication Details

Journal
Frontiers in Big Data
Published
2026-11-26
DOI
https://doi.org/10.3389/fdata.2026.2018905
Primary Topic
Adversarial Robustness in Machine Learning
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

ROBUSTIDS: evaluating and defending machine learning-based network intrusion detection against adversarial evasion under realizable feature constraints

Nachaat AbdElatif Mohamed, Hamed Taherdoost
Frontiers in Big Data
Adversarial Robustness in Machine Learning
article

ROBUSTIDS: evaluating and defending machine learning-based network intrusion detection against adversarial evasion under realizable feature constraints

Nachaat AbdElatif Mohamed, Hamed Taherdoost
article en

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.

Frontiers in Big DataVol. 9
University Canada West (CA), Global University Systems (GB), Westcliff University (US), Rabdan Academy (AE), Victorian Institute of Technology (AU)
Adversarial Robustness in Machine Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon