Work

AI-driven simulated DDoS attacks in OMNeT++ using SHAP-based explainability analysis

Year: 2026
Type: article
Abstract: Research on Distributed Denial-of-Service (DDoS) attacks increasingly uses network simulators to generate controlled, secure, and reproducible experimental traffic. This study presents a diagnostic workflow for evaluating cross-environment transfer of machine-learning-based DDoS detection. eXtreme Gradient Boosting (XGBoost), Random Forest (RF), Multilayer Perceptron (MLP), and majority-voting ensemble models were trained on the Canadian Institute for Cybersecurity Distributed Denial of Service 2019 (CICDDoS2019) Benign-versus-DDoS task and applied without retraining to labeled traffic generated using the Objective Modular Network Testbed in C++ (OMNeT++) / Internet Networking (INET) Framework. A repeated-split benchmark with nested feature subsets was used to assess robustness while minimizing leakage risk. The canonical eight-feature configurations achieved mean classification accuracies above 98% across all model families. Cross-environment performance, however, was strongly scenario-dependent. Normal and User Datagram Protocol (UDP) flood traffic were classified consistently by tree-based and hybrid models, whereas Domain Name System (DNS) amplification performance varied across model configurations. Critically, the principal eight-feature consensus models provided almost no overall DDoS detection, with an aggregate recall of only 3.6% across 8,300 simulated attack flows. For TCP connection exhaustion specifically, all 8,000 attack flows were missed. This demonstrates a substantial cross-environment transfer failure despite strong benchmark performance. SHapley Additive exPlanations (SHAP) analysis of the frozen eight-feature XGBoost model, complemented by an auxiliary 79-predictor benchmark-space analysis, identified features influencing predictions and generated testable hypotheses for refining simulated traffic without implying causal simulator mechanisms. Code, simulation configurations, provenance manifests, and derived evidence are publicly available to support reproducibility.
Language: English
Open Access status: gold
Estimated APC paid: $1,520
OpenAlex ID: W7236665508
FWCI:
Cites: 21
Cited by:
Related to: 10