Trusted Platform Module Part 3

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
Required fields are marked with an *
or

Already have an account? Sign In »

Time
8 hours 10 minutes
Difficulty
Advanced
CEU/CPE
8
Video Transcription
00:00
Hi, I'm Matthew Clark and this is less than 4.9 trusted platform module. Part three.
00:07
In this lesson, we'll continue our discussion of TPM Keys, including the added station, identity key and storage root key, and we'll take a look a TPM ownership
00:17
in less than 4.7. We discovered that the TPM has three roots of trust, a root of trust from measurement, which is used during the measured brute process and is responsible for measuring the platforms. Integrity state in storing that data into shielded locations known as the PCR, the root of trust for storage, which is
00:36
used to securely store the
00:38
storage root key and platform configuration registered data and the root of trust for reporting, which is used for at a station of the measured boot.
00:48
In less than 4.8, we learned that there are three main keys used by the TPM three Endorsement Key, which is created by the manufacturer, which is a long term, non migrate, herbal asymmetric key which is certified by a trusted platform module entity or TPM. Me and this is usually the manufacturer,
01:07
and it serves as the device identity. However, it has limited use. It's only used to take ownership
01:15
and to create at a station identity key certificates.
01:19
We also learned about the storage root key, which is created by the user and is also a long term, non migrate able asymmetric key.
01:27
And we learned about the added station Identity Key, which is requested by the TPM and created by a third party. And this lesson, we're gonna focus on these last two keys the root storage key and the added station identity key
01:42
in less than 4.8. We mentioned that at a station identity key certificates. So what are they?
01:49
Endorsement keys and roots storage keys, air long term keys used by the TPM thes two private keys. The endorsement key and storage rupkey are kept securely and non volatile memory, so the keys remain intact even when power is removed from the device
02:05
and at a station. Identity Key or a I K is the third type of key used in the TPM.
02:10
The A I K. Is an alias for the endorsement key.
02:15
The purpose of the A. I. K is to provide user privacy when communicating with different sources.
02:21
Ai K's are not related to one another. They allow the TPM owner to maintain anonymity between different service providers.
02:30
The TPM is capable of storing multiple AI case. This is a many toe one relationship, many alias keys to one endorsement key.
02:38
The A. I K can be stored in non balta memory and are loaded into memory When in use. However, the TPM standard recommends that they be stored and secure external storage when not in use. Remember that last part when we start talking about storage keys? Later,
02:57
let's introduce privacy. SIA's
03:00
The ai que credential is your certificate containing the ai que public key, which proves that the corresponding private key is bound to a genuine TPM.
03:10
This proof is guaranteed by a signature on the credential created by a trusted third party known as the Privacy C. A.
03:19
Remember that we use certificate so that a third party can provide at a station at some point.
03:23
So let's talk about that distinction.
03:27
One of the main purposes of a TPM is it's measurement process, which we introduced at the end of less than 4.7 and will go into detail in less than 4.10 and all of its wonder and glory. But basically the TPM measures the state of a system
03:43
and records that state in a process Configuration register, or PCR.
03:49
The K is used to sign the contents of the PCR registers.
03:53
This is how the TPM could be used toe attest to the platform configuration
03:58
at a station occurs when a relying party and possession of a public ai que challenges the trusted platform and the at a station mechanism can be used to provide an integrity report describing the platform state
04:13
and then the privacy. See A can attest to the authenticity of the A i. K. And tie it back to a specific TPM.
04:21
So how do you get an A I. K if the manufacturer doesn't provide it and the TPM doesn't create it?
04:29
Well, the TPM sends a request to the privacy. See a together with the endorsement credential. So now the public key in that endorsement credential is now exposed.
04:40
The endorsement credential proves to the privacy. See a that the request came from a genuine TPM and is backed by the TPM e
04:49
the privacy. See A then creates the ai que and signs the ai que with their private key
04:56
the privacy, See A then encrypts the ai que using the T. P. M's public endorsement key in the exposed endorsement credential.
05:04
Ai Que is now cryptographic Lee bound to the TPM that contains the private key.
05:11
And this process ensures that Onley the TPM can open it with its own private endorsement key
05:16
the privacy See A then sends a I K credential to the TPM, and the TPM can now sign the PCR entries with the ai Que
05:27
I've added a link in the resource is section that describes this at a station process. If you want to learn more,
05:32
we've mentioned the storage rupkey. So what is that?
05:36
It's the second long term key used in the TPM is used to wrap TPM keys so they could be stored outside of the TPM.
05:46
Unlike the Endorsement Key, which is known by the TPM manufacturer and injected during the manufacturing process, the storage root key is generated after the platform is sold
05:57
so and it's created during the take ownership process.
06:00
If you clear the TPM and a new user takes ownership than a new storage root key will be created
06:08
during the take ownership process the user creates an S R K password.
06:14
This password is not related to the key. It's just an access password.
06:18
The storage rupkey is part of the root of trust for storage the RTs that we learned about in 4.7.
06:27
The RTs protects data and keys and trusted to the TPM.
06:30
The RTs manages a small amount of volatile storage inside of the TPM device that is used to cold. Currently used keys.
06:40
Unused keys may be encrypted with a storage key and moved off the TPM
06:46
to ah, hard drive.
06:47
The TPM can store multiple storage keys, although the TCG standard recommends that they're stored and secure external storage when not in use.
06:57
Remember the key hierarchy, which we learned about earlier.
07:00
A storage key might be encrypted by another storage key, which leads to a hierarchy of keys.
07:06
Well, how does storage keys work?
07:09
Well, storage keys were used to encrypt data.
07:12
The storage key that is, then that storage key is then encrypted so that Onley the TPM can decrypt it using the route storage key
07:20
to decrypt the roots storage key, decrypt the storage key and then that storage key decrypt the data
07:28
the TPM also provides two mechanisms for secure storage, rapping and ceiling. I mentioned this in less than 4.7 that we'd cover it.
07:36
Wrapping encrypts the data using a key that's managed by a particular TPM, just like the process we just discussed.
07:45
Ceiling adds to this wrapping by allowing the decrypting process to proceed on Lee if the platform is in a specific configuration. This configuration is determined by the data held in the PCR registers.
08:01
So when establishing ownership, the TPM process requires the owner to create a shared secret.
08:09
The shared secret is not only known to the owner, and this is known as an owner. Authorization data. Think of this is the owner's password.
08:16
It provides owner authentication and is required when the owner wants to turn off disabled or clear the TPM.
08:26
The owner authorization data is important, so creating it requires to secure process.
08:31
What is that process? You may ask?
08:33
Well, a TPM in in an unknown state only has one key. The endorsement key. That key was injected into it by the TPM manufacturer
08:43
when establishing ownership. The ownership process requested for that endorsement credential
08:50
Remember, the endorsement credentials is the certificate that has the public endorsement key.
08:56
The ownership process then encrypts the shared secret with this public key.
09:01
Now on Lee, the private endorsement key can be used to decrypt the owner authorization data. This owner secret
09:07
this process protects against he's dropping.
09:11
Remember that the private endorsement he never leaves the TPM.
09:15
And remember that Onley that that that specific TPM can use that shared secret.
09:20
The ownership process then directs the TPM to create the storage root key,
09:26
which is stored securely. A non volatile memory.
09:28
The storage room. He never leaves the TPM
09:31
right
09:35
In this lesson, we continued our trip into the mysterious world of trusted platform modules. We talked about keys and keys and more keys and finally moved on to TPM ownership.
Up Next