Fine-grained address space layout randomization on program load
А. Р. Нурмухаметов, E. A. Zhabotinskiy, Ш. Ф. Курмангалеев et al. · Proceedings of the Institute for System Programming of RAS · 2017
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.
Cited by 6 works. doi:10.15514/ispras-2017-29(6)-9 Open-access PDF
Authors
References
- Control-flow integrity principles, implementations, and applications
- Data-Oriented Programming: On the Expressiveness of Non-control Data Attacks
- Oxymoron: making fine-grained memory randomization practical by allowing code sharing
- Timely Rerandomization for Mitigating Memory Disclosures
- How to Make ASLR Win the Clone Wars: Runtime Re-Randomization
- Too much PIE is bad for performance
- Pure-Call Oriented Programming (PCOP): chaining the gadgets using call instructions
- Marlin: A Fine Grained Randomization Approach to Defend against ROP Attacks
- Selfrando: Securing the Tor Browser against De-anonymization Exploits
- Classification of ROP gadgets