Title
On The Weaknesses Of Function Table Randomization
Abstract
Latest defenses against code-reuse attacks focus on information hiding and randomization as important building blocks. The main idea is that an attacker is not able to find the position of the code she wants to reuse, hence thwarting successful attacks. Current state-of-the-art defenses achieve this by employing concepts such as execute-only memory combined with booby traps.In this paper, we show that an attacker is able to abuse symbol meta-data to gain valuable information about the address space. In particular, an attacker can mimic dynamic loading and manually resolve symbol addresses. We show that this is a powerful attack vector inherent to many applications using symbol resolving at runtime, an ubiquitous concept in today's systems. More importantly, we utilize this approach to resolve and reuse functions otherwise unavailable to an attacker due to function table randomization. To confirm the practical impact of this attack vector, we demonstrate how dynamic loading can be exploited to bypass Readactor++, the state-of-the-art defense against code-reuse attacks, despite its use of booby traps and virtual function table (vtable) randomization. Furthermore, we present a novel approach to protect symbol metadata to defend against such attacks. Our defense, called Symtegrity, is able to safeguard symbols from an attacker, whilst preserving functionality provided by the loader. It is both orthogonal to existing defenses and applicable to arbitrary binary executables. Empirical evaluation results show that our approach has an overhead of roughly 8% during application startup. At runtime, however, no noticeable performance impact is measured, as evident from both browser and SPEC benchmarks.
Year
DOI
Venue
2018
10.1007/978-3-319-93411-2_9
DETECTION OF INTRUSIONS AND MALWARE, AND VULNERABILITY ASSESSMENT, DIMVA 2018
Field
DocType
Volume
Computer security,Reuse,Computer science,Information hiding,Booby,Randomization
Conference
10885
ISSN
Citations 
PageRank 
0302-9743
0
0.34
References 
Authors
20
4
Name
Order
Citations
PageRank
Moritz Contag1814.04
Robert Gawlik21105.69
Andre Pawlowski3222.93
T HORSTEN HOLZ43532232.93