2 ms·
So, when malware gets enough privileges, it can use SGX like legitimate software. If it decides to hide some info in an SGX enclave, nothing else can access it.
by nine_k 8y ago
So, when malware gets enough privileges, it can use SGX like legitimate software. If it decides to hide some info in an SGX enclave, nothing else can access it.
Compare: if malware decides to use strong encryption, nothing else can decrypt it.
To me, this is how reliable protection mechanism (secure enclave, encryption) should work. It's either unbreakable by existing means by design, or mostly useless.
It's not the encryption library's work to decide if it encrypts for a good purpose or for a bad purpose. Same for SGX. Protection from malware should occur on a (much) higher level. Once certain code is admitted as legitimate by that higher level (e.g. an OS), the CPU should faithfully execute it, and it does.
- deleted 8y ago[deleted]