PointerScope: Understanding Pointer Patching for Code Randomization
IEEE Transactions on Dependable and Secure Computing · 01.07.2023 · 20 (4) · 3019-3036
DOI: 10.1109/tdsc.2022.3203043 ↗Kurz gefasst
Fachartikel in der Zeitschrift IEEE Transactions on Dependable and Secure Computing, erschienen am 01.07.2023. Verfasst von Mengfei Xie und 4 weiteren Autor:innen. Die Arbeit wurde bisher 3-mal zitiert (Crossref) und nennt 44 Literaturangaben. Gefördert von: National Key R&D Program of China, National Natural Science Foundation of China.
Abstract (Originalsprache)
Various fine-grained randomization schemes have been designed to increase the entropy of process space, while none of them can rise from an academic exercise to industrial deployment like Address Space Layout Randomization (ASLR). One of the critical reasons is the incorrectness of randomization caused by the mismatch between their pointer collection capabilities and the high accuracy requirements of the pointer patching task. In this article, we present PointerScope, an accurate compile-time pointer collection scheme deriving from a group of novel observations. The success of PointerScope relies on the complete tracing of the pointer generation process, including the compilation chain from compiler to static linker and the interface specification between them. From this view, PointerScope identifies four types of pointer-related static linker behaviors and clarifies five types of inherent addressing modes in the x86-64 architecture. The vague understanding of them causes the Compiler-assisted Code Randomization (CCR) to incorrectly collect pointers and patch them to the wrong values after randomization. Further, we measure the pointer collection capability of augmented binary analysis, the experimental results show that they can mitigate challenges from the traditional binary analysis by the given premises, but additional heuristics still need to be designed to support the fine-grained randomization.
Förderung
- National Key R&D Program of China
- National Natural Science Foundation of China
Zitieren
APA
Xie, M., Lin, Y., Luo, C., Peng, G., & Fu, J. (2023). PointerScope: Understanding Pointer Patching for Code Randomization. IEEE Transactions on Dependable and Secure Computing, 20(4), 3019-3036. https://doi.org/10.1109/tdsc.2022.3203043
Vancouver
Xie M, Lin Y, Luo C, Peng G, Fu J. PointerScope: Understanding Pointer Patching for Code Randomization. IEEE Transactions on Dependable and Secure Computing. 2023;20(4):3019-3036. doi:10.1109/tdsc.2022.3203043
BibTeX
@article{Xie2023,
author = {Xie, Mengfei and Lin, Yan and Luo, Chenke and Peng, Guojun and Fu, Jianming},
title = {PointerScope: Understanding Pointer Patching for Code Randomization},
journal = {IEEE Transactions on Dependable and Secure Computing},
year = {2023},
volume = {20},
number = {4},
pages = {3019--3036},
doi = {10.1109/tdsc.2022.3203043}
}
EUVIMED