Too Quiet in the Library: An Empirical Study of Security Updates in Android Apps' Native Code

被引:18
作者
Almanee, Sumaya [1 ]
Unal, Arda [1 ]
Payer, Mathias [2 ]
Garcia, Joshua [1 ]
机构
[1] Univ Calif Irvine, Irvine, CA 92717 USA
[2] Ecole Polytech Fed Lausanne, Lausanne, Switzerland
来源
2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2021) | 2021年
基金
美国国家科学基金会; 欧盟地平线“2020”; 欧洲研究理事会;
关键词
D O I
10.1109/ICSE43902.2021.00122
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Android apps include third-party native libraries to increase performance and to reuse functionality. Native code is directly executed from apps through the Java Native Interface or the Android Native Development Kit. Android developers add precompiled native libraries to their projects, enabling their use. Unfortunately, developers often stniggle or simply neglect to update these libraries in a timely manner. This results in the continuous use of outdated native libraries with unpatched security vulnerabilities years after patches became available. To further understand such phenomena, we study the security updates in native libraries in the most popular 200 free apps on Google Play from Sept. 2013 to May 2020. A core difficulty we face in this study is the identification of libraries and their versions. Developers often rename or modify libraries, making their identification challenging. We create an approach called LibRARIAN (LibRAry veRsion IdentificAtioN) that accurately identifies native libraries and their versions as found in Android apps based on our novel similarity metric bin(2)sim. LibRARIAN leverages different features extracted from libraries based on their metadata and identifying strings in read-only sections. We discovered 53/200 popular apps (26.5%) with vulnerable versions with known CVEs between Sept. 2013 and May 2020, with 14 of those apps remaining vulnerable. We find that app developers took, on average, 528.71 +/- 40.20 days to apply security patches, while library developers release a security patch after 54.59 +/- 8.12 days-a 10 times slower rate of update.
引用
收藏
页码:1347 / 1359
页数:13
相关论文
共 32 条
[21]  
Liu B., 2015, P 13 ANN INT C MOB S, P89, DOI 10.1145/2742647.2742668
[22]   LibRadar: Fast and Accurate Detection of Third-party Libraries in Android Apps [J].
Ma, Ziang ;
Wang, Haoyu ;
Guo, Yao ;
Chen, Xiangqun .
2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING COMPANION (ICSE-C), 2016, :653-656
[23]   The Android OS stack and its vulnerabilities: an empirical study [J].
Mazuera-Rozo, Alejandro ;
Bautista-Mora, Jairo ;
Linares-Vasquez, Mario ;
Rueda, Sandra ;
Bavota, Gabriele .
EMPIRICAL SOFTWARE ENGINEERING, 2019, 24 (04) :2056-2101
[24]  
Ming Jiang, 2017, USENIX SEC S
[25]  
Narayanan A., 2017, 2014 IEEE 9 INT C IN, P1
[26]   Analyzing Ad Library Updates in Android Apps [J].
Ruiz, Israel J. Mojica ;
Nagappan, Meiyappan ;
Adams, Bram ;
Berger, Thorsten ;
Dienst, Steffen ;
Hassan, Ahmed E. .
IEEE SOFTWARE, 2016, 33 (02) :74-80
[27]   FLEXDROID: Enforcing In-App Privilege Separation in Android [J].
Seo, Jaebaek ;
Kim, Daehyeok ;
Cho, Donghyun ;
Kim, Taesoo ;
Shin, Insik .
23RD ANNUAL NETWORK AND DISTRIBUTED SYSTEM SECURITY SYMPOSIUM (NDSS 2016), 2016,
[28]   (State of) The Art of War: Offensive Techniques in Binary Analysis [J].
Shoshitaishvili, Yan ;
Wang, Ruoyu ;
Salls, Christopher ;
Stephens, Nick ;
Polino, Mario ;
Dutcher, Andrew ;
Grosen, John ;
Feng, Siji ;
Hauser, Christophe ;
Kruegel, Christopher ;
Vigna, Giovanni .
2016 IEEE SYMPOSIUM ON SECURITY AND PRIVACY (SP), 2016, :138-157
[29]  
Sun M., 2014, P 2014 ACM C SEC PRI, P165, DOI [10.1145/2627393.2627396, DOI 10.1145/2627393]
[30]  
Wang HQ, 2015, ACSR ADV COMPUT, V20, P71