Skip to main content
QUICK REVIEW

[Paper Review] I know what leaked in your pocket: uncovering privacy leaks on Android Apps with Static Taint Analysis

Li Li, Alexandre Bartel|TUbilio (Technical University of Darmstadt)|Apr 29, 2014
Advanced Malware Detection TechniquesComputer Science27 references67 citations
TL;DR

This paper presents IccTA, a static taint analysis tool that detects inter-component and inter-application privacy leaks in Android apps by modeling Android's lifecycle, callback methods, and Intent-based component communication with high precision. It achieves 95.0% precision and 82.6% recall on DroidBench and detects 147 real-world privacy leaks in 14 apps with 88.4% precision.

ABSTRACT

Android applications may leak privacy data carelessly or maliciously. In this work we perform inter-component data-flow analysis to detect privacy leaks between components of Android applications. Unlike all current approaches, our tool, called IccTA, propagates the context between the components, which improves the precision of the analysis. IccTA outperforms all other available tools by reaching a precision of 95.0% and a recall of 82.6% on DroidBench. Our approach detects 147 inter-component based privacy leaks in 14 applications in a set of 3000 real-world applications with a precision of 88.4%. With the help of ApkCombiner, our approach is able to detect inter-app based privacy leaks.

Motivation & Objective

  • Address the challenge of detecting inter-component and inter-application privacy leaks in Android apps, which existing tools often miss due to limited component communication modeling.
  • Overcome the limitations of prior static taint analysis tools that fail to model Android's lifecycle callbacks and Intent-based inter-component communication (ICC) accurately.
  • Improve precision in detecting privacy leaks by instrumenting app code to model control-flow discontinuities caused by dynamic Intent resolution and lifecycle management.
  • Enable detection of both intra-component and complex cross-component or cross-app data flows involving sensitive sources and external sinks.
  • Provide a generic framework for inter-component data-flow analysis that can be extended to detect other security vulnerabilities beyond privacy leaks.

Proposed method

  • Instrument the original Android app code to model Android's lifecycle callbacks (e.g., onCreate, onResume) and dynamically resolved Intent flows.
  • Construct a precise control-flow graph that accounts for component boundaries and Intent-based communication by resolving Intent Filters and Intent objects at compile time.
  • Perform context-sensitive taint analysis across components by propagating taints through method calls, parameters, and return values, including those involving Android OS methods.
  • Model all Android OS methods (except native ones) using a dummy main method to preserve taint propagation accuracy, avoiding conservative assumptions.
  • Use a combination of static taint tracking and component-level analysis to detect data flows from sensitive sources (e.g., contacts, location) to external sinks (e.g., network calls).
  • Leverage ApkCombiner to enable detection of inter-app privacy leaks by analyzing multiple APKs as a single unit.

Experimental results

Research questions

  • RQ1Can static taint analysis effectively detect inter-component privacy leaks in Android apps by modeling lifecycle callbacks and Intent-based communication?
  • RQ2How does context-sensitive taint propagation across components improve precision compared to non-context-sensitive or flow-insensitive approaches?
  • RQ3To what extent does modeling Android’s dynamic Intent resolution and component lifecycle enhance the detection of real-world privacy leaks?
  • RQ4How does IccTA compare in precision and recall to existing tools like FlowDroid, AndroidLeaks, and SCanDroid on standardized benchmarks?
  • RQ5Can the proposed approach detect inter-application privacy leaks, and how effective is it in practice on real-world apps?

Key findings

  • IccTA achieves 95.0% precision and 82.6% recall on the DroidBench benchmark, outperforming existing tools in detecting inter-component privacy leaks.
  • The tool detected 147 inter-component privacy leaks in 14 real-world Android applications from a set of 3,000 apps, with a precision of 88.4%.
  • By modeling lifecycle callbacks and Intent resolution, IccTA avoids the over-approximation common in traditional static taint analysis, reducing false positives.
  • The instrumented control-flow graph enables accurate taint propagation across component boundaries, even when components are invoked via implicit Intents.
  • IccTA’s approach is more precise than matching-based tools like SCanDroid and SEFA because it uses code instrumentation instead of conservative heuristics.
  • The integration with ApkCombiner allows IccTA to detect inter-app privacy leaks, extending its applicability beyond single-app analysis.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.