2019 · 305 citations · 67 references
ComputingComputer EngineeringComputer ScienceComputer SecurityHardware SecuritySecurity ArchitectureMicroarchitectural SecuritySide-channel AttacksSpeculative ExecutionMicroarchitectural Side-channel AnalysisMicroarchitectural Side-channel AttacksMicroarchitectureSide-channel CountermeasuresSpectre AttacksSpectre MitigationSpeculative Execution AttacksSpeculative Side-channel Analysis
Speculative execution side-channel vulnerabilities in micro-architecture processors have raised concerns about the security of Intel SGX. To understand clearly the security impact of this vulnerability against SGX, this paper makes the following studies: First, to demonstrate the feasibility of the attacks, we present SgxPectre Attacks (the SGX-variants of Spectre attacks) that exploit speculative execution side-channel vulnerabilities to subvert the confidentiality of SGX enclaves. We show that when the branch prediction of the enclave code can be influenced by programs outside the enclave, the control flow of the enclave program can be temporarily altered to execute instructions that lead to observable cache-state changes. An adversary observing such changes can learn secrets inside the enclave memory or its internal registers, thus completely defeating the confidentiality guarantee offered by SGX. Second, to determine whether real-world enclave programs are impacted by the attacks, we develop techniques to automate the search of vulnerable code patterns in enclave binaries using symbolic execution. Our study suggests that nearly any enclave program could be vulnerable to SgxPectre Attacks since vulnerable code patterns are available in most SGX runtimes (e.g., Intel SGX SDK, Rust-SGX, and Graphene-SGX). Third, we apply SgxPectre Attacks to steal seal keys and attestation keys from Intel signed quoting enclaves. The seal key can be used to decrypt sealed storage outside the enclaves and forge valid sealed data; the attestation key can be used to forge attestation signatures. For these reasons, SgxPectre Attacks practically defeat SGX's security protection. Finally, we evaluate Intel's existing countermeasures against SgxPectre Attacks and discusses the security implications.
67
Symbolic execution and program testing
James C. King · Communications of the ACM · 1976 · 3K citations · Full text
The geometry of innocent flesh on the bone
Hovav Shacham · 2007 · 1.3K citations
Innovative instructions and software model for isolated execution
Frank Mckeen, Ilya Alexandrovich, Alex Berenzon et al. · 2013 · 1.1K citations
Last-Level Cache Side-Channel Attacks are Practical
Fangfei Liu, Yuval Yarom, Qian Ge et al. · 2015 · 1K citations · Full text