lkml.org 
[lkml]   [2013]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [GIT PULL] Load keys from signed PE binaries
On Tue, Feb 26, 2013 at 03:38:04AM +0000, Matthew Garrett wrote:
> On Mon, Feb 25, 2013 at 07:31:56PM -0800, Greg KH wrote:
> > On Tue, Feb 26, 2013 at 03:13:38AM +0000, Matthew Garrett wrote:
> > > Because Microsoft have indicated that they'd be taking a reactive
> > > approach to blacklisting and because, so far, nobody has decided to
> > > write the trivial proof of concept that demonstrates the problem.
> >
> > So, once that proof is written, suddenly all of the working Linux
> > distros's keys will be revoked? That will be fun to watch happen, and
> > odds are, it will not. Imagine the PR fun that will cause :)
>
> No. Why would they be?

Because they are using the "public" shim that you provided them, or the
Linux Foundation's shim. Almost no distro, other than the "main" 3-4
will end up getting their own shim signed, the rest will just use the
one you so helpfully provided them :)

> > > "In addition, in the case of Microsoft’s digital signatures of UEFI
> > > Code, Microsoft may remove a Compatible Product from the Microsoft
> > > Compatibility Lists and/or revoke the digital signature upon 30 days’
> > > notice to Company in the event Microsoft determines in its sole judgment
> > > that the security of the UEFI Code is compromised."
> > >
> > > The ability to use the signed code to boot an untrusted copy of the
> > > Windows kernel is a clear breach of the trust model.
> >
> > I don't buy it. Yes, I understand this is your position, and has been
> > all along, and _maybe_ you can extend it to "we should sign our kernel
> > modules", but to take it farther than that, like the list David has
> > described, is not required by anyone here.
>
> Failing to take it to that extent is dangerously naive. If you can do it
> with kernel modules, you can do it with kexec. If you can do it with
> kexec, you can do it with arbitrary mmio access to PCI devices.

Yes you can. There are all sorts of fun ways you can do this, I can
think of a few more at the moment as well. So, where does it stop?
And why stop it at all? Why not just forbid root users at all?

> > Yes, they are all "nice" things to have, but I fail to see how Microsoft
> > should be dictating how Linux, or any other operating system, works,
> > especially when they aren't even signing the kernel, they are merely
> > signing a bootloader shim and saying "do your best for keeping the rest
> > of the system secure please."
>
> Microsoft aren't dictating anything here. We're free not to use their
> signatures. However, if we do use their signatures, we agree to play by
> their rules. Nobody seems to have come up with a viable alternative, so
> here we are.

Ok, I keep hearing people say, "why doesn't someone else create a
signing authority!" all the time. And it comes down to one big thing,
money.

The money required to put up a bond to allow a root key to be placed
into the BIOS for just one major OEM is larger than pretty much all of
the Linux companies combined at this moment in time.

The money required to staff up, and put into place the proper
infrastructure to be a signing authority is, I'm pretty sure, larger
than the operating budget of the Linux Foundation at this point in time.
And again, remember the bond requirement of the OEMs.

So that's why the LF, or anyone else, including the UEFI group
themselves, are NOT getting into the key signing business. Money.

Oh, and the fact that it's just not worth it in the end, but that's a
different topic :)

thanks,

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

\
 
 \ /
  Last update: 2013-02-26 05:22    [W:0.117 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site