Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MdlWd-0006PC-Vk for mharc-grub-devel@gnu.org; Wed, 19 Aug 2009 09:48:28 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MdlWb-0006N1-Oq for grub-devel@gnu.org; Wed, 19 Aug 2009 09:48:25 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MdlWW-0006HT-VY for grub-devel@gnu.org; Wed, 19 Aug 2009 09:48:25 -0400 Received: from [199.232.76.173] (port=41887 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MdlWW-0006HK-G3 for grub-devel@gnu.org; Wed, 19 Aug 2009 09:48:20 -0400 Received: from mail-bw0-f222.google.com ([209.85.218.222]:53128) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MdlWV-0002Ex-Qr for grub-devel@gnu.org; Wed, 19 Aug 2009 09:48:20 -0400 Received: by bwz22 with SMTP id 22so3998907bwz.42 for ; Wed, 19 Aug 2009 06:48:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=P/Er/nCIO+0d9QG/jZUFutVI55YNZKhWHTSgrIKKQtA=; b=dQKtAD16Kmo8uvFTkbKXeKd2JbqmN1XTwryJgyT27/aEBZU69Lv5gr9r+6M34CKyRr 0/IDwM9JeHT9BE7mIWEE9yQ1gFXSzDx6Y/p3/+99vpuIyQo34bI8FFnvXq8eajWQ22uy nT1lsTsUz0eXx1oqjW4KjtKFN49uoII7hoI4E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=fOopDBZWDA4nhc0XSgYlWg3kadfeXnGjpdo+FQOn2h0A45gwMtlXd0YsBsIV1l8wh2 nE4TBPwM6L0tizy1wTcsC9cZpf1YvlICSdcCjk8xoGOKVPnF/5Ieu3ql9jLXS9YpbVwm 8pwbKFVVCHUywNJFzoxUW5zmUvDdh37QdlgaY= MIME-Version: 1.0 Received: by 10.204.3.10 with SMTP id 10mr4907933bkl.196.1250689698187; Wed, 19 Aug 2009 06:48:18 -0700 (PDT) In-Reply-To: <200908191524.42432.michael@gorven.za.net> References: <4A8BDB5B.5000407@labri.fr> <200908191425.29202.michael@gorven.za.net> <200908191524.42432.michael@gorven.za.net> Date: Wed, 19 Aug 2009 15:48:18 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 13:48:26 -0000 On Wed, Aug 19, 2009 at 3:24 PM, Michael Gorven wrote: > 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. >> >> 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 >> > 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 >> 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. > >> >> > 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. >> >> 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 you 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. > 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 untrusted > 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. > >> 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 need 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"). >> 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. >> 4) "Which other holes does it open?" > > Obviously the TPM could have flaws which cause it to divulge the decryption > 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. >> > 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"? > > Michael > > -- > http://michael.gorven.za.net > PGP Key ID 1E016BE8 > S/MIME Key ID AAF09E0E > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > http://lists.gnu.org/mailman/listinfo/grub-devel > > -- Regards Vladimir 'phcoder' Serbinenko Personal git repository: http://repo.or.cz/w/grub2/phcoder.git