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

加密恶意软件C2流量的基于流的检测和基于代理的规避

Flow-based detection and proxy-based evasion of encrypted malware C2 traffic

Carlos Novo, Ricardo Morla

摘要:

已知最先进的深度学习技术容易受到规避攻击,其中从恶性样本生成对抗样本并将其误分类为良性。基于TCP/IP流特征的加密恶意软件命令和控制流量的检测可以被构造为学习任务,因此容易受到规避攻击。然而,与例如在图像处理中所生成的对抗样本可以直接映射到图像不同,从流特征到实际TCP/IP分组需要制作分组序列,而没有建立用于这种制作的方法以及对这种制作允许的可修改特征集的限制。在本文中,我们讨论了生成和制作的对抗样本之间的差距的学习和逃避后果。我们使用一个在公共C2流量数据集上训练的深度神经网络检测器,白盒对抗学习和一种基于代理的方法来制作更长的流量。我们的研究结果表明:1)当使用精心制作的对抗样本时,通过在检测器上使用生成的对抗样本获得的高逃避率可以显着降低; 2)通过模型硬化对抗对抗样本的鲁棒性根据精心制作的方法和相应的攻击允许的可修改特征集而变化; 3)用对抗性样本递增地训练硬化模型可以产生一个公平的竞争环境,其中没有检测器对所有攻击都是最好的,也没有攻击对所有检测器都是最好的,在给定的攻击和检测器中。据我们所知,这是第一次在加密的C2恶意软件流量检测中分析公平竞争的功能集和迭代硬化。

英文摘要:

State of the art deep learning techniques are known to be vulnerable to evasion attacks where an adversarial sample is generated from a malign sample and misclassified as benign. Detection of encrypted malware command and control traffic based on TCP/IP flow features can be framed as a learning task and is thus vulnerable to evasion attacks. However, unlike e.g. in image processing where generated adversarial samples can be directly mapped to images, going from flow features to actual TCP/IP packets requires crafting the sequence of packets, with no established approach for such crafting and a limitation on the set of modifiable features that such crafting allows. In this paper we discuss learning and evasion consequences of the gap between generated and crafted adversarial samples. We exemplify with a deep neural network detector trained on a public C2 traffic dataset, white-box adversarial learning, and a proxy-based approach for crafting longer flows. Our results show 1) the high evasion rate obtained by using generated adversarial samples on the detector can be significantly reduced when using crafted adversarial samples; 2) robustness against adversarial samples by model hardening varies according to the crafting approach and corresponding set of modifiable features that the attack allows for; 3) incrementally training hardened models with adversarial samples can produce a level playing field where no detector is best against all attacks and no attack is best against all detectors, in a given set of attacks and detectors. To the best of our knowledge this is the first time that level playing field feature set- and iteration-hardening are analyzed in encrypted C2 malware traffic detection.

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

↑