journal article·2023-10-04Open access

Generating Synthetic Dataset for ML-Based IDS Using CTGAN and Feature Selection to Protect Smart IoT Environments

Saleh Alabdulwahab, Young-Tak Kim, Aria Seo, Yunsik Son

Applied Sciences· Volume 13· Issue 19

Abstract

Networks within the Internet of Things (IoT) have some of the most targeted devices due to their lightweight design and the sensitive data exchanged through smart city networks. One way to protect a system from an attack is to use machine learning (ML)-based intrusion detection systems (IDSs), significantly improving classification tasks. Training ML algorithms require a large network traffic dataset; however, large storage and months of recording are required to capture the attacks, which is costly for IoT environments. This study proposes an ML pipeline using the conditional tabular generative adversarial network (CTGAN) model to generate a synthetic dataset. Then, the synthetic dataset was evaluated using several types of statistical and ML metrics. Using a decision tree, the accuracy of the generated dataset reached 0.99, and its lower complexity reached 0.05 s training and 0.004 s test times. The results show that synthetic data accurately reflect real data and are less complex, making them suitable for IoT environments and smart city applications. Thus, the generated synthetic dataset can further train models to secure IoT networks and applications.
Source: crossref · Quality: baseline

Research context

OpenAlex topics: Network Security and Intrusion Detection · Advanced Malware Detection Techniques · Internet Traffic Analysis and Secure E-voting

SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.

Affiliations

Department of Computer Science and Engineering, Dongguk University, Seoul 04620, Republic of Korea

Department of Biomedical Sciences, Korea University College of Medicine, Seoul 02841, Republic of Korea

Funding

National Research Foundation of Korea (NRF) · MSIT (Ministry of Science and ICT)

References (52)

Show source-provided references
1. A data type inference method based on long short-term memory by improved feature for weakness analysis in binary code10.1016/j.future.2019.05.013 ↗
2. Son, Y., Jeong, J., and Lee, Y. (2018). An Adaptive Offloading Method for an IoT-Cloud Converged Virtual Machine System Using a Hybrid Deep Neural Network. Sustainability, 10.10.3390/su10113955 ↗
3. Secure Cloud Storage Service Using Bloom Filters for the Internet of Things10.1109/ACCESS.2019.2915576 ↗
4. Advanced persistent threat organization identification based on software gene of malware
5. Predicting the APT for Cyber Situation Comprehension in 5G-Enabled IoT Scenarios Based on Differentially Private Federated Learning10.1155/2021/8814068 ↗
6. Advanced Persistent threats and how to monitor and deter them10.1016/S1353-4858(11)70086-1 ↗
7. Intrusion Detection using Machine Learning and Feature Selection
8. Comprehensive analysis and recommendation of feature evaluation measures for intrusion detection10.1016/j.heliyon.2020.e04262 ↗
9. An Analytical Comparison on Filter Feature Extraction Method in Data Mining using J48 Classifier
10. Hindy, H., Bayne, E., Bures, M., Atkinson, R., Tachtatzis, C., and Bellekens, X. (2021). Selected Papers from the 12th International Networking Conference, Springer International Publishing.
11. Hussain, F., Abbas, S.G., Fayyaz, U.U., Shah, G.A., Toqeer, A., and Ali, A. (2020, January 5–7). Towards a Universal Features Set for IoT Botnet Attacks Detection. Proceedings of the 2020 IEEE 23rd International Multitopic Conference (INMIC), Bahawalpur, Pakistan.10.1109/INMIC50486.2020.9318106 ↗
12. Machine Learning-Enabled IoT Security: Open Issues and Challenges Under Advanced Persistent Threats
13. Bourou, S., El Saer, A., Velivassaki, T., Voulkidis, A., and Zahariadis, T. (2021). A Review of Tabular Data Synthesis Using GANs on an IDS Dataset. Inf. (Basel), 12.10.3390/info12090375 ↗
14. Appenzeller, A., Leitner, M., Philipp, P., Krempel, E., and Beyerer, J. (2022). Privacy and Utility of Private Synthetic Data for Medical Data Analyses. Appl. Sci., 12.10.3390/app122312320 ↗
15. Soe, Y.N., Feng, Y., Santosa, P.I., Hartanto, R., and Sakurai, K. (2020). Towards a Lightweight Detection System for Cyber Attacks in the IoT Environment Using Corresponding Features. Electronics, 9.10.3390/electronics9010144 ↗
16. Building an efficient intrusion detection system based on feature selection and ensemble classifier10.1016/j.comnet.2020.107247 ↗
17. Scalable machine learning-based intrusion detection system for IoT-enabled smart cities10.1016/j.scs.2020.102324 ↗
18. Somwang, P., and Lilakiatsakun, W. (2012, January 18–20). Intrusion detection technique by using fuzzy ART on computer network security. Proceedings of the 2012 7th IEEE Conference on Industrial Electronics and Applications (ICIEA), Singapore.10.1109/ICIEA.2012.6360815 ↗
19. Decision tree based light weight intrusion detection using a wrapper approach10.1016/j.eswa.2011.06.013 ↗
20. Increasing accuracy and completeness of intrusion detection model using fusion of normalization, feature selection method and support vector machine
21. Rashid, M.M., Kamruzzaman, J., Hassan, M.M., Imam, T., and Gordon, S. (2020). Cyberattacks Detection in IoT-Based Smart City Applications Using Machine Learning Techniques. Int. J. Environ. Res. Public Health, 17.10.3390/ijerph17249347 ↗
22. Early Detection of the Advanced Persistent Threat Attack Using Performance Analysis of Deep Learning10.1109/ACCESS.2020.3029202 ↗
23. Discovering unknown advanced persistent threat using shared features mined by neural networks10.1016/j.comnet.2021.107937 ↗
24. Ensemble classifiers for detection of advanced persistent threats10.30574/gjeta.2020.2.2.0007 ↗
25. APT datasets and attack modeling for automated detection methods: A review10.1016/j.cose.2020.101734 ↗
26. Myneni, S., Chowdhary, A., Sabur, A., Sengupta, S., Agrawal, G., Huang, D., and Kang, M. (2020). Deployable Machine Learning for Security Defense: First International Workshop, MLHat 2020, San Diego, CA, USA, August 24, 2020, Proceedings 1, Springer International Publishing.
27. Real time health care big data analytics model for improved QoS in cardiac disease prediction with IoT devices10.1007/s12553-023-00747-1 ↗
28. Shahriar, M.H., Haque, N.I., Rahman, M.A., and Alonso, M. (2020, January 13–17). G-IDS: Generative Adversarial Networks Assisted Intrusion Detection System. Proceedings of the 2020 IEEE 44th Annual Computers, Software, and Applications Conference (COMPSAC), Madrid, Spain.10.1109/COMPSAC48688.2020.0-218 ↗
29. A GAN and Feature Selection-Based Oversampling Technique for Intrusion Detection
30. Lin, Z., Shi, Y., and Xue, Z. (2022). Advances in Knowledge Discovery and Data Mining, Springer International Publishing.
31. Synthetic attack data generation model applying generative adversarial network for intrusion detection10.1016/j.cose.2022.103054 ↗
32. Strickland, C., Saha, C., Zakar, M., Nejad, S., Tasnim, N., Lizotte, D., and Haque, A. (2023). DRL-GAN: A Hybrid Approach for Binary and Multiclass Network Intrusion Detection. arXiv.
33. Vaccari, I., Chiola, G., Aiello, M., Mongelli, M., and Cambiaso, E. (2020). MQTTset, a New Dataset for Machine Learning Techniques on MQTT. Sensors, 20.10.3390/s20226578 ↗
34. Modeling Tabular data using Conditional GAN
35. (2022, March 06). Scikit-Learn: Machine Learning in Python—Scikit-Learn 1.1.1 Documentation. Available online: https://scikit-learn.org/stable/.
36. (2022, March 06). CTGAN Model—SDV 0.13.1 Documentation. Available online: https://sdv.dev/SDV/user_guides/single_table/ctgan.html.
37. (2022, March 06). Single Table Metrics—SDV 0.13.1 Documentation. Available online: https://sdv.dev/SDV/user_guides/evaluation/single_table_metrics.html.
38. TON_IoT Telemetry Dataset: A New Generation Dataset of IoT and IIoT for Data-Driven Intrusion Detection Systems10.1109/ACCESS.2020.3022862 ↗
39. Towards the development of realistic botnet dataset in the internet of things for network forensic analytics: Bot-iot dataset10.1016/j.future.2019.05.041 ↗
40. (2022, March 06). Tshark(1) Manual Page. Available online: https://www.wireshark.org/docs/man-pages/tshark.html.
41. Generating and Validating Synthetic Training Data for Predicting Bankruptcy of Individual Businesses
42. Zingo, P., and Novocin, A. (2020, January 4–7). Can GAN-Generated Network Traffic be used to Train Traffic Anomaly Classifiers?. Proceedings of the 2020 11th IEEE Annual Information Technology, Electronics and Mobile Communication Conference (IEMCON), Vancouver, BC, Canada.10.1109/IEMCON51383.2020.9284901 ↗
43. Alabdulwahab, S., and Moon, B. (2020). Feature Selection Methods Simultaneously Improve the Detection Accuracy and Model Building Time of Machine Learning Classifiers. Symmetry, 12.10.3390/sym12091424 ↗
44. Benchmarking attribute selection techniques for discrete class data mining
45. Alabrah, A. (2022). A Novel Study: GAN-Based Minority Class Balancing and Machine-Learning-Based Network Intruder Detection Using Chi-Square Feature Selection. Appl. Sci., 12.10.3390/app122211662 ↗
46. A method for machine learning generation of realistic synthetic datasets for validating healthcare applications10.1177/14604582221077000 ↗
47. Brenninkmeijer, B., de Vries, A., Marchiori, E., and Hille, Y. (2019). On the Generation and Evaluation of Tabular Data Using GANs, Radboud University.
48. From Missing Data Imputation to Data Generation10.1016/j.jocs.2022.101640 ↗
49. Underwater Ambient-Noise Removing GAN Based on Magnitude and Phase Spectra10.1109/ACCESS.2021.3051263 ↗
50. Esteban, C., Hyland, S.L., and Rätsch, G. (2017). Real-valued (Medical) Time Series Generation with Recurrent Conditional GANs. arXiv.
51. Sasirekha, G.V.K., Bangari, A., Rao, M., Bapat, J., and Das, D. (2023, January 16). Das Synthesis of IoT Sensor Telemetry Data for Smart Home Edge-IDS Evaluation. Proceedings of the 2023 International Conference on Computer Science, Information Technology and Engineering (ICCoSITE), Jakarta, Indonesia.
52. Effect of Balancing Data Using Synthetic Data on the Performance of Machine Learning Classifiers for Intrusion Detection in Computer Networks10.1109/ACCESS.2022.3205337 ↗