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

MaMaDroid:通过构建行为模型的马尔可夫链检测Android恶意软件(扩展版)

MaMaDroid: Detecting Android Malware by Building Markov Chains of Behavioral Models (Extended Version)

University College London(伦敦大学学院);University of the West of England(西英格兰大学);Boston University(波士顿大学)

Lucky Onwuzurike, Enrico Mariconti, Panagiotis Andriotis, Emiliano De Cristofaro, Gordon Ross, Gianluca Stringhini

摘要:

随着Android变得越来越受欢迎,针对它的恶意软件也越来越多,因此推动研究社区提出不同的检测技术。然而,Android生态系统和恶意软件本身的不断发展,使得很难设计出强大的工具,可以长时间运行,而无需修改或昂贵的重新培训。为了解决这个问题,我们从行为的角度来检测恶意软件,建模为抽象的API调用序列。我们介绍MaMaDroid,一个基于静态分析的系统,它将应用程序执行的API调用抽象为它们的类、包或家族,并从应用程序的调用图中获得的序列构建模型作为马尔可夫链。这确保了模型对API更改的弹性更强,并且功能集的大小可管理。我们使用在六年内收集的8.5K良性和35.5K恶意应用程序的数据集来评估MaMaDroid,结果表明它可以有效地检测恶意软件(高达0.99 F-measure),并在很长一段时间内保持其检测能力(训练后两年高达0.87 F-measure)。我们还表明,MaMaDroid显着优于DroidAPIMiner,一个国家的最先进的检测系统,依赖于(原始)API调用的频率。为了评估MaMaDroid的有效性是否主要源于API抽象或序列建模,我们还评估了它的一个变体,该变体使用抽象API调用的频率(而不是序列)。我们发现它并不准确,当在恶意软件样本上训练时,它无法捕捉恶意,这些恶意软件样本包括良性应用程序同样或更频繁使用的API调用。

英文摘要:

As Android has become increasingly popular, so has malware targeting it, thus pushing the research community to propose different detection techniques. However, the constant evolution of the Android ecosystem, and of malware itself, makes it hard to design robust tools that can operate for long periods of time without the need for modifications or costly re-training. Aiming to address this issue, we set to detect malware from a behavioral point of view, modeled as the sequence of abstracted API calls. We introduce MaMaDroid, a static-analysis based system that abstracts the API calls performed by an app to their class, package, or family, and builds a model from their sequences obtained from the call graph of an app as Markov chains. This ensures that the model is more resilient to API changes and the features set is of manageable size. We evaluate MaMaDroid using a dataset of 8.5K benign and 35.5K malicious apps collected over a period of six years, showing that it effectively detects malware (with up to 0.99 F-measure) and keeps its detection capabilities for long periods of time (up to 0.87 F-measure two years after training). We also show that MaMaDroid remarkably outperforms DroidAPIMiner, a state-of-the-art detection system that relies on the frequency of (raw) API calls. Aiming to assess whether MaMaDroid's effectiveness mainly stems from the API abstraction or from the sequencing modeling, we also evaluate a variant of it that uses frequency (instead of sequences), of abstracted API calls. We find that it is not as accurate, failing to capture maliciousness when trained on malware samples that include API calls that are equally or more frequently used by benign apps.

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

↑