Evaluation and Detection of Cyberattack in IoT-Based Smart City Networks Using Machine Learning on the UNSW-NB15 Dataset

6Citations
Citations of this article
32Readers
Mendeley users who have this article in their library.

Abstract

With the proliferation of Internet of Things (IoT) devices across various applications, for example, smart homes, drones, and healthcare, the security vulnerabilities have also increased, necessitat-ing robust network intrusion detection systems (NIDS). This study focuses on the classification of cyberattacks, including denial of service (DoS), worms, and backdoor attacks, from normal network traffic using the UNSW-NB15 dataset. machine learning (ML) and deep learning (DL) models, such as decision tree (DT) classifier, K-nearest-neighbor (KNN) classifier, linear regression, linear support vector machine, logistic regression (LR), multi-layer perceptron (MLP), and random forest (RF), were employed for both binary and multi-class classification. Data preprocessing involved handling null values, one-hot encoding categorical variables, and normalizing numer-ical features. Feature selection was performed using the Pearson correlation coefficient method, reducing the dataset attributes significantly. The models demonstrated high accuracy in detecting anomalies, with the RF classifier achieving the highest accuracy of 98.64% for binary classification and notable performance across multi-class classifications. This study underscores the effectiveness of ML techniques in enhancing IoT network security and offers comprehensive insights.

Cite

CITATION STYLE

APA

Ali, M., Pervez, S., Hosseini, S. E., & Siddhu, M. K. (2025). Evaluation and Detection of Cyberattack in IoT-Based Smart City Networks Using Machine Learning on the UNSW-NB15 Dataset. International Journal of Online and Biomedical Engineering, 21(2), 157–170. https://doi.org/10.3991/ijoe.v21i02.52671

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free