Frontiers in Big Data

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

Nachaat Mohamed, Hamed Taherdoost

Computational

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

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