Lune

ICSE2024顶会

PPT4J: Patch Presence Test for Java Binaries

Zhiyuan Pan, Xing Hu, Xin Xia, Xian Zhan, David Lo, Xiaohu Yang

摘要

The number of vulnerabilities reported in open source software has increased substantially in recent years. Security patches provide the necessary measures to protect software from attacks and vulnerabilities. In practice, it is difficult to identify whether patches have been integrated into software, especially if we only have binary files. Therefore, the ability to test whether a patch is applied to the target binary, a.k.a. patch presence test, is crucial for practitioners. However, it is challenging to obtain accurate semantic information from patches, which could lead to incorrect results. In this paper, we propose a new patch presence test framework named Ppt4J (Patch Presence Test for Java Binaries). Ppt4J is designed for open-source Java libraries. It takes Java binaries (i.e. bytecode files) as input, extracts semantic information from patches, and uses feature-based techniques to identify patch lines in the binaries. To evaluate the effectiveness of our proposed approach Ppt4J, we construct a dataset with binaries that include 110 vulnerabilities. The results show that Ppt4J achieves an F1 score of 98.5% with reasonable efficiency, improving the baseline by 14.2%. Furthermore, we conduct an in-the-wild evaluation of Ppt4J on JetBrains IntelliJ IDEA. The results suggest that a third-party library included in the software is not patched for two CVEs, and we have reported this potential security problem to the vendor.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Bytecode-centric Detection of Known-to-be-vulnerable Dependencies in Java Projects 引用了 Precise and Accurate Patch Presence Test for Binaries
  • Bytecode-centric Detection of Known-to-be-vulnerable Dependencies in Java Projects 引用了 PDiff: Semantic-based Patch Presence Testing for Downstream Kernels
  • Precise and Accurate Patch Presence Test for Binaries 引用了 Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection
  • Precise and Accurate Patch Presence Test for Binaries 引用了 Scalable Graph-based Bug Search for Firmware Images
  • PDiff: Semantic-based Patch Presence Testing for Downstream Kernels 引用了 Precise and Accurate Patch Presence Test for Binaries
  • PDiff: Semantic-based Patch Presence Testing for Downstream Kernels 引用了 Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection
  • PDiff: Semantic-based Patch Presence Testing for Downstream Kernels 引用了 discovRE: Efficient Cross-Architecture Identification of Bugs in Binary Code
  • PDiff: Semantic-based Patch Presence Testing for Downstream Kernels 引用了 Scalable Graph-based Bug Search for Firmware Images
  • Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection 引用了 discovRE: Efficient Cross-Architecture Identification of Bugs in Binary Code
  • Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection 引用了 Scalable Graph-based Bug Search for Firmware Images
  • REACT: IR-Level Patch Presence Test for Binary 引用了 Precise and Accurate Patch Presence Test for Binaries
  • REACT: IR-Level Patch Presence Test for Binary 引用了 PDiff: Semantic-based Patch Presence Testing for Downstream Kernels
  • Scalable Graph-based Bug Search for Firmware Images 引用了 discovRE: Efficient Cross-Architecture Identification of Bugs in Binary Code
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. REACT: IR-Level Patch Presence Test for BinaryQi Zhan, Xing Hu, Xin Xia, Shanping LiASE 2024 · 2 次引用
  2. Bytecode-centric Detection of Known-to-be-vulnerable Dependencies in Java ProjectsStefan Schott, Serena Elisa Ponta, Wolfram Fischer, Jonas Klauke 等ICSE 2026
  3. VulPA: Detecting Semantically Recurring Vulnerabilities with Multi-object Typestate AnalysisLiqing Cao, Haofeng Li, Chenghang Shi, Jie Lu 等FSE 2025

它引用的 Paper6

  1. Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity DetectionXiaojun Xu, Chang Liu, Qian Feng, Heng Yin 等CCS 2017 · 682 次引用
  2. Scalable Graph-based Bug Search for Firmware ImagesQian Feng, Rundong Zhou, Chengcheng Xu, Yao Cheng 等CCS 2016 · 456 次引用
  3. discovRE: Efficient Cross-Architecture Identification of Bugs in Binary CodeSebastian Eschweiler, Khaled Yakdan, Elmar Gerhards-PadillaNDSS 2016 · 342 次引用
  4. Precise and Accurate Patch Presence Test for BinariesHang Zhang, Zhiyun QianUSENIX Security 2018 · 91 次引用
  5. PDiff: Semantic-based Patch Presence Testing for Downstream KernelsZheyue Jiang, Yuan Zhang, Jun Xu, Qi Wen 等CCS 2020 · 54 次引用

相关 Paper

  1. Beyond Fuzzy Matching: Constraint-Guided Patch Presence Testing for Obfuscated Java BinariesLige Zhan, Jiang Ming, Chenke Luo, Letian Sha 等ICSE 2026
  2. BScout: Direct Whole Patch Presence Test for Java ExecutablesJiarun Dai, Yuan Zhang, Zheyue Jiang, Yingtian Zhou 等USENIX Security 2020
  3. PS3: Precise Patch Presence Test based on Semantic Symbolic SignatureQi Zhan, Xing Hu, Zhiyang Li, Xin Xia 等ICSE 2024 · 4 次引用
  4. A Comprehensive Empirical Analysis of Patch Presence Testing: Capabilities, Limitations, and Paths ForwardXiaobei Zhang, Yaowen Zheng, Wu Luo, Shijun Zhao 等ISSTA 2026
  5. Precise and Efficient Patch Presence Test for Android Applications against Code ObfuscationZifan Xie, Ming Wen, Haoxiang Jia, Xiaochen Guo 等ISSTA 2023 · 12 次引用
黄昏的海面,两侧是细线勾勒的悬崖