Sensors

Leaner but Weaker? Metaheuristic Feature Selection and the Adversarial Robustness of IoT Intrusion Detection

Amnah Alshahrani, Hana Fathi, Arar Al Tawil, Afaf Edinat

Key points

From the paper's conclusion
  • Feature selection for intrusion detection should be tested against an adaptive attacker before it is called lossless.

Abstract

Metaheuristic feature selection is a routine step in IoT intrusion detection research. It is judged almost entirely by subset size, accuracy and running time. Whether the smaller detector is easier to evade has rarely been asked, and this paper asks it. Seven binary metaheuristics (GA, PSO, GWO, WOA, HHO, BSA and the Contraction Mapping Optimizer—CMO) selected features for a LightGBM detector on CICIoT2023, TON_IoT and UNSW-NB15, with 30 runs each under an equal evaluation budget. Every selected subset was then attacked by an adversary allowed to change only the features of its own traffic (sizes, rates and durations) under a fixed budget defined in the full feature space. Three attacks were used: decision-based random search, transfer PGD from a surrogate, and an importance-guided attack. Clean F1 hardly changed; evasion did. On TON_IoT and UNSW-NB15, every standard metaheuristic subset raised the success rate (ASR) of the decision-based attack by a factor of 1.27 to 1.83 over the full feature set at ϵ = 0.1, and on UNSW-NB15, the transfer attacks became 2.4 to 4.7 times more successful. A mutual-information filter of matched size was weaker still. On CICIoT2023, no subset was evaded in more than 1.6% of cases, so reduction did no harm there. The subset size turned out to be a weak predictor (ρ between −0.18 and −0.35). What mattered was what the subset kept, in particular whether it retained features the attacker can move or features computed from them. Adding a cheap validation attack to the usual accuracy and size terms of the fitness pushed all three optimisers we tried away from such features. With the GA, the decision-based ASR on UNSW-NB15 fell from 33.4% to 0.3% (full set: 22.5%) at a cost of 0.015 in F1; with the CMO, the same fitness reached 9.0%. Removing every controllable feature was just as robust and accurate on UNSW-NB15, but on TON_IoT it cost 0.015 in F1 and 0.056 in MCC, which the robust wrappers did not pay. Where the attack was already ineffective, the robust fitness changed nothing. Feature selection for intrusion detection should be tested against an adaptive attacker before it is called lossless. A control with the same accuracy and size weights but no attack term did not reduce evasion, which ties the gain to the attack information. The gain shrank on the official UNSW-NB15 partition and vanished for unseen TON_IoT hosts; under an expanded threat model with more attacker-controllable features, the full UNSW-NB15 detector lost its advantage, while the role of controllable features persisted.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers

Leaner but Weaker? Metaheuristic Feature Selection and the Adversarial Robustness of IoT Intrusion Detection — Science Skim