International Journal of Research and Innovation in Social Science (IJRISS)
Enhancing IoT Smart Home Security Through Machine Learning-Based Cyberattack Detection: A Comparative Evaluation
Published July 27, 2026 • Vol. 10, Issue 7, pp. 2275–2287Open Access
DOI: 10.47772/IJRISS.2026.100700159
Abstract
Smart homes depend on interconnected sensors, cameras, routers, mobile applications, and cloud services. This connectivity improves automation and convenience, but it also expands the attack surface for Distributed Denial of Service (DDoS), Denial of Service (DoS), Mirai botnet, brute-force, spoofing, reconnaissance, and man-in-the-middle attacks. Traditional signature-based security is often insufficient because IoT devices are resource-constrained, heterogeneous, and frequently deployed with weak authentication or delayed firmware updates. This study evaluates supervised machine-learning classifiers for detecting cyberattacks in smart-home IoT network traffic using the CICIoT2023 dataset. Four algorithms, namely Random Forest, Decision Tree, k-Nearest Neighbour, and Support Vector Machine, were compared under 50:50, 70:30, and 80:20 train-test split settings. The models were evaluated using accuracy, precision, recall, and F1-score, with emphasis on DDoS, Mirai, and brute-force attack classes that are particularly relevant to smart-home environments. The findings show that tree-based classifiers are highly effective for IoT attack detection. Random Forest achieved the strongest overall accuracy and precision, while Decision Tree showed the most stable recall and F1-score for brute-force detection. The results indicate that Random Forest is suitable as a general-purpose smart-home IDS classifier, whereas Decision Tree or a hybrid ensemble strategy should be considered when missed brute-force attacks carry high operational risk. The paper contributes a clearer empirical comparison of lightweight supervised learning models and provides implementation guidance for smart-home intrusion detection systems.
Keywords: Smart Home Cybersecurity, Machine Learning-Based Intrusion Detection
| Journal | International Journal of Research and Innovation in Social Science (IJRISS) |
|---|---|
| ISSN | 2454-6186 |
| Volume / Issue | Volume 10, Issue 7 |
| Pages | 2275–2287 |
| Publication date | July 27, 2026 |
| DOI | 10.47772/IJRISS.2026.100700159 |
| Publisher | RSIS International |
| License | Open Access |
How to cite this article
Nurin Abyana Balqis Jailani, Haniza Nahar, Nurhashikin Mohd Salleh, & Zulkiflee Muslim (2026). Enhancing IoT Smart Home Security Through Machine Learning-Based Cyberattack Detection: A Comparative Evaluation. International Journal of Research and Innovation in Social Science (IJRISS), 10(7), 2275-2287. https://doi.org/10.47772/IJRISS.2026.100700159
BibTeX
@article{Nurin2026,
title = {Enhancing IoT Smart Home Security Through Machine Learning-Based Cyberattack Detection: A Comparative Evaluation},
author = {Nurin Abyana Balqis Jailani and Haniza Nahar and Nurhashikin Mohd Salleh and Zulkiflee Muslim},
journal = {International Journal of Research and Innovation in Social Science (IJRISS)},
volume = {10},
number = {7},
pages = {2275--2287},
year = {2026},
doi = {10.47772/IJRISS.2026.100700159},
publisher = {RSIS International}
}