PwrLeak: Exploiting Power Reporting Interface for Side-Channel Attacks on AMD SEV
PwrLeak: Exploiting Power Reporting Interface for Side-Channel Attacks on AMD SEV
复制标题
DOI:
10.1007/978-3-031-35504-2_3
复制
发表时间:
2023
期刊:
影响因子:
--
通讯作者:
Wubing Wang;Mengyuan Li;Yinqian Zhang;Zhiqiang Lin
中科院分区:
文献类型:
--
作者:
Wubing Wang;Mengyuan Li;Yinqian Zhang;Zhiqiang Lin
An increasing number of Trusted Execution Environment (TEE) is adopting to a variety of commercial products for protecting data security on the cloud. However, TEEs are still exposed to various side-channel vulnerabilities, such as execution order-based, timing-based, and power-based vulnerabilities. While recent hardware is applying various techniques to mitigate order-based and timing-based side-channel vulnerabilities, power-based side-channel attacks remain a concern of hardware security, especially for the confidential computing settings where the server machines are beyond the control of cloud users. In this paper, we presentPwrLeak, an attack framework that exploits AMD’s power reporting interfaces to build power side-channel attacks against AMD Secure Encrypted Virtualization (SEV)-protected VM. We design and implement the attack framework with three general steps: (1) identify the instruction running inside AMD SEV, (2) apply a power interpolator to amplify power consumption, including an emulation-based interpolator for analyzing purposes and a more general interrupt-based interpolator, and (3) infer secrets with various analysis approaches. A case study of using the emulation-based interpolator to infer the whole JPEG images processed by libjpeg demonstrates its ability to help analyze power consumption inside SEV VM. Our end-to-end attacks against Intel’s Integrated Performance Primitives (Intel IPP) library indicates thatPwrLeakcan be exploited to infer RSA private keys with over 80% accuracy using the interrupt-based interpolator.