Implementation and Web Deployment of an Anomaly Detection System for IoT Environments Using the CRISP-ML(Q) Methodology
Fernando Gutierrez Portela, Oscar Augusto Diaz Triana, Andres Felipe Yule, Juan Camilo Galeano Bucurú, Alexander Suarez Gómez, Carlos Mario Paredes, Diego Martínez-Castro
Key points
From the paper's conclusion- 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.
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.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Cross-Tier ML Intrusion Detection for Resource-Constrained Environmental IoT Sensor NetworksComputers · 2026
- An optimized gradient boosting framework for IoT intrusion detection: a comprehensive evaluation on the CICIoT2023 datasetScientific Reports · 2026
- From Sensor to Server: Deployable Lightweight ML for IoT Intrusion Detection Across Network LayersIEEE Internet of Things Journal · 2026
- Hybrid Intrusion Detection System with Real-Time Concept Drift Detection for Enhanced IoT Security.Sensors (Basel, Switzerland) · 2026
- Quantized autonomous edge intrusion detection system for adaptive feature aware internet of medical things networksDiscover Computing · 2026
- Comparative Analysis of Machine Learning Classifiers for Lightweight IoT Intrusion Detection Using Feature ReductionarXiv · 2026