Lune

NDSS2017顶会

Address Oblivious Code Reuse: On the Effectiveness of Leakage Resilient Diversity

Robert Rudd, Richard Skowyra, David Bigelow, Veer Dedhia, Thomas Hobson, Stephen Crane, Christopher Liebchen, Per Larsen, Lucas Davi, Michael Franz, Ahmad-Reza Sadeghi, Hamed Okhravi

摘要

Memory corruption vulnerabilities not only allow modification of control data and injection of malicious payloads; they also allow adversaries to reconnoiter a diversified program, customize a payload, and ultimately bypass code randomization defenses. In response, researchers have proposed and built various leakage-resilient defenses against code reuse. Leakage-resilient defenses use memory protection techniques to prevent adversaries from directly reading code as well as pointer indirection or encryption techniques to decouple code pointers from the randomized code layout, avoiding indirect leakage. In this paper, we show that although current code pointer protections do prevent leakage per se, they are fundamentally unable to stop code reuse. Specifically, we demonstrate a new class of attacks we call address-oblivious code reuse that bypasses state-of-the-art leakage-resilience techniques by profiling and reusing protected code pointers, without leaking the code layout. We show that an attacker can accurately identify protected code pointers of interest and mount code-reuse attacks at the abstraction level of pointers without requiring any knowledge of code addresses. We analyze the prevalence of opportunities for such attacks in popular code bases and build three real-world exploits against Nginx and Apache to demonstrate their practicality. We analyze recently proposed leakage resilient defenses and show that they are vulnerable to address oblivious code reuse. Our findings indicate that because of the prevalence of code pointers in realistic programs and the fundamental need to expose them to "read" operations (even indirectly), diversity defenses face a fundamental design challenge in mitigating such attacks. DISTRIBUTION STATEMENT A. Approved for public release: distribution unlimited.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • Compiler-Assisted Code Randomization 引用了 NORAX: Enabling Execute-Only Memory for COTS Binaries on AArch64
  • Compiler-Assisted Code Randomization 引用了 The Dynamics of Innocent Flesh on the Bone: Code Reuse Ten Years Later
  • The Dynamics of Innocent Flesh on the Bone: Code Reuse Ten Years Later 引用了 Dedup Est Machina: Memory Deduplication as an Advanced Exploitation Vector
  • The Dynamics of Innocent Flesh on the Bone: Code Reuse Ten Years Later 引用了 A Tough Call: Mitigating Advanced Code-Reuse Attacks at the Binary Level
  • The Dynamics of Innocent Flesh on the Bone: Code Reuse Ten Years Later 引用了 Poking Holes in Information Hiding
  • The Dynamics of Innocent Flesh on the Bone: Code Reuse Ten Years Later 引用了 How to Make ASLR Win the Clone Wars: Runtime Re-Randomization
  • Poking Holes in Information Hiding 引用了 Dedup Est Machina: Memory Deduplication as an Advanced Exploitation Vector
  • Speculative Probing: Hacking Blind in the Spectre Era 引用了 NORAX: Enabling Execute-Only Memory for COTS Binaries on AArch64
  • Speculative Probing: Hacking Blind in the Spectre Era 引用了 Dedup Est Machina: Memory Deduplication as an Advanced Exploitation Vector
  • Speculative Probing: Hacking Blind in the Spectre Era 引用了 The Dynamics of Innocent Flesh on the Bone: Code Reuse Ten Years Later
  • Speculative Probing: Hacking Blind in the Spectre Era 引用了 Poking Holes in Information Hiding
  • Speculative Probing: Hacking Blind in the Spectre Era 引用了 How to Make ASLR Win the Clone Wars: Runtime Re-Randomization
  • Methodologies for Quantifying (Re-)randomization Security and Timing under JIT-ROP 引用了 Compiler-Assisted Code Randomization
  • Methodologies for Quantifying (Re-)randomization Security and Timing under JIT-ROP 引用了 A Tough Call: Mitigating Advanced Code-Reuse Attacks at the Binary Level
  • Methodologies for Quantifying (Re-)randomization Security and Timing under JIT-ROP 引用了 The Dynamics of Innocent Flesh on the Bone: Code Reuse Ten Years Later
  • Methodologies for Quantifying (Re-)randomization Security and Timing under JIT-ROP 引用了 How to Make ASLR Win the Clone Wars: Runtime Re-Randomization
  • Methodologies for Quantifying (Re-)randomization Security and Timing under JIT-ROP 引用了 Flip Feng Shui: Hammering a Needle in the Software Stack
  • Flip Feng Shui: Hammering a Needle in the Software Stack 引用了 Dedup Est Machina: Memory Deduplication as an Advanced Exploitation Vector
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper12

  1. Compiler-Assisted Code RandomizationHyungjoon Koo, Yaohui Chen, Long Lu, Vasileios P. Kemerlis 等S&P 2018 · 80 次引用
  2. The Dynamics of Innocent Flesh on the Bone: Code Reuse Ten Years LaterVictor van der Veen, Dennis Andriesse, Manolis Stamatogiannakis, Xi Chen 等CCS 2017 · 74 次引用
  3. NORAX: Enabling Execute-Only Memory for COTS Binaries on AArch64Yaohui Chen, Dongli Zhang, Ruowen Wang, Rui Qiao 等S&P 2017 · 46 次引用
  4. Speculative Probing: Hacking Blind in the Spectre EraEnes Göktas, Kaveh Razavi, Georgios Portokalidis, Herbert Bos 等CCS 2020 · 36 次引用
  5. Methodologies for Quantifying (Re-)randomization Security and Timing under JIT-ROPSalman Ahmed, Ya Xiao, Kevin Z. Snow, Gang Tan 等CCS 2020 · 21 次引用

它引用的 Paper10

  1. Flip Feng Shui: Hammering a Needle in the Software StackKaveh Razavi, Ben Gras, Erik Bosman, Bart Preneel 等USENIX Security 2016 · 306 次引用
  2. Dedup Est Machina: Memory Deduplication as an Advanced Exploitation VectorErik Bosman, Kaveh Razavi, Herbert Bos, Cristiano GiuffridaS&P 2016 · 252 次引用
  3. 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 次引用
  4. How to Make ASLR Win the Clone Wars: Runtime Re-RandomizationKangjie Lu, Wenke Lee, Stefan Nürnberger, Michael BackesNDSS 2016 · 96 次引用
  5. Poking Holes in Information HidingAngelos Oikonomopoulos, Elias Athanasopoulos, Herbert Bos, Cristiano GiuffridaUSENIX Security 2016 · 92 次引用

相关 Paper

  1. Leakage-Resilient Layout Randomization for Mobile DevicesKjell Braden, Lucas Davi, Christopher Liebchen, Ahmad-Reza Sadeghi 等NDSS 2016 · 90 次引用
  2. What Cannot Be Read, Cannot Be Leveraged? Revisiting Assumptions of JIT-ROP DefensesGiorgi Maisuradze, Michael Backes, Christian RossowUSENIX Security 2016 · 41 次引用
  3. SafeHidden: An Efficient and Secure Information Hiding Technique Using Re-randomizationZhe Wang, Chenggang Wu, Yinqian Zhang, Bowen Tang 等USENIX Security 2019 · 18 次引用
  4. Return to the Zombie Gadgets: Undermining Destructive Code Reads via Code Inference AttacksKevin Z. Snow, Roman Rogowski, Jan Werner, Hyungjoon Koo 等S&P 2016 · 54 次引用
  5. IMIX: In-Process Memory Isolation EXtensionTommaso Frassetto, Patrick Jauernig, Christopher Liebchen, Ahmad-Reza SadeghiUSENIX Security 2018 · 77 次引用
黄昏的海面,两侧是细线勾勒的悬崖