SEV-Step: A Single-Stepping Framework for AMD-SEV
Luca Wilke, Jan Wichelmann, Anja Rabich, Thomas Eisenbarth

TL;DR
This paper introduces SEV-Step, a framework enabling reliable single-stepping and attack primitives on AMD SEV virtual machines, facilitating microarchitectural attack research and demonstrating vulnerabilities including cache attacks and instruction information leaks.
Contribution
SEV-Step is the first reusable framework for single-stepping AMD SEV VMs, providing attack primitives and demonstrating new vulnerabilities like Nemesis-style attacks.
Findings
SEV can be reliably single-stepped using SEV-Step.
SEV-Step enables cache attacks that leak encryption keys.
SEV is vulnerable to instruction information leakage attacks.
Abstract
The ever increasing popularity and availability of Trusted Execution Environments (TEEs) had a stark influence on microarchitectural attack research in academia, as their strong attacker model both boosts existing attack vectors and introduces several new ones. While many works have focused on Intel SGX, other TEEs like AMD SEV have recently also started to receive more attention. A common technique when attacking SGX enclaves is single-stepping, where the system's APIC timer is used to interrupt the enclave after every instruction. Single-stepping increases the temporal resolution of subsequent microarchitectural attacks to a maximum. A key driver in the proliferation of this complex attack technique was the SGX-Step framework, which offered a stable reference implementation for single-stepping and a relatively easy setup. In this paper, we demonstrate that SEV VMs can also be reliably…
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.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSecurity and Verification in Computing · Semiconductor materials and devices · Diamond and Carbon-based Materials Research
