Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MdkEf-00077p-CL for mharc-grub-devel@gnu.org; Wed, 19 Aug 2009 08:25:49 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MdkEc-000760-93 for grub-devel@gnu.org; Wed, 19 Aug 2009 08:25:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdkEY-00073r-Pk for grub-devel@gnu.org; Wed, 19 Aug 2009 08:25:45 -0400 Received: from [199.232.76.173] (port=49629 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdkEY-00073i-Ef for grub-devel@gnu.org; Wed, 19 Aug 2009 08:25:42 -0400 Received: from mammon.mene.za.net ([78.46.253.195]:59526 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 1MdkEX-0001FW-AR for grub-devel@gnu.org; Wed, 19 Aug 2009 08:25:42 -0400 Received: from mail.mene.za.net (localhost [127.0.0.1]) by mail.mene.za.net (Postfix) with ESMTP id EAC177E41C for ; Wed, 19 Aug 2009 14:25:38 +0200 (SAST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gorven.za.net; h=from:to :subject:date:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; s=alpha; bh=HIcCaVthU6JRn RJ1hPgTau12pjk=; b=VobXOtIJdtl1s2eKJqN5TpsqtyuNnfebvHz0PA1O1RaQO xSdiOFvhQZ4L/S7OwPFs3D7fHoNVPiGs4ZIBNLWdLrhaGBBjWIcSXqz2FIDm6p1a t1t12ZlElXj501m8ejncY5tZB86h9P9popJ3lqxHCJFVWAzguS1cSNOpDIYsSA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gorven.za.net; h=from:to :subject:date:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; q=dns; s=alpha; b=kUGHgZn xLkRsN9BEjv2fk3n9zthMVqJkhXRyg8gZpsxa7IOj8NmE2GafklqMMhXzFhPIFh+ 8rmRt1ZO4K9/SqUC2TlM73QQoadWt7DNNk9yMko1/5fh15wl14zC1MYO+DqDCHhx +0Nsd7VYdJF06sQDszUqIY3c94E9ReUCDKI8= Received: from molech (dsl-241-125-225.telkomadsl.co.za [41.241.125.225]) by mail.mene.za.net (Postfix) with ESMTPSA id 22F417E270 for ; Wed, 19 Aug 2009 14:25:37 +0200 (SAST) From: Michael Gorven To: The development of GRUB 2 Date: Wed, 19 Aug 2009 14:25:21 +0200 User-Agent: KMail/1.9.10 References: <4A8BDB5B.5000407@labri.fr> In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart6080865.gFfdxB7MsK"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200908191425.29202.michael@gorven.za.net> 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 12:25:46 -0000 --nextPart6080865.gFfdxB7MsK Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 19 August 2009 13:51:34 Vladimir 'phcoder' Serbinenko wrote: > 1) Making use of TPM you become dependent on good will of TPM > manufacturer. You can never know if or when the TPM manufacturer or > someone connected with them will ask you to use remote attestation to > prove them that you use only the software they signed and that they > effectively control your computer. How are you dependent? If they ask you to use remote attestation then just = say=20 no -- what would you gain? You're probably not using any of their software= =20 anyway. They can't stop your system from working. > 2) The similar features can be implemented without resorting to TPM by > using coreboot and make every stage verify the signature of every next > stage. Trust has to start somewhere, and the more difficult it is to compromise th= at=20 the better. =20 > 3) TPM manufacturers claim to achieve the goals like being > tamperproof. This is simply not possible. Everything is tamperable. > It's just the question of effort. Correct, but making hardware the root of trust is more secure than a flasha= ble=20 BIOS or the harddrive contents. > Even without such equipment it's just a > question of time before a fatal flow in TPM is discovered and > published. After that point TPM wouldn't be very different from WEP. Yes, but we used WEP because it was the best available security at the time= =2E=20 And then we moved on to WPA. You can't argue that one shouldn't use somethi= ng=20 because it will surely have flaws because otherwise we wouldn't use anythin= g=20 at all. > > 2) Extend the PCR register (TPM_SHA1CompleteExtend command) with the > > SHA-1 digest. > > Why would we need a chip to check if SHA-1 matches if we can use > signatures? Because the BIOS or bootloader can be replaced to remove the check. > > 3) Read the PCR (TPM_PCRRead command) and compare it to a recorded value > > of a previous (safe) boot. We assume that the previous link of the chain > > of trust (BIOS?) has already checked that GRUB hasn't been tampered > > before starting it. > > You propose to check that our checksum in PCR is ok but you already > assume GRUB wasn't tampered. If you assume grub wasn't tampered no > need to checksum. If you don't it's useless to checksum. That isn't assumed -- the BIOS checks that GRUB isn't tampered with before= =20 moving control to it. > > A full support of TPM means that GRUB should also be able to ask to 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.=20 > If you assume attacker has no physical access to a machine checking > signatures on updates recieved from network and proper permission > model is enough to deflect any attack There will always be flaws in the system ;-) > > Now, the question whether one shouldn't support a technology because it > > may lead to evil usage is something that should be solved inside the > > GRUB team (and I believe that the GRUB team has already solved this > > question out). > > It's not like just "can lead". Remote attestation is a part of TPM > spec. It's like saying nuclear bombs aren't a problem just because > "they can explode". It is, but that doesn't mean it has to be implemented. I see TPM as a very useful security measure, and support in GRUB can help m= ake=20 *nix systems much more secure. As Emmanuel noted, the TPM can always be=20 cleared, and even if it's holding harddrive encryption keys you should have= a=20 backup key anyway. You can only be held hostage to the TPM if you're not=20 sensible about the way it's setup. The only valid argument I see against TPM is the=20 supporting-possibly-harmful-technology one. But then we shouldn't use crypt= o=20 at all because it can be used for DRM... Michael =2D-=20 http://michael.gorven.za.net PGP Key ID 1E016BE8 S/MIME Key ID AAF09E0E --nextPart6080865.gFfdxB7MsK Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQIVAwUASovvOIOxIz1l+OmhAQr3vhAAiaDJFTjz3uoBs2TCaLqUbA+vSM2NV0VL X9LlbpXuadxsGgbxaRfQN3xRmPk2EFwrcuUwqaHfHzcvZNIziRvVk0SI+3bGzTME TkAqjJ08JUiBVEqQp3p57bl7sccwoqeOgg8Cr02fP+SS6KQAs/JsVj+TTGWEuywL LE0T0a2Z2x7xGZ1s2Mei8WTwwCc3kJxPIFnX8u/YkduxAVUJZ7K6LSlG6RVSSxAX Vn7wyks8LGMTlEz87bkdZANn39vK/z6jlzJipcbh7WCjDc0ApCk9uckjeshUJgYA 69+DBxrkrhlsld71f3DPyxXXOGZprNRa9EwnhhJ3IV+c1c1CbYVMdcDQb2Mmt+iJ afdpd4+2/Kyy6YyWzCzaugWblOPR49FhNrXz21MaV0kgSlLPncHKsxD193gBigvk /RC16VNc/o+eHpeiulOFXV4+m9qdwp/665qvMi/m7nEi7UVD3sXNVCDgMyaMrOki 6EqGBnp3Vcl27TAtujo0WUUtKTvvu/PS+OvzFArS0Yp3Sh9h1qeULKmtkEHnGj67 WQbZk4m9AOFop1AWMwruVjidVcQM6WEuvKN1ZDcE51JgXgceMgDeDoIrI1DFw1DQ heg7ewNuo15odSdKH7LYgZzXSXiRZRx7Idh85VnCwR9t3f9iev3X8aJAHtz9NOWj AdZNoal2Mdo= =/ens -----END PGP SIGNATURE----- --nextPart6080865.gFfdxB7MsK--