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

基于对比学习的Android恶意软件家族分类

Contrastive Learning for Robust Android Malware Familial Classification

Yueming Wu, Shihan Dou, Deqing Zou, Wei Yang, Weizhong Qiang, Hai Jin

摘要:

Android操作系统由于其开放源代码的特性,一直是攻击者利用的主要目标。恶意软件创建者总是在他们的应用程序上执行不同的代码混淆来隐藏恶意活动。通过程序分析从这些混淆样本中提取的特征包含许多无用和伪装的特征,这导致了许多假阴性。为了解决这个问题,在本文中,我们证明了混淆弹性恶意软件家族分析可以通过对比学习来实现。我们的分析背后的关键见解是,对比学习可以用来减少混淆所引入的差异,同时放大恶意软件和其他类型的恶意软件之间的差异。基于所提出的分析,我们设计了一个系统,可以实现强大的和可解释的Android恶意软件分类。为了实现鲁棒的分类,我们对恶意软件样本执行对比学习,以学习可以从恶意软件样本中自动提取鲁棒特征的编码器。为了实现可解释的分类,我们通过中心性分析将样本的函数调用图转化为图像。然后,可以通过可视化技术获得相应的热图。这些热图可以帮助用户理解为什么恶意软件被归类为这个家族。我们实现了\emph{IFDroid},并在两个数据集上进行了广泛的评估。实验结果表明,\emph{IFDroid}优于最先进的Android恶意软件家族分类系统。此外,\emph{IFDroid}能够在分类69,421个混淆恶意软件样本时保持98.4\%的F1。

英文摘要:

Due to its open-source nature, Android operating system has been the main target of attackers to exploit. Malware creators always perform different code obfuscations on their apps to hide malicious activities. Features extracted from these obfuscated samples through program analysis contain many useless and disguised features, which leads to many false negatives. To address the issue, in this paper, we demonstrate that obfuscation-resilient malware family analysis can be achieved through contrastive learning. The key insight behind our analysis is that contrastive learning can be used to reduce the difference introduced by obfuscation while amplifying the difference between malware and other types of malware. Based on the proposed analysis, we design a system that can achieve robust and interpretable classification of Android malware. To achieve robust classification, we perform contrastive learning on malware samples to learn an encoder that can automatically extract robust features from malware samples. To achieve interpretable classification, we transform the function call graph of a sample into an image by centrality analysis. Then the corresponding heatmaps can be obtained by visualization techniques. These heatmaps can help users understand why the malware is classified as this family. We implement \emph{IFDroid} and perform extensive evaluations on two datasets. Experimental results show that \emph{IFDroid} is superior to state-of-the-art Android malware familial classification systems. Moreover, \emph{IFDroid} is capable of maintaining a 98.4\% F1 on classifying 69,421 obfuscated malware samples.

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

↑