Affiliation:
1. Electrical Engineering & Computer Science, Florida Atlantic University, 777 Glades Road, Boca Raton, FL 33431, USA
Abstract
This paper presents a real-time intrusion detection system (IDS) aimed at detecting the Internet of Things (IoT) attacks using multiclass classification models within the PySpark architecture. The research objective is to enhance detection accuracy while reducing the prediction time. Various machine learning algorithms are employed using the OneVsRest (OVR) technique. The proposed method utilizes the IoT-23 dataset, which consists of network traffic from smart home IoT devices, for model development. Data preprocessing techniques, such as data cleaning, transformation, scaling, and the synthetic minority oversampling technique (SMOTE), are applied to prepare the dataset. Additionally, feature selection methods are employed to identify the most relevant features for classification. The performance of the classifiers is evaluated using metrics such as accuracy, precision, recall, and F1 score. The results indicate that among the evaluated algorithms, extreme gradient boosting achieves a high accuracy of 98.89%, while random forest demonstrates the most efficient training and prediction times, with a prediction time of only 0.0311 s. The proposed method demonstrates high accuracy in real-time intrusion detection of IoT attacks, outperforming existing approaches.
Reference34 articles.
1. Shen, G., and Liu, B. (2011, January 6–8). The visions, technologies, applications and security issues of Internet of Things. Proceedings of the 2011 International Conference on E-Business and E-Government (ICEE), Shanghai, China.
2. Vailshery, L.S. (2024, February 02). Global IoT and Non-IoT Connections 2010–2025. Statista. Available online: https://www.statista.com/statistics/1101442/iot-number-of-connected-devices-worldwide/.
3. Cisco Newsroom (2024, January 18). Powering an Inclusive, Digital Future for All. Newsroom. January 2023. Available online: https://newsroom.cisco.com/c/r/newsroom/en/us/a/y2023/m01/powering-an-inclusive-digital-future-for-all.html.
4. Cyber Security Measures for Internet of Things Devices;Gupta;Int. J. Eng. Res. Technol.,2020
5. Hung, M. (2024, March 07). Leading the IoT: Gartner Insights on How to Lead in a Connected World. Available online: https://www.gartner.com/imagesrv/books/iot/iotEbook_digital.pdf.