Fine-Grained Address Space Layout Randomization on Program Load


Cite item

Full Text

Open Access Open Access
Restricted Access Access granted
Restricted Access Subscription Access

Abstract

Software vulnerabilities are a serious security threat. It is important to develop protection mechanisms preventing their exploitation, especially with a rapid increase of ROP attacks. State of the art protection mechanisms 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, the executable and library files are supplemented with information about function boundaries and relocations. A system dynamic linker/loader uses this information to perform permutation of functions. The proposed method was implemented for 64-bit programs on CentOS 7 operating system. The implemented method has shown good resistance to ROP attacks evaluated by 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 no compatibility problems affecting the program performance. 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.

About the authors

A. R. Nurmukhametov

Ivannikov Institute for System Programming, Russian Academy of Sciences

Author for correspondence.
Email: oleshka@ispras.ru
Russian Federation, Moscow, 109004

E. A. Zhabotinskiy

Ivannikov Institute for System Programming, Russian Academy of Sciences

Author for correspondence.
Email: ezhabotinskiy@ispras.ru
Russian Federation, Moscow, 109004

Sh. F. Kurmangaleev

Ivannikov Institute for System Programming, Russian Academy of Sciences

Author for correspondence.
Email: kursh@ispras.ru
Russian Federation, Moscow, 109004

S. S. Gaissaryan

Ivannikov Institute for System Programming, Russian Academy of Sciences

Author for correspondence.
Email: ssg@ispras.ru
Russian Federation, Moscow, 109004

A. V. Vishnyakov

Ivannikov Institute for System Programming, Russian Academy of Sciences

Author for correspondence.
Email: vishnya@ispras.ru
Russian Federation, Moscow, 109004

Supplementary files

Supplementary Files
Action
1. JATS XML

Copyright (c) 2018 Pleiades Publishing, Ltd.