Lune

ICSE2024顶会

PS3: Precise Patch Presence Test based on Semantic Symbolic Signature

Qi Zhan, Xing Hu, Zhiyang Li, Xin Xia, David Lo, Shanping Li

摘要

During software development, vulnerabilities have posed a significant threat to users. Patches are the most effective way to combat vulnerabilities. In a large-scale software system, testing the presence of a security patch in every affected binary is crucial to ensure system security. Identifying whether a binary has been patched for a known vulnerability is challenging, as there may only be small differences between patched and vulnerable versions. Existing approaches mainly focus on detecting patches that are compiled in the same compiler options. However, it is common for developers to compile programs with very different compiler options in different situations, which causes inaccuracy for existing methods. In this paper, we propose a new approach named PS 3 , referring to precise patch presence test based on semantic-level symbolic signature. PS 3 exploits symbolic emulation to extract signatures that are stable under different compiler options. Then PS 3 can precisely test the presence of the patch by comparing the signatures between the reference and the target at semantic level. To evaluate the effectiveness of our approach, we constructed a dataset consisting of 3,631 (CVE, binary) pairs of 62 recent CVEs in four C/C++ projects. The experimental results show that PS 3 achieves scores of 0.82, 0.97, and 0.89 in terms of precision, recall, and F1 score, respectively. PS 3 outperforms the state-of-the-art baselines by improving 33% in terms of F1 score and remains stable in different compiler options.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Diffploit: Facilitating Cross-Version Exploit Migration for Open Source Library Vulnerabilities 引用了 REACT: IR-Level Patch Presence Test for Binary
  • Bytecode-centric Detection of Known-to-be-vulnerable Dependencies in Java Projects 引用了 Precise and Accurate Patch Presence Test for Binaries
  • Lares: LLM-driven Code Slice Semantic Search for Patch Presence Testing 引用了 Precise and Accurate Patch Presence Test for Binaries
  • Lares: LLM-driven Code Slice Semantic Search for Patch Presence Testing 引用了 REACT: IR-Level Patch Presence Test for Binary
  • Precise and Accurate Patch Presence Test for Binaries 引用了 Scalable Graph-based Bug Search for Firmware Images
  • Precise and Accurate Patch Presence Test for Binaries 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
  • Asm2Vec: Boosting Static Representation Robustness for Binary Clone Search against Code Obfuscation and Compiler Optimization 引用了 Scalable Graph-based Bug Search for Firmware Images
  • Enhancing Semantic-Aware Binary Diffing with High-Confidence Dynamic Instruction Alignment 引用了 Precise and Accurate Patch Presence Test for Binaries
  • Enhancing Semantic-Aware Binary Diffing with High-Confidence Dynamic Instruction Alignment 引用了 Asm2Vec: Boosting Static Representation Robustness for Binary Clone Search against Code Obfuscation and Compiler Optimization
  • Enhancing Semantic-Aware Binary Diffing with High-Confidence Dynamic Instruction Alignment 引用了 REACT: IR-Level Patch Presence Test for Binary
  • Enhancing Semantic-Aware Binary Diffing with High-Confidence Dynamic Instruction Alignment 引用了 Scalable Graph-based Bug Search for Firmware Images
  • REACT: IR-Level Patch Presence Test for Binary 引用了 A Large-Scale Empirical Study of Security Patches
  • REACT: IR-Level Patch Presence Test for Binary 引用了 Precise and Accurate Patch Presence Test for Binaries
  • REACT: IR-Level Patch Presence Test for Binary 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper8

  1. Enhancing Semantic-Aware Binary Diffing with High-Confidence Dynamic Instruction AlignmentChengfeng Ye, Anshunkang Zhou, Charles ZhangNDSS 2026 · 2 次引用
  2. REACT: IR-Level Patch Presence Test for BinaryQi Zhan, Xing Hu, Xin Xia, Shanping LiASE 2024 · 2 次引用
  3. Lares: LLM-driven Code Slice Semantic Search for Patch Presence TestingSiyuan Li, Yaowen Zheng, Hong Li, Jingdong Guo 等ASE 2025 · 1 次引用
  4. Diffploit: Facilitating Cross-Version Exploit Migration for Open Source Library VulnerabilitiesZirui Chen, Zhipeng Xue, Jiayuan Zhou, Xing Hu 等ICSE 2026
  5. Bytecode-centric Detection of Known-to-be-vulnerable Dependencies in Java ProjectsStefan Schott, Serena Elisa Ponta, Wolfram Fischer, Jonas Klauke 等ICSE 2026

它引用的 Paper12

  1. SOK: (State of) The Art of War: Offensive Techniques in Binary AnalysisYan Shoshitaishvili, Ruoyu Wang, Christopher Salls, Nick Stephens 等S&P 2016 · 1,085 次引用
  2. Scalable Graph-based Bug Search for Firmware ImagesQian Feng, Rundong Zhou, Chengcheng Xu, Yao Cheng 等CCS 2016 · 456 次引用
  3. Asm2Vec: Boosting Static Representation Robustness for Binary Clone Search against Code Obfuscation and Compiler OptimizationSteven H. H. Ding, Benjamin C. M. Fung, Philippe CharlandS&P 2019 · 447 次引用
  4. A Large-Scale Empirical Study of Security PatchesFrank Li, Vern PaxsonCCS 2017 · 273 次引用
  5. Precise and Accurate Patch Presence Test for BinariesHang Zhang, Zhiyun QianUSENIX Security 2018 · 91 次引用

相关 Paper

  1. A Comprehensive Empirical Analysis of Patch Presence Testing: Capabilities, Limitations, and Paths ForwardXiaobei Zhang, Yaowen Zheng, Wu Luo, Shijun Zhao 等ISSTA 2026
  2. PPT4J: Patch Presence Test for Java BinariesZhiyuan Pan, Xing Hu, Xin Xia, Xian Zhan 等ICSE 2024 · 6 次引用
  3. BScout: Direct Whole Patch Presence Test for Java ExecutablesJiarun Dai, Yuan Zhang, Zheyue Jiang, Yingtian Zhou 等USENIX Security 2020
  4. PDiff: Semantic-based Patch Presence Testing for Downstream KernelsZheyue Jiang, Yuan Zhang, Jun Xu, Qi Wen 等CCS 2020 · 54 次引用
  5. Precise and Efficient Patch Presence Test for Android Applications against Code ObfuscationZifan Xie, Ming Wen, Haoxiang Jia, Xiaochen Guo 等ISSTA 2023 · 12 次引用
黄昏的海面,两侧是细线勾勒的悬崖