软件定义网络中基于机器学习的恶意负载识别
Machine Learning based Malicious Payload Identification in Software-Defined Networking
摘要:
深度包检测(DPI)在软件定义网络(SDN)中得到了广泛的研究,因为复杂的攻击可能难以将恶意有效载荷注入到包中。现有的基于模式或基于端口的专有第三方DPI工具在有效处理大量数据流量方面可能受到限制。在本文中,一种新的OpenFlow启用的深度包检测(OFDPI)的方法,提出了基于SDN范式提供自适应和高效的数据包检测。首先,OFDPI通过OpenFlow协议检查每个新流的IP地址,规定了流级粒度的早期检测。然后,OFDPI允许在数据包级别的粒度上进行深度数据包检测:(i)对于未加密的数据包,OFDPI提取可访问的有效载荷的特征,包括基于词频和倒排文档频率(TF-IDF)的三元组频率和语言特征。这些功能连接成一个稀疏矩阵表示,然后应用到训练一个二元分类逻辑回归,而不是匹配特定的模式组合。为了平衡SDN控制器的检测精度和性能瓶颈,OFDPI引入了基于线性预测的自适应分组采样窗口;(ii)对于加密分组,OFDPI提取分组的显著特征,然后用决策树训练二进制分类器,而不是解密加密流量以削弱用户隐私。在Ryu SDN控制器和Mininet平台上实现了OFDPI原型。通过实验,使用真实世界的数据集的性能和所提出的解决方案的开销进行评估。数值结果表明,OFDPI可以提供一个显着的改善,在检测精度与可接受的开销。
英文摘要:
Deep packet inspection (DPI) has been extensively investigated in software-defined networking (SDN) as complicated attacks may intractably inject malicious payloads in the packets. Existing proprietary pattern-based or port-based third-party DPI tools can suffer from limitations in efficiently processing a large volume of data traffic. In this paper, a novel OpenFlow-enabled deep packet inspection (OFDPI) approach is proposed based on the SDN paradigm to provide adaptive and efficient packet inspection. First, OFDPI prescribes an early detection at the flow-level granularity by checking the IP addresses of each new flow via OpenFlow protocols. Then, OFDPI allows for deep packet inspection at the packet-level granularity: (i) for unencrypted packets, OFDPI extracts the features of accessible payloads, including tri-gram frequency based on Term Frequency and Inverted Document Frequency (TF-IDF) and linguistic features. These features are concatenated into a sparse matrix representation and are then applied to train a binary classifier with logistic regression rather than matching with specific pattern combinations. In order to balance the detection accuracy and performance bottleneck of the SDN controller, OFDPI introduces an adaptive packet sampling window based on the linear prediction; and (ii) for encrypted packets, OFDPI extracts notable features of packets and then trains a binary classifier with a decision tree, instead of decrypting the encrypted traffic to weaken user privacy. A prototype of OFDPI is implemented on the Ryu SDN controller and the Mininet platform. The performance and the overhead of the proposed sulotion are assessed using the real-world datasets through experiments. The numerical results indicate that OFDPI can provide a significant improvement in detection accuracy with acceptable overheads.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。