Self-Hiding Behavior in Android Apps: Detection and Characterization

Author email: zhiyong.shan@wichita.edu
Tool name: SelfHiding
Description: Applications (apps) that conceal their activities are fundamentally deceptive; app marketplaces and end-users should treat such apps as suspicious. However, due to its nature and intent, activity concealing is not disclosed up-front, which puts users at risk. In this paper, we focus on characterization and detection of such techniques, e.g., hiding the app or removing traces, which we call "self hiding behavior" (SHB). SHB has not been studied per se - rather it has been reported on only as a byproduct of malware investigations. We address this gap via a study and suite of static analyses targeted at SH in Android apps. Specifically, we present (1) a detailed characterization of SHB, (2) a suite of static analyses to detect such behavior, and (3) a set of detectors that employ SHB to distinguish between benign and malicious apps. We show that SHB ranges from hiding the app's presence or activity to covering an app's traces, e.g., by blocking phone calls/text messages or removing calls and messages from logs. Using our static analysis tools on a large dataset of 9,452 Android apps (benign as well as malicious) we expose the frequency of 12 such SH behaviors. Our approach is effective: it has revealed that malicious apps employ 1.5 SHBs per app on average. Surprisingly, SH behavior is also employed by legitimate ("benign") apps, which can affect users negatively in multiple ways. When using our approach for separating malicious from benign apps, our approach has high precision and recall (combined F-measure = 87.19%). Our approach is also efficient, with analysis typically taking just 37 seconds per app. We believe that our findings and analysis tool are beneficial to both app marketplaces and end-users.
Bibtex: @inproceedings{10.1145/3180155.3180214, author = {Shan, Zhiyong and Neamtiu, Iulian and Samuel, Raina}, title = {Self-Hiding Behavior in Android Apps: Detection and Characterization}, year = {2018}, isbn = {9781450356381}, publisher = {Association for Computing Machinery}, address = {New York, NY, USA}, url = {https://doi.org/10.1145/3180155.3180214}, doi = {10.1145/3180155.3180214}, booktitle = {Proceedings of the 40th International Conference on Software Engineering}, pages = {728–739}, numpages = {12}, keywords = {malware, static analysis, Android, mobile security}, location = {Gothenburg, Sweden}, series = {ICSE ’18} }
Link to public pdf: https://dl.acm.org/doi/abs/10.1145/3180155.3180214
Link to tool webpage: http://spruce.cs.ucr.edu/SelfHiding/
Link to demo: Not provided by authors
Category: None
Year and Conference: 2018, ICSE
Terms of use