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

Cong Sun, Yuwan Ma, Dongrui Zeng, Gang Tan, Siqi Ma +1 more
12/13/2021
cs.CR

Official code: suncongxd/muDep (7 stars, Java, last commit 2021-03-01).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

suncongxd/muDepOfficial100%
72Java, PythonJan 2, 20215 years ago

Similar Papers

Cite this paper

@article{sun2021dep,
  title  = {μDep: Mutation-based Dependency Generation for Precise Taint Analysis on Android Native Code},
  author = {Cong Sun and Yuwan Ma and Dongrui Zeng and Gang Tan and Siqi Ma and Yafei Wu},
  year   = {2021},
  eprint = {2112.06702},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2112.06702}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2112.06702.svg)](https://codeofpaper.com/paper/2112.06702)

Discussion