FlowDroid
Steven Arzt, Siegfried Rasthofer, Christian Fritz et al. · ACM SIGPLAN Notices · 2014
Today's smartphones are a ubiquitous source of private and confidential data. At the same time, smartphone users are plagued by carelessly programmed apps that leak important data by accident, and by malicious apps that exploit their given privileges to copy such data intentionally. While existing static taint-analysis approaches have the potential of detecting such data leaks ahead of time, all approaches for Android use a number of coarse-grain approximations that can yield high numbers of missed leaks and false alarms. In this work we thus present FlowDroid, a novel and highly precise static taint analysis for Android applications. A precise model of Android's lifecycle allows the analysis to properly handle callbacks invoked by the Android framework, while context, flow, field and object-sensitivity allows the analysis to reduce the number of false alarms. Novel on-demand algorithms help FlowDroid maintain high efficiency and precision at the same time. We also propose DroidBench, an open test suite for evaluating the effectiveness and accuracy of taint-analysis tools specifically for Android apps. As we show through a set of experiments using SecuriBench Micro, DroidBench, and a set of well-known Android test applications, FlowDroid finds a very high fraction of data leaks while keeping the rate of false positives low. On DroidBench, FlowDroid achieves 93% recall and 86% precision, greatly outperforming the commercial tools IBM AppScan Source and Fortify SCA. FlowDroid successfully finds leaks in a subset of 500 apps from Google Play and about 1,000 malware apps from the VirusShare project.
Cited by 946 works. doi:10.1145/2666356.2594299
Authors
- Steven Arzt
- Siegfried Rasthofer
- Eric Bodden
- Alexandre Bartel
- Jacques Klein
- Yves Le Traon
- Damien Octeau
- Patrick Drew McDaniel
References
- TaintDroid: an information-flow tracking system for realtime privacy monitoring on smartphones
- Dissecting Android Malware: Characterization and Evolution
- Precise interprocedural dataflow analysis via graph reachability
- USENIX Security Symposium
- A survey of mobile malware in the wild
- Unsafe exposure analysis of mobile in-app advertisements
- CHEX
- AndroidLeaks: Automatically Detecting Potential Privacy Leaks in Android Applications on a Large Scale
- Scaling Java Points-to Analysis Using Spark
- Taming reflection