Lune

NDSS2018顶会

Superset Disassembly: Statically Rewriting x86 Binaries Without Heuristics

Erick Bauman, Zhiqiang Lin, Kevin W. Hamlen

摘要

Static binary rewriting is a core technology for many systems and security applications, including profiling, optimization, and software fault isolation. While many static binary rewriters have been developed over the past few decades, most make various assumptions about the binary, such as requiring correct disassembly, cooperation from compilers, or access to debugging symbols or relocation entries. This paper presents MUL-TIVERSE, a new binary rewriter that is able to rewrite Intel CISC binaries without these assumptions. Two fundamental techniques are developed to achieve this: (1) a superset disassembly that completely disassembles the binary code into a superset of instructions in which all legal instructions fall, and (2) an instruction rewriter that is able to relocate all instructions to any other location by mediating all indirect control flow transfers and redirecting them to the correct new addresses. A prototype implementation of MUL-TIVERSE and evaluation on SPECint 2006 benchmarks shows that MULTIVERSE is able to rewrite all of the testing binaries with a reasonable runtime overhead for the new rewritten binaries. Simple static instrumentation using MULTIVERSE and its comparison with dynamic instrumentation shows that the approach achieves better average performance. Finally, the security applications of MUL-TIVERSE are exhibited by using it to implement a shadow stack.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • OSPREY: Recovery of Variable and Data Structure via Probabilistic Analysis for Stripped Binary 引用了 RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization
  • OSPREY: Recovery of Variable and Data Structure via Probabilistic Analysis for Stripped Binary 引用了 RAZOR: A Framework for Post-deployment Software Debloating
  • RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization 引用了 Ramblr: Making Reassembly Great Again
  • Binary rewriting without control flow recovery 引用了 RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and Sanitization
  • Egalito: Layout-Agnostic Binary Recompilation 引用了 Ramblr: Making Reassembly Great Again
  • RAZOR: A Framework for Post-deployment Software Debloating 引用了 Ramblr: Making Reassembly Great Again
  • Object Flow Integrity 引用了 A Tough Call: Mitigating Advanced Code-Reuse Attacks at the Binary Level
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper44

  1. RetroWrite: Statically Instrumenting COTS Binaries for Fuzzing and SanitizationSushant Dinesh, Nathan Burow, Dongyan Xu, Mathias PayerS&P 2020 · 187 次引用
  2. RAZOR: A Framework for Post-deployment Software DebloatingChenxiong Qian, Hong Hu, Mansour Alharthi, Simon Pak Ho Chung 等USENIX Security 2019 · 132 次引用
  3. OSPREY: Recovery of Variable and Data Structure via Probabilistic Analysis for Stripped BinaryZhuo Zhang, Yapeng Ye, Wei You, Guanhong Tao 等S&P 2021 · 78 次引用
  4. Binary rewriting without control flow recoveryGregory J. Duck, Xiang Gao, Abhik RoychoudhuryPLDI 2020 · 77 次引用
  5. Egalito: Layout-Agnostic Binary RecompilationDavid Williams-King, Hidenori Kobayashi, Kent Williams-King, Graham Patterson 等ASPLOS 2020 · 68 次引用

它引用的 Paper3

  1. 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 次引用
  2. Ramblr: Making Reassembly Great AgainRuoyu Wang, Yan Shoshitaishvili, Antonio Bianchi, Aravind Machiry 等NDSS 2017 · 155 次引用
  3. Object Flow IntegrityWenhao Wang, Xiaoyang Xu, Kevin W. HamlenCCS 2017 · 18 次引用

相关 Paper

  1. ARMore: Pushing Love Back Into BinariesLuca Di Bartolomeo, Hossein Moghaddas, Mathias PayerUSENIX Security 2023
  2. SAFER: Efficient and Error-Tolerant Binary InstrumentationSoumyakant Priyadarshan, Huan Nguyen, Rohit Chouhan, R. SekarUSENIX Security 2023
  3. Reassembly is Hard: A Reflection on Challenges and StrategiesHyungseok Kim, Soomin Kim, Junoh Lee, Kangkook Jee 等USENIX Security 2023
  4. Incremental CFG patching for binary rewritingXiaozhu Meng, Weijie LiuASPLOS 2021 · 8 次引用
  5. Towards Sound Reassembly of Modern x86-64 BinariesHyungseok Kim, Soomin Kim, Sang Kil ChaASPLOS 2025 · 3 次引用
黄昏的海面,两侧是细线勾勒的悬崖