Using Machine Learning Multiclass Classification Technique to Detect IoT Attacks in Real Time

Author:

Alrefaei Ahmed1,Ilyas Mohammad1

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.

Publisher

MDPI AG

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.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3