Portable Executable (PE) Signature Validation and Measurement for KEXEC system call using IMA

Lakshmi Ramasubramanian
2019-03-22T17:39:27Z

Hello,

When loading the new kernel image file for executing KEXEC system call,
we would like to verify that the kernel image file is signed and
the signer certificate is valid.

If the kernel image file is in Portable Executable (PE) format we want to
validate the PE Signature and measure the signer X.509 certificate
(Extend as part of IMA Template defaulting to PCR 10, if not otherwise set,
and the IMA measurement log).

We plan to use Integrity Measurement Architecture (IMA) for the above.

Please let us know if anyone is already working on a patch set
for such a functionality.

I am aware of the work that Thiago Jung Bauermann @ IBM is doing for
"Appended signatures support for IMA appraisal"
(Web link given below)

https://lkml.org/lkml/2018/12/12/1049

Thank You.
-lakshmi