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

一个两步的方法来提高Android恶意软件检测器的性能

A two-steps approach to improve the performance of Android malware detectors

SnT, University of Luxembourg(卢森堡大学SnT中心)

Nadia Daoudi, Kevin Allix, Tegawendé F. Bissyandé, Jacques Klein

摘要:

Android操作系统的流行使其成为恶意软件开发人员的一个有吸引力的目标。为了逃避检测,包括通过基于ML的技术,攻击者投资创建与合法应用程序非常相似的恶意软件。在本文中,我们提出了引导再训练,一种基于监督表示学习的方法,可以提高恶意软件检测器的性能。首先,将数据集分成“容易”和“困难”样本,其中困难度与恶意软件检测器产生的预测概率相关联:对于困难样本,概率使得分类器对预测不自信,其具有高出错率。然后,我们将我们的指导再训练方法应用于困难的样本,以提高其分类。对于“简单”样本的子集,基本恶意软件检测器用于进行最终预测,因为该子集上的出错率通过构造而较低。对于“困难”样本的子集,我们依赖于引导再训练,它利用基本恶意软件检测器的正确预测和错误来指导再训练过程。引导式再训练专注于困难的样本:它使用监督对比学习学习这些样本的新嵌入,并训练辅助分类器进行最终预测。我们使用超过26.5万个恶意软件和良性应用程序在四种最先进的Android恶意软件检测方法上验证了我们的方法,并且我们证明了引导式再训练可以减少恶意软件检测器的预测错误高达40.41%。我们的方法是通用的,旨在提高二进制分类任务的分类性能。因此,它可以应用于Android恶意软件检测之外的其他分类问题。

英文摘要:

The popularity of Android OS has made it an appealing target to malware developers. To evade detection, including by ML-based techniques, attackers invest in creating malware that closely resemble legitimate apps. In this paper, we propose GUIDED RETRAINING, a supervised representation learning-based method that boosts the performance of a malware detector. First, the dataset is split into "easy" and "difficult" samples, where difficulty is associated to the prediction probabilities yielded by a malware detector: for difficult samples, the probabilities are such that the classifier is not confident on the predictions, which have high error rates. Then, we apply our GUIDED RETRAINING method on the difficult samples to improve their classification. For the subset of "easy" samples, the base malware detector is used to make the final predictions since the error rate on that subset is low by construction. For the subset of "difficult" samples, we rely on GUIDED RETRAINING, which leverages the correct predictions and the errors made by the base malware detector to guide the retraining process. GUIDED RETRAINING focuses on the difficult samples: it learns new embeddings of these samples using Supervised Contrastive Learning and trains an auxiliary classifier for the final predictions. We validate our method on four state-of-the-art Android malware detection approaches using over 265k malware and benign apps, and we demonstrate that GUIDED RETRAINING can reduce up to 40.41% prediction errors made by the malware detectors. Our method is generic and designed to enhance the classification performance on a binary classification task. Consequently, it can be applied to other classification problems beyond Android malware detection.

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

↑