Refining Indirect Call Targets at the Binary Level
Sun Hyoung Kim, Cong Sun, Dongrui Zeng, Gang Tan
摘要
—Enforcing fine-grained Control-Flow Integrity (CFI) is critical for increasing software security. However, for commercial off-the-shelf (COTS) binaries, constructing high-precision Control-Flow Graphs (CFGs) is challenging, because there is no source-level information, such as symbols and types, to assist in indirect-branch target inference. The lack of source-level information brings extra challenges to inferring targets for indirect calls compared to other kinds of indirect branches. Points-to analysis could be a promising solution for this problem, but there is no practical points-to analysis framework for inferring indirect call targets at the binary level. Value set analysis (VSA) is the state-of-the-art binary-level points-to analysis but does not scale to large programs. It is also highly conservative by design and thus leads to low-precision CFG construction. In this paper, we present a binary-level points-to analysis framework called BPA to construct sound and high-precision CFGs. It is a new way of performing points-to analysis at the binary level with the focus on resolving indirect call targets. BPA employs several major techniques, including assuming a block memory model and a memory access analysis for partitioning memory into blocks, to achieve a better balance between scalability and precision. In evaluation, we demonstrate that BPA achieves a 34.5% precision improvement rate over the current state-of-the-art technique without introducing false negatives.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 22 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Where Does It Go?: Refining Indirect-Call Targets with Multi-Layer Type Analysis 引用了 A Tough Call: Mitigating Advanced Code-Reuse Attacks at the Binary Level
- Where Does It Go?: Refining Indirect-Call Targets with Multi-Layer Type Analysis 引用了 Precise and Scalable Detection of Double-Fetch Bugs in OS Kernels
- Where Does It Go?: Refining Indirect-Call Targets with Multi-Layer Type Analysis 引用了 Automatically Detecting Error Handling Bugs Using Error Specifications
- Where Does It Go?: Refining Indirect-Call Targets with Multi-Layer Type Analysis 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
- Unleashing the Power of Type-Based Call Graph Construction by Using Regional Pointer Information 引用了 Where Does It Go?: Refining Indirect-Call Targets with Multi-Layer Type Analysis
- Unleashing the Power of Type-Based Call Graph Construction by Using Regional Pointer Information 引用了 Precise and Scalable Detection of Double-Fetch Bugs in OS Kernels
- FFXE: Dynamic Control Flow Graph Recovery for Embedded Firmware Binaries 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
- DEEPTYPE: Refining Indirect Call Targets with Strong Multi-layer Type Analysis 引用了 Where Does It Go?: Refining Indirect-Call Targets with Multi-Layer Type Analysis
- DEEPTYPE: Refining Indirect Call Targets with Strong Multi-layer Type Analysis 引用了 Precise and Scalable Detection of Double-Fetch Bugs in OS Kernels
- DEEPTYPE: Refining Indirect Call Targets with Strong Multi-layer Type Analysis 引用了 Automatically Detecting Error Handling Bugs Using Error Specifications
- DEEPTYPE: Refining Indirect Call Targets with Strong Multi-layer Type Analysis 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
引用它的顶会 Paper22
- Same Coverage, Less Bloat: Accelerating Binary-only Fuzzing with Coverage-preserving Coverage-guided TracingStefan Nagy, Anh Nguyen-Tuong, Jason D. Hiser, Jack W. Davidson 等CCS 2021 · 21 次引用
- Unleashing the Power of Type-Based Call Graph Construction by Using Regional Pointer InformationYuandao Cai, Yibo Jin, Charles ZhangUSENIX Security 2024 · 16 次引用
- DEEPTYPE: Refining Indirect Call Targets with Strong Multi-layer Type AnalysisTianrou Xia, Hong Hu, Dinghao WuUSENIX Security 2024 · 13 次引用
- DecLLM: LLM-Augmented Recompilable Decompilation for Enabling Programmatic Use of Decompiled CodeWai Kin Wong, Daoyuan Wu, Huaijin Wang, Zongjie Li 等ISSTA 2025 · 8 次引用
- FFXE: Dynamic Control Flow Graph Recovery for Embedded Firmware BinariesRyan Tsang, Asmita, Doreen Joseph, Soheil Salehi 等USENIX Security 2024 · 8 次引用
它引用的 Paper8
- SOK: (State of) The Art of War: Offensive Techniques in Binary AnalysisYan Shoshitaishvili, Ruoyu Wang, Christopher Salls, Nick Stephens 等S&P 2016 · 1,085 次引用
- A Tough Call: Mitigating Advanced Code-Reuse Attacks at the Binary LevelVictor van der Veen, Enes Göktas, Moritz Contag, Andre Pawlowski 等S&P 2016 · 227 次引用
- Where Does It Go?: Refining Indirect-Call Targets with Multi-Layer Type AnalysisKangjie Lu, Hong HuCCS 2019 · 142 次引用
- Precise and Scalable Detection of Double-Fetch Bugs in OS KernelsMeng Xu, Chenxiong Qian, Kangjie Lu, Michael Backes 等S&P 2018 · 95 次引用
- Automatically Detecting Error Handling Bugs Using Error SpecificationsSuman Jana, Yuan Jochen Kang, Samuel Roth, Baishakhi RayUSENIX Security 2016 · 79 次引用
相关 Paper
- TypeSqueezer: When Static Recovery of Function Signatures for Binary Executables Meets Dynamic AnalysisZiyi Lin, Jinku Li, Bowen Li, Haoyu Ma 等CCS 2023 · 7 次引用
- BinDSA: Efficient, Precise Binary-Level Pointer Analysis with Context-Sensitive Heap ReconstructionLian Gao, Heng YinISSTA 2025 · 1 次引用
- Applying System Call Filtering to Real-World Binaries (Experience Paper)Soumyakant Priyadarshan, Seyedhamed GhavamniaISSTA 2026 · 1 次引用
- Kaleidoscope: Precise Invariant-Guided Pointer AnalysisTapti Palit, Pedro FonsecaASPLOS 2024 · 3 次引用
- Improving Indirect-Call Analysis in LLVM with Type and Data-Flow Co-AnalysisDinghao Liu, Shouling Ji, Kangjie Lu, Qinming HeUSENIX Security 2024 · 13 次引用
