AIRO: A Streaming-Based Machine Learning Framework for Threat Detection and Security in Industrial Internet of Things
Authors: Raima Deb, Pranav M Pawar, Mithun Mukherjee, Raja Muthalagu, Mian Guo
Organizations: ∗Department of Computer Science, Birla Institute of Technology and Science, Pilani, Dubai Campus, Dubai International Academic City, Dubai, United Arab Emirates · † Guangdong Polytechnic Normal University, Guangzhou, China
Modern Industrial Internet of Things (IIoT) im- plementations 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 Re- duction 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 distribu- tions 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
Figures & tables
Fig. 1: Detailed AIRO system architecture organized as a block diagram from datasets and Kafka streaming to model inference and mitigation.
Fig. 2: Kafka pipeline connecting event ingestion, model inference, and response.
Field
Description
event_id
Unique identifier for traceability and duplicate handling.
timestamp
Time at which the gateway or connector observed the event.
asset_type
programmable logic controller (PLC), sensor gateway, web server, user endpoint, or cloud service.
src , dst
Source and destination address, domain, or service identifier.
host
Device, endpoint, or service that generated the event.
features
Extracted numerical or encoded features used by the model.
TABLE I: Kafka event schema used by the prototype.
Score range
Risk level
Action in IIoT deployment
p<0.45
Low
Store event, update dashboard, no automated disruption.
0.45≤p≤0.55
Borderline
Notify analyst and request confirmation before enforcement.
LSEA Lab., Faculty of Technology, University of MEDEA, Medea 26000, Algeria · LSEA Lab, Faculty of Science, University of MEDEA, Medea 26000, Algeria · Department of Computer Engineering, Gazi University, Ankara, Turkey +1
Department of Computer Science, FAST NUCES, Development Sector, Faisalabad, Pakistan · Department of Information Technology, Riphah International University, Faisalabad, Pakistan