Microarchitectural Leakage Templates and Their Application to Cache-Based Side Channels

7Citations
Citations of this article
17Readers
Mendeley users who have this article in their library.
Get full text

Abstract

The complexity of modern processor architectures has given rise to sophisticated interactions among their components. Such interactions may result in potential attack vectors in terms of side channels, possibly available to userland exploits to leak secret data. Exploitation and countering of such side channels requires a detailed understanding of the target component. However, such detailed information is commonly unpublished for many CPUs. In this paper, we introduce the concept of Leakage Templates to abstractly describe specific side channels and identify their occurrences in binary applications. We design and implement Plumber, a framework to derive the generic Leakage Templates from individual code sequences that are known to cause leakage (e.g., found by prior work). Plumber uses a combination of instruction fuzzing, instructions' operand mutation and statistical analysis to explore undocumented behavior of microarchitectural optimizations and derive sufficient conditions on vulnerable code inputs that if hold can trigger a distinguishing behavior. Using Plumber we identified novel leakage primitives based on Leakage Templates (for ARM Cortex-A53 and-A72 cores), in particular related to previction (a new premature cache eviction), and prefetching behavior. We show the utility of Leakage Templates by re-identifying a prefetcher-based vulnerability in OpenSSL 1.1.0g first reported by Shin et al. [39].

Cite

CITATION STYLE

APA

Ibrahim, A., Nemati, H., Schlüter, T., Tippenhauer, N. O., & Rossow, C. (2022). Microarchitectural Leakage Templates and Their Application to Cache-Based Side Channels. In Proceedings of the ACM Conference on Computer and Communications Security (pp. 1489–1503). Association for Computing Machinery. https://doi.org/10.1145/3548606.3560613

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free