Paper record

W2791034507

BranchScope: A New Side-Channel Attack on Directional Branch Predictor

Dmitry Evtyushkin, Ryan D. Riley, Nael Abu‐Ghazaleh, Dmitry Ponomarev

Year
2018
Venue
International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS)
References
50
Cited by
229

Details and counts from OpenAlex.

Abstract

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.