Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1LZn88-00024c-Gg for mharc-grub-devel@gnu.org; Wed, 18 Feb 2009 09:10:28 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LZn85-00023O-4J for grub-devel@gnu.org; Wed, 18 Feb 2009 09:10:25 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LZn81-000231-3n for Grub-devel@gnu.org; Wed, 18 Feb 2009 09:10:22 -0500 Received: from [199.232.76.173] (port=35176 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LZn7z-00022t-Go for Grub-devel@gnu.org; Wed, 18 Feb 2009 09:10:20 -0500 Received: from fk-out-0910.google.com ([209.85.128.188]:8042) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LZn7z-00079I-45 for Grub-devel@gnu.org; Wed, 18 Feb 2009 09:10:19 -0500 Received: by fk-out-0910.google.com with SMTP id 19so1961744fkr.10 for ; Wed, 18 Feb 2009 06:10:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=U1/P+nqKuLCwUiWgBdKrTdxMKvrd24SEVPJMILE2Lj0=; b=t1IhoKFKtT4iPtDN4fykBwLg1lVLVOwCYUcH1pUp2NzVic+Rd5ZERhgVSzO2y1GWUi HL/e0ZJZu7FQQN2p39SFNpbx1kT+g7Tm3XDTI0pJoe8kSGaAXQ/ikWMThgzsQ4MtQ4a0 rzXM6+ZgxCQIGp5q6IyV2ZZMc/NiyLuLHU5y0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=nrgQgR7hL+N8z1vlshwjEh65NmlUjRENP7eq6hDHp6stSlK/rhK+fQYiEyTWf4c+i9 9/jIszA4hRJMaVU9z4Rkn0jd0onedpnnErK8nyVKX0yOS5txqGsddjWaMuOvlTwOszs7 pB+EDypTbpi2F7CoIMQy7opRjzlhLky/skK0I= MIME-Version: 1.0 Received: by 10.181.158.3 with SMTP id k3mr244974bko.134.1234966218101; Wed, 18 Feb 2009 06:10:18 -0800 (PST) Date: Wed, 18 Feb 2009 16:10:18 +0200 Message-ID: From: Alex Besogonov To: grub-devel Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Cc: Subject: Re: A _good_ and valid use for TPM 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, 18 Feb 2009 14:10:25 -0000 >I don't know much about TPM but from example that I read at >TreacherousGrub website actual verification is done by TreachorousGrub. >I don't see how such a verification can protect against anything. Wrong. The main concept in TPM is "chain of trust". First, BIOS attests that the first stage of GRUB is not tampered with. If it's somehow modified then the chain of trust is broken and keys in the TPM are locked. Then the first stage (which is by now checked to be real and unmodified) loads and checks the second stage. And so on... There's no way to break this chain of trust without hacking TPM (which I consider very unlikely), doing uber-dirty hardware tricks (like modifying RAM on-the-fly using DMA from rogue PCI devices) or exploiting some local vulnerability (which is rather unlikely). >If you suppose that your attacker is unable to tamper the hardware then >bios and grub password is all you need. If you suppose that he can then >you can't even trust your ram modules. It can be tampered in many ways >like serving hacked bootloader or just being non-volatile then an >attacker can read the key from memory. I'm trying to guard against attacker who can _steal_ the server itself and/or tamper with the hardware. PS: please, at least read the relevant specs before calling TPM 'Treacherous'.