Re: [RFC 2/2] initramfs with digital signature protection

From: Matthew Garrett
Date: Tue Feb 05 2013 - 13:30:21 EST


On Tue, Feb 05, 2013 at 06:19:26PM +0000, Matthew Garrett wrote:
> On Tue, Feb 05, 2013 at 02:34:50PM +0200, Dmitry Kasatkin wrote:
>
> > Digitally signed initramfs can be used to provide protected user-space
> > environment for initialization purpose. For example, LSM, IMA/EVM can be
> > securely initialized using such approach.
>
> What stops an attacker from simply removing the signed image from the
> initramfs and running modified versions of the same tools from the
> unsigned image?

I'm sorry, ignore that - if the kernel's configured to do this, it'll
panic if it can't find the signed image. Ok.

--
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/