Lune

USENIX Security2018顶会

HeapHopper: Bringing Bounded Model Checking to Heap Implementation Security

Moritz Eckert, Antonio Bianchi, Ruoyu Wang, Yan Shoshitaishvili, Christopher Kruegel, Giovanni Vigna

摘要

Heap metadata attacks have become one of the primary ways in which attackers exploit memory corruption vulnerabilities. While heap implementation developers have introduced mitigations to prevent and detect corruption, it is still possible for attackers to work around them. In part, this is because these mitigations are created and evaluated without a principled foundation, resulting, in many cases, in complex, inefficient, and ineffective attempts at heap metadata defenses. In this paper, we present HEAPHOPPER, an automated approach, based on model checking and symbolic execution, to analyze the exploitability of heap implementations in the presence of memory corruption. Using HEAPHOPPER, we were able to perform a systematic analysis of different, widely used heap implementations, finding surprising weaknesses in them. Our results show, for instance, how a newly introduced caching mechanism in ptmalloc (the heap allocator implementation used by most of the Linux distributions) significantly weakens its security. Moreover, HEAPHOPPER guided us in implementing and evaluating improvements to the security of ptmalloc, replacing an ineffective recent attempt at the mitigation of a specific form of heap metadata corruption with an effective defense.

问 Lune

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

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

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

可以从这些问题问起

Lune 可以查阅

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

获取答案

免费开始,无需绑卡

脉络

  • CHEx86: Context-Sensitive Enforcement of Memory Safety via Microcode-Enabled Capabilities 引用了 Automatic Heap Layout Manipulation for Exploitation
  • CHEx86: Context-Sensitive Enforcement of Memory Safety via Microcode-Enabled Capabilities 引用了 FreeGuard: A Faster Secure Heap Allocator
  • HEAPSTER: Analyzing the Security of Dynamic Allocators for Monolithic Firmware Images 引用了 Gollum: Modular and Greybox Exploit Generation for Heap Overflows in Interpreters
  • HEAPSTER: Analyzing the Security of Dynamic Allocators for Monolithic Firmware Images 引用了 FreeGuard: A Faster Secure Heap Allocator
  • HEAPSTER: Analyzing the Security of Dynamic Allocators for Monolithic Firmware Images 引用了 MAZE: Towards Automated Heap Feng Shui
  • HEAPSTER: Analyzing the Security of Dynamic Allocators for Monolithic Firmware Images 引用了 SOK: (State of) The Art of War: Offensive Techniques in Binary Analysis
  • I See Dead µops: Leaking Secrets via Intel/AMD Micro-Op Caches 引用了 CHEx86: Context-Sensitive Enforcement of Memory Safety via Microcode-Enabled Capabilities
  • Gollum: Modular and Greybox Exploit Generation for Heap Overflows in Interpreters 引用了 Automatic Heap Layout Manipulation for Exploitation
  • MAZE: Towards Automated Heap Feng Shui 引用了 Automatic Heap Layout Manipulation for Exploitation
  • MAZE: Towards Automated Heap Feng Shui 引用了 Gollum: Modular and Greybox Exploit Generation for Heap Overflows in Interpreters
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper15

  1. I See Dead µops: Leaking Secrets via Intel/AMD Micro-Op CachesXida Ren, Logan Moody, Mohammadkazem Taram, Matthew Jordan 等ISCA 2021 · 59 次引用
  2. Gollum: Modular and Greybox Exploit Generation for Heap Overflows in InterpretersSean Heelan, Tom Melham, Daniel KroeningCCS 2019 · 50 次引用
  3. HEAPSTER: Analyzing the Security of Dynamic Allocators for Monolithic Firmware ImagesFabio Gritti, Fabio Pagani, Ilya Grishchenko, Lukas Dresel 等S&P 2022 · 31 次引用
  4. CHEx86: Context-Sensitive Enforcement of Memory Safety via Microcode-Enabled CapabilitiesRasool Sharifi, Ashish VenkatISCA 2020 · 28 次引用
  5. MAZE: Towards Automated Heap Feng ShuiYan Wang, Chao Zhang, Zixuan Zhao, Bolun Zhang 等USENIX Security 2021 · 25 次引用

它引用的 Paper4

  1. SOK: (State of) The Art of War: Offensive Techniques in Binary AnalysisYan Shoshitaishvili, Ruoyu Wang, Christopher Salls, Nick Stephens 等S&P 2016 · 1,085 次引用
  2. FreeGuard: A Faster Secure Heap AllocatorSam Silvestro, Hongyu Liu, Corey Crosser, Zhiqiang Lin 等CCS 2017 · 71 次引用
  3. Automatic Heap Layout Manipulation for ExploitationSean Heelan, Tom Melham, Daniel KroeningUSENIX Security 2018 · 62 次引用
  4. Your Exploit is Mine: Automatic Shellcode Transplant for Remote ExploitsTiffany Bao, Ruoyu Wang, Yan Shoshitaishvili, David BrumleyS&P 2017 · 56 次引用

相关 Paper

  1. Melting the Flesh of PHP's Memory HardeningYifan Wu, Xiaochuan Yu, Zhiyun QianUSENIX Security 2026
  2. Automatic Techniques to Systematically Discover New Heap Exploitation PrimitivesInsu Yun, Dhaval Kapil, Taesoo KimUSENIX Security 2020
  3. HardsHeap: A Universal and Extensible Framework for Evaluating Secure AllocatorsInsu Yun, Woosun Song, Seunggi Min, Taesoo KimCCS 2021 · 10 次引用
  4. SeaK: Rethinking the Design of a Secure Allocator for OS KernelZicheng Wang, Yicheng Guang, Yueqi Chen, Zhenpeng Lin 等USENIX Security 2024 · 1 次引用
  5. CAMP: Compiler and Allocator-based Heap Memory ProtectionZhenpeng Lin, Zheng Yu, Ziyi Guo, Simone Campanoni 等USENIX Security 2024 · 14 次引用
黄昏的海面,两侧是细线勾勒的悬崖