Skip to main content Skip to main navigation

Publikation

MoCFI: A Framework to Mitigate Control-Flow Attacks on Smartphones

Lucas Davi; Alexandra Dmitrienko; Manuel Egele; Thomas Fischer; Thorsten Holz; Ralf Hund; Stefan Nürnberger; Ahmad-Reza Sadeghi
In: Proceedings of the 19th Annual Network & Distributed System Security Symposium. Symposium on Network and Distributed System Security (NDSS-2012), 19th, February 5-8, San Diego, CA, USA, Internet Society, 2012.

Zusammenfassung

Runtime and control-flow attacks (such as code injection or return-oriented programming) constitute one of the most severe threats to software programs. These attacks are prevalent and have been recently applied to smartphone applications as well, of which hundreds of thousands are downloaded by users every day. While a framework for control-flow integrity (CFI) enforcement, an approach to prohibit this kind of attacks, exists for the Intel x86 platform, there is no such a solution for smartphones. In this paper, we present a novel framework, MoCFI (Mobile CFI), that provides a general countermeasure against control-flow attacks on smartphone platforms by enforcing CFI. We show that CFI on typical smartphone platforms powered by an ARM processor is technically involved due to architectural differences between ARM and Intel x86, as well as the specifics of smartphone OSes. Our framework performs CFI on-the-fly during runtime without requiring the application’s source code. For our reference implementation we chose Apple’s iOS, because it has been an attractive target for control-flow attacks. Nevertheless, our framework is also applicable to other ARM-based devices such as Google’s Android. Our performance evaluation demonstrates that MoCFI is efficient and does not induce notable overhead when applied to popular iOS applications.