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

缓解恶意软件演变对基于API序列的Windows恶意软件检测器的影响

Mitigating the Impact of Malware Evolution on API Sequence-based Windows Malware Detector

Xingyuan Wei, Ce Li, Qiujian Lv, Ning Li, Degang Sun, Yan Wang

AI总结:

本文提出MME框架,通过API知识图和对比学习提升基于API序列的恶意软件检测器,有效缓解恶意软件演变带来的影响。

摘要:

在动态Windows恶意软件检测中,深度学习模型被广泛用于分析API序列。基于API序列的方法在恶意软件预防中起着关键作用。然而,由于API的持续更新以及API序列调用的变化导致恶意软件变种的持续演变,基于API序列的恶意软件检测模型的检测能力会随着时间显著下降。我们观察到,恶意软件样本在演变前后通常具有相似的恶意语义。具体来说,与原始样本相比,经过演变的恶意软件样本通常使用前演变样本的API序列来实现相似的恶意行为。例如,它们访问相似的敏感系统资源,并基于原始功能扩展新的恶意功能。在本文中,我们提出了一种框架MME(Mitigating the impact of Malware Evolution),该框架可以增强现有的基于API序列的恶意软件检测器,并减轻恶意软件演变的负面影响。为了帮助检测模型捕捉这些后演变API序列的相似语义,我们的框架使用API知识图和系统资源编码来表示API序列,并应用对比学习来增强模型的编码器。结果表明,与常规的Text-CNN相比,我们的框架在五年数据上显著将误报率降低了13.10%,并将F1分数提高了8.47%,取得了最佳实验结果。此外,评估显示,我们的框架可以减少模型维护所需的人力成本。我们只需每月花费1%的预算,即可将误报率降低11.16%,并将F1分数提高6.44%。

英文摘要:

In dynamic Windows malware detection, deep learning models are extensively deployed to analyze API sequences. Methods based on API sequences play a crucial role in malware prevention. However, due to the continuous updates of APIs and the changes in API sequence calls leading to the constant evolution of malware variants, the detection capability of API sequence-based malware detection models significantly diminishes over time. We observe that the API sequences of malware samples before and after evolution usually have similar malicious semantics. Specifically, compared to the original samples, evolved malware samples often use the API sequences of the pre-evolution samples to achieve similar malicious behaviors. For instance, they access similar sensitive system resources and extend new malicious functions based on the original functionalities. In this paper, we propose a framework MME(Mitigating the impact of Malware Evolution), a framework that can enhance existing API sequence-based malware detectors and mitigate the adverse effects of malware evolution. To help detection models capture the similar semantics of these post-evolution API sequences, our framework represents API sequences using API knowledge graphs and system resource encodings and applies contrastive learning to enhance the model's encoder. Results indicate that, compared to regular Text-CNN, our framework can significantly reduce the false positive rate by 13.10% and improve the F1-Score by 8.47% on five years of data, achieving the best experimental results. Additionally, evaluations show that our framework can save on the human costs required for model maintenance. We only need 1% of the budget per month to reduce the false positive rate by 11.16% and improve the F1-Score by 6.44%.

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

↑