RE: Portable Executable (PE) Signature Validation and Measurement for KEXEC system call using IMA
From: Lakshmi Ramasubramanian
Date: Mon Mar 25 2019 - 13:53:00 EST
Hello Mimi,
Could you please let me know if you have any concerns with this approach?
Thanks,
-lakshmi
-----Original Message-----
From: linux-integrity-owner@xxxxxxxxxxxxxxx <linux-integrity-owner@xxxxxxxxxxxxxxx> On Behalf Of Lakshmi Ramasubramanian
Sent: Friday, March 22, 2019 10:39 AM
To: linux-integrity@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
Subject: Portable Executable (PE) Signature Validation and Measurement for KEXEC system call using IMA
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://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Flkml.org%2Flkml%2F2018%2F12%2F12%2F1049&data=02%7C01%7Cnramas%40microsoft.com%7C2791f20f548e4502060108d6aeed54a8%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636888731683001667&sdata=ai2KrDlnyyEqJfLS9kYUw0ebUTbq7Y5dTqMciwSRZ%2BM%3D&reserved=0
Thank You.
-lakshmi