arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2104.13295cs.CRcs.SE
收藏

重包装恶意软件的变形检测

Metamorphic Detection of Repackaged Malware

Shirish Singh, Gail Kaiser

摘要:

基于机器学习的恶意软件检测系统通常容易受到规避攻击,在规避攻击中,恶意软件开发者操纵他们的恶意软件,使得其被错误地分类为良性的。这样的软件隐藏了真实类的一些属性,或者通过应用小的扰动来采用不同类的一些属性。一个特殊的情况下,规避恶意软件隐藏通过重新包装一个真正的良性移动应用程序包含恶意软件除了原来的功能的应用程序,从而保留了大部分的良性属性的原始app.We提出了一种新的恶意软件检测系统的基础上变形测试的原则,可以检测到这样的良性看似恶意软件的应用程序。我们将变形测试应用于移动应用程序的功能表示,而不是应用程序本身。也就是说,源输入是应用的原始特征向量,而派生输入是移除了所选特征的向量。如果应用程序最初被分类为良性并且确实是良性的,则源和派生输入的输出应该是相同的类,即,良性的,但如果它们不同,那么应用程序被暴露为可能的恶意软件。最初被归类为恶意软件的恶意软件应用程序应保留该分类,因为只有良性应用程序中普遍存在的功能才会被删除。这种方法使机器学习模型能够以合理的较少的假阴性和假阳性对重新打包的恶意软件进行分类。我们的训练管道比许多现有的基于ML的恶意软件检测方法更简单,因为网络是端到端训练的,可以学习适当的特征并执行分类。我们在从广泛使用的AndroZoo数据集中收集的300万个应用程序上预训练了我们的分类器模型。我们对其他公开数据集进行了广泛的研究,以显示我们的方法在检测重新包装的恶意软件方面的有效性,准确率超过94%,精确率为0.98,召回率为0.95,F1得分为0.96。

英文摘要:

Machine learning-based malware detection systems are often vulnerable to evasion attacks, in which a malware developer manipulates their malicious software such that it is misclassified as benign. Such software hides some properties of the real class or adopts some properties of a different class by applying small perturbations. A special case of evasive malware hides by repackaging a bonafide benign mobile app to contain malware in addition to the original functionality of the app, thus retaining most of the benign properties of the original app. We present a novel malware detection system based on metamorphic testing principles that can detect such benign-seeming malware apps. We apply metamorphic testing to the feature representation of the mobile app rather than to the app itself. That is, the source input is the original feature vector for the app and the derived input is that vector with selected features removed. If the app was originally classified benign and is indeed benign, the output for the source and derived inputs should be the same class, i.e., benign, but if they differ, then the app is exposed as likely malware. Malware apps originally classified as malware should retain that classification since only features prevalent in benign apps are removed. This approach enables the machine learning model to classify repackaged malware with reasonably few false negatives and false positives. Our training pipeline is simpler than many existing ML-based malware detection methods, as the network is trained end-to-end to learn appropriate features and perform classification. We pre-trained our classifier model on 3 million apps collected from the widely-used AndroZoo dataset. We perform an extensive study on other publicly available datasets to show our approach's effectiveness in detecting repackaged malware with more than94% accuracy, 0.98 precision, 0.95 recall, and 0.96 F1 score.

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

↑