Learning State Machines to Monitor and Detect Anomalies on a Kubernetes Cluster
Not on the map. Why?
Abstract (arXiv)
These days more companies are shifting towards using cloud environments to provide their services to their client. While it is easy to set up a cloud environment, it is equally important to monitor the system's runtime behaviour and identify anomalous behaviours that occur during its operation. In recent years, the utilisation of acrnn and acdnn to detect anomalies that might occur during runtime has been a trending approach. However, it is unclear how to explain the decisions made by these networks and how these networks should be interpreted to understand the runtime behaviour that they model. On the contrary, state machine models provide an easier manner to interpret and understand the behaviour that they model. In this work, we propose an approach that learns state machine models to model the runtime behaviour of a cloud environment that runs multiple microservice applications. To the best of our knowledge, this is the first work that tries to apply state machine models to microservice architectures. The state machine model is used to detect the different types of attacks that we launch on the cloud environment. From our experiment results, our approach can detect the attacks very well, achieving a balanced accuracy of 99.2% and an F1 score of 0.982.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 1 of its 28 references that are in the map. First posted on arXiv 28 Jun 2022.
Builds on
1 of 28 references.
References · 1
- 2017Timed k-Tail: Automatic Inference of Timed Automatacited by 2
Built on by
Citing papers per year: 2022: 1; 2023: 0; 2024: 2; 2025: 1.
4 papers.
- 2022SoK: Explainable Machine Learning for Computer Security Applicationscited by 20
- 2025KubeGuard: LLM-Assisted Kubernetes Hardening via Configuration Files and Runtime Logs Analysiscited by 2
- 2024Automated Test-Case Generation for REST APIs Using Model Inference Search Heuristiccited by 0
- 2024State Frequency Estimation for Anomaly Detectioncited by 0
- 2025KubeGuard: LLM-Assisted Kubernetes Hardening via Configuration Files and Runtime Logs Analysis4 Sep 2025
- 2024State Frequency Estimation for Anomaly Detection4 Dec 2024
- 2024Automated Test-Case Generation for REST APIs Using Model Inference Search Heuristic4 Dec 2024
- 2022SoK: Explainable Machine Learning for Computer Security Applications22 Aug 2022