Skip to content
#edge computing Open access

A Real-Time Machine Learning-Based Intrusion Detection and Prevention System for Decentralized Networks using Random Forest and Isolation Forest

Oct 2026 · International Journal of Modern Science and Research Technology · 0 citations · 3 references
Network Security and Intrusion Detection

Abstract

Decentralized networks—spanning Internet-of-Things deployments, edge computing platforms and peer-to-peer systems—offer improved scalability, resilience and the elimination of single points of failure. At the same time, their distributed structure makes continuous monitoring and timely intrusion response substantially more difficult. Traditional signature-based intrusion detection systems (IDS) are effective only against previously catalogued attacks; they cannot reliably detect zero-day or heavily obfuscated threats and typically require the centralised collection of raw traffic, thereby raising privacy, bandwidth and single-point-of-failure concerns. This paper presents a complete real-time machine-learning-based user detection and intrusion prevention system expressly designed for decentralised environments. A lightweight monitoring agent executes on every registered physical node, continuously captures live network packets, groups them into traffic flows and extracts a compact set of discriminative features: packet rate, bandwidth usage, latency, failed login attempts and connection duration. These features are classified by a Random Forest ensemble that distinguishes authorised from unauthorised activity. Concurrently, an Isolation Forest anomaly detector flags behavioural outliers that may correspond to previously unseen (zero-day) attacks. For every prediction the system computes a continuous risk score, assigns a discrete threat level (Low, Medium, High or Critical), records an immutable event log entry, displays a real-time alert together with an AI-generated explanation on the administrator dashboard, and—when prevention mode is enabled—automatically installs firewall rules that block the offending traffic. Because only summarised detection results are forwarded to the central monitoring dashboard, raw packet data never leave the local node; privacy is preserved and inter-node communication overhead is minimised. Extensive evaluation on labelled network traffic demonstrates an accuracy of 96.80%, precision of 95.40%, recall of 94.20% and F1-score of 94.80%, markedly surpassing a conventional signature-based baseline. The system maintains normal network performance under both typical and elevated traffic loads, confirming that intelligent detection need not be purchased at the expense of operational efficiency.

Read PDF

Similar papers

#computer vision Review Sep 2017

Agile Software Development Methods: Review and Analysis

This publication proposes a definition and a classification of agile software development approaches and analyses ten software development methods that can be characterized as being "agile" against the defined criterion.

P. Abrahamsson, O. Salo, Jussi Ronkainen et al. · 727 citations · ⚡54
#computer vision Jun 2008

The impact of agile practices on communication in software development

The study shows that agile practices improve both informal and formal communication, but indicates that, in larger development situations involving multiple external stakeholders, a mismatch of adequate communication mechanisms can sometimes even hinder the communication.

M. Pikkarainen, Jukka Haikara, O. Salo et al. · 401 citations · ⚡48
#machine learning Review Open access Oct 2014

Software development in startup companies: A systematic mapping study

The results indicate that software engineering work practices are chosen opportunistically, adapted and configured to provide value under the constrains imposed by the startup context.

Nicolò Paternoster, Carmine Giardino, M. Unterkalmsteiner et al. · 394 citations · ⚡54

Related blog posts

Microsoft Research Blog Oct 29, 2026

Microsoft Research Focus – Edition #97

Host Sowbhagya Suresh shares some of the latest news and cutting-edge research from across Microsoft—from understanding the challenges facing coding agents to uncovering how people use AI at work and improving extended-range weather forecasting. The post Microsoft Research Focus – Edition #97 appeared first on Microsoft Research.

MIT News · Artificial Intelligence Oct 28, 2026

Making machines that can listen

Professor Paris Smaragdis develops computers with superhuman hearing for applications like speech recognition, music understanding, and environmental monitoring.

Microsoft Research Blog Oct 21, 2026

Solving a 31-year-old grand challenge in mathematics – the KLS conjecture

For decades, a fundamental question about the difficulty of computing in high-dimensional spaces has resisted proof. New research resolves this question, removing a major theoretical obstacle to understanding the efficiency of randomized algorithms used across science and computing. The Kannan–Lovász–Simonovits (KLS) conjecture was proposed in 1995. It asks whether, for a broad class of high-dimensional […] The post Solving a 31-year-old grand challenge in mathematics – the KLS conjecture appear…

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.