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

基于迁移学习的联合静态和动态特征的快速高效恶意软件检测

Fast and Efficient Malware Detection with Joint Static and Dynamic Features Through Transfer Learning

Mao V. Ngo, Tram Truong-Huu, Dima Rabadi, Jia Yi Loo, Sin G. Teo

摘要:

在恶意软件检测中,动态分析提取受控环境中恶意软件样本的运行时行为,静态分析使用逆向工程工具提取特征。前者面临反虚拟化和恶意软件样本规避行为的挑战,后者面临代码混淆的挑战。为了解决这些缺点,先前的工作提出通过聚合动态和静态特征来开发检测模型,从而利用这两种方法的优点。然而,简单地串联动态和静态特征引起了由于特征向量的异构维度对恶意软件检测模型的性能的不平衡贡献的问题。然而,动态分析是一项耗时的任务,并且需要安全的环境,导致检测延迟和维护分析基础设施的高成本。在本文中,我们首先介绍了一种通过将通过深度学习学习到的潜在特征与等贡献维度连接起来来构建聚合特征的方法。然后,我们开发了一种知识蒸馏技术,将从教师模型的聚合特征中学到的知识转移到仅在静态特征上训练的学生模型中,并使用训练好的学生模型检测新的恶意软件样本。我们进行了广泛的实验,86709样本,包括良性和恶意软件样本的数据集。实验结果表明,通过我们的方法构建的聚合特征训练的教师模型优于最先进的模型,检测准确率提高了2.38%。提取的学生模型不仅实现了高性能(97.81%的准确率)的教师模型,但也显着减少了检测时间(从70046.6 ms到194.9 ms),而不需要动态分析。

英文摘要:

In malware detection, dynamic analysis extracts the runtime behavior of malware samples in a controlled environment and static analysis extracts features using reverse engineering tools. While the former faces the challenges of anti-virtualization and evasive behavior of malware samples, the latter faces the challenges of code obfuscation. To tackle these drawbacks, prior works proposed to develop detection models by aggregating dynamic and static features, thus leveraging the advantages of both approaches. However, simply concatenating dynamic and static features raises an issue of imbalanced contribution due to the heterogeneous dimensions of feature vectors to the performance of malware detection models. Yet, dynamic analysis is a time-consuming task and requires a secure environment, leading to detection delays and high costs for maintaining the analysis infrastructure. In this paper, we first introduce a method of constructing aggregated features via concatenating latent features learned through deep learning with equally-contributed dimensions. We then develop a knowledge distillation technique to transfer knowledge learned from aggregated features by a teacher model to a student model trained only on static features and use the trained student model for the detection of new malware samples. We carry out extensive experiments with a dataset of 86709 samples including both benign and malware samples. The experimental results show that the teacher model trained on aggregated features constructed by our method outperforms the state-of-the-art models with an improvement of up to 2.38% in detection accuracy. The distilled student model not only achieves high performance (97.81% in terms of accuracy) as that of the teacher model but also significantly reduces the detection time (from 70046.6 ms to 194.9 ms) without requiring dynamic analysis.

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

↑