DPC:A Dynamic Permission Control Mechanism for Android Third-Party Libraries

被引:2
|
作者
Hsu, Fu-Hau [1 ]
Liu, Nien-Chi [1 ]
Hwang, Yan-Ling [2 ]
Liu, Che-Hao [1 ]
Wang, Chuan-Sheng [1 ]
Chen, Chang-Yi [1 ]
机构
[1] Natl Cent Univ, Dept Comp Sci & Informat Engn, Taoyuan 320, Taiwan
[2] Chung Shan Med Univ, Dept Appl Foreign Languages, Taichung 402, Taiwan
关键词
Libraries; Security; Privacy; Google; Malware; Facebook; Computer science; Third-party library; privacy; in-app advertisement; security;
D O I
10.1109/TDSC.2019.2937925
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Today's smartphone app stores are full of apps with diverse features. Many developers use third-party libraries to reduce the development time and cost, but developers often ignore the security problems of third-party libraries. A major security problem introduced by third-party libraries is that a third-party library has the same permissions as the apps, called host-apps hereafter, that use it. According to previous research, having the same permissions as its host apps, a third-party library could have unauthorized access to user data, which poses a serious threat to app users. Therefore, how to prevent third-party libraries from abusing permissions has become an important issue. To solve this problem, this paper proposes a Dynamic Permission Control mechanism, called Dynamic Permission Controller or DPC hereafter, for app developers to prohibit third-party libraries from abusing host apps' dangerous permissions. DPC modifies the permission control mechanism of Android framework to make apps have a more flexible permission management mechanism when they are running. DPC provides new APIs which allows an app to dynamically disable a granted dangerous permission before invoking an API of a third-party library and restore the dangerous permission after completing the API. Hence, DPC protects user's privacy by blocking unauthorized access from third-party libraries. Meanwhile, without the requirement that an app developer needs to know the detail of third-party libraries, the app still can use APIs of third-party libraries safely. Experimental results show that DPC works with many popular apps downloaded from Google Play well and DPC prohibits a third-party library from having the same dangerous permissions that its host apps have. Hence, unlike previous solutions, DPC does not have compatibility problems. The overhead introduced by DPC on an emulator and Nexus 7 are 1.8 and 0.3 percent respectively.
引用
收藏
页码:1751 / 1761
页数:11
相关论文
共 50 条
  • [41] Security analysis and enhancement of third-party android push service
    Lu Y.
    Li Y.
    Ying L.
    Gu Y.
    Su P.
    Feng D.
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2016, 53 (11): : 2431 - 2445
  • [42] AndroLib: Third-Party Software Library Recommendation for Android Applications
    Chouchen, Moataz
    Ouni, Ali
    Mkaouer, Mohamed Wiem
    REUSE IN EMERGING SOFTWARE ENGINEERING PRACTICES, ICSR 2020, 2020, 12541 : 208 - 225
  • [43] Demystifying Privacy Policy of Third-Party Libraries in Mobile Apps
    Zhao, Kaifa
    Zhan, Xian
    Yu, Le
    Zhou, Shiyao
    Zhou, Hao
    Luo, Xiapu
    Wang, Haoyu
    Liu, Yepang
    2023 IEEE/ACM 45TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, ICSE, 2023, : 1583 - 1595
  • [44] CrossRec: Supporting software developers by recommending third-party libraries
    Nguyen, Phuong T.
    Di Rocco, Juri
    Di Ruscio, Davide
    Di Penta, Massimiliano
    JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 161 (161)
  • [45] Do Developers Update Third-Party Libraries in Mobile Apps?
    Salza, Pasquale
    Palomba, Fabio
    Di Nucci, Dario
    D'Uva, Cosmo
    De Lucia, Andrea
    Ferrucci, Filomena
    2018 IEEE/ACM 26TH INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION (ICPC 2018), 2018, : 255 - 265
  • [46] Selecting third-party libraries: the data scientist's perspective
    Nadi, Sarah
    Sakr, Nourhan
    EMPIRICAL SOFTWARE ENGINEERING, 2023, 28 (01)
  • [47] Selecting third-party libraries: the data scientist’s perspective
    Sarah Nadi
    Nourhan Sakr
    Empirical Software Engineering, 2023, 28
  • [48] CanvasMirror: Secure Integration of Third-Party Libraries in a WebVR Environment
    Lee, Jiyeon
    2020 50TH ANNUAL IEEE-IFIP INTERNATIONAL CONFERENCE ON DEPENDABLE SYSTEMS AND NETWORKS-SUPPLEMENTAL VOLUME (DSN-S), 2020, : 75 - 76
  • [49] Armor Within: Defending against Vulnerabilities in Third-Party Libraries
    Ali, Sameed
    Anantharaman, Prashant
    Smith, Sean W.
    2020 IEEE SYMPOSIUM ON SECURITY AND PRIVACY WORKSHOPS (SPW 2020), 2020, : 291 - 299
  • [50] Demystifying Privacy Policy of Third-Party Libraries in Mobile Apps
    Zhao, Kaifa
    Zhan, Xian
    Yu, Le
    Zhou, Shiyao
    Zhou, Hao
    Luo, Xiapu
    Wang, Haoyu
    Liu, Yepang
    Proceedings - International Conference on Software Engineering, 2023, : 1583 - 1595