Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleMetrics
Research Article · Open access · Published 11 February 2026

An Optimized Multi-Layer Perceptron Framework for Detecting and Classifying IoT Attacks

Sanchit Vashisht1 & Shalli Rani1

Journal of Computer Science, Volume 21, Issue 12, pp. 2898–2905 · doi.org/10.3844/jcssp.2025.2898.2905

1,333 accesses821 downloads0 citations (Crossref)Metrics
Cite Check for updates

Abstract

The Internet of Things (IoT) is revolutionizing industries by connecting billions of smart devices, enabling automation and information exchange. The expansion of IoT ecosystems has simultaneously increased the surface area for cyberattacks. These environments are particularly vulnerable to a wide range of threats, such as Distributed Denial-of-Service (DDoS), poisoning, brute-force SSH intrusions, and various network reconnaissance techniques. The dynamic nature of IoT traffic makes traditional security measures inadequate, thereby necessitating intelligent and adaptive solutions. This study leverages Artificial Intelligence (AI) to combat the growing cybersecurity challenges in IoT. An optimized Multi-Layer Perceptron model is designed to identify and classify cyberattacks with high precision. Using the RT-IoT2022 dataset, which includes realistic network traffic from IoT devices and multiple attack vectors, the model is trained on the 35 most relevant features selected from a total of 85 using permutation importance. The dataset encompasses both benign and adversarial traffic collected via advanced monitoring tools like Wireshark and Zeek. Through rigorous preprocessing, feature engineering, and hyperparameter tuning, the proposed MLP model shows exceptional performance with an accuracy of 99.98. Comparative analysis further shows the superiority of the optimized MLP model over traditional ML algorithms.

Licence and reuse

Open access. This article is licensed under a Creative Commons Attribution 4.0 International Licence (CC BY 4.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.

How to reuse this article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite this article

Vashisht, S. & Rani, S. (2025). An Optimized Multi-Layer Perceptron Framework for Detecting and Classifying IoT Attacks. Journal of Computer Science, 21(12), 2898–2905. https://doi.org/10.3844/jcssp.2025.2898.2905

Licence
CC BY 4.0
Issue
Volume 21, Issue 12
Policies
Editorial independenceUse of generative AIData availabilityAppeals and complaints
Version
Version of record
An Optimized Multi-Layer Perceptron Framework for Detecting and Classifying IoT AttacksJournal of Computer Science · Volume 21, Issue 12 · pp. 2898–2905 · CC BY 4.0Download