Stacco: Differentially Analyzing Side-Channel Traces for Detecting SSL/TLS Vulnerabilities in Secure Enclaves
Yuan Xiao, Mengyuan Li, Sanchuan Chen, Yinqian Zhang

TL;DR
This paper introduces Stacco, a differential analysis framework that uncovers SSL/TLS vulnerabilities in SGX enclaves through control-flow inference attacks, demonstrating practical decryption exploits with minimal queries.
Contribution
We present Stacco, a novel dynamic analysis method for detecting SSL/TLS vulnerabilities in SGX enclaves, revealing widespread exploitable flaws in recent library versions.
Findings
All examined SSL/TLS libraries had exploitable vulnerabilities.
Successfully broke RSA and AES encryption with under 60,000 queries.
Attacks can be completed within 1-2 hours.
Abstract
Intel Software Guard Extension (SGX) offers software applications enclave to protect their confidentiality and integrity from malicious operating systems. The SSL/TLS protocol, which is the de facto standard for protecting transport-layer network communications, has been broadly deployed for a secure communication channel. However, in this paper, we show that the marriage between SGX and SSL may not be smooth sailing. Particularly, we consider a category of side-channel attacks against SSL/TLS implementations in secure enclaves, which we call the control-flow inference attacks. In these attacks, the malicious operating system kernel may perform a powerful man-in-the-kernel attack to collect execution traces of the enclave programs at page, cacheline, or branch level, while positioning itself in the middle of the two communicating parties. At the center of our work is a differential…
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.
