4 ms·
Finally, a practical use for TPMs that isn't DRM! One thing I'm curious about is if encryption is dependent on the current boot–if not, could an attacker steal
by saagarjha 6y ago
Finally, a practical use for TPMs that isn't DRM! One thing I'm curious about is if encryption is dependent on the current boot–if not, could an attacker steal the hibernation state, reboot into a kernel of its choosing with the right PCR state, decrypt and then re-encrypt an altered restore?
- sanxiyn 6y agoThat's what "downgrade kernel" means in the mail. This patchset does not address that issue, but apparently there is a way to make it work.
- Kubuxu 6y agoThe solution for that is Secure Boot. As far as I know TPM is aware of Secure Boot status being changed and will disable/wipe secrets when it happens.
- Kubuxu 6y agoDowngrade is an issue as previously signed kernels (before this patch) would be happy with userspace using that TPM config to decrypt the hibernation imagine. As the previous kernels are already signed, downgrading to them is allowed under the Secure Boot, but booting a new version of unsigned kernel on that machine is not.
- Kwpolska 6y agoTPM is also used by BitLocker drive encryption, it enables passwordless encryption.
- MayeulC 6y agoHow about using it to store your HDD decryption key? I thought that was the main use. Change the boot chain, and you'll have to type it manually.