All about activity injection: Threats, semantics, detection, and defense
- 30 January 2020
- journal article
- research article
- Published by Wiley in Software: Practice and Experience
- Vol. 50 (7) , 1061-1086
Abstract
Summary: Android supports seamless user experience by maintaining activities from different applications (apps) in the same activity stack. Although such close inter‐app communication is essential in the Android framework, the powerful inter‐app communication contains vulnerabilities that can inject malicious activities into a victim app's activity stack to hijack user interaction flows. In this article, we demonstrate activity injection attacks with a simple malware, and formally specify the activity activation mechanism using operational semantics. Based on the operational semantics, we develop a static analysis tool, which analyzes Android apps to detect activity injection attacks. Our tool is fast enough to analyze real‐world Android apps in 6 seconds on average, and our experiments found that 1761 apps out of 129,756 real‐world Android apps inject their activities into other apps' tasks. Moreover, we propose a defense mechanism, dubbed signature‐based activity access control (SAAC), which completely prohibits activity injection attacks. The defense mechanism is general enough to keep the current Android multitasking features intact, and it is simple enough to be independent of the complex activity activation semantics, which does not increase activity activation time noticeably. With the extension of the formal semantics for SAAC, we prove that SAAC correctly mitigates activity injection attacks without any false alarms.Keywords
Funding Information
- National Research Foundation of Korea (2017R1A2B3012020 and 2017M3C4A7068177)
This publication has 21 references indexed in Scilit:
- IccTA: Detecting Inter-Component Privacy Leaks in Android Apps2015
- Information-Flow Analysis of Android Applications in DroidSafe2015
- FlowDroidACM SIGPLAN Notices, 2014
- TaintDroidACM Transactions on Computer Systems, 2014
- Execute This! Analyzing Unsafe and Malicious Dynamic Code Loading in Android Applications2014
- Screenmilker: How to Milk Your Android Screen for Secrets2014
- Touchjacking Attacks on Web in Android, iOS, and Windows Phone2013
- TapLogger2012
- Attacks on WebView in the Android system2011
- Semantically rich application‐centric security in AndroidSecurity and Communication Networks, 2011