Publications

Publications

Type of Publication: Article in Collected Edition

Hardware-Assisted Fine-Grained Control-Flow Integrity: Towards Efficient Protection of Embedded Systems Against Software Exploitation

Author(s):
Davi, Lucas; Koeberl, Patrick; Sadeghi, Ahmad-Reza
Title of Anthology:
Proc. of 51st Design Automation Conference (DAC) - Special Session: Trusted Mobile Embedded Computing
Publication Date:
2014
Digital Object Identifier (DOI):
doi:10.1145/2593069.2596656
Link to complete version:
https://dl.acm.org/authorize?N27320
Citation:
LABEL-FOR-eidrisexport

Abstract

Embedded systems have become pervasive and are built into a vast number of devices such as sensors, vehicles, mobile and wearable devices. However, due to resource constraints, they fail to provide sufficient security, and are particularly vulnerable to runtime attacks (code injection and ROP). Previous works have proposed the enforcement of control-flow integrity (CFI) as a general defense against runtime attacks. However, existing solutions either suffer from performance overhead or only enforce coarse-grain CFI policies that a sophisticated adversary can undermine. In this paper, we tackle these limitations and present the design of novel security hardware mechanisms to enable fine-grained CFI checks. Our CFI proposal is based on a state model and a per-function CFI label approach. In particular, our CFI policies ensure that function returns can only transfer control to active call sides (i.e., return landing pads of functions currently executing). Further, we restrict indirect calls to target the beginning of a function, and lastly, deploy behavioral heuristics for indirect jumps.