A Lightweight Isolation Mechanism for Secure Branch Predictors
Lutan Zhao, Peinan Li, Rui Hou, Michael C. Huang, Jiazhen Li, Lixin, Zhang, Xuehai Qian, Dan Meng

TL;DR
This paper introduces lightweight hardware-based randomization techniques to isolate branch predictor data, enhancing security against cross-process attacks with minimal performance overhead.
Contribution
It proposes XOR-based content encoding and randomized index encoding for branch predictors, providing a novel lightweight security mechanism.
Findings
Effective obfuscation of predictor contents and indices
Minimal performance overhead demonstrated on FPGA prototype
Strong security improvements against malicious perception
Abstract
Recently exposed vulnerabilities reveal the necessity to improve the security of branch predictors. Branch predictors record history about the execution of different programs, and such information from different processes are stored in the same structure and thus accessible to each other. This leaves the attackers with the opportunities for malicious training and malicious perception. Instead of flush-based or physical isolation of hardware resources, we want to achieve isolation of the content in these hardware tables with some lightweight processing using randomization as follows. (1) Content encoding. We propose to use hardware-based thread-private random numbers to encode the contents of the branch predictor tables (both direction and destination histories) which we call XOR-BP. Specifically, the data is encoded by XOR operation with the key before written in the table and decoded…
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.
Taxonomy
TopicsSecurity and Verification in Computing · Advanced Malware Detection Techniques · Cryptographic Implementations and Security
