Hardware Security
What characterizes enclave-style TEEs such as Intel SGX?
- AThe entire OS kernel runs from an external hard disk
- BPart of an application runs in a region whose memory the CPU encrypts and protects, so even the OS and hypervisor cannot read it
- CAnyone can freely modify data inside the enclave
Show answer and explanation
Answer: B. Part of an application runs in a region whose memory the CPU encrypts and protects, so even the OS and hypervisor cannot read it
In an enclave, only the part of an application handling secrets runs in a special memory region, which the CPU encrypts and integrity-protects before it reaches main memory. Neither the OS, the hypervisor nor an attacker physically reading memory can see its contents. Only the CPU and that code need be trusted. Vulnerabilities to side-channel attacks have also been reported, so careful use is needed.
- A. It does not run from an external disk.
- B. Correct. The trusted base shrinks to the CPU and part of the app.
- C. Data inside is protected.