arrow
Return

PtrProxy: Efficient code re-randomization on AArch64 platform

delete
delete0
PRE
AI
C
Chenke Luo
傅建明 (Jianming Fu)
J
Jiang Ming
M
Mengfei Xie
G
Guojun Peng
DOI:10.23919/JCC.ja.2024-0077delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Memory-unsafe programming languages, such as C/C++, are often used to develop system programs, rendering the programs susceptible to a variety of memory corruption attacks. Among these threats, just-in-time return-oriented programming (JIT-ROP) stands out as an advanced method for conducting code-reuse attacks, effectively circumventing code randomization safeguards. JIT-ROP leverages memory disclosure vulnerabilities to obtain reusable code fragments dynamically and assemble malicious payloads dynamically. In response to JIT-ROP attacks, several re-randomization implementations have been developed to prevent the use of disclosed code. However, existing re-randomization methods require recurrent re-randomization during program runtime according to fixed time windows or specific events such as system calls, incurring significant runtime overhead. In this paper, we present the design and implementation of PtrProxy, an efficient re-randomization approach on the AArch64 platform. Unlike previous methods that necessitate frequent runtime rerandomization or reply on unreliable triggering conditions, this approach triggers the re-randomization process by detecting the code page harvest operation, which is a fundamental operation of the JIT-ROP attacks, making our method more efficient and reliable than previous approaches. We evaluate PtrProxy on benchmarks and real-world applications. The evaluation results show that our approach can effectively protect programs from JIT-ROP attacks while introducing marginal runtime overhead.
Keywords:
code reuse attacks
re-randomization
return-oriented programming
security and privacy
software security

Journal

China Communications cover
China Communications
IF:
3.1
Papers:
1.8K
Citations:
5.0K

Organization

T
tulane university
Scholars:
1.3W
Papers: 1.0W
Citations: 9
W
wuhan university
Scholars:
8.0W
Papers: 5.8W
Citations: 70