Rethinking Misalignment to Raise the Bar for Heap Pointer Corruption
Daehee Jang, Jonghwan Kim, Minjoon Park, Yunjong Jung, Hojoon Lee,, Brent Byunghoon Kang

TL;DR
This paper investigates byte-granularity heap randomization as a method to improve security against heap exploits, analyzing its effectiveness, performance impact, and compatibility issues through extensive case studies and benchmarks.
Contribution
It provides a comprehensive analysis of byte-granularity heap randomization's security benefits, performance costs, and deployment challenges, including a new allocator design to optimize performance.
Findings
Byte-granularity randomization significantly raises the attack bar against heap exploits.
Performance impact is minimal except in specific edge cases related to cache lines.
Compatibility issues are manageable with targeted adjustments in real-world applications.
Abstract
Heap layout randomization renders a good portion of heap vulnerabilities unexploitable. However, some remnants of the vulnerabilities are still exploitable even under the randomized layout. According to our analysis, such heap exploits often abuse pointer-width allocation granularity to spray crafted pointers. To address this problem, we explore the efficacy of byte-granularity (the most fine-grained) heap randomization. Heap randomization, in general, has been a well-trodden area; however, the efficacy of byte-granularity randomization has never been fully explored as \emph{misalignment} raises various concerns. This paper unravels the pros and cons of byte-granularity heap randomization by conducting comprehensive analysis in three folds: (i) security effectiveness, (ii) performance impact, and (iii) compatibility analysis to measure deployment cost. Security discussion based on 20…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Advanced Malware Detection Techniques · Blockchain Technology Applications and Security
