Lune

ISSTA2023Top-tier venue

Precise and Efficient Patch Presence Test for Android Applications against Code Obfuscation

Zifan Xie, Ming Wen, Haoxiang Jia, Xiaochen Guo, Xiaotong Huang, Deqing Zou, Hai Jin

Abstract

Third-party libraries (TPLs) are widely utilized by Android developers to implement new apps. Unfortunately, TPLs are often suffering from various vulnerabilities, which could be exploited by attackers to cause catastrophic consequences for app users. Therefore, testing whether a vulnerability has been patched in target apps is crucial. However, existing techniques are unable to effectively test patch presence for obfuscated apps while obfuscation is pervasive in practice. To address the new challenges introduced by code obfuscation, this study presents PHunter, which is a system that captures obfuscation-resilient semantic features of patch-related methods to identify the presence of the patch in target apps. Specifically, PHunter utilizes coarse-grained features to locate patch-related methods, and compares the fine-grained semantic similarity to determine whether the code has been patched. Extensive evaluations on 94 CVEs and 200 apps show that PHunter can outperform state-of-the-art tools, achieving an average accuracy of 97.1% with high efficiency and low false positive rates. Besides, PHunter is able to be resilient to different obfuscation strategies. More importantly, PHunter is useful in eliminating the false alarms generated by existing TPL detection tools. In particular, it can help reduce up to 25.2% of the false alarms with an accuracy of 95.3%.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

9 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Patch based vulnerability matching for binary programs cites Precise and Accurate Patch Presence Test for Binaries
  • ATVHUNTER: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android Applications cites Reliable Third-Party Library Detection in Android and its Security Applications
  • ATVHUNTER: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android Applications cites Automated Third-Party Library Detection for Android Applications: Are We There Yet?
  • Automated Third-Party Library Detection for Android Applications: Are We There Yet? cites Reliable Third-Party Library Detection in Android and its Security Applications
  • Unveiling the Characteristics and Impact of Security Patch Evolution cites Patch based vulnerability matching for binary programs
  • Unveiling the Characteristics and Impact of Security Patch Evolution cites ATVHUNTER: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android Applications
  • Unveiling the Characteristics and Impact of Security Patch Evolution cites Precise and Accurate Patch Presence Test for Binaries
  • REACT: IR-Level Patch Presence Test for Binary cites Patch based vulnerability matching for binary programs
  • REACT: IR-Level Patch Presence Test for Binary cites Precise and Accurate Patch Presence Test for Binaries
  • REACT: IR-Level Patch Presence Test for Binary cites PS3: Precise Patch Presence Test based on Semantic Symbolic Signature
  • How Does Code Optimization Impact Third-party Library Detection for Android Applications? cites Reliable Third-Party Library Detection in Android and its Security Applications
  • How Does Code Optimization Impact Third-party Library Detection for Android Applications? cites ATVHUNTER: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android Applications
  • PS3: Precise Patch Presence Test based on Semantic Symbolic Signature cites Patch based vulnerability matching for binary programs
  • PS3: Precise Patch Presence Test based on Semantic Symbolic Signature cites Precise and Accurate Patch Presence Test for Binaries
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers9

  1. PS3: Precise Patch Presence Test based on Semantic Symbolic SignatureQi Zhan, Xing Hu, Zhiyang Li, Xin Xia et al.ICSE 2024 · 4 citations
  2. How Does Code Optimization Impact Third-party Library Detection for Android Applications?Zifan Xie, Ming Wen, Tinghan Li, Yiding Zhu et al.ASE 2024 · 3 citations
  3. Unveiling the Characteristics and Impact of Security Patch EvolutionZifan Xie, Ming Wen, Zichao Wei, Hai JinASE 2024 · 2 citations
  4. REACT: IR-Level Patch Presence Test for BinaryQi Zhan, Xing Hu, Xin Xia, Shanping LiASE 2024 · 2 citations
  5. OBsmith: LLM-Powered JavaScript Obfuscator TestingShan Jiang, Chenguang Zhu, Sarfraz KhurshidOOPSLA 2026 · 2 citations

Builds on9

  1. Reliable Third-Party Library Detection in Android and its Security ApplicationsMichael Backes, Sven Bugiel, Erik DerrCCS 2016 · 345 citations
  2. Precise and Accurate Patch Presence Test for BinariesHang Zhang, Zhiyun QianUSENIX Security 2018 · 91 citations
  3. ATVHUNTER: Reliable Version Detection of Third-Party Libraries for Vulnerability Identification in Android ApplicationsXian Zhan, Lingling Fan, Sen Chen, Feng Wu et al.ICSE 2021 · 85 citations
  4. Patch based vulnerability matching for binary programsYifei Xu, Zhengzi Xu, Bihuan Chen, Fu Song et al.ISSTA 2020 · 74 citations
  5. Automated Third-Party Library Detection for Android Applications: Are We There Yet?Xian Zhan, Lingling Fan, Tianming Liu, Sen Chen et al.ASE 2020 · 55 citations

Related papers

  1. Beyond Fuzzy Matching: Constraint-Guided Patch Presence Testing for Obfuscated Java BinariesLige Zhan, Jiang Ming, Chenke Luo, Letian Sha et al.ICSE 2026
  2. An Empirical Study on the Robustness of Android Third-Party Library Detection Tools Against Advanced ObfuscationDahan Pan, Zhuohao Zhang, Yunjia Min, Runhan Feng et al.ICSE 2026
  3. LibScan: Towards More Precise Third-Party Library Identification for Android ApplicationsYafei Wu, Cong Sun, Dongrui Zeng, Gang Tan et al.USENIX Security 2023
  4. Towards Global Matches for Third-Party Library Detection in AndroidLige Zhan, Jiang Ming, Chenke Luo, Guojun Peng et al.ICSE 2026
  5. PPT4J: Patch Presence Test for Java BinariesZhiyuan Pan, Xing Hu, Xin Xia, Xian Zhan et al.ICSE 2024 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines