Lune

S&P2017Top-tier venue

NORAX: Enabling Execute-Only Memory for COTS Binaries on AArch64

Yaohui Chen, Dongli Zhang, Ruowen Wang, Rui Qiao, Ahmed M. Azab, Long Lu, Hayawardh Vijayakumar, Wenbo Shen

Abstract

Code reuse attacks exploiting memory disclosure vulnerabilities can bypass all deployed mitigations. One promising defense against this class of attacks is to enable executeonly memory (XOM) protection on top of fine-grained address space layout randomization (ASLR). However, recent works implementing XOM, despite their efficacy, only protect programs that have been (re)built with new compiler support, leaving commercial-off-the-shelf (COTS) binaries and source-unavailable programs unprotected. We present the design and implementation of NORAX, a practical system that retrofits XOM into stripped COTS binaries on AArch64 platforms. Unlike previous techniques, NORAX requires neither source code nor debugging symbols. NORAX statically transforms existing binaries so that during runtime their code sections can be loaded into XOM memory pages with embedded data relocated and data references properly updated. NORAX allows transformed binaries to leverage the new hardware-based XOM support-a feature widely available on AArch64 platforms (e.g., recent mobile devices) yet virtually unused due to the incompatibility of existing binaries. Furthermore, NORAX is designed to co-exist with other COTS binary hardening techniques, such as in-place randomization (IPR). We apply NORAX to the commonly used Android system binaries running on SAMSUNG Galaxy S6 and LG Nexus 5X devices. The results show that NORAX on average slows down the execution of transformed binaries by 1.18% and increases their memory footprint by 2.21%, suggesting NORAX is practical for real-world adoption.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

12 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • uXOM: Efficient eXecute-Only Memory on ARM Cortex-M cites Leakage-Resilient Layout Randomization for Mobile Devices
  • Return to the Zombie Gadgets: Undermining Destructive Code Reads via Code Inference Attacks cites Leakage-Resilient Layout Randomization for Mobile Devices
  • Compiler-Assisted Code Randomization cites An In-Depth Analysis of Disassembly on Full-Scale x86/x64 Binaries
  • Compiler-Assisted Code Randomization cites Leakage-Resilient Layout Randomization for Mobile Devices
  • Compiler-Assisted Code Randomization cites Return to the Zombie Gadgets: Undermining Destructive Code Reads via Code Inference Attacks
  • Compiler-Assisted Code Randomization cites Address Oblivious Code Reuse: On the Effectiveness of Leakage Resilient Diversity
  • Address Oblivious Code Reuse: On the Effectiveness of Leakage Resilient Diversity cites Leakage-Resilient Layout Randomization for Mobile Devices
  • Address Oblivious Code Reuse: On the Effectiveness of Leakage Resilient Diversity cites Return to the Zombie Gadgets: Undermining Destructive Code Reads via Code Inference Attacks
  • xMP: Selective Memory Protection for Kernel and User Space cites Compiler-Assisted Code Randomization
  • Speculative Probing: Hacking Blind in the Spectre Era cites Leakage-Resilient Layout Randomization for Mobile Devices
  • Speculative Probing: Hacking Blind in the Spectre Era cites Return to the Zombie Gadgets: Undermining Destructive Code Reads via Code Inference Attacks
  • Speculative Probing: Hacking Blind in the Spectre Era cites Address Oblivious Code Reuse: On the Effectiveness of Leakage Resilient Diversity
  • SoK: All You Ever Wanted to Know About x86/x64 Binary Disassembly But Were Afraid to Ask cites An In-Depth Analysis of Disassembly on Full-Scale x86/x64 Binaries
  • SoK: All You Ever Wanted to Know About x86/x64 Binary Disassembly But Were Afraid to Ask cites Compiler-Assisted Code Randomization
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers12

  1. SoK: All You Ever Wanted to Know About x86/x64 Binary Disassembly But Were Afraid to AskChengbin Pang, Ruotong Yu, Yaohui Chen, Eric Koskinen et al.S&P 2021 · 102 citations
  2. xMP: Selective Memory Protection for Kernel and User SpaceSergej Proskurin, Marius Momeu, Seyedhamed Ghavamnia, Vasileios P. Kemerlis et al.S&P 2020 · 89 citations
  3. Compiler-Assisted Code RandomizationHyungjoon Koo, Yaohui Chen, Long Lu, Vasileios P. Kemerlis et al.S&P 2018 · 80 citations
  4. uXOM: Efficient eXecute-Only Memory on ARM Cortex-MDonghyun Kwon, Jangseop Shin, Giyeol Kim, Byoungyoung Lee et al.USENIX Security 2019 · 40 citations
  5. Speculative Probing: Hacking Blind in the Spectre EraEnes Göktas, Kaveh Razavi, Georgios Portokalidis, Herbert Bos et al.CCS 2020 · 36 citations

Builds on4

  1. An In-Depth Analysis of Disassembly on Full-Scale x86/x64 BinariesDennis Andriesse, Xi Chen, Victor van der Veen, Asia Slowinska et al.USENIX Security 2016 · 162 citations
  2. Leakage-Resilient Layout Randomization for Mobile DevicesKjell Braden, Lucas Davi, Christopher Liebchen, Ahmad-Reza Sadeghi et al.NDSS 2016 · 90 citations
  3. Address Oblivious Code Reuse: On the Effectiveness of Leakage Resilient DiversityRobert Rudd, Richard Skowyra, David Bigelow, Veer Dedhia et al.NDSS 2017 · 78 citations
  4. Return to the Zombie Gadgets: Undermining Destructive Code Reads via Code Inference AttacksKevin Z. Snow, Roman Rogowski, Jan Werner, Hyungjoon Koo et al.S&P 2016 · 54 citations

Related papers

  1. Retrofitting XoM for Stripped Binaries without Embedded Data RelocationChenke Luo, Jiang Ming, Mengfei Xie, Guojun Peng et al.NDSS 2025
  2. MemoryTrap: Booby Trapping Memory to Counter Memory Disclosure Attacks with Hardware SupportChenke Luo, Jiang Ming, Dongpeng Xu, Guojun Peng et al.USENIX ATC 2025
  3. What Cannot Be Read, Cannot Be Leveraged? Revisiting Assumptions of JIT-ROP DefensesGiorgi Maisuradze, Michael Backes, Christian RossowUSENIX Security 2016 · 41 citations
  4. Breaking Kernel Address Space Layout Randomization with Intel TSXYeongjin Jang, Sangho Lee, Taesoo KimCCS 2016 · 174 citations
  5. Drammer: Deterministic Rowhammer Attacks on Mobile PlatformsVictor van der Veen, Yanick Fratantonio, Martina Lindorfer, Daniel Gruss et al.CCS 2016 · 381 citations
Dusk over the sea between two cliffs drawn in fine vertical lines