In my view this is some kind of argument as for why you should not (ab)use TPM as general purpose HSM (ie. for something that it is not designed for) and it does not say much about the security when it is used correctly (as a local attacker that has TPM in state where it will sign literally anything I throw at it, what exactly does key recovery attack buy me?)
TPM–Fail: TPM Meets Timing and Lattice Attacks
11–20 of 33 posts
Re: TPM–Fail: TPM Meets Timing and Lattice Attacks
#12Is there a good reason for a security conscious hi value target shop to use VMs or docker when they don't control the whole box?
Re: TPM–Fail: TPM Meets Timing and Lattice Attacks
#13Does this allow users to install custom OSs on devices with verified boot chains like game consoles and phones?
Re: TPM–Fail: TPM Meets Timing and Lattice Attacks
#14Does this allow users to install custom OSs on devices with verified boot chains like game consoles and phones?
If I’m reading this correctly, it means the private key of a certificate is leaked during generation. Boot chains rely on the verification of certificates and signed data, not signing. So no.
Re: TPM–Fail: TPM Meets Timing and Lattice Attacks
#15I have not read the paper, and I could be wrong. However, these appear to be attacks against the crypto implemented inside a TPM/fTPM. The reference implementation of TPM 2.0 leaves the choice of the crypto library up to the platform vendor. If my suspicions are correct, it sounds like some of the platform vendors decided to use crypto libraries vulnerable to timing attacks. Hmmm...
Microsoft, on the other hand, seems to support OpenSSL and wolfSSL in their simulator[2].
[1] - http://ibmswtpm.sourceforge.net/ibmswtpm2.html [2] - https://github.com/microsoft/ms-tpm-20-ref
Re: TPM–Fail: TPM Meets Timing and Lattice Attacks
#16I have not read the paper, and I could be wrong. However, these appear to be attacks against the crypto implemented inside a TPM/fTPM. The reference implementation of TPM 2.0 leaves the choice of the crypto library up to the platform vendor. If my suspicions are correct, it sounds like some of the platform vendors decided to use crypto libraries vulnerable to timing attacks. Hmmm...
If you look at IBM's TPM 2.0 implementation[1], you can see that they don't use any well tested libraries for crypto primitives, but rather uses what looks like home-cooked crypto implementation. Microsoft, on the other hand, seems to support OpenSSL and wolfSSL in their simulator[2]. [1] - http://ibmswtpm.sourceforge.net/ibmswtpm2.html [2] - https://github.com/microsoft/ms-tpm-20-ref
Re: TPM–Fail: TPM Meets Timing and Lattice Attacks
#17I have not read the paper, and I could be wrong. However, these appear to be attacks against the crypto implemented inside a TPM/fTPM. The reference implementation of TPM 2.0 leaves the choice of the crypto library up to the platform vendor. If my suspicions are correct, it sounds like some of the platform vendors decided to use crypto libraries vulnerable to timing attacks. Hmmm...
If you look at IBM's TPM 2.0 implementation[1], you can see that they don't use any well tested libraries for crypto primitives, but rather uses what looks like home-cooked crypto implementation. Microsoft, on the other hand, seems to support OpenSSL and wolfSSL in their simulator[2]. [1] - http://ibmswtpm.sourceforge.net/ibmswtpm2.html [2] - https://github.com/microsoft/ms-tpm-20-ref
Re: TPM–Fail: TPM Meets Timing and Lattice Attacks
#18Re: TPM–Fail: TPM Meets Timing and Lattice Attacks
#19Does this allow users to install custom OSs on devices with verified boot chains like game consoles and phones?
Because this would only leak private keys inside the device, you can only attack Trusted Boot (where producing trusted signatures is important), not Secure Boot (which only verifies signatures that were produced elsewhere).
Re: TPM–Fail: TPM Meets Timing and Lattice Attacks
#20Earlier quoted context omitted.
If I’m reading this correctly, it means the private key of a certificate is leaked during generation. Boot chains rely on the verification of certificates and signed data, not signing. So no.
So this lets you grab the key on your own device which is used to encrypt the storage but not the OEM key used to sign the firmware image?
Storage would be encrypted with a symmetric AES key, this only leaks asymmetric ECDSA signing keys