Skip to main content
QUICK REVIEW

[Paper Review] Your Processor Leaks Information - and There's Nothing You Can Do About It

Qian Ge, Yuval Yarom|arXiv (Cornell University)|Dec 14, 2016
Security and Verification in ComputingComputer Science41 references12 citations
TL;DR

This paper demonstrates that modern x86 and ARM processors inherently leak information via microarchitectural timing channels—such as caches, branch predictors, and prefetchers—despite OS-level flushing mechanisms. The authors show that even with all known mitigations applied, residual high-capacity channels persist, proving that contemporary mainstream processors cannot be secured against such side-channel attacks without hardware-level support for state partitioning or flushing.

ABSTRACT

Timing channels are information flows, encoded in the relative timing of events, that bypass the system's protection mechanisms. Any microarchitectural state that depends on execution history and affects the rate of progress of later executions potentially establishes a timing channel, unless explicit steps are taken to close it. Such state includes CPU caches, TLBs, branch predictors and prefetchers; removing the channels requires that the OS can partition such state or flush it on a switch of security domains. We measure the capacities of channels based on these microarchitectural features on several generations of processors across the two mainstream ISAs, x86 and ARM, and investigate the effectiveness of the flushing mechanisms provided by the respective ISA.We find that in all processors we studied, at least one significant channel remains. This implies that closing all timing channels seems impossible on contemporary mainstream processors.

Motivation & Objective

  • To investigate whether microarchitectural timing channels can be fully closed on contemporary x86 and ARM processors.
  • To measure the capacity of timing channels arising from features like caches, TLBs, branch predictors, and prefetchers.
  • To evaluate the effectiveness of existing OS-level flushing mechanisms in closing these channels.
  • To identify which microarchitectural features remain exploitable despite known countermeasures.
  • To argue that current ISAs are insufficient for secure system design and advocate for hardware-software contract extensions.

Proposed method

  • Implemented covert timing channels targeting all known caching microarchitectural features on x86 and ARM processors.
  • Measured channel capacities with and without OS-level flushing mechanisms on multiple processor generations.
  • Analyzed the behavior of instruction prefetching and its role in creating remnant channels.
  • Evaluated the branch target buffer and branch history buffer as persistent sources of timing channels.
  • Used probing techniques with confidence intervals to quantify channel capacity and residual leakage.
  • Assessed the limitations of existing ISA mechanisms like wbinvd and the lack of selective cache flushing.

Experimental results

Research questions

  • RQ1Can microarchitectural timing channels be fully eliminated using known OS-level flushing techniques on modern x86 and ARM processors?
  • RQ2What is the residual channel capacity after applying all known mitigations on contemporary processors?
  • RQ3Which microarchitectural components (e.g., branch predictors, prefetchers) remain exploitable despite flushing?
  • RQ4Why do remnant channels persist, particularly in I-cache and branch history structures?
  • RQ5To what extent do current ISAs support secure partitioning or flushing of history-dependent microarchitectural state?

Key findings

  • On all tested x86 and ARM processors, at least one significant timing channel remains active despite full OS-level flushing.
  • The branch target buffer on x86 provides a timing channel that cannot be mitigated with existing techniques.
  • The branch history buffer on x86 and more recent ARM platforms also provides an unpatchable timing channel.
  • An apparent I-cache remnant channel on both x86 and ARM is caused by instruction prefetching.
  • Even with full mitigations, the TLB covert channel on Skylake retains a residual capacity of 0.11 bits, with a baseline of 0.06 bits.
  • The study concludes that no known mechanism can fully close all microarchitectural timing channels, rendering current mainstream processors inherently insecure for confidential workloads.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.