Skip to main navigation Skip to search Skip to main content

DroidRA: Taming reflection to support whole-program analysis of android apps

  • Li Li
  • , Tegawendé F. Bissyandé
  • , Damien Octeau
  • , Jacques Klein
  • University of Luxembourg
  • Pennsylvania State University

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Android developers heavily use reflection in their apps for legitimate reasons, but also significantly for hiding malicious actions. Unfortunately, current state-of-the-art static analysis tools for Android are challenged by the presence of reflective calls which they usually ignore. Thus, the results of their security analysis, e.g., for private data leaks, are inconsistent given the measures taken by malware writers to elude static detection. We propose the DroidRA instrumentation-based approach to address this issue in a non-invasive way. With DroidRA, we reduce the resolution of reflective calls to a composite constant propagation problem. We leverage the COAL solver to infer the values of reflection targets and app, and we eventually instrument this app to include the corresponding traditional Java call for each reflective call. Our approach allows to boost an app so that it can be immediately analyzable, including by such static analyzers that were not reflection-aware. We evaluate DroidRA on benchmark apps as well as on real-world apps, and demonstrate that it can allow state-of-the-art tools to provide more sound and complete analysis results.

Original languageEnglish
Title of host publicationISSTA 2016 - Proceedings of the 25th International Symposium on Software Testing and Analysis
EditorsAbhik Roychoudhury, Andreas Zeller
PublisherAssociation for Computing Machinery, Inc
Pages318-329
Number of pages12
ISBN (Electronic)9781450343909
DOIs
StatePublished - 18 Jul 2016
Externally publishedYes
Event25th International Symposium on Software Testing and Analysis, ISSTA 2016 - Saarbrucken, Germany
Duration: 18 Jul 201620 Jul 2016

Publication series

NameISSTA 2016 - Proceedings of the 25th International Symposium on Software Testing and Analysis

Conference

Conference25th International Symposium on Software Testing and Analysis, ISSTA 2016
Country/TerritoryGermany
CitySaarbrucken
Period18/07/1620/07/16

Keywords

  • Android
  • DroidRA
  • Reflection
  • Static analysis

Fingerprint

Dive into the research topics of 'DroidRA: Taming reflection to support whole-program analysis of android apps'. Together they form a unique fingerprint.

Cite this