According to this list of TPM PCR registries, the firmware appears to be responsible for measuring and loading the first eight PCRs. Specifically for PCR 3, which is
Extended or pluggable firmware data; includes information about pluggable hardware
what exactly gets measured by the Framework UEFI? For “pluggable hardware,” I believe there is a UEFI setting for toggling measurement of connected USB4 devices, but are prior generations measured?
I’m curious for two reasons:
- I have a monitor with a USB-C connection, which provides power over USB-PD and video over, presumably, DP Alt Mode, with a USB hub. When I rebooted recently, for some reason, my TPM didn’t work to automatically decrypt my drive while connected to an external monitor, so I tried reenrolling the TPM, which worked. If the PCR values were not different, it wouldn’t have proceeded (and just told me there’s nothing to do)
- If a theoretical keylogger were attached between my keyboard and the USB port, would that then get measured by the UEFI and change the PCR values?
If changing monitors prevents automatic decryption, and if it can’t detect a keylogger, there doesn’t seem to be much reason for me to keep using this PCR register, so I was hoping to learn more about it