3 ms·
The security assumptions that SGX is built on are flawed. They assume that no side channel attacks will be mounted to determine the processes that occur in sid
by DINKDINK 9y ago
The security assumptions that SGX is built on are flawed. They assume that no side channel attacks will be mounted to determine the processes that occur in side the chip. You can even build software to do side channel analysis on the physical chip:
7:16:26 Daniel Gruss / Michael Schwarz - Cache Attacks on SGX
https://youtu.be/eCE2OzKIab8?t=26193 https://youtu.be/eCE2OzKIab8?t=26193
- hardwarescope 9y ago> They assume that no side channel attacks will be mounted to determine the processes that occur in side the chip. They do? 2/3rds of this blog post are about side channel attacks. The majority of the technical aspects of the article are about memory side channels in SGX and how they overcome those challenges. I haven't looked at the code yet, but it sounds as if they wrote it to be branchless so that attackers can't monitor control flow and so that memory access patterns don't leak anything.
- DINKDINK 9y agoYou're correct. My original statement was wrong regarding Intel's assumption. The principle issue is that developers shouldn't assume that processes that occur in SGX are obfuscated in any sense because you can build SGX sidechannel detection within software that runs inside the enclave The lecture I pointed to shows an example of this attack.
- Pyxl101 9y ago> The security assumptions that SGX is built on are flawed. They assume that no side channel attacks will be mounted to determine the processes that occur in side the chip. Protecting against side channel attacks and reverse engineering is the responsibility of developers who use SGX, according to Intel's website and user manual: > Intel designs the Intel Software Guard Extensions to protect against known hardware attacks [...] Intel Software Guard Extensions is not designed to handle side channel attacks or reverse engineering. It is up to the Intel SGX developers to build enclaves that are protected against these types of attack. Intel's assumptions appear to correctly account for the fact that side channels can occur. They have assessed whether their product is designed to protect against that class of attack, and assigned responsibility for defending against it. What do you think they should do differently?
- DINKDINK 9y agoYou're correct. My original statement was wrong regarding Intel's assumption. The principle issue is that developers shouldn't assume that processes that occur in SGX are obfuscated in any sense because you can build SGX sidechannel detection within software that runs inside the enclave The lecture I pointed to shows an example of this attack.