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

Android HIV:重新打包恶意软件以逃避机器学习检测的研究

Android HIV: A Study of Repackaging Malware for Evading Machine-Learning Detection

Xiao Chen, Chaoran Li, Derui Wang, Sheng Wen, Jun Zhang, Surya Nepal, Yang Xiang, Kui Ren

摘要:

基于机器学习的解决方案已成功用于自动检测Android上的恶意软件。然而,机器学习模型对对抗性示例缺乏鲁棒性,这些示例是通过向正常输入添加精心选择的扰动来制作的。到目前为止,对抗性示例只能欺骗依赖于语法特征的检测器(例如,请求的权限、API调用等),并且扰动只能通过简单地修改应用程序的清单来实现。虽然最近的Android恶意软件检测器更多地依赖于Dalvik字节码的语义特征,而不是清单,但现有的攻击/防御方法不再有效。在本文中,我们介绍了一种新的攻击方法,生成Android恶意软件的对抗性示例,并逃避当前模型的检测。为此,我们提出了一种将最佳扰动应用于Android APK的方法,该方法可以成功欺骗机器学习检测器。我们开发了一个自动化的工具来生成对抗性的例子,而无需人工干预。与现有的作品相比,我们的方法制作的对抗性示例也可以欺骗最近的基于机器学习的检测器,这些检测器依赖于控制流图等语义特征。扰动也可以直接实现到APK的Dalvik字节码上,而不是Android清单,以逃避最近的检测器。我们展示了我们对两个最先进的Android恶意软件检测方案MaMaDroid和Drebin的攻击。我们的研究结果表明,MaMaDroid的恶意软件检测率从96%下降到0%,Drebin的恶意软件检测率从97%下降到0%,只有少量的代码被插入到APK中。

英文摘要:

Machine learning based solutions have been successfully employed for automatic detection of malware on Android. However, machine learning models lack robustness to adversarial examples, which are crafted by adding carefully chosen perturbations to the normal inputs. So far, the adversarial examples can only deceive detectors that rely on syntactic features (e.g., requested permissions, API calls, etc), and the perturbations can only be implemented by simply modifying application's manifest. While recent Android malware detectors rely more on semantic features from Dalvik bytecode rather than manifest, existing attacking/defending methods are no longer effective. In this paper, we introduce a new attacking method that generates adversarial examples of Android malware and evades being detected by the current models. To this end, we propose a method of applying optimal perturbations onto Android APK that can successfully deceive the machine learning detectors. We develop an automated tool to generate the adversarial examples without human intervention. In contrast to existing works, the adversarial examples crafted by our method can also deceive recent machine learning based detectors that rely on semantic features such as control-flow-graph. The perturbations can also be implemented directly onto APK's Dalvik bytecode rather than Android manifest to evade from recent detectors. We demonstrate our attack on two state-of-the-art Android malware detection schemes, MaMaDroid and Drebin. Our results show that the malware detection rates decreased from 96% to 0% in MaMaDroid, and from 97% to 0% in Drebin, with just a small number of codes to be inserted into the APK.

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

↑