Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761748Ab2KBXib (ORCPT ); Fri, 2 Nov 2012 19:38:31 -0400 Received: from bedivere.hansenpartnership.com ([66.63.167.143]:42334 "EHLO bedivere.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759159Ab2KBXi3 (ORCPT ); Fri, 2 Nov 2012 19:38:29 -0400 Message-ID: <1351899503.2439.49.camel@dabdike.int.hansenpartnership.com> Subject: Re: [RFC] Second attempt at kernel secure boot support From: James Bottomley To: Matthew Garrett Cc: Pavel Machek , Chris Friesen , Eric Paris , Jiri Kosina , Oliver Neukum , Alan Cox , Josh Boyer , linux-kernel@vger.kernel.org, linux-security-module@vger.kernel.org, linux-efi@vger.kernel.org Date: Fri, 02 Nov 2012 23:38:23 +0000 In-Reply-To: <20121102180458.GA12052@srcf.ucam.org> References: <1351763954.2391.37.camel@dabdike.int.hansenpartnership.com> <20121101202701.GB20817@xo-6d-61-c0.localdomain> <5092E361.7080901@genband.com> <20121102163302.GA6080@elf.ucw.cz> <1351875164.2439.42.camel@dabdike.int.hansenpartnership.com> <20121102165456.GB9997@srcf.ucam.org> <1351878511.2439.44.camel@dabdike.int.hansenpartnership.com> <20121102175416.GA11816@srcf.ucam.org> <1351879058.2439.46.camel@dabdike.int.hansenpartnership.com> <20121102180458.GA12052@srcf.ucam.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.4.4 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1375 Lines: 29 On Fri, 2012-11-02 at 18:04 +0000, Matthew Garrett wrote: > On Fri, Nov 02, 2012 at 05:57:38PM +0000, James Bottomley wrote: > > On Fri, 2012-11-02 at 17:54 +0000, Matthew Garrett wrote: > > > ? That's the message generated by the Windows access control mechanism > > > when you run a binary that requests elevated privileges. > > > > So that's a windows attack vector using a windows binary? I can't really > > see how it's relevant to the secure boot discussion then. > > A user runs a binary that elevates itself to admin. Absent any flaws in > Windows (cough), that should be all it can do in a Secure Boot world. > But if you can drop a small trusted Linux system in there and use that > to boot a compromised Windows kernel, it can make itself persistent. We seem to be talking past each other. Assume you managed to install a Linux boot system on the windows machine. If the linux boot requires present user on first boot (either because the key of the bootloader isn't in db or because the MOK database isn't initialised), you still don't have a compromise because the loader won't start automatically. James -- 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/