PERTANIKA JOURNAL OF SCIENCE AND TECHNOLOGY

 

e-ISSN 2231-8526
ISSN 0128-7680

Home / Regular Issue / JST Vol. 34 (1) Feb. 2026 / JST-5857-2025

 

An Improved Anomaly-based Intrusion Detection System for IoT Applications using Machine Learning Methods

Shirin Muataz Mohammed Sideek, Nashwan Saleh Ali, Wijdan Younus Abed, and Mustafa Sabah Taha

Pertanika Journal of Science & Technology, Volume 34, Issue 1, February 2026

DOI: https://doi.org/10.47836/jst.34.1.18

Keywords: Binary classifications, information security, Internet of Things, intrusion detection system, machine learning, multi-classifications

Published on: 2026-02-26

The emergence of the Internet of Things (IoT) aimed to enhance people’s way of life by providing a range of smart, networked applications across multiple industries. Due to security vulnerabilities, devices operating in an IoT context encounter several problems. Although several strategies have been proposed to enhance the security and privacy of IoT devices, further work is still required. Machine learning (ML) has become a permanent fixture as a method for efficiently identifying anomalies in IoT networks. Hence, this study focusses on the challenges posed by heterogeneous IoT systems. It proposes a novel hybrid multi-algorithm system that uniquely combines four complementary ML algorithms to enhance anomaly detection in IoT. Unlike existing approaches that rely on single datasets or computationally intensive deep learning (DL), this study introduces a lightweight, yet highly effective framework that combines k-nearest neighbour (KNN), decision tree (DT), random forest (RF), and stacking classifier (SC) algorithms trained on an integrated multi-source dataset to address real-world IoT heterogeneity. The training and testing of the proposed system were conducted using the comprehensive NetFlow-University of Queensland-Network Intrusion Detection System (NF-UQ-NIDS) dataset, which uniquely combines four benchmark datasets: UNSW-NB15, BoT-IoT, ToN-IoT, and CSE-CIC-IDS2018, enabling superior generalisation across diverse IoT environments. The system achieved 99.9% and 96% accuracy rates in binary and multi-class classifications, outperforming state-of-the-art approaches while maintaining computational efficiency suitable for resource-constrained IoT devices.

ISSN 0128-7680

e-ISSN 2231-8526

Article ID

JST-5857-2025

Download Full Article PDF

Share this article

Recent Articles