Do platform certificates exist?
I want to claim in a paper that it is plausible to identify an IoT device (device model and serial number ) with an HSM using the IoT device manufacturer certificate, but I do not find any example. In the speech at https://developers.tpm.dev/posts/cloud-pki-using-a-tpm they explain that they do it as a service, but they do not offer information about any real use-case (which makes sense, as it would be revealing information about their clients) .
I think it is called the "Platform certificate" in the TPM field. But in "A Practical Guide to TPM 2.0" they explicitly say that they do not know about any device with these certificates π , however, it is an 8-year-old book. Do you know about any IoT device with an HSM that comes with a certificate that can be used to identify the device model, serial number, and that kind of thing?
Thanks in advance :)
π
1β€οΈ
π
π‘
π
π
Explore More Posts
The latest tpm2-tools 5.8 release addresses three GitHub security advisories. One is a heap overflow in tpm2_getekcertificate, and the other is an out-of-bounds write that happens when too many sessions are in use. I donβt have information on the third advisory. Beyond the fixes, 5.8 extends EK certificate handling. It adds the option to read EK certificates from NV RAM, introduces new EK templates and supports a marshaled quote format. https://github.com/tpm2-software/tpm2-tools/releases/tag/5.8
Random Number Generator (TPM2)
1. IntroductionAmong other features, Trusted Platform Modules (TPM) comes with a True Random Number Generator (TRNG) that can be used for various applications including cryptographic purposes. This RNG module serves as the source for randomness for the TPM 2.0 Chip. A RNG module in TPM2 will typically contain the following -
An entropy source and collector
State Register
A mixing func.
There can be two types of calls to the TPMβs Random Number Generator, Internal call and External Call. RNG is capable to provide enough randomness for all the internal calls made. As well as, RNG is capable of providing 32 octets of randomness as per the specification to an external call. Another thing to note here is, each call made to the RNG produces a new value irrespective of the type of call. 1.1 The source of RandomnessThe source of entropy in the TPM is the entropy collector. As the name suggests, entropy collector collects entropy from entropy sources and also removes bias. A TPM2.0 has at least one internal source of entropy. These sources can include noise, clock variations, air movement amongst other events. As depicted in Fig 1.1 the entropy collector provides input to the State Register. 1.2 Stages involved Various algorithms and process supported by TPM calls RNG for unpredictable numbers, which is actually obtained from βRNG Protected Capabilityβ. The βDeterministic Random Bit Generator (DRBG) Protected Capabilityβ obtains entropy from βEntropy Protected Capabilityβ. Along with Entropy Protected Capability, TPM2_StirRandom() can also gather entropy from other entropy sources within the same TPM. 2. Random Numbers via TPM2 ToolsIf one needs to use TPMβs RNG for other external applications, then TPM2 Tools Command Line tools can be a great option. TPM2 Tools Command : tpm2_getrandom - - hex 16 - - hex : Converts output to hexadecimal 16 : Size in bytes Now, if one wants to have additional randomness, TPM2 Tools provides a convenient utility for this purpose called tpm2_stirrandom. To inject entropy via TPM2_StirRandom() to βEntropy Protected Capabilityβ , we can use some file or use stdin. TPM2 Tools Command : echo -n βsome_random_dataβ | tpm2_stirrandom Note : 128 bytes can only be injected using stdin at once through stirrandom() 3. ConclusionThe TPM2 provides in a sense True Random Numbers for use. These unpredictable numbers are coming from a dedicated hardware, hence can be trusted to be given as input to Crypto Algorithms amongst other applications. TPM2 also uses this for its internal use, and TCG claims it to be as secure as the strongest algorithm that TPM supports. Also, using the RNG is pretty straight forward via TPM2 Tools. #Tutorials



Comments
Start the Conversation
I don't think switches and normal servers count as IoT, but HPE adds their IDevID certificates to some of their devices and they can store the cert and certificate in the TPM. I found this documentation: https://www.arubanetworks.com/assets/tg/TB β¦more
Thanks for this document! Depending on the definition, it can be considered an IoT device. Moreover, this document is applying a standard I didn't know about: ieee 802.1ar .
This standard is for identifying β¦more
Ellen Boehm and Rodney Weaver perhaps can help you out.
Let me share this question with someone on my team for help. Stay tuned.
There is a good whitepaper from Infineon describing IoT devices using IDevID certificates stored in platform hierarchy: https://www.infineon.com/dgdl/Infineon-Securing_the_IoT_begins_with_Zero-Touch_ β¦more
fun fact - Part of this whitepaper was created by Microsoft with the help of our TPMdev community. Surprisingly, Microsoft decided not to acknowledge our help. Also, Microsoft did not to share back with our β¦more
Dells have platform certificates, but getting to them is a bit of a pain.
My guess is that most devices that have TPMs do not come with platform certificates. It's more β¦more