Hybrid AI-Based Framework for Generating Realistic Attack-Related Network Flow Data for Cybersecurity Digital Twins
Source abstract
Abstract
In the context of cybersecurity digital twin environments, the ability to simulate realistic network traffic is critical for validating and training intrusion detection systems. However, generating synthetic data that accurately reflects the complex, time-dependent nature of network flows remains a significant challenge. This paper presents an AI-based data generation approach designed to generate multivariate temporal network flow data that accurately reflects adversarial scenarios. The proposed method integrates a Long Short-Term Memory (LSTM) architecture trained to capture the temporal dynamics of both normal and attack traffic, ensuring the synthetic data preserves realistic, sequence-aware behavioral patterns. To further enhance data fidelity, a combination of deep learning-based generative models and statistical techniques is employed to synthesize both numerical and categorical features while maintaining the correct proportions and temporal relationships between attack and normal traffic. A key contribution of the framework is its ability to generate high-fidelity synthetic data that supports the simulation of realistic, production-like cybersecurity scenarios. Experimental results demonstrate the effectiveness of the approach in generating data that supports robust machine learning-based detection systems, making it a valuable tool for cybersecurity validation and training in digital twin environments.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Network Security and Intrusion Detection · Smart Grid Security and Resilience · Software-Defined Networks and 5G
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
TECNALIA, Basque Research and Technology Alliance (BRTA), 48160 Derio, Bizkaia, Spain
Faculty of Engineering, University of the Basque Country, 48013 Bilbao, Bizkaia, Spain
Funding
European Union’s Horizon Europe research and innovation programme
References (35)
Show source-provided references
1. Deep learning for anomaly detection in multivariate time series: Approaches, applications, and challenges10.1016/j.inffus.2022.10.008 ↗
2. Anomaly detection in time series: A comprehensive evaluation10.14778/3538598.3538602 ↗
3. Pokhrel, A., Katta, V., and Colomo-Palacios, R. (July, January 27). Digital twin for cybersecurity incident prediction: A multivocal literature review. Proceedings of the IEEE/ACM 42nd International Conference on Software Engineering Workshops, Seoul, Republic of Korea.
4. Yoon, J., Jarrett, D., and Van der Schaar, M. (2019). Time-series generative adversarial networks. Adv. Neural Inf. Process. Syst., 32.
5. Experience: A comparative analysis of multivariate time-series generative models: A case study on human activity data
6. Brophy, E., Wang, Z., She, Q., and Ward, T. (2021). Generative adversarial networks in time series: A survey and taxonomy. arXiv.
7. Digital twins in security operations: State of the art and future perspectives
8. Engelen, G., Rimmer, V., and Joosen, W. (2021, January 27–27). Troubleshooting an intrusion detection dataset: The CICIDS2017 case study. Proceedings of the 2021 IEEE Security and Privacy Workshops (SPW), Piscataway, NJ, USA.10.1109/SPW53761.2021.00009 ↗
9. Dalamagkas, C., Radoglou-Grammatikis, P., Bouzinis, P., Papadopoulos, I., Lagkas, T., Argyriou, V., Goudos, S., Margounakis, D., Fountoukidis, E., and Sarigiannidis, P. (2025). Federated detection of open charge point protocol 1.6 cyberattacks. arXiv.10.20517/ces.2025.04 ↗
10. Long short-term memory10.1162/neco.1997.9.8.1735 ↗
11. Goodfellow, I.J., Pouget-Abadie, J., Mirza, M., Xu, B., Warde-Farley, D., Ozair, S., Courville, A., and Bengio, Y. (2014). Generative adversarial nets. Adv. Neural Inf. Process. Syst., 27.
12. Kingma, D.P., and Welling, M. (2013). Auto-encoding variational bayes. arXiv.
13. Xu, L., Skoularidou, M., Cuesta-Infante, A., and Veeramachaneni, K. (2019). Modeling tabular data using conditional gan. Adv. Neural Inf. Process. Syst., 32.
14. Nelsen, R.B. (2006). An Introduction to Copulas, Springer.
15. Patki, N., Wedge, R., and Veeramachaneni, K. (2016, January 17–19). The synthetic data vault. Proceedings of the 2016 IEEE international conference on data science and advanced analytics (DSAA), Montreal, QC, Canada.10.1109/DSAA.2016.49 ↗
16. Faleiro, R., Pan, L., Pokhrel, S.R., and Doss, R. (2021, January 28–29). Digital twin for cybersecurity: Towards enhancing cyber resilience. Proceedings of the International Conference on Broadband Communications, Networks and Systems, Melbourne, Australia.10.1007/978-3-030-93479-8_4 ↗
17. A review of digital twins and their application in cybersecurity based on artificial intelligence10.1007/s10462-024-10805-3 ↗
18. Digital twins in cyber effects modelling of IoT/CPS points of low resilience10.1016/j.simpat.2023.102744 ↗
19. Unleashing the digital twin’s potential for ics security10.1109/MSEC.2019.2961650 ↗
20. Realistic synthetic dataset generation for cyber-physical systems: A performance evaluation10.1007/s42452-025-07292-8 ↗
21. Neural networks generative models for time series10.1016/j.jksuci.2022.07.010 ↗
22. Xu, S., Marwah, M., Arlitt, M., and Ramakrishnan, N. (2021, January 15). Stan: Synthetic network traffic generation with generative neural models. Proceedings of the International Workshop on Deployable Machine Learning for Security Defense, Virtual Event.10.1007/978-3-030-87839-9_1 ↗
23. Li, D., Chen, D., Jin, B., Shi, L., Goh, J., and Ng, S.K. (2019, January 17–19). MAD-GAN: Multivariate anomaly detection for time series data with generative adversarial networks. Proceedings of the International Conference on Artificial Neural Networks, Munich, Germany.10.1007/978-3-030-30490-4_56 ↗
24. Ammara, D.A., Ding, J., and Tutschku, K. (2024). Synthetic Network Traffic Data Generation: A Comparative Study. arXiv.
25. Toward generating a new intrusion detection dataset and intrusion traffic characterization
26. Tavallaee, M., Bagheri, E., Lu, W., and Ghorbani, A.A. (2009, January 8–10). A detailed analysis of the KDD CUP 99 data set. Proceedings of the 2009 IEEE Symposium on Computational Intelligence for Security and Defense Applications, Ottawa, ON, Canada.10.1109/CISDA.2009.5356528 ↗
27. A review of time-series analysis for cyber security analytics: From intrusion detection to attack prediction10.1007/s10207-024-00921-0 ↗
28. (2025, September 23). KATEA Blue Prints. Available online: https://katea.digital.tecnalia.dev/docs/hpc/overview/.
29. Dalamagkas, C., Radoglou-Grammatikis, P., Bouzinis, P., Papadopoulos, I., Lagkas, T., Argyriou, V., and Sarigiannidis, P. (2025). Federated OCPP 1.6 Intrusion Detection Dataset. IEEE Dataport.10.1109/TETC.2025.3562346 ↗
30. A normalized Levenshtein distance metric10.1109/TPAMI.2007.1078 ↗
31. A guided tour to approximate string matching10.1145/375360.375365 ↗
32. Miletic, M., and Sariyar, M. (2024). Challenges of using synthetic data generation methods for tabular microdata. Appl. Sci., 14.10.3390/app14145975 ↗
33. DataCebo, Inc. (2016). Synthetic Data Metrics, DataCebo, Inc.
34. Esteban, C., Hyland, S.L., and Rätsch, G. (2017). Real-valued (medical) time series generation with recurrent conditional gans. arXiv.
35. Evaluation is key: A survey on evaluation measures for synthetic time series10.1186/s40537-024-00924-7 ↗