firmware-open icon indicating copy to clipboard operation
firmware-open copied to clipboard

Intel Trusted Execution Technology (TXT) support

Open DemiMarie opened this issue 2 years ago • 5 comments

This can be used for Dynamic Root of Trust for Measurement and will enable Qubes OS Anti-Evil Maid (AEM) support in the future.

DemiMarie avatar Mar 19 '23 02:03 DemiMarie

Going beyond this, we probably to to ensure compatibility with Intel Converged Boot Guard and Trusted Execution Technology (CBnT).

9elements has implemented support for both in coreboot.

  • INTEL_TXT
  • INTEL_CNBT_SUPPORT (selects INTEL_TXT)

crawfxrd avatar Jun 28 '23 00:06 crawfxrd

+1

ilikenwf avatar Apr 01 '24 07:04 ilikenwf

From https://doc.coreboot.org/security/vboot/measured_boot.html#known-limitations

At the moment measuring IBB dynamically and FMAP partitions are not possible but will be added later to the implementation.

Also SoCs making use of VBOOT_RETURN_FROM_VERSTAGE are not able to use the measured boot extension because of platform constraints.

While https://doc.coreboot.org/security/intel/txt_ibb.html

Seems pretty complete, just unsure if coreboot permits to configure IBB from kconfig options directly.

What is currently missing from coreboot side? Which platforms and CPU families are the lowest requirements to implement TXT with sinit+acm to measure bootblock as part of IBB with CPU anchored RoT @DemiMarie? We know Haswell was incomplete.

Is that documented somewhere? Was there upstream discussions @pietrushnic?

Past discussions trails on the subject at https://github.com/linuxboot/heads/pull/1172

tlaurion avatar Apr 01 '24 16:04 tlaurion

@tlaurion I’ll leave that question to 3mdeb engineers.

DemiMarie avatar Apr 01 '24 21:04 DemiMarie

@tlaurion I’ll leave that question to 3mdeb engineers.

Posted

  • https://matrix.to/#/!rsKWMJGPMsyPTTjXuh:matrix.org/$ulC6_QitP0vaRQfKmbS1475QnhggPtBEjlqg_kJwy3M?via=matrix.org&via=nitro.chat&via=invisiblethingslab.com
  • https://matrix.to/#/!UhZSUDKFQINYdOEfGo:matrix.org/$nbwuu_H2SCLjApKRQp2VbCgk2k8JGFmQXwwvkQdIPSg?via=matrix.org&via=nitro.chat&via=hackliberty.org

tlaurion avatar Apr 01 '24 22:04 tlaurion