数据包负载中的深度异常检测
Deep Anomaly Detection in Packet Payload
摘要:
随着云服务的广泛采用,特别是大量Web应用的广泛部署,从数据包有效载荷中检测异常变得非常重要和具有挑战性。例如,数据包有效载荷中的异常可以表示为可能导致攻击的多个特定字符串。虽然一些方法已经取得了显著的进展,但它们的应用有限,因为它们依赖于深入的专家知识,例如,在应用程序级别描述异常或通信协议的签名。此外,它们可能无法检测到具有长期依赖关系的有效负载异常。为了克服这些限制并自适应地从数据包有效载荷中检测异常,我们提出了一个基于深度学习的框架,该框架包括两个步骤。首先,提出了一种新的特征工程方法,通过块序列提取和块嵌入来获得基于块的特征。基于块的特征可以同时封装高维信息和底层的序列信息,便于异常检测。其次,设计了一个基于长短期记忆(LSTM)和卷积神经网络(CNN)的神经网络来学习数据包有效载荷的表示。此外,我们将异常检测转换为分类问题,并在上述表示学习网络上堆叠多层感知(MLP)来检测异常。在三个公共数据集上的实验结果表明,与五种最先进的方法相比,我们的模型可以实现更高的检测率,同时保持更低的误报率。
英文摘要:
With the widespread adoption of cloud services, especially the extensive deployment of plenty of Web applications, it is important and challenging to detect anomalies from the packet payload. For example, the anomalies in the packet payload can be expressed as a number of specific strings which may cause attacks. Although some approaches have achieved remarkable progress, they are with limited applications since they are dependent on in-depth expert knowledge, e.g., signatures describing anomalies or communication protocol at the application level. Moreover, they might fail to detect the payload anomalies that have long-term dependency relationships. To overcome these limitations and adaptively detect anomalies from the packet payload, we propose a deep learning based framework which consists of two steps. First, a novel feature engineering method is proposed to obtain the block-based features via block sequence extraction and block embedding. The block-based features could encapsulate both the high-dimension information and the underlying sequential information which facilitate the anomaly detection. Second, a neural network is designed to learn the representation of packet payload based on Long Short-Term Memory (LSTM) and Convolutional Neural Networks (CNN). Furthermore, we cast the anomaly detection as a classification problem and stack a Multi-Layer Perception (MLP) on the above representation learning network to detect anomalies. Extensive experimental results on three public datasets indicate that our model could achieve a higher detection rate, while keeping a lower false positive rate compared with five state-of-the-art methods.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。