Precise and Accurate Patch Presence Test for Binaries
Hang Zhang, Zhiyun Qian
摘要
Patching is the main resort to battle software vulnerabilities. It is critical to ensure that patches are propagated to all affected software timely, which, unfortunately, is often not the case. Thus the capability to accurately test the security patch presence in software distributions is crucial, for both defenders and attackers. Inspired by human analysts' behaviors to inspect only small and localized code areas, we present FIBER, an automated system that leverages this observation in its core design. FIBER works by first parsing and analyzing the open-source security patches carefully and then generating fine-grained binary signatures that faithfully reflect the most representative syntax and semantic changes introduced by the patch, which are used to search against target binaries. Compared to previous work, FIBER leverages the source-level insight strategically by primarily focusing on small changes of patches and minimal contexts, instead of the whole function or file. We have systematically evaluated FIBER using 107 real-world security patches and 8 Android kernel images from 3 different mainstream vendors, the results show that FIBER can achieve an average accuracy of 94% with no false positives.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 35 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Automating Patching of Vulnerable Open-Source Software Versions in Application Binaries 引用了 VUDDY: A Scalable Approach for Vulnerable Code Clone Discovery
- Automating Patching of Vulnerable Open-Source Software Versions in Application Binaries 引用了 Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection
- Automating Patching of Vulnerable Open-Source Software Versions in Application Binaries 引用了 Scalable Graph-based Bug Search for Firmware Images
- Patch based vulnerability matching for binary programs 引用了 VUDDY: A Scalable Approach for Vulnerable Code Clone Discovery
- Patch based vulnerability matching for binary programs 引用了 Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection
- Patch based vulnerability matching for binary programs 引用了 Scalable Graph-based Bug Search for Firmware Images
- Locating the Security Patches for Disclosed OSS Vulnerabilities with Vulnerability-Commit Correlation Ranking 引用了 Patch based vulnerability matching for binary programs
- Locating the Security Patches for Disclosed OSS Vulnerabilities with Vulnerability-Commit Correlation Ranking 引用了 PDiff: Semantic-based Patch Presence Testing for Downstream Kernels
- Locating the Security Patches for Disclosed OSS Vulnerabilities with Vulnerability-Commit Correlation Ranking 引用了 VUDDY: A Scalable Approach for Vulnerable Code Clone Discovery
- An Investigation of the Android Kernel Patch Ecosystem 引用了 Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection
- PDiff: Semantic-based Patch Presence Testing for Downstream Kernels 引用了 Automating Patching of Vulnerable Open-Source Software Versions in Application 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 引用了 Scalable Graph-based Bug Search for Firmware Images
- PDiff: Semantic-based Patch Presence Testing for Downstream Kernels 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
- Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity Detection 引用了 Scalable Graph-based Bug Search for Firmware Images
引用它的顶会 Paper35
- Patch based vulnerability matching for binary programsYifei Xu, Zhengzi Xu, Bihuan Chen, Fu Song 等ISSTA 2020 · 74 次引用
- Automating Patching of Vulnerable Open-Source Software Versions in Application BinariesRuian Duan, Ashish Bijlani, Yang Ji, Omar Alrawi 等NDSS 2019 · 63 次引用
- PDiff: Semantic-based Patch Presence Testing for Downstream KernelsZheyue Jiang, Yuan Zhang, Jun Xu, Qi Wen 等CCS 2020 · 54 次引用
- An Investigation of the Android Kernel Patch EcosystemZheng Zhang, Hang Zhang, Zhiyun Qian, Billy LauUSENIX Security 2021 · 45 次引用
- Locating the Security Patches for Disclosed OSS Vulnerabilities with Vulnerability-Commit Correlation RankingXin Tan, Yuan Zhang, Chenyuan Mi, Jiajun Cao 等CCS 2021 · 43 次引用
它引用的 Paper4
- SOK: (State of) The Art of War: Offensive Techniques in Binary AnalysisYan Shoshitaishvili, Ruoyu Wang, Christopher Salls, Nick Stephens 等S&P 2016 · 1,085 次引用
- Neural Network-based Graph Embedding for Cross-Platform Binary Code Similarity DetectionXiaojun Xu, Chang Liu, Qian Feng, Heng Yin 等CCS 2017 · 682 次引用
- Scalable Graph-based Bug Search for Firmware ImagesQian Feng, Rundong Zhou, Chengcheng Xu, Yao Cheng 等CCS 2016 · 456 次引用
- VUDDY: A Scalable Approach for Vulnerable Code Clone DiscoverySeulbae Kim, Seunghoon Woo, Heejo Lee, Hakjoo OhS&P 2017 · 388 次引用
相关 Paper
- BScout: Direct Whole Patch Presence Test for Java ExecutablesJiarun Dai, Yuan Zhang, Zheyue Jiang, Yingtian Zhou 等USENIX Security 2020
- DISPATCH: Unraveling Security Patches from Entangled Code ChangesShiyu Sun, Yunlong Xing, Xinda Wang, Shu Wang 等USENIX Security 2025
- PS3: Precise Patch Presence Test based on Semantic Symbolic SignatureQi Zhan, Xing Hu, Zhiyang Li, Xin Xia 等ICSE 2024 · 4 次引用
- PPT4J: Patch Presence Test for Java BinariesZhiyuan Pan, Xing Hu, Xin Xia, Xian Zhan 等ICSE 2024 · 6 次引用
- Strengthening Supply Chain Security with Fine-grained Safe Patch IdentificationChanghua Luo, Wei Meng, Shuai WangICSE 2024 · 1 次引用
