Design and Implementation of a Machine Learning-Based Adaptive IDS on Raspberry Pi for Smart Home Network Security

The rapid growth of the Internet of Things (IoT) has accelerated the adoption of smart home technologies, offering convenience and automation in daily life. However, this interconnected environment increases the risk of cyber threats, making information security a pressing concern. To address this, the study presents the design and implementation of an adaptive Intrusion Detection System (IDS) based on machine learning, deployed on a Raspberry Pi platform as a low-cost, flexible, and energy-efficient solution for smart home security. Unlike traditional IDS approaches that rely on static, rule-based detection, the proposed system leverages adaptive learning algorithms to identify evolving attack patterns in real time. It integrates network traffic monitoring with carefully selected sensors and detection algorithms to improve responsiveness across various threat types from application-level exploits to network infrastructure attacks. System performance was evaluated through simulated attacks, including DDoS, brute force, and malware injection scenarios. Results show that the adaptive IDS significantly improves detection accuracy to 85%, surpassing the 65% accuracy achieved by conventional methods. The response time was also reduced from 5 seconds to just 2 seconds, demonstrating the system’s suitability for real-time threat mitigation in resource-constrained environments. The Raspberry Pi acts as the IDS host and a firewall enhancement tool, supporting custom iptables rules, whitelist-based access control, and integration with the Elastic Stack for real-time logging and visualization. The system also supports continuous learning by updating its detection models based on new traffic patterns, making it scalable and resilient to future threats. This research contributes to IoT cybersecurity by demonstrating that an adaptive, machine learning-based IDS can be effectively implemented on lightweight hardware without sacrificing performance. It offers a cost-effective and scalable solution to secure smart home networks against increasingly sophisticated cyberattacks.Keywords: Firewall, IDS, IoT, Raspberry, Smart Home

Authors

Publication Details

Journal
Jurnal Sains dan Teknologi Industri
Published
2025-06-30
DOI
https://doi.org/10.24014/sitekin.v22i2.33485
Primary Topic
Internet of Things and Social Network Interactions
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Design and Implementation of a Machine Learning-Based Adaptive IDS on Raspberry Pi for Smart Home Network Security

Rika Mandasari, Sahirul Alam, Ronald J. Adrian
Jurnal Sains dan Teknologi Industri
Internet of Things and Social Network Interactions
article

Design and Implementation of a Machine Learning-Based Adaptive IDS on Raspberry Pi for Smart Home Network Security

Rika Mandasari, Sahirul Alam, Ronald J. Adrian
article en

Abstract

The rapid growth of the Internet of Things (IoT) has accelerated the adoption of smart home technologies, offering convenience and automation in daily life. However, this interconnected environment increases the risk of cyber threats, making information security a pressing concern. To address this, the study presents the design and implementation of an adaptive Intrusion Detection System (IDS) based on machine learning, deployed on a Raspberry Pi platform as a low-cost, flexible, and energy-efficient solution for smart home security. Unlike traditional IDS approaches that rely on static, rule-based detection, the proposed system leverages adaptive learning algorithms to identify evolving attack patterns in real time. It integrates network traffic monitoring with carefully selected sensors and detection algorithms to improve responsiveness across various threat types from application-level exploits to network infrastructure attacks. System performance was evaluated through simulated attacks, including DDoS, brute force, and malware injection scenarios. Results show that the adaptive IDS significantly improves detection accuracy to 85%, surpassing the 65% accuracy achieved by conventional methods. The response time was also reduced from 5 seconds to just 2 seconds, demonstrating the system’s suitability for real-time threat mitigation in resource-constrained environments. The Raspberry Pi acts as the IDS host and a firewall enhancement tool, supporting custom iptables rules, whitelist-based access control, and integration with the Elastic Stack for real-time logging and visualization. The system also supports continuous learning by updating its detection models based on new traffic patterns, making it scalable and resilient to future threats. This research contributes to IoT cybersecurity by demonstrating that an adaptive, machine learning-based IDS can be effectively implemented on lightweight hardware without sacrificing performance. It offers a cost-effective and scalable solution to secure smart home networks against increasingly sophisticated cyberattacks.Keywords: Firewall, IDS, IoT, Raspberry, Smart Home

Jurnal Sains dan Teknologi IndustriVol. 22(2)
Openalex Percentile: Top 73%
Internet of Things and Social Network Interactions
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Design and Implementation of a Machine Learning-Based Adaptive IDS on Raspberry Pi for Smart Home Network Security — Rika Mandasari, Sahirul Alam, et al. · Jurnal Sains dan Teknologi Industri (2025) | TGRS Research Map | TGRS