TXT Grub Late Launcher¶
Purpose¶
The intent of this project is to extend Grub with the ability to call the Intel SENTER instruction.
Background¶
The Intel SENTER instruction is a means to initiate a "late launch" that establishes a Dynamic Root of Trust Measurement (DRTM). The instruction call requires the system to be in a specific state as enumerated below,
Approach¶
Grub will be extended with the following capabilities,
- A late launch loader that will,
- verify SENTER is supported
- load ACM and verify it matches platform
- build pagetable for MLE
- set types of cache as required by TXT
- enable native FPU error reporting
- verify no machine check in progress
- parse GETSEC[PARAMETERS]
- clear machine check registers
- allocate and fill Secure Launch Resource Table
- An SENTER relocator that will,
- set protected mode
- set registers as required by SENTER
- execute GETSEC[SENTER] as final instruction