arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2112.06702cs.CR
收藏

$μ$ Dep:用于Android原生代码精确污点分析的基于变异的依赖项生成

$μ$Dep: Mutation-based Dependency Generation for Precise Taint Analysis on Android Native Code

Cong Sun, Yuwan Ma, Dongrui Zeng, Gang Tan, Siqi Ma, Yafei Wu

摘要:

Android应用程序中存在的本机代码在触发秘密的不显眼传播和规避恶意软件检测方面发挥着重要作用。然而,用于Android应用程序的最先进的信息流分析工具都具有分析本机代码的有限功能。由于二进制级静态分析的复杂性,大多数静态分析器选择为本地代码的选定部分构建保守模型。虽然最近的语言间分析提高了跟踪本机代码中的信息流的能力,但它仍然远远没有达到专注于非本机Java方法的最先进的信息流分析器的类似效果。为了克服上述限制,我们提出了一个新的分析框架,$μ$ Dep,检测敏感信息流的Android应用程序包含本机代码。在这个框架中,我们结合了基于控制流的静态二进制分析和基于变异的动态分析来对应用程序中的本地代码的污染行为进行建模。根据分析结果,$μ$ Dep为相关的本机函数进行存根生成,以便于最先进的分析器DroidSafe提供本机代码的细粒度污染行为摘要。实验结果表明,与现有的中间语言静态分析方法相比,该框架在准确性上具有竞争力,能够有效地分析真实应用程序和恶意软件中的信息流。

英文摘要:

The existence of native code in Android apps plays an important role in triggering inconspicuous propagation of secrets and circumventing malware detection. However, the state-of-the-art information-flow analysis tools for Android apps all have limited capabilities of analyzing native code. Due to the complexity of binary-level static analysis, most static analyzers choose to build conservative models for a selected portion of native code. Though the recent inter-language analysis improves the capability of tracking information flow in native code, it is still far from attaining similar effectiveness of the state-of-the-art information-flow analyzers that focus on non-native Java methods. To overcome the above constraints, we propose a new analysis framework, $μ$Dep, to detect sensitive information flows of the Android apps containing native code. In this framework, we combine a control-flow based static binary analysis with a mutation-based dynamic analysis to model the tainting behaviors of native code in the apps. Based on the result of the analyses, $μ$Dep conducts a stub generation for the related native functions to facilitate the state-of-the-art analyzer DroidSafe with fine-grained tainting behavior summaries of native code. The experimental results show that our framework is competitive on the accuracy, and effective in analyzing the information flows in real-world apps and malware compared with the state-of-the-art inter-language static analysis.

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

↑