Detecting Potential User-data Save & Export Losses due to Android App Termination

被引:0
|
作者
Rahaman, Sydur [1 ]
Farooq, Umar [2 ]
Neamtiu, Iulian [1 ]
Zhao, Zhijia [2 ]
机构
[1] New Jersey Inst Technol, Newark, NJ USA
[2] U Calif Riverside, Riverside, CA USA
基金
美国国家科学基金会;
关键词
Android; Mobile Apps; Static Analysis; Dynamic Analysis; Persistence;
D O I
10.1109/AST58925.2023.00019
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
A common feature in Android apps is saving, or exporting, user's work (e.g., a drawing) as well as data (e.g., a spreadsheet) onto local storage, as a file. Due to the volatile nature of the OS and the mobile environment in general, the system can terminate apps without notice, which prevents the execution of file write operations; consequently, user data that was supposed to be saved/exported is instead lost. Testing apps for such potential losses raises several challenges: how to identify data originating from user input or resulting from user action (then check whether it is saved), and how to reproduce a potential error by terminating the app at the exact moment when unsaved changes are pending. We address these challenges via an approach that finds potential "lost writes", i.e., user data supposed to be written to a file, but the file write does not take place due to system-initiated termination. Our approach consists of two phases: a static analysis that finds potential losses and a dynamic loss verification phase where we compare lossy and lossless system-level file write traces to confirm errors. We ran our analysis on 2,182 apps from Google Play and 38 apps from F-Droid. Our approach found 163 apps where termination caused losses, including losing user's app-specific data, notes, photos, user's work and settings. In contrast, two state-of-the-art tools aimed at finding volatility errors in Android apps failed to discover the issues we found.
引用
收藏
页码:152 / 162
页数:11
相关论文
共 3 条
  • [1] Detecting Android Inter-App Data Leakage via Compositional Concolic Walking
    Wu, Tianjun
    Yang, Yuexiang
    INTELLIGENT AUTOMATION AND SOFT COMPUTING, 2019, 25 (04): : 755 - 766
  • [2] eddLeak: Enhancing Precision of Detecting Inter-app Data Leakage in Android Applications
    Phan The Duy
    Van-Hau Pham
    Nguyen Tan Cam
    2017 IEEE 9TH INTERNATIONAL CONFERENCE ON COMMUNICATION SOFTWARE AND NETWORKS (ICCSN), 2017, : 674 - 679
  • [3] The Fermi problem: Estimation of potential Billing losses due to Undercoding of Florida Medicare data
    Tenpas, Andrew
    Dietrich, Eric
    EXPLORATORY RESEARCH IN CLINICAL AND SOCIAL PHARMACY, 2023, 9