RUS  ENG
Full version
JOURNALS // Proceedings of the Institute for System Programming of the RAS // Archive

Proceedings of ISP RAS, 2017 Volume 29, Issue 6, Pages 163–182 (Mi tisp279)

This article is cited in 3 papers

Fine-grained address space layout randomization on program load

A. R. Nurmukhametova, E. A. Zhabotinskiya, Sh. F. Kurmangaleeva, S. S. Gaissaryanabcd, A. V. Vishnyakova

a Ivannikov Institute for System Programming of the Russian Academy of Sciences
b Lomonosov Moscow State University
c Moscow Institute of Physics and Technology (State University)
d National Research University Higher School of Economics (HSE)

Abstract: Program vulnerabilities are a serious security threat. It is important to develop defenses preventing their exploitation, especially with a rapid increase of ROP attacks. State of the art defenses have some drawbacks that can be used by attackers. In this paper we propose fine-grained address space layout randomization on program load that is able to protect from such kind of attacks. During the static linking stage executable and library files are supplemented with information about function boundaries and relocations. A system dynamic linker/loader uses this information to perform functions permutation. The proposed method was implemented for 64-bit programs on CentOS 7 operating system. The implemented method has shown good resistance to ROP attacks based on two metrics: the number of survived gadgets and the exploitability estimation of ROP chain examples. The implementation presented in this article is applicable across the entire operating system and has shown 1.5 % time overhead. The working capacity of proposed approach was demonstrated on real programs. The further research can cover forking randomization and finer granularity than on the function level. It also makes sense to implement the randomization of short functions placement, taking into account the relationships between them. The close arrangement of functions that often call each other can improve the performance of individual programs.

Keywords: address space layout randomization, diversification, ASLR, ROP.

DOI: 10.15514/ISPRAS-2017-29(6)-9



Bibliographic databases:


© Steklov Math. Inst. of RAS, 2024