An Explainable Markov Chain–Machine Learning Sequential-Aware Anomaly Detection Framework for Industrial IoT Systems Based on OPC UA
Youness Ghazi, Mohamed Tabaa, Mohamed Ennaji, Ghita Zaz
École Marocaine des Sciences de l'Ingénieur · University of Hassan II Casablanca
Key points
From the paper's conclusion- To address this limitation, we propose a hybrid sequential anomaly detection pipeline that combines Markov chain modeling to capture temporal dependencies with machine learning algorithms for anomaly detection.
Abstract
Stealth attacks targeting industrial control systems (ICS) exploit subtle sequences of malicious actions, making them difficult to detect with conventional methods. The OPC Unified Architecture (OPC UA) protocol-now widely adopted in SCADA/ICS environments-enhances OT-IT integration but simultaneously increases the exposure of critical infrastructures to sophisticated cyberattacks. Traditional detection approaches, which rely on instantaneous traffic features and static models, neglect the sequential dimension that is essential for uncovering such gradual intrusions. To address this limitation, we propose a hybrid sequential anomaly detection pipeline that combines Markov chain modeling to capture temporal dependencies with machine learning algorithms for anomaly detection. The pipeline is further augmented by explainability through SHapley Additive exPlanations (SHAP) and causal inference using the PC algorithm. Experimental evaluation on an OPC UA dataset simulating Man-In-The-Middle (MITM) and denial-of-service (DoS) attacks demonstrates that incorporating a second-order sequential memory significantly improves detection: F1-score increases by +2.27%, precision by +2.33%, and recall by +3.02%. SHAP analysis identifies the most influential features and transitions, while the causal graph highlights deviations from the system's normal structure under attack, thereby providing interpretable insights into the root causes of anomalies.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- LSTM-Based Anomaly Detection for Industrial Control Systems on the HAI Testbed: A Comparison of Evaluation Protocols and MetricsComputers · 2026
- RAID: Retrieval Augmented Intrusion Detection for Cyber Physical Systems.Sensors (Basel, Switzerland) · 2026
- Beyond Accuracy: Deployment-Facing Sensitivity Audits for Explainable Intrusion Detection in Industrial Control Systems (ICS)WSEAS TRANSACTIONS ON SYSTEMS AND CONTROL · 2026
- Autonomous LLM Agent: A Memory-Augmented, Edge-Optimized SHAP Explanations With Zero-Day Attack Resilience in IoT/Industrial IoT NetworksIEEE Internet of Things Journal · 2025
- ShaTS: a Shapley-based explainability method for time series artificial intelligence modelsFuture Generation Computer Systems · 2025
- Predictive Intrusion Detection for Industrial IoT Using World Models and Counterfactual Safety AnalysisComputers · 2026