Lune

USENIX Security2023顶会

LibScan: Towards More Precise Third-Party Library Identification for Android Applications

Yafei Wu, Cong Sun, Dongrui Zeng, Gang Tan, Siqi Ma, Peicheng Wang

摘要

Android apps pervasively use third-party libraries (TPL) to reuse functionalities and improve development efficiency. The insufficient knowledge of the TPL internal exposes the developers and users to severe threats of security vulnerabilities. To mitigate such threats, people have proposed diversified approaches to identifying vulnerable or even malicious TPLs. However, the rich features of different modern obfuscators, including advanced repackaging, dead code removal, and control-flow randomization, have significantly impeded the precise detection of the TPLs. In this work, we propose a general-purpose TPL detection approach, LibScan. We first fingerprint code features to build the potential class correspondence relations between the app and TPL classes. Then, we use the method-opcode similarity and call-chain-opcode similarity to improve the accuracy of detected class correspondences. Moreover, we design early-stop criteria and reuse intermediate results to improve the efficiency of LibScan. In experiments, the evaluation with ground truths demonstrated the effectiveness of LibScan and its detection steps. We also applied LibScan to detect vulnerable TPLs in the top Google Play apps and large-scale wild apps, which shows the efficiency and scalability of our approach, as well as the potential of our approach as an auxiliary tool that helps malware detection.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Keep me Updated: An Empirical Study of Third-Party Library Updatability on Android 引用了 Reliable Third-Party Library Detection in Android and its Security Applications
  • A Longitudinal Analysis Of Replicas in the Wild Wild Android 引用了 Reliable Third-Party Library Detection in Android and its Security Applications
  • A Longitudinal Analysis Of Replicas in the Wild Wild Android 引用了 ATVHUNTER: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android Applications
  • Reliable Third-Party Library Detection in Android and its Security Applications 引用了 FLEXDROID: Enforcing In-App Privilege Separation in Android
  • Enhancing Security in Third-Party Library Reuse - Comprehensive Detection of 1-day Vulnerability through Code Patch Analysis 引用了 Reliable Third-Party Library Detection in Android and its Security Applications
  • Enhancing Security in Third-Party Library Reuse - Comprehensive Detection of 1-day Vulnerability through Code Patch Analysis 引用了 ATVHUNTER: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android Applications
  • Debun: Detecting Bundled JavaScript Libraries on Web using Property-Order Graphs 引用了 Reliable Third-Party Library Detection in Android and its Security Applications
  • Debun: Detecting Bundled JavaScript Libraries on Web using Property-Order Graphs 引用了 ATVHUNTER: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android Applications
  • ATVHUNTER: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android Applications 引用了 Reliable Third-Party Library Detection in Android and its Security Applications
  • How Does Code Optimization Impact Third-party Library Detection for Android Applications? 引用了 Keep me Updated: An Empirical Study of Third-Party Library Updatability on Android
  • How Does Code Optimization Impact Third-party Library Detection for Android Applications? 引用了 Reliable Third-Party Library Detection in Android and its Security Applications
  • How Does Code Optimization Impact Third-party Library Detection for Android Applications? 引用了 ATVHUNTER: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android Applications
  • How Does Code Optimization Impact Third-party Library Detection for Android Applications? 引用了 Statistical Deobfuscation of Android Applications
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper7

  1. How Does Code Optimization Impact Third-party Library Detection for Android Applications?Zifan Xie, Ming Wen, Tinghan Li, Yiding Zhu 等ASE 2024 · 3 次引用
  2. UI-CTX: Understanding UI Behaviors with Code Contexts for Mobile ApplicationsJiawei Li, Jiahao Liu, Jian Mao, Jun Zeng 等NDSS 2025
  3. A Longitudinal Analysis Of Replicas in the Wild Wild AndroidSyeda Mashal Abbas Zaidi, Shahpar Khan, Parjanya Vyas, Yousra AaferASE 2024
  4. Enhancing Security in Third-Party Library Reuse - Comprehensive Detection of 1-day Vulnerability through Code Patch AnalysisShangzhi Xu, Jialiang Dong, Weiting Cai, Juanru Li 等NDSS 2025
  5. Debun: Detecting Bundled JavaScript Libraries on Web using Property-Order GraphsSeojin Kim, Sungmin Park, Jihyeok ParkASE 2025

它引用的 Paper9

  1. Reliable Third-Party Library Detection in Android and its Security ApplicationsMichael Backes, Sven Bugiel, Erik DerrCCS 2016 · 345 次引用
  2. Keep me Updated: An Empirical Study of Third-Party Library Updatability on AndroidErik Derr, Sven Bugiel, Sascha Fahl, Yasemin Acar 等CCS 2017 · 196 次引用
  3. Statistical Deobfuscation of Android ApplicationsBenjamin Bichsel, Veselin Raychev, Petar Tsankov, Martin T. VechevCCS 2016 · 128 次引用
  4. FLEXDROID: Enforcing In-App Privilege Separation in AndroidJaebaek Seo, Daehyeok Kim, Donghyun Cho, Insik Shin 等NDSS 2016 · 114 次引用
  5. ATVHUNTER: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android ApplicationsXian Zhan, Lingling Fan, Sen Chen, Feng Wu 等ICSE 2021 · 85 次引用

相关 Paper

  1. An Empirical Study on the Robustness of Android Third-Party Library Detection Tools Against Advanced ObfuscationDahan Pan, Zhuohao Zhang, Yunjia Min, Runhan Feng 等ICSE 2026
  2. Automated Third-Party Library Detection for Android Applications: Are We There Yet?Xian Zhan, Lingling Fan, Tianming Liu, Sen Chen 等ASE 2020 · 55 次引用
  3. Precise and Efficient Patch Presence Test for Android Applications against Code ObfuscationZifan Xie, Ming Wen, Haoxiang Jia, Xiaochen Guo 等ISSTA 2023 · 12 次引用
  4. OSSFP: Precise and Scalable C/C++ Third-Party Library Detection using Fingerprinting FunctionsJiahui Wu, Zhengzi Xu, Wei Tang, Lyuye Zhang 等ICSE 2023 · 29 次引用
  5. Towards Global Matches for Third-Party Library Detection in AndroidLige Zhan, Jiang Ming, Chenke Luo, Guojun Peng 等ICSE 2026
黄昏的海面,两侧是细线勾勒的悬崖