Blockquote
Interesting! How is that achieved? AFAIK TPMs would not help much against any physical intrusion, do you mean that it’s because the host is a part of the measurement?
Physical instrusion is not the only (and not the most dangerous) sidechannel. the biggest issue are on-system measurement via software the reason is that those attacks:
- Leave less traces & are non-destructive
- Only required breaking into the system, not breaking into a datacenter
- Have a higher degree of success
breaking into a datacenter and de-capping a running system that has tamper sensors activate is a much bigger accomplishment then breaking a shared hosting environment (cloud), and running measurements on the system.
Blockquote
I’m not sure if I understand this point – I’m not aware of any limitation for TDX for sure at least.
TDX is not TEE. TDX is a virtualization technology with added isolation. also, TDX is NOT unlimited. It strongly depends on the processor you are using:
Random example:
https://www.intel.com/content/www/us/en/products/sku/237557/intel-xeon-silver-4514y-processor-30m-cache-2-00-ghz/specifications.html
Scroll down to Default Maximum Enclave Page Cache
Also, to move memory in/out of the virtual machine you have to share memory. This also requires context switching and locking. That reduces bandwidth.
We’re only very recently seeing systems like Hyperlight that optimize for function isolation on VMs. Even there the latency introduced by moving memory in/out of the VM is around 0.01ms. We simply dont think about any of these constraints because we don’t have to. TEEs and TDX are for SHARED systems. We’re using a dedicated system.
Blockquote
Why can’t it be said about TDX in particular that it gives high assurance about the code running? I’m not aware of major differences in what TPM provides. With SGX the same can be said, as long as you exclude the untrusted host’s kernel
At no point do we claim that TDX or TEEs are bad. They are a different way to get to the same goal. Just have different expense and complication tradeoffs. It’s like comparing vim vs emacs.
Blockquote
I think this is true of SGX, but not of TDX – would you say this applies to TDX as well?
yes, it applies for TDX as well. you can run a tdx domain purely with processor setup and shared memory. no need to do anything else.
Blockquote
n particular both can be selectively censored, made selectively unavailable, turned off, tampered with at the hardware level. One difference you brought up is the OS-based side channels, which could be there, but doesn’t really improve the guarantees since you anyway trust the infrastructure hosting with not tampering physically
we have to provide either trusted or no service. if the service is present, we have to make sure that we can trust it
One should first define one’s threat model before discussing solutions. Censorship is NOT in our threat model because we are a single provider. People can export their keys. And continue somewhere else.
Blockquote
I wonder – how much of a difference is it between images that use TPM-based vs TDX-based attestations.
Attestation protocols betweenTDX and TPM are very different. TDX attestation runs through and SGX-hosted attestation service. TPM allows direct attestation that doesnt require the SGX to be established as a trust domain (which, to be exact, is only publicly verifyable IFF the host itself is first attested through the TPM…)
Otoh, TDX attestation allows one-shot shareable attestation while TPM attestation must be interactive (at least at the current date)