4 ms·
I think there would be quite a bit of controversy as with Edward Snowden if someone leaked that key somehow. That someone would be considered a hero by many, an
by userbinator 11y ago
I think there would be quite a bit of controversy as with Edward Snowden if someone leaked that key somehow. That someone would be considered a hero by many, and also a traitor by others.
Alternatively, someone leaks an SGX exploit that bypasses it all, and we wonder whether it was a mistake like so many other vulnerabilities, or if someone deliberately put it there because they didn't believe in Intel having that amount of control... "I wish for the insecurity that brings us freedom."
- mike_hearn 11y agoIt'd make no difference, as the keys in question are replaceable via microcode updates and the microcode version is included in the remote attestations. SGX doesn't really give Intel "control" in the sense of taking away existing freedoms. It's a new feature. You can always elect not to use it, or not to use software that uses it.
- userbinator 11y agoYou can always elect not to use it, or not to use software that uses it. That's always the excuse given for every new invasive user-hostile feature. The problem is when the majority of new applications and websites require it. You can always elect not to use a computer either, but I think such a position would be untenable even for a "extreme Stallmanist".
- wmf 11y agoIt is a bit of a bait-and-switch since no other CPU feature works this way and Intel never mentioned this "feature" in all their years of disclosures about SGX.
- andromeduck 11y agoIsn't that how most extensions work? And microcode has been around for at least a decade now.
- wmf 11y agoI know of no other CPU feature that requires authorization from Intel.
- costan 11y agoTXT requires an ACM, which is essentially a small signed BIOS subset. At least ACMs are freely downloadable from Intel, and they don't look into what you'd like to run under TXT. https://software.intel.com/en-us/articles/intel-trusted-execution-technology https://software.intel.com/en-us/articles/intel-trusted-exec...
- costan 11y agoIt gives Intel control over developers. In general, a computer will execute what you ask it to. SGX will not let you run production enclaves without Intel's permission. This is like Verified Boot, except there's no credible security benefit to be gained from it.
- costan 11y agoSadly, leaking the key is not the answer. You'd give independent developers the freedom to use SGX, but at the same you'd make SGX worthless. Details: if the key used to sign architectural enclaves (like the Launch Enclave) would leak, this would completely break SGX. Anyone with the key could create their own Quoting Enclave and the guarantees behind software attestation would go down the drain.
- amluto 11y agoYou're assuming that SGX is only useful in conjunction with attestation. I want to use SGX to protect cryptographic keys. Attestation is mostly unnecessary. For normal computing, as long as you control the machines and can bootstrap trust yourself, you don't need Intel's attestation mechanism at all. You do, however, need to ability to launch an enclave.
- costan 11y agoBut enclaves are worthless without attestation. If the OS is evil and you don't do attestation, it can emulate SGX and run your code in a simulated enclave environment where EGETKEY returns keys that the OS knows about. If the OS is not evil, you can use process isolation to generate and protect the keys.
- ctz 11y agoThis is a pretty black-and-white view of things. A security technology does not need to solve all problems simultaneously to be of use. (But, you do need to do thorough analysis and be cognisant of the risks.) Ignoring the cloud computing aspect of SGX, no amount of attestation can recover from your-OS-is-compromised-from-day-one scenario. The attestation is only as good as its verifier.