BranchScope
Dmitry Evtyushkin, Ryan D. Riley, Nael Abu‐Ghazaleh et al. · International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS) · 2018
We present BranchScope - a new side-channel attack where the attacker infers the direction of an arbitrary conditional branch instruction in a victim program by manipulating the shared directional branch predictor. The directional component of the branch predictor stores the prediction on a given branch (taken or not-taken) and is a different component from the branch target buffer (BTB) attacked by previous work. BranchScope is the first fine-grained attack on the directional branch predictor, expanding our understanding of the side channel vulnerability of the branch prediction unit. Our attack targets complex hybrid branch predictors with unknown organization. We demonstrate how an attacker can force these predictors to switch to a simple 1-level mode to simplify the direction recovery. We carry out BranchScope on several recent Intel CPUs and also demonstrate the attack against an SGX enclave.
Cited by 177 works. doi:10.1145/3173162.3173204
Authors
References
- A study of branch prediction strategies
- Two-level adaptive training branch prediction
- USENIX Security Symposium
- On the effectiveness of address-space randomization
- Remote timing attacks are practical
- Spectre Attacks: Exploiting Speculative Execution
- Innovative instructions and software model for isolated execution
- FLUSH+RELOAD: a high resolution, low noise, L3 cache side-channel attack
- A Practical Implementation of the Timing Attack
- Last-Level Cache Side-Channel Attacks are Practical