Publication: A cost effective machine learning based network intrusion detection system using Raspberry Pi for real time analysis
| dc.contributor.author | Wijethilaka R.W.K.S | |
| dc.contributor.author | Yapa, K | |
| dc.contributor.author | Siriwardena, D | |
| dc.date.accessioned | 2026-02-13T07:35:19Z | |
| dc.date.issued | 2025-12-29 | |
| dc.description.abstract | In an increasingly interconnected world, the security of sensitive data and critical operations is paramount. This study presents the development of a Network Intrusion Detection System (NIDS) that analyzes both inbound and outbound network traffic to detect and classify various cyber attacks. The research begins with an extensive review of existing intrusion detection techniques, highlighting the limitations of traditional methods when addressing the unique security challenges posed by distributed networks. To overcome these limitations, advanced machine learning algorithms, including Random Forest, Long Short Term Memory (LSTM) networks, Artificial Neural Networks (ANN), XGBoost, and Naive Bayes, are employed to create a robust and adaptive intrusion detection system. The practical implementation utilizes a Raspberry Pi as the central processing unit for real time traffic analysis, supported by hardware components such as Ethernet cables, LEDs, and buzzers for continuous monitoring and immediate threat response. A comprehensive alert system is developed, sending email notifications to administrators and activating physical indicators to signify detected threats. Our proposed NIDS achieves 96.5 detection accuracy on the NF-UQ-NIDS dataset, with a significantly reduced false positive rate after applying SMOTE. The system processes real time network traffic with an average response time of 50 milliseconds, outperforming traditional IDS solutions in accuracy and efficiency. Evaluation using the NF-UQ-NIDS dataset demonstrates a significant improvement in detection accuracy and response time, establishing the system as an effective tool for safeguarding networks against emerging cyber threats. | |
| dc.identifier.citation | Wijethilaka R, Yapa K, Siriwardena D (2025) A cost effective machine learning based network intrusion detection system using Raspberry Pi for real time analysis. PLoS One 20(12): e0331123. https://doi.org/10.1371/journal.pone.0331123 | |
| dc.identifier.doi | https://doi.org/10.1371/journal.pone.0331123 | |
| dc.identifier.issn | 19326203 | |
| dc.identifier.uri | https://rda.sliit.lk/handle/123456789/4617 | |
| dc.language.iso | en | |
| dc.publisher | PLOS ONE | |
| dc.relation.ispartofseries | PLOS ONE ; Volume 20 Issue 12 December Article number e0331123 | |
| dc.subject | Algorithms | |
| dc.subject | Neural Networks | |
| dc.subject | Computer Communication Networks | |
| dc.subject | Computer Security | |
| dc.subject | Cost-Benefit Analysis | |
| dc.subject | Machine Learning | |
| dc.title | A cost effective machine learning based network intrusion detection system using Raspberry Pi for real time analysis | |
| dc.type | Article | |
| dspace.entity.type | Publication |
