arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.03890cs.LG
收藏

ENCODE:为网络异常检测编码 NetFlow

ENCODE: Encoding NetFlows for Network Anomaly Detection

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

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

AI总结:

本文提出 ENCODE 编码算法,在 NetFlow 预处理中结合特征值的频率与上下文以聚类网络行为,并在新建 Kubernetes 攻击数据集和两个公共数据集上验证其可提升异常检测模型效果。

摘要:

NetFlow 数据是一种受到众多网络分析人员和研究人员使用的流行网络日志格式。与深度包检测相比,使用 NetFlow 的优势在于它更易于收集和处理,并且对隐私的侵入性更低。已有许多研究使用机器学习,基于 NetFlow 数据检测网络攻击。这些机器学习流水线的第一步,是在数据被送入机器学习算法之前对其进行预处理。目前存在许多用于预处理 NetFlow 数据的方法;然而,这些方法只是将现有方法直接应用于数据,而没有考虑网络数据的特定属性。我们认为,对于源自软件系统的数据(例如 NetFlow 或软件日志),特征值在频率和上下文中的相似性,比值本身的相似性更加重要。在本研究中,我们提出一种编码算法,在处理数据时直接将特征值的频率和上下文纳入考虑。利用这种编码,可以对不同类型的网络行为进行聚类,从而辅助网络中的异常检测过程。我们使用经我们的编码算法编码后的数据,训练了若干用于异常检测的机器学习模型。我们在一个为 Kubernetes 集群上的网络攻击而新建的数据集,以及两个知名的公共 NetFlow 数据集上,评估了该编码的有效性。我们通过实验证明,机器学习模型在异常检测中使用我们的编码能够获得收益。

英文摘要:

NetFlow data is a popular network log format used by many network analysts and researchers. The advantages of using NetFlow over deep packet inspection are that it is easier to collect and process, and it is less privacy intrusive. Many works have used machine learning to detect network attacks using NetFlow data. The first step for these machine learning pipelines is to pre-process the data before it is given to the machine learning algorithm. Many approaches exist to pre-process NetFlow data; however, these simply apply existing methods to the data, not considering the specific properties of network data. We argue that for data originating from software systems, such as NetFlow or software logs, similarities in frequency and contexts of feature values are more important than similarities in the value itself. In this work, we propose an encoding algorithm that directly takes the frequency and the context of the feature values into account when the data is being processed. Different types of network behaviours can be clustered using this encoding, thus aiding the process of detecting anomalies within the network. We train several machine learning models for anomaly detection using the data that has been encoded with our encoding algorithm. We evaluate the effectiveness of our encoding on a new dataset that we created for network attacks on Kubernetes clusters and two well-known public NetFlow datasets. We empirically demonstrate that the machine learning models benefit from using our encoding for anomaly detection.

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

↑