Trusted Platform Module Part 1

Video Activity
Join over 3 million cybersecurity professionals advancing their career
Sign up with
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. This is Lesson 4.7.
00:04
Trusted platform module. Part one
00:07
in this lesson will introduce the trusted platform module will compare the T, e and TPM and talk about the architecture, er, roots of trust and measured boot.
00:18
The trusted computing group created the trusted platform module, or TPM, and released it for use in 2003.
00:25
The TCG defines the TPM functionality of both protected capabilities and shielded locations. It does not define the implementation of a TPM
00:35
vendors air free to implement TPM in different ways as long as they meet the protective capabilities and shielded location requirements
00:43
TPM Zehr widely used today and nearly every computer for disk encryption.
00:48
They're used in other applications, such as VPNs or other 8021 X compatible solutions.
00:54
And there's two types of TPM that we're really gonna talk about. Discreet or external chips, which are dedicated hardware are integrated chips which are part of a system all chip
01:06
the TPM that we will focus on will be physical devices. It's worth pointing out here that the TPM has to be physically added to the PCB, the printed circuit board and this is an important concept these chips air soldered on during manufacturing.
01:21
You can't go back and add them afterwards, and you can't take them off and apply them to a different system.
01:26
You either have the TPM or you don't
01:30
let's discuss the differences between a trusted platform and a trusted component.
01:34
A TPM is not a trusted platform.
01:38
Trusted Computing Group defines a trusted platform as a computing platform that has a trusted component, which is used to create a foundation of trust for software processes. In other words, a trusted platform has it its foundation, some trusted component, which is called a root of trust.
01:57
And the TPM forms that root of trust. So to recap, a trusted platform is an entire system, and the TPM is a permanent component of that trusted platform because it's attached a hardware.
02:09
So let's talk about how a trusted execution environment and a TPM compared well compared to the T E. The TPM specifications are more restrictive.
02:21
A trusted execution environment is a separate execution environment that provides security services and isolates access to hardware and software security. Resource is from the rich operating system and applications.
02:34
The TPM works with the t E. They're not competing standards or alternate solutions. The TPM is a secure, crypto processed brought measurement and assurance of a platform secure state,
02:46
while the T E provides an environment in which to execute those TPM processes. So the trusted execution environment and the trusted platform module do different things, but they work together.
03:00
The TPM specifications defines too generic portions of the TPM, both of which are implemented in hardware. They're protected capabilities and shielded locations. The protective capabilities are function whose correct operation is required in order to create trust
03:15
in the shielded locations are in area where data is protected against interference
03:20
and outside exposure. So how are they related
03:23
on Leah Protected capability Can access, read or write a shielded location.
03:30
So remember vendors air free to implement a TPM in different ways. As long as they adhere to these basics,
03:36
the areas in pink or what we're talking about. We're going to go into detail about the keys and the PCR banks as part of our overall TPM discussion.
03:45
Okay, these are important concepts we've discussed earlier that our trusted platform has at its foundation some trusted component, a root of trust and the TPM serves is that root of trust component
03:58
well. The TPM provides to specific routes of trust. It provides the root of trust for storage, or RTs, and the root of trust for reporting are RTR. Additionally, the platform itself provides the root of trust, which is called the root of trust for measurement, or the RTM. So let's start here
04:17
the root of trust for measurement. The RTM is responsible for measuring the platforms integrity state and storing it into shielded locations. So what does that mean?
04:28
It means that as the platform boots, the RTM measures the integrity of the firmware and configuration files and whatever else happens to be configured to a measure.
04:39
And then the platforms root of trust for measurement reaches into the TPM and stores this data in the TPM root of trust for storage the RDS.
04:48
So it's stored in a special shielded or protected location called a PCR or platform configuration register. And don't worry, that sounds complex because it'll make sense soon.
05:01
It's important that the platform starts this measurement process when the boot process begins so that every step in the order, the step order of execution could be measured and stored.
05:14
We mentioned that the TPM provides two routes of measurement the root of trust for storage, the RTs and the router chest for reporting. The RTR,
05:23
the root of trust for storage is responsible for providing that protected storage toe hold the our teams, integrity measurements and the execution sequence.
05:32
The RTs provides confidentiality and integrity services. Specifically, the RTs is used to store measurement data and keys.
05:43
The measurement data is stored in shielded locations called a platform configuration register our PCR
05:50
keys. Specifically, it stores the storage root key which is used to store data safely, and external locations.
05:59
The root of trust for reporting. The RTR is responsible for reliably reporting information that resides in the RTs, so it provides at a station reports of integrity measurements so that third parties conveyor. If I the integrity of the platform,
06:15
we're going to spend several lessons on T, P M's and many of the things that we learn or will be used to support the TPM measured boot process.
06:24
So much of the knowledge we gain will help us understand more about that measured boot process. So let's quickly review with that process. Looks like so that you can visualize where we're gonna end up at
06:33
measured boot requires, Ah, hardware root of trust, which is the TPM chip.
06:39
And the process starts with the core root of trust for measurement. The RTM, which is the very first piece of code that's run the er TM is not measured, is just blindly trusted.
06:50
It measures the next step in this case, the BIOS.
06:54
And since that hash value of that measurement to the platform configuration register that PCR bank we've been talking about,
07:01
this process continues. Its each new section of code is measured and stored, and remote parties can can then request a report of those measurements to attest that the i o. T. Device booted in a safe manner.
07:14
Hopefully, now you can start to see the importance of establishing a root of trust for measurement to securely take measurements a root of trust for storage to securely store those measurements and a root of trust reporting to securely repair a report of those measurements. Well, that's it for this lesson. So what do we learn
07:31
when we started our trip into the mysterious world of trusted platform
07:35
modules and it's gonna be kind of a long trip.
07:38
We compare them to t es and we discussed the architectures, including protected capabilities and shielded locations. And finally we explore the TPM root of trust.
Up Next
IoT Product Security

This course will focus on the fundamentals of how to set up a functioning IoT product security program from the perspective of a company that designs, manufactures, and sells IoT and IIoT devices for consumer or industrial use.

Instructed By