App's Auto-Login Function Security Testing via Android OS-Level Virtualization

Wenna Song, Jiang Ming, Lin Jiang, Han Yan, Yi Xiang +3 more
3/5/2021
cs.CR

Official code: VPDroid/Dev (33 stars, C, GPL-2.0, last commit 2021-03-01).

Abstract

Limited by the small keyboard, most mobile apps support the automatic login feature for better user experience. Therefore, users avoid the inconvenience of retyping their ID and password when an app runs in the foreground again.

Show full abstract

However, this auto-login function can be exploited to launch the so-called "data-clone attack": once the locally-stored, auto-login depended data are cloned by attackers and placed into their own smartphones, attackers can break through the login-device number limit and log in to the victim's account stealthily. A natural countermeasure is to check the consistency of devicespecific attributes. As long as the new device shows different device fingerprints with the previous one, the app will disable the auto-login function and thus prevent data-clone attacks. In this paper, we develop VPDroid, a transparent Android OS-level virtualization platform tailored for security testing. With VPDroid, security analysts can customize different device artifacts, such as CPU model, Android ID, and phone number, in a virtual phone without user-level API hooking. VPDroid's isolation mechanism ensures that user-mode apps in the virtual phone cannot detect device-specific discrepancies. To assess Android apps' susceptibility to the data-clone attack, we use VPDroid to simulate data-clone attacks with 234 most-downloaded apps. Our experiments on five different virtual phone environments show that VPDroid's device attribute customization can deceive all tested apps that perform device-consistency checks, such as Twitter, WeChat, and PayPal. 19 vendors have confirmed our report as a zero-day vulnerability. Our findings paint a cautionary tale: only enforcing a device-consistency check at client side is still vulnerable to an advanced data-clone attack.

View on arXivView PDF

Code Implementations(1)

VPDroid/DevOfficial100%
GPL-2.0

VPDroid is a lightweight Android OS-level virtualization architecture

3319C, JavaNov 20, 20205 years agoGPL-2.0

Similar Papers

Cite this paper

@article{song2021apps,
  title  = {App's Auto-Login Function Security Testing via Android OS-Level Virtualization},
  author = {Wenna Song and Jiang Ming and Lin Jiang and Han Yan and Yi Xiang and Yuan Chen and Jianming Fu and Guojun Peng},
  year   = {2021},
  eprint = {2103.03511},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.03511}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.03511.svg)](https://codeofpaper.com/paper/2103.03511)

Discussion