On the Challenges of Detecting Side-Channel Attacks in SGX
Jianyu Jiang, Claudio Soriente, Ghassan Karame

TL;DR
This paper demonstrates that current performance-based detection tools for side-channel attacks on Intel SGX are ineffective against attackers who leak small secret portions over multiple runs, highlighting the need for new detection methods.
Contribution
The paper shows that existing performance monitoring tools cannot detect low-impact, multi-step side-channel attacks, and adapts known attacks to bypass these defenses in SGX enclaves.
Findings
Performance-based detection tools fail against small-leak, multi-run attacks.
Attackers can exfiltrate cryptographic keys undetected.
Existing detection mechanisms are insufficient for practical security.
Abstract
Existing tools to detect side-channel attacks on Intel SGX are grounded on the observation that attacks affect the performance of the victim application. As such, all detection tools monitor the potential victim and raise an alarm if the witnessed performance (in terms of runtime, enclave interruptions, cache misses, etc.) is out of the ordinary. In this paper, we show that monitoring the performance of enclaves to detect side-channel attacks may not be effective. Our core intuition is that all monitoring tools are geared towards an adversary that interferes with the victim's execution in order to extract the most number of secret bits (e.g., the entire secret) in one or few runs. They cannot, however, detect an adversary that leaks smaller portions of the secret - as small as a single bit - at each execution of the victim. In particular, by minimizing the information leaked at each…
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.
Taxonomy
TopicsSecurity and Verification in Computing · Cryptographic Implementations and Security · Advanced Malware Detection Techniques
