arXiv:2610.30713cs.CROct 2026

Manuscript Offprint

arXiv:2610.30713

AIRO: A Streaming-Based Machine Learning Framework for Threat Detection and Security in Industrial Internet of Things

Raima Deb, Pranav M Pawar, Mithun Mukherjee, Raja Muthalagu, Mian Guo

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Raima Deb*, Pranav M Pawar*, Mithun Mukherjee*, Raja Muthalagu* and Mian Guo†

*Department of Computer Science, Birla Institute of Technology and Science, Pilani, Dubai Campus,

Dubai International Academic City, Dubai, United Arab Emirates

emails: {p20230011, pranav, mithun, raja.m} @dubai.bits-pilani.ac.in

† Guangdong Polytechnic Normal University, Guangzhou, China, Email: mian.guo123@gmail.com

Abstract—Modern Industrial Internet of Things (IIoT) implementations now connect edge gateways, cloud dashboards and business applications. This improves visibility and remote monitoring. However it simultaneously exposes industrial traffic to various cyber threats including scanning, web attacks and Structured Query Language (SQL) injection (SQLi), phishing-driven credential theft, and command-and-control (C2) activity. Although rule-based tools remain useful for detecting known signatures, their efficacy decreases with minimally altered attacks or when alerts require manual investigation. This paper presents AIRO (Autonomous Intelligence-Driven Cybersecurity Risk Reduction System), an efficient framework for IIoT monitoring and response. AIRO combines Apache Kafka streaming, attack-specific feature extraction, machine learning (ML) inference, confidence-based decision logic and risk reduction measures such as Internet Protocol (IP) blocking, account suspension and traffic limiting. We developed four specialized datasets for C2 beaconing, reconnaissance, SQLi, and phishing to evaluate AIRO. These datasets include noisy and overlapping characteristic distributions to minimize label leakage. The best-performing models, primarily Gradient Boosting and LightGBM, achieve F1-scores up to 0.9229 while ensuring low-latency from event input to mitigation.

Index Terms—cybersecurity, intrusion detection, ML, Apache Kafka, real time streaming, anomaly detection, SQLi, phishing, C2 beaconing

I. INTRODUCTION

IIoT systems are common in manufacturing, energy, logistics, smart buildings and critical infrastructure. At a site, sensors and controllers do not work by themselves anymore. They share data with edge computers, dashboards, analytics platforms and remote maintenance tools. This is very helpful for automation. However it also makes industrial assets more vulnerable to threats that used to affect enterprise information technology networks [1], [2].

The main motivation for this work is that we need a security mechanism that can monitor traffic, find behavior quickly and take action before a problem affects production. The usual way of detecting intrusions using signatures is helpful for known threats. However it is not very good, at stopping malware, slow scanning, special SQLi payloads, phishing campaigns, and C2 activity that are always changing and evolving. When alerts come in from sensors, gateways and user endpoints, manual response is also slow. We need something to protect these systems [3], [4], [5].

This paper proposes AIRO, an autonomous intelligence-driven framework for IIoT threat detection and mitigation. The work has four goals: to design a streaming security pipeline, prepare attack-specific datasets, compare suitable ML models, and connect detection output to practical response actions. The main contributions are: (i) an IIoT-oriented architecture that combines Kafka streaming, feature extraction, ML inference, and decision logic; (ii) four datasets for C2 beaconing [2], [6], reconnaissance [1], [7], SQLi [8], [4], and phishing [5], [9]; (iii) a comparative evaluation of classical and ensemble ML models; and (iv) a risk-scoring policy that automates high-confidence responses while routing uncertain cases to analyst review.

The rest of the paper is organized as follows. Section II reviews related work and summarizes the research gap. Section III presents the proposed methodology in the order suggested for the design: system architecture and its explanation, Kafka pipeline, and dataset preparation with dataset description. Section IV reports results and discussion. Section V concludes the paper.