Lune

CCS2022Top-tier venue

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

Ahmad Ibrahim, Hamed Nemati, Till Schlüter, Nils Ole Tippenhauer, Christian Rossow

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. [40].

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Shesha : Multi-head Microarchitectural Leakage Discovery in new-generation Intel Processors cites Spectre Attacks: Exploiting Speculative Execution
  • Shesha : Multi-head Microarchitectural Leakage Discovery in new-generation Intel Processors cites RIDL: Rogue In-Flight Data Load
  • RIDL: Rogue In-Flight Data Load cites Spectre Attacks: Exploiting Speculative Execution
  • SSBench: Automated Characterization of Memory Dependence Predictors on Modern CPUs cites Spectre Attacks: Exploiting Speculative Execution
  • SSBench: Automated Characterization of Memory Dependence Predictors on Modern CPUs cites FetchBench: Systematic Identification and Characterization of Proprietary Prefetchers
  • SSBench: Automated Characterization of Memory Dependence Predictors on Modern CPUs cites ARMageddon: Cache Attacks on Mobile Devices
  • WhisperFuzz: White-Box Fuzzing for Detecting and Locating Timing Vulnerabilities in Processors cites Spectre Attacks: Exploiting Speculative Execution
  • WhisperFuzz: White-Box Fuzzing for Detecting and Locating Timing Vulnerabilities in Processors cites RIDL: Rogue In-Flight Data Load
  • Enter, Exit, Page Fault, Leak { }^{\ddagger}: Testing Isolation Boundaries for Microarchitectural Leaks cites Spectre Attacks: Exploiting Speculative Execution
  • Enter, Exit, Page Fault, Leak { }^{\ddagger}: Testing Isolation Boundaries for Microarchitectural Leaks cites RIDL: Rogue In-Flight Data Load
  • FetchBench: Systematic Identification and Characterization of Proprietary Prefetchers cites Spectre Attacks: Exploiting Speculative Execution
  • FetchBench: Systematic Identification and Characterization of Proprietary Prefetchers cites Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLR
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. WhisperFuzz: White-Box Fuzzing for Detecting and Locating Timing Vulnerabilities in ProcessorsPallavi Borkar, Chen Chen, Mohamadreza Rostami, Nikhilesh Singh et al.USENIX Security 2024 · 31 citations
  2. FetchBench: Systematic Identification and Characterization of Proprietary PrefetchersTill Schlüter, Amit Choudhari, Lorenz Hetterich, Leon Trampert et al.CCS 2023 · 11 citations
  3. Enter, Exit, Page Fault, Leak ‡{ }^{\ddagger}: Testing Isolation Boundaries for Microarchitectural LeaksOleksii Oleksenko, Flavien Solt, Cédric Fournet, Jana Hofmann et al.S&P 2026 · 4 citations
  4. Shesha : Multi-head Microarchitectural Leakage Discovery in new-generation Intel ProcessorsAnirban Chakraborty, Nimish Mishra, Debdeep MukhopadhyayUSENIX Security 2024 · 3 citations
  5. SSBench: Automated Characterization of Memory Dependence Predictors on Modern CPUsChang Liu, Yu Jin, Yuchen Fan, Tianrui Xiao et al.ISCA 2026 · 1 citation

Builds on16

  1. Spectre Attacks: Exploiting Speculative ExecutionPaul Kocher, Jann Horn, Anders Fogh, Daniel Genkin et al.S&P 2019 · 2,435 citations
  2. DRAMA: Exploiting DRAM Addressing for Cross-CPU AttacksPeter Pessl, Daniel Gruss, Clémentine Maurice, Michael Schwarz et al.USENIX Security 2016 · 500 citations
  3. ARMageddon: Cache Attacks on Mobile DevicesMoritz Lipp, Daniel Gruss, Raphael Spreitzer, Clémentine Maurice et al.USENIX Security 2016 · 451 citations
  4. RIDL: Rogue In-Flight Data LoadStephan van Schaik, Alyssa Milburn, Sebastian Österlund, Pietro Frigo et al.S&P 2019 · 408 citations
  5. Prefetch Side-Channel Attacks: Bypassing SMAP and Kernel ASLRDaniel Gruss, Clémentine Maurice, Anders Fogh, Moritz Lipp et al.CCS 2016 · 278 citations

Related papers

  1. Unveiling Hardware-based Data Prefetcher, a Hidden Source of Information LeakageYoung-joo Shin, Hyung Chan Kim, Dokeun Kwon, Ji-Hoon Jeong et al.CCS 2018 · 73 citations
  2. ExfilState: Automated Discovery of Timer-Free Cache Side Channels on ARM CPUsFabian Thomas, Michael Torres, Daniel Moghimi, Michael SchwarzCCS 2025
  3. PREFETCHX: Cross-Core Cache-Agnostic Prefetcher-based Side-Channel AttacksYun Chen, Ali Hajiabadi, Lingfeng Pei, Trevor E. CarlsonHPCA 2024 · 15 citations
  4. Osiris: Automated Discovery of Microarchitectural Side ChannelsDaniel Weber, Ahmad Ibrahim, Hamed Nemati, Michael Schwarz et al.USENIX Security 2021 · 75 citations
  5. How to 0wn the NAS in Your Spare TimeSanghyun Hong, Michael Davinroy, Yigitcan Kaya, Dana Dachman-Soled et al.ICLR 2020 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines