Implementation and Web Deployment of an Anomaly Detection System for IoT Environments Using the CRISP-ML(Q) Methodology
Authors:
- Fernando Gutierrez PortelaFPFernando Gutierrez Portela
- Oscar Augusto Diaz TrianaOTOscar Augusto Diaz Triana
- Andres Felipe YuleAndres Felipe Yule
- Juan Camilo Galeano BucurúJuan Camilo Galeano Bucurú
- Alexander Suarez GómezAGAlexander Suarez Gómez
- Carlos Mario ParedesCPCarlos Mario Paredes
- Diego Martínez-CastroDMDiego Martínez-Castro
Open Access
- 5 October 2026
- journal article
- research article
- Published by MDPI AG in Future Internet
- Vol. 18 (10) , 537
Abstract
The expansion of the Internet of Things (IoT) has intensified cyber risk in Edge deployments with limited computational resources, where conventional intrusion detection systems are unfeasible. Aiming to reduce this gap, a lightweight anomaly detection system for IoT networks has been designed and implemented, structured through the CRISP-ML(Q) (Cross-Industry Standard Process for Machine Learning with Quality Assurance) lifecycle. Unsupervised models (Isolation Forest, OCSVM, K-Means, and Autoencoder) and supervised models (Decision Tree, Extra Trees, and Random Forest) were trained and compared on the BoT-IoT dataset, validating their operational behavior through real-time traffic captures during “TCP RST Flood”, “TCP SYN Flood”, “UDP Flood”, and “ICMP Flood” attacks on a Raspberry Pi 4B platform. Isolation Forest provided the most consistent balance between detection capability and computational cost, while the Autoencoder achieved detection rates of up to 98.8%. Among the supervised models, Random Forest achieved the highest ROC–AUC, reaching 98.5%, whereas Extra Trees showed the lowest inference time under attack conditions (0.50 s). The system was deployed on a Raspberry Pi 4B with a Streamlit interface integrating traffic capture, preprocessing, inference, visualization, resource monitoring, and automated alerts. The results demonstrate the feasibility of combining complementary detection strategies in an operational Edge-based IDS, while highlighting the trade-off between detection performance and computational cost.Keywords
Funding Information
- Universidad Cooperativa de Colombia (INV4148)
- Development of Low-Cost Experimentation Platforms to Facilitate the Adoption and Use of Emerging Technologies in Industrial, Educational, and Urban Contexts (12-2026)
This publication has 38 references indexed in Scilit:
- Memory feedback transformer based intrusion detection system for IoMT healthcare networksInternet of Things, 2025
- Evaluation of the Performance of Unsupervised Learning Algorithms for Intrusion Detection in Unbalanced Data EnvironmentsIEEE Access, 2024
- Intrusion Detection System for IoT using Anomaly Detection Techniques2024
- A Comprehensive Analysis of the Machine Learning Algorithms in IoT IDS SystemsIEEE Access, 2024
- Decentralized Hybrid Intrusion Detection System for Cyber Attack Identification using Machine Learning2023
- Enhancing Intrusion Detection in IoT Communications Through ML Model Generalization With a New Dataset (IDSAI)IEEE Access, 2023
- Anomaly Detection on IoT Network Intrusion Using Machine Learning2020
- AI-IDS: Application of Deep Learning to Real-Time Web Intrusion DetectionIEEE Access, 2020
- Machine Learning Based Intrusion Detection Systems for IoT ApplicationsWireless Personal Communications, 2019
- Towards the development of realistic botnet dataset in the Internet of Things for network forensic analytics: Bot-IoT datasetFuture Generation Computer Systems, 2019