Lune

S&P2016顶会

Return to the Zombie Gadgets: Undermining Destructive Code Reads via Code Inference Attacks

Kevin Z. Snow, Roman Rogowski, Jan Werner, Hyungjoon Koo, Fabian Monrose, Michalis Polychronakis

摘要

The concept of destructive code reads is a new defensive strategy that prevents code reuse attacks by coupling finegrained address space layout randomization with a mitigation for online knowledge gathering that destroys potentially useful gadgets as they are disclosed by an adversary. The intuition is that by destroying code as it is read, an adversary is left with no usable gadgets to reuse in a control-flow hijacking attack. In this paper, we examine the security of this new mitigation. We show that while the concept initially appeared promising, there are several unforeseen attack tactics that render destructive code reads ineffective in practice. Specifically, we introduce techniques for leveraging constructive reloads, wherein multiple copies of native code are loaded into a process' address space (either side-by-side or one-afteranother). Constructive reloads allow the adversary to disclose one code copy, destroying it in the process, then use another code copy for their code reuse payload. For situations where constructive reloads are not viable, we show that an alternative, and equally powerful, strategy exists: leveraging code association via implicit reads, which allows an adversary to undo in-place code randomization by inferring the layout of code that follows already disclosed bytes. As a result, the implicitly learned code is not destroyed, and can be used in the adversary's code reuse attack. We demonstrate the effectiveness of our techniques with concrete instantiations of these attacks against popular applications. In light of our successes, we argue that the code inference strategies presented herein paint a cautionary tale for defensive approaches whose security blindly rests on the perceived inability to undo the application of in-place randomization.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • NORAX: Enabling Execute-Only Memory for COTS Binaries on AArch64 引用了 Leakage-Resilient Layout Randomization for Mobile Devices
  • NORAX: Enabling Execute-Only Memory for COTS Binaries on AArch64 引用了 Address Oblivious Code Reuse: On the Effectiveness of Leakage Resilient Diversity
  • Compiler-Assisted Code Randomization 引用了 Leakage-Resilient Layout Randomization for Mobile Devices
  • Compiler-Assisted Code Randomization 引用了 NORAX: Enabling Execute-Only Memory for COTS Binaries on AArch64
  • Compiler-Assisted Code Randomization 引用了 Address Oblivious Code Reuse: On the Effectiveness of Leakage Resilient Diversity
  • Address Oblivious Code Reuse: On the Effectiveness of Leakage Resilient Diversity 引用了 Leakage-Resilient Layout Randomization for Mobile Devices
  • JITGuard: Hardening Just-in-time Compilers with SGX 引用了 Leakage-Resilient Layout Randomization for Mobile Devices
  • Speculative Probing: Hacking Blind in the Spectre Era 引用了 Leakage-Resilient Layout Randomization for Mobile Devices
  • 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 引用了 Address Oblivious Code Reuse: On the Effectiveness of Leakage Resilient Diversity
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper8

  1. Compiler-Assisted Code RandomizationHyungjoon Koo, Yaohui Chen, Long Lu, Vasileios P. Kemerlis 等S&P 2018 · 80 次引用
  2. Address Oblivious Code Reuse: On the Effectiveness of Leakage Resilient DiversityRobert Rudd, Richard Skowyra, David Bigelow, Veer Dedhia 等NDSS 2017 · 78 次引用
  3. NORAX: Enabling Execute-Only Memory for COTS Binaries on AArch64Yaohui Chen, Dongli Zhang, Ruowen Wang, Rui Qiao 等S&P 2017 · 46 次引用
  4. JITGuard: Hardening Just-in-time Compilers with SGXTommaso Frassetto, David Gens, Christopher Liebchen, Ahmad-Reza SadeghiCCS 2017 · 37 次引用
  5. Speculative Probing: Hacking Blind in the Spectre EraEnes Göktas, Kaveh Razavi, Georgios Portokalidis, Herbert Bos 等CCS 2020 · 36 次引用

它引用的 Paper1

  1. Leakage-Resilient Layout Randomization for Mobile DevicesKjell Braden, Lucas Davi, Christopher Liebchen, Ahmad-Reza Sadeghi 等NDSS 2016 · 90 次引用

相关 Paper

  1. What Cannot Be Read, Cannot Be Leveraged? Revisiting Assumptions of JIT-ROP DefensesGiorgi Maisuradze, Michael Backes, Christian RossowUSENIX Security 2016 · 41 次引用
  2. SafeHidden: An Efficient and Secure Information Hiding Technique Using Re-randomizationZhe Wang, Chenggang Wu, Yinqian Zhang, Bowen Tang 等USENIX Security 2019 · 18 次引用
  3. WarpAttack: Bypassing CFI through Compiler-Introduced Double-FetchesJianhao Xu, Luca Di Bartolomeo, Flavio Toffalini, Bing Mao 等S&P 2023
  4. A Generic Technique for Automatically Finding Defense-Aware Code Reuse AttacksEdward J. Schwartz, Cory F. Cohen, Jeffrey Gennari, Stephanie SchwartzCCS 2020 · 8 次引用
  5. Methodologies for Quantifying (Re-)randomization Security and Timing under JIT-ROPSalman Ahmed, Ya Xiao, Kevin Z. Snow, Gang Tan 等CCS 2020 · 21 次引用
黄昏的海面,两侧是细线勾勒的悬崖