News for hackers. Stuff that matters.
Re:Confidential VMs by maayank on Tuesday July 14, 2020 @09:09AM (#23831462)
How is SEV compared to SGX?
Re:Confidential VMs by nellydpa on Tuesday July 14, 2020 @09:31AM (#23831708)
SEV: No changes are required to the apps, better performance, but bigger TCB. GCP mitigate this with Shielded VMs, in particular integrity of the kernel in your trusted boundary, notifications to users if the integrity state changed from the baseline and made it default and free. https://cloud.google.com/blog/products/identity-security/sec... SGX: smaller TCB, but limited scale, and you have to partition your app to secure and no-secure parts using one of the SDK available, Intel SGX SDK, Microsoft OpenEnclave or Google Asylo.
Re:Confidential VMs by nix23 on Tuesday July 14, 2020 @09:23AM (#23831604)
SEV is atm considered 'secure' SGX is not:

https://arstechnica.com/information-technology/2020/03/hacke...

Re:Confidential VMs by als0 on Tuesday July 14, 2020 @10:58AM (#23832709)
Re:Confidential VMs by benlivengood on Tuesday July 14, 2020 @01:06PM (#23834604)
The two attack vectors are page table integrity and unencrypted VM state.

Modifying the page tables to establish a cryptographic merkle tree would fix the first attack, and SEV-ES fixes the secrecy attack from the second paper. Unfortunately a change to page table structure may make it impossible to run unmodified kernels in the VM.

I think it as impossible to prevent a hypervisor from fingerprinting what's running on a child VM; there are too many timing and power attacks to ever mitigate that, which was the attack vector on SEV-ES