Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MdrAW-00063c-Jc for mharc-grub-devel@gnu.org; Wed, 19 Aug 2009 15:50:00 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MdrAU-000607-9e for grub-devel@gnu.org; Wed, 19 Aug 2009 15:49:58 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdrAT-0005zC-RJ for grub-devel@gnu.org; Wed, 19 Aug 2009 15:49:57 -0400 Received: from [199.232.76.173] (port=47371 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdrAT-0005ys-6n for grub-devel@gnu.org; Wed, 19 Aug 2009 15:49:57 -0400 Received: from mammon.mene.za.net ([78.46.253.195]:36456 helo=mail.mene.za.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MdrAS-0001zu-F2 for grub-devel@gnu.org; Wed, 19 Aug 2009 15:49:57 -0400 Received: from mail.mene.za.net (localhost [127.0.0.1]) by mail.mene.za.net (Postfix) with ESMTP id 26AE47E41C; Wed, 19 Aug 2009 21:49:51 +0200 (SAST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gorven.za.net; h=date:from :to:subject:message-id:references:mime-version:content-type :in-reply-to; s=alpha; bh=ZD9e6cHxDmvtBUfag/zVlP8LoyY=; b=ES5nx6 nai8Gh1t0EZkmIAcBfDfdxk9A2GB3jTGLPQ+Gye2WBS6zPNoTOIeN4fET4w7yurQ xq2ZCVsUJOnfQkmfOweWSzWNy0bBwC3f2Eoxp9l/L7Ns90FdUAGuxy5gREQ5ttLK tOkcNZf4gnebS7ax7a+mm2HKOuLI7EPEEKg/M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gorven.za.net; h=date:from :to:subject:message-id:references:mime-version:content-type :in-reply-to; q=dns; s=alpha; b=xAEShHWxf/wOk6IXXttp5E+lchZSbimf WzyZ+8W//FHDHVPyImCucH4BB83ZXiDDyR5RxX1b7MkO6g/9EVBWooqflCRzgeNe IoJTQc477krzXlpKA4efU9CR65Gj96c4b6stMlOyf1JsTt+77co7rOJk9T6Wicu/ Z24notMIDqU= Received: by mail.mene.za.net (Postfix, from userid 1000) id EA6947E6EC; Wed, 19 Aug 2009 21:49:50 +0200 (SAST) Date: Wed, 19 Aug 2009 21:49:50 +0200 From: Michael Gorven To: The development of GRUB 2 Message-ID: <20090819194950.GD3561@mammon.mene.za.net> References: <4A8BDB5B.5000407@labri.fr> <200908191425.29202.michael@gorven.za.net> <200908191524.42432.michael@gorven.za.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="c3bfwLpm8qysLVxt" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: TPM support status ? X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Aug 2009 19:49:58 -0000 --c3bfwLpm8qysLVxt Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Aug 19, 2009 at 03:48:18PM +0200, Vladimir 'phcoder' Serbinenko wro= te: >On Wed, Aug 19, 2009 at 3:24 PM, Michael Gorven wro= te: >> On Wednesday 19 August 2009 14:42:37 Vladimir 'phcoder' Serbinenko wrote: >>> Even if they can't stop from working at all they can make it >>> effectively useless by e.g. not allowing you to see online videos, buy >>> online or even just send an e-mail (saying it's "spam control") if you >>> aren't TPM-checked >> >> That falls under the supporting-possibly-harmful-technology argument. It= 's not >> very different from saying "you must use Silverlight to view videos" and >> whatnot. If you don't want to follow their requirements, then don't. >> >If it becomes widespread you will need to crack TPM to use mplayer to >watch videos. Yes, this is a possibility. >>> >> 2) The similar features can be implemented without resorting to TPM = by >>> >> using coreboot and make every stage verify the signature of every ne= xt >>> >> stage. >>> > >>> > Trust has to start somewhere, and the more difficult it is to comprom= ise >>> > that the better. >>> >>> flash rom with cut write wire is impossible to compromise without >>> physical access. >> >> Valid solution, but does it protect the contents of the flash ROM? (i.e.= can >> you read the contents?) >You need root access or possibility to remove the chip. Which can be >made arbitrarily hard My use case involves physical access. >>> Coreboot can make this too. And firmware doesn't need TPM to do such >>> checks. >> >> Yes, except coreboot isn't widely supported. >It's not a reason to obey BIOS manufacturers. You're not obeying them. >>> >> > A full support of TPM means that GRUB should also be able to ask t= o a >>> >> > remote authority if the content of the PCR is still ok... >>> >> >>> >> Why do I as user need someone else to check my computer? >>> > >>> > Because you don't always own or completely control the computer. >>> >>> Then someone is already holding you hostage. We won't help them to >>> restrict your freedom further. >> >> Or you're the person who owns and wants to secure the computer. Maybe yo= u want >> to co-locate your server and make sure the technicians at the DC can't >> compromise it, >If you don't trust a location, change it. They have physical access >and can execute a wide range of attacks. So you're saying that you can't solve my use case, right? TPM provides=20 significantly more security against a physical attack. >> or you're guarding against data loss if your laptop gets >> stolen without having to enter decryption passwords on boot, or a whole = lot >> of other situation where *you* are putting *your* computer in an untrust= ed >> environment. >If there is no interractive authentication key is stolen together with >laptop. If you have data worth more than a laptop itself you can't >assume your attacker to be short on resources. If you don't most >thieves will just wipe the harddrive. Yes, but the key can only be used if the system is booted with the=20 current trusted parts which would then enforce proper access control. >>> How? Respond to questions I asked (the 4 crypto questions). During >>> your whole discussion you assumed that attacker already has root >>> access and argued how to prevent him from changing the kernel. But >>> what's the use if he already has root access (or in other words >>> already has the security on the knees and can do whatever he wants). >> >>> 1) "Which attacks is it supposed to deflect?" >> >> My main use case is unattended booting with an encrypted harddrive, and >> protecting against physical access or theft. >> >>> 2) "Does it deflect those attacks?" >> >> It seriously raises the bar to such attacks, since the attacker would ne= ed to >> pry the decryption key out of the hardware. >> >You can't seriously assume an attacker with intentions not having >enough money to buy a system using same RAM format and few bottles of >liquid nitrogen and download linux designed for cold boot attack. >As you can see for an attacker with intentions TPM isn't of any >problem. Supporting it would mean waste time and risk freedom of all >GNU users just for the few to feel more secure ("feel" and not "be"). All security is a trade off. Yes, TPM doesn't make it impossible, it=20 just makes it a heck of a lot harder and raises the bar significantly. >>> 3) "How much does the security costs?" (in money, ressources and >>> inconvinience) >> >> The cost of a TPM chip and some setup time. >> >And the freedom. If you don't want to use it then don't. I'd like the freedom to make my=20 system more secure. >>> 4) "Which other holes does it open?" >> >> Obviously the TPM could have flaws which cause it to divulge the decrypt= ion >> key. I don't see it lessening the security of the system though. >> >using GPT instead of pc-style would also increase security with this >idea since you need an OS supporting it. That doesn't provide any security whatsoever. >>> > The only valid argument I see against TPM is the >>> > supporting-possibly-harmful-technology one. But then we shouldn't use >>> > crypto at all because it can be used for DRM... >>> >>> It's not just "possibly harmful", it's "designed with harm in the mind". >> >> Disagree. >Why is remote attestation an important part of specification then? Why >don't they want to give you the key burned in TPM on a piece of paper? >Why do options to reset TPM are "optional"? Okay, fair enough, there are parts of TPM which can and are possibly=20 intended to screw over the user. That doesn't make the whole thing=20 worthless however. --=20 http://michael.gorven.za.net/ PGP Key ID 6612FE85 S/MIME Key ID AAF09E0E --c3bfwLpm8qysLVxt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iQIcBAEBAgAGBQJKjFdeAAoJEIOxIz1l+Omh6+kQAKn7AA4+FAfBepHaqW8E8U/i 2sKN1AGF9iRWr1xAgi/RqMBdOBTLy+KMHZjWptRssacs/uaMRnYhDwfCLBmhuBct auKgYDAuubkw2AJtpciaAwr+hf5i44y+ULa52TGS36feT9jlNr2HM/QaiiaDcI9g Mk2Is/kPiaWWR0nRq7dLR2TMQ58gqvWSqWXy6TTM0W1oYSFCgKLmYvLuOAvYHCmF 9y2UsujahVUOTM+sRtgLXiO5W3meiIuRt/qF0QPrgkUS7MmcX3Vn0pLfAWQ/y069 o82FKx/rhhCVHFP43ujRX4Nr//0i8j6rGkYtbfENH14ReUvZQ/Kwc5eLw95N0U8b t6+uRPbweB6Zf1U6gpF3y50cp6VStV5rqMgpHmrfYSmpG9Qn1jq/oB+vyQddx7NU ABTiio1g/8HK9ufGK1jmmI9h66zJLieNhpjlULh35x6jYU15b/2LqiNH0J7a991y wQEpoG3v9qtE3dN0Yw46Fhgk1MqJE4+Dlql3JLRPA9of37M4SMZv7lBh5QJzBf+k 7Y50fZlCoqxl9DZNtcioTtOLqD1yLQqIjsksicqR4XuyFWFaRgOF3OQuG3gtcc3b dQyExeqX93o93hXz77bly5DbPsBvXq+QUEr2SB0BXu3AF1xbHvLMed1vBe7Yl3zY divHis4Pt+BK92bJWAXL =uh0w -----END PGP SIGNATURE----- --c3bfwLpm8qysLVxt--