Penetration Testing and Machine Learning-Driven Cybersecurity Framework for IoT and Smart City Wireless Networks

IEEE Access, 2025

Full text Open access: Gold Metadata (CSL-JSON)
DOI 10.1109/access.2025.3569965
Data confidence 85 high
How this score is calculated

It is built from checkable properties of the record itself: whether the article has a DOI, how many independent sources confirmed its data, whether the required fields are filled in, and how recent the latest confirmation is. Disagreement between sources and a missing identifier lower it. A value of 80 or above means the record was published without further checking; 60 to 79 means it is published at reduced confidence, with a manual check advisable. A record verified by an editor by hand is never pushed below 90 by a recalculation. This scores our data about the article, not the article itself.

Abstract

Internet of Things (IoT) technology development speed, along with its integration into smart city infrastructure, requires strong cybersecurity solutions to protect important systems. The research introduces an extensive framework to protect IoT systems and wireless networks through the integration of penetration testing method with anomaly detection and predictive modeling techniques. In this study, we collected real-time network traffic data as part of our methodology before performing penetration tests with Airmon-ng and Wireshark to create enriched attack scenario datasets. Anomalies were identified using an optimized Isolation Forest model, revealing patterns such as unusual activity involving the Tenda_476300 WiFi network. The Tenda_476300 network exhibited frequent authentication packet anomalies, along with other potential misconfiguration or vulnerability indicators. Predictive modeling utilized both logistic regression (LR) and support vector machines (SVM) for binary classification to identify benign from malicious traffic, resulting in high accuracy rates and precise results. XGBoost achieved better performance than Random Forest (RF) across all metrics when performing as a multiclass classifier to identify Denial of Service (DoS), Distributed Denial of Service (DDoS), and brute force attacks. The reliability and robustness of the constructed models were tested using precision, recall, F1 scores, ROC curves, and precision-recall curves during performance evaluation. The anomaly detection and predictive modeling analysis proves that real-time surveillance systems should incorporate these techniques for proactive security threat discovery and defense. The proposed framework delivers a flexible solution for protecting IoT and smart city wireless networks, which helps create safer, resilient urban environments.