Litcius/Paper detail

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

Ahmed Alrefaei, Mohammad Ilyas

2024Sensors29 citationsDOIOpen Access PDF

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.

Topics & Concepts

Computer scienceRandom forestArtificial intelligenceMachine learningFeature selectionIntrusion detection systemPreprocessorData miningData pre-processingInternet of ThingsOversamplingBoosting (machine learning)Gradient boostingEmbedded systemComputer networkBandwidth (computing)Network Security and Intrusion DetectionAnomaly Detection Techniques and ApplicationsInternet Traffic Analysis and Secure E-voting