AI-driven simulated DDoS attacks in OMNeT++ using SHAP-based explainability analysis
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.
Authors
- Abbass Nasser (ORCID: https://orcid.org/0000-0002-7768-8953)
- Ahmad Hani El Fawal (ORCID: https://orcid.org/0000-0003-1131-6038)
- Abir Amer
- Guillaume Andrieux (ORCID: https://orcid.org/0000-0002-3545-0963)
- Hadi Shour (ORCID: https://orcid.org/0009-0008-4705-4029)
- Ali Mansour
Institutions
- Centre National de la Recherche Scientifique (FR)
- Holy Spirit University of Kaslik (LB)
- Modern University for Business and Science (LB)
- Institut d'Électronique et des Technologies du numéRique (FR)
- Laboratoire des Sciences et Techniques de l’Information de la Communication et de la Connaissance (FR)
- Nantes Université (FR)
Publication Details
- Journal
- Discover Computing
- Published
- 2026-11-19
- DOI
- https://doi.org/10.1007/s10791-026-10731-8
- Primary Topic
- Network Security and Intrusion Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00