Embedding Tree-Based Intrusion Detection System in Smart Thermostats for Enhanced IoT Security
Open Access
Abstract
IoT devices with limited resources, and in the absence of gateways, become vulnerable to various attacks, such as denial of service (DoS) and man-in-the-middle (MITM) attacks. Intrusion detection systems (IDS) are designed to detect and respond to these threats in IoT environments. While machine learning-based IDS have typically been deployed at the edge (gateways) or in the cloud, in the absence of gateways, the IDS must be embedded within the sensor nodes themselves. Available datasets mainly contain features extracted from network traffic at the edge (e.g., Raspberry Pi/computer) or cloud servers. We developed a unique dataset, named as Intrusion Detection in the Smart Homes (IDSH) dataset, which is based on features retrievable from microcontroller-based IoT devices. In this work, a Tree-based IDS is embedded into a smart thermostat for real-time intrusion detection. The results demonstrated that the IDS achieved an accuracy of 98.71% for binary classification with an inference time of 276 microseconds, and an accuracy of 97.51% for multi-classification with an inference time of 273 microseconds. Real-time testing showed that the smart thermostat is capable of detecting DoS and MITM attacks without relying on a gateway or cloud.Keywords
Funding Information
- Department of Cyber Security and Networks, School of Computing, Engineering and Built Environment, Glasgow Caledonian University, UK
This publication has 34 references indexed in Scilit:
- Ensemble technique of intrusion detection for IoT-edge platformScientific Reports, 2024
- SDN-based detection and mitigation of DDoS attacks on smart homesComputer Communications, 2024
- Fortifying home IoT security: A framework for comprehensive examination of vulnerabilities and intrusion detection strategies for smart citiesEgyptian Informatics Journal, 2024
- TNN-IDS: Transformer neural network-based intrusion detection system for MQTT-enabled IoT NetworksComputer Networks, 2023
- Review of artificial intelligence for enhancing intrusion detection in the internet of thingsEngineering Applications of Artificial Intelligence, 2023
- An unsupervised TinyML approach applied to the detection of urban noise anomalies under the smart cities environmentInternet of Things, 2023
- Anomaly-based cyberattacks detection for smart homes: A systematic literature reviewInternet of Things, 2023
- Efficient intrusion detection toward IoT networks using cloud–edge collaborationComputer Networks, 2023
- Energy consumption of on-device machine learning models for IoT intrusion detectionInternet of Things, 2022
- TinyML-enabled edge implementation of transfer learning framework for domain generalization in machine fault diagnosisExpert Systems with Applications, 2022