arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2207.12087cs.DCcs.LG
收藏

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

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

Delft University of Technology(代尔夫特理工大学);Thales SIX GTS France(泰雷兹SIX GTS法国公司)

Clinton Cao, Agathe Blaise, Sicco Verwer, Filippo Rebecchi

摘要:

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

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑