Lune

ASE2024顶会

REACT: IR-Level Patch Presence Test for Binary

Qi Zhan, Xing Hu, Xin Xia, Shanping Li

摘要

Patch presence test is critical in software security to ensure that binary files have been patched for known vulnerabilities. It is challenging due to the semantic gap between the source code and the binary, and the small and subtle nature of patches. In this paper, we propose React, the first patch presence test approach on IR-level. Based on the IR code compiled from the source code and the IR code lifted from the binary, we first extract four types of feature (return value, condition, function call, and memory store) by executing the program symbolically. Then, we refine the features from the source code and rank them. Finally, we match the features to determine the presence of a patch with an SMT solver to check the equivalence of features at the semantic level.

To evaluate our approach, we compare it with state-of-the-art approaches, BinXray and PS3, on a dataset containing binaries compiled from different compilers and optimization levels. Our experimental results show that React achieves scores of 0.88, 0.98, and 0.93, in terms of precision, recall, and F1 score, respectively. React outperforms the baselines by 39% and 12% in terms of the F1 score, while the testing speed of our approach is 2x faster than BinXray and 100x faster than PS3. Furthermore, we conduct an ablation study to evaluate the effectiveness of each component in React, which shows that SMT solver and refinement can contribute to 16% and 10% improvement in terms of the F1 score, respectively.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Patch based vulnerability matching for binary programs 引用了 A Large-Scale Empirical Study of Security Patches
  • Patch based vulnerability matching for binary programs 引用了 Precise and Accurate Patch Presence Test for Binaries
  • Lares: LLM-driven Code Slice Semantic Search for Patch Presence Testing 引用了 Patch based vulnerability matching for binary programs
  • 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 引用了 PDiff: Semantic-based Patch Presence Testing for Downstream Kernels
  • Precise and Accurate Patch Presence Test for Binaries 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
  • SBridge: Identifying Source-to-Binary Function Similarity via Cross-Domain Control Block Matching 引用了 Patch based vulnerability matching for binary programs
  • PDiff: Semantic-based Patch Presence Testing for Downstream Kernels 引用了 A Large-Scale Empirical Study of Security Patches
  • 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 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
  • Enhancing Semantic-Aware Binary Diffing with High-Confidence Dynamic Instruction Alignment 引用了 Patch based vulnerability matching for binary programs
  • 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 引用了 PDiff: Semantic-based Patch Presence Testing for Downstream Kernels
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper5

  1. Enhancing Semantic-Aware Binary Diffing with High-Confidence Dynamic Instruction AlignmentChengfeng Ye, Anshunkang Zhou, Charles ZhangNDSS 2026 · 2 次引用
  2. IsolatOS: Detecting Double Fetch Bugs in COTS RTOS by Re-enabling Kernel IsolationYingjie Cao, Xiaogang Zhu, Dean Sullivan, Haowei Yang 等NDSS 2026 · 1 次引用
  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. SBridge: Identifying Source-to-Binary Function Similarity via Cross-Domain Control Block MatchingHeedong Yang, Jeongwoo Lee, Hajin Yun, Seunghoon WooFSE 2026

它引用的 Paper14

  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. A Large-Scale Empirical Study of Security PatchesFrank Li, Vern PaxsonCCS 2017 · 273 次引用
  3. Precise and Accurate Patch Presence Test for BinariesHang Zhang, Zhiyun QianUSENIX Security 2018 · 91 次引用
  4. Patch based vulnerability matching for binary programsYifei Xu, Zhengzi Xu, Bihuan Chen, Fu Song 等ISSTA 2020 · 74 次引用
  5. PDiff: Semantic-based Patch Presence Testing for Downstream KernelsZheyue Jiang, Yuan Zhang, Jun Xu, Qi Wen 等CCS 2020 · 54 次引用

相关 Paper

  1. PS3: Precise Patch Presence Test based on Semantic Symbolic SignatureQi Zhan, Xing Hu, Zhiyang Li, Xin Xia 等ICSE 2024 · 4 次引用
  2. PPT4J: Patch Presence Test for Java BinariesZhiyuan Pan, Xing Hu, Xin Xia, Xian Zhan 等ICSE 2024 · 6 次引用
  3. VeriBin: Adaptive Verification of Patches at the Binary LevelHongwei Wu, Jianliang Wu, Ruoyu Wu, Ayushi Sharma 等NDSS 2025
  4. A Comprehensive Empirical Analysis of Patch Presence Testing: Capabilities, Limitations, and Paths ForwardXiaobei Zhang, Yaowen Zheng, Wu Luo, Shijun Zhao 等ISSTA 2026
  5. BScout: Direct Whole Patch Presence Test for Java ExecutablesJiarun Dai, Yuan Zhang, Zheyue Jiang, Yingtian Zhou 等USENIX Security 2020
黄昏的海面,两侧是细线勾勒的悬崖