SSBleed: Non-speculative Side-channel Attacks via Speculative Store Bypass on Armv9 CPUs
Modern CPUs employ Speculative Store Bypass (SSB) to reduce load latency and improve performance. In response to the transient attacks such as Spectre, CPU vendors have also introduced mitigations to prevent incorrect speculation from leaking data.
In this work, we show that the SSB on Armv9 CPUs introduces a previously unexplored form of non-speculative data leakage. Specifically, we find that the SSB on Armv9 performance cores is governed by a undocumented predictor. Through reverse engineering, we uncover the design of this predictor and show that it lacks isolation across security domains. Furthermore, existing mitigations are insufficient to prevent leakage. To address this, we present SSBleed, the first non-speculative side-channel attack via SSB on Armv9 CPUs. We validate the practicality of SSBleed through 5 case studies, including cross-process RSA signature and key generation attacks on the latest version of MbedTLS and WolfSSL, interrupt detection, and improved data transmission in 2 transient attacks. Finally, we propose a flush-based mitigation through a kernel patch, which incurs an average performance overhead of 0.46%.
Wed 4 FebDisplayed time zone: Hobart change
09:50 - 11:10 | Hardware Security and Side-Channel DefensesMain Conference at Collaroy Chair(s): Georgios Vavouliotis Huawei Zurich Research Center, Switzerland | ||
09:50 20mTalk | DSASSASSIN: Cross-VM Side-Channel Attacks by Exploiting Intel Data Streaming Accelerator Main Conference Ben Chen The Hong Kong University of Science and Technology (Guangzhou), Kunlin Li The Hong Kong University of Science and Technology (Guangzhou), Shuwen Deng Tsinghua University, Dongsheng Wang Tsinghua University, Yun Chen The Hong Kong University of Science and Technology (Guangzhou) | ||
10:10 20mTalk | SSBleed: Non-speculative Side-channel Attacks via Speculative Store Bypass on Armv9 CPUs Main Conference Chang Liu Tsinghua University, Hongpei Zheng Tsinghua University, Xin Zhang Peking University, Dapeng Ju Tsinghua University, Dongsheng Wang Tsinghua University, Yinqian Zhang Southern University of Science and Technology, Trevor E. Carlson National University of Singapore | ||
10:30 20mTalk | Protean: A Programmable Spectre Defense Main Conference Nicholas Mosier Stanford University, Hamed Nemati KTH Royal Institute of Technology, John C. Mitchell Stanford University, Caroline Trippel Stanford University | ||
10:50 20mTalk | HERO-Sign: Hierarchical Tuning and Efficient Compiler-Time GPU Optimizations for SPHINCS$^+$ Signature Generation Main Conference Yaoyun Zhou University of California, Merced, Qian Wang University of California, Merced (UC Merced) | ||