Leaking Secrets through Modern Branch Predictor in the Speculative World
Md Hafizul Islam Chowdhuryy, Fan Yao

TL;DR
This paper uncovers a new class of transient execution attack called BranchSpectre that exploits the state of the branch prediction unit to leak secrets, demonstrating high-speed covert channels and side channels in modern processors.
Contribution
It introduces a novel attack framework exploiting BPU state changes, along with new side channels and covert channels that are simpler and more effective than previous Spectre variants.
Findings
BranchSpectre can exfiltrate secrets via BPU state manipulation.
The attack works on real-world applications like OpenSSL.
Secure branch prediction mechanisms can mitigate these attacks.
Abstract
Transient execution attacks that exploit speculation have raised significant concerns in computer systems. Typically, branch predictors are leveraged to trigger mis-speculation in transient execution attacks. In this work, we demonstrate a new class of speculation-based attack that targets branch prediction unit (BPU). We find that speculative resolution of conditional branches (i.e., in nested speculation) alter the states of pattern history table (PHT) in modern processors, which are not restored after the corresponding branches are later squashed. Such characteristic allows attackers to exploit BPU as the secret transmitting medium in transient execution attacks. To evaluate the discovered vulnerability, we build a novel attack framework, BranchSpectre, that enables exfiltration of unintended secrets through observing speculative PHT updates (in the form of covert and side channels).…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
