LESdroid

Jun Ma,Shaocong Liu,Yanyan Jiang,Xianping Tao,Chang Xu,Jian Lü
DOI: https://doi.org/10.1145/3196321.3196336
2018-01-01
Abstract:Services are widely used in Android apps. However, services may leak such that they are no longer used but cannot be recycled by the Garbage Collector. Service leaks may cause an app to misbehave, and are vulnerable to malicious external apps when the service is exported or it is accessible through other exported services. In this paper, we present LESDroid for exported service leaks detection. LESDroid automatically generates service instances and workloads (start/stop or bind/unbind of exported services) of the app under test, and applies a designated oracle to the heap snapshot for service leak detection. We evaluated LESDroid using 375 commercial apps, and found 97 leaked services and 98 distinct leak entries in 70 apps.
What problem does this paper attempt to address?