zlacker

[parent] [thread] 5 comments
1. teaket+(OP)[view] [source] 2022-07-30 01:02:24
> … assuming that you trust the CPU vendor and all the versions of the software that were attested to.

That’s a huge caveat.

You also cannot verify your trust is deserved, and that it will continue to be deserved, because such a system by its very nature must be opaque to untrusted parties (which means you).

replies(1): >>wmf+y
2. wmf+y[view] [source] 2022-07-30 01:06:49
>>teaket+(OP)
such a system by its very nature must be opaque to untrusted parties

No, you can attest to a completely open source system. Nobody's actually doing that, but it's possible. The private keys have to be secret and non-extractable, but that's it.

replies(3): >>teaket+U >>blkfnw+r1 >>salawa+H01
◧◩
3. teaket+U[view] [source] [discussion] 2022-07-30 01:10:03
>>wmf+y
The fundamental security mechanism upon which the entire system hinges is opaque.
◧◩
4. blkfnw+r1[view] [source] [discussion] 2022-07-30 01:15:27
>>wmf+y
Plenty of people do it. I use tpm2-totp for it. There is a key sealed in my TPM, that will only unseal for known boot stacks (firmware/bootloader/kernel). I have the same key stored in my Yubikey's TOTP application. After boot I can verify my stack by comparing a TOTP code generated by my Yubikey with one generated by the TPM.

Caveat is that security only extends into the kernel image, so for my use case I embed the initrd in the kernel image and have all the filesystems and swap on a dm-crypt volume.

I also have to unseal and reseal when performing upgrades of the initramfs and above, but I'm fine with that.

replies(1): >>jstanl+an
◧◩◪
5. jstanl+an[view] [source] [discussion] 2022-07-30 06:31:08
>>blkfnw+r1
> After boot I can verify my stack by comparing a TOTP code generated by my Yubikey with one generated by the TPM.

But if you're not sure whether the system booted cleanly, then it might be compromised. If it's compromised couldn't your tools simply lie about the codes generated by both the TPM and the Yubikey so that they always match?

◧◩
6. salawa+H01[view] [source] [discussion] 2022-07-30 14:52:42
>>wmf+y
Yes. Intel is willing to lend me all the equipment and logic analyzers I need to analyze their products, access to their internal design docs, access to their engineering team to answer my questions, etc, etc...

Do you realize how daft and unrealistic your assertion is?

Tell ya what. You get Broadcom, Intel, AMD, Nvidia, etc... to go full transparent, and we'll talk.

[go to top]