论文标题

学习状态机以监视和检测Kubernetes群集上的异常

Learning State Machines to Monitor and Detect Anomalies on a Kubernetes Cluster

论文作者

Cao, Clinton, Blaise, Agathe, Verwer, Sicco, Rebecchi, Filippo

论文摘要

如今,越来越多的公司转向使用云环境为客户提供服务。虽然很容易设置云环境,但监视系统的运行时行为并确定操作过程中发生的异常行为同样重要。近年来,\ ac {rnn}和\ ac {dnn}检测可能发生在运行时可能发生的异常的利用是一种趋势方法。但是,目前尚不清楚如何解释这些网络做出的决定以及如何解释这些网络以了解它们建模的运行时行为。相反,状态机模型提供了一种更容易解释和理解其建模行为的方式。在这项工作中,我们提出了一种方法,该方法可以学习状态机器模型,以模拟运行多个微服务应用程序的云环境的运行时行为。据我们所知,这是第一项试图将状态机模型应用于微服务体系结构的工作。状态机器模型用于检测我们在云环境上发射的不同类型的攻击。从我们的实验结果中,我们的方法可以很好地检测攻击,达到99.2%的平衡精度,F1得分为0.982。

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 \ac{rnn} and \ac{dnn} 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.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源