Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1La5U4-0000pa-Dp for mharc-grub-devel@gnu.org; Thu, 19 Feb 2009 04:46:20 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1La5U2-0000pO-Km for grub-devel@gnu.org; Thu, 19 Feb 2009 04:46:18 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1La5U1-0000pC-7S for Grub-devel@gnu.org; Thu, 19 Feb 2009 04:46:17 -0500 Received: from [199.232.76.173] (port=39244 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1La5U1-0000p9-1A for Grub-devel@gnu.org; Thu, 19 Feb 2009 04:46:17 -0500 Received: from mail-bw0-f160.google.com ([209.85.218.160]:37407) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1La5U0-0007uF-F7 for Grub-devel@gnu.org; Thu, 19 Feb 2009 04:46:16 -0500 Received: by bwz4 with SMTP id 4so820539bwz.18 for ; Thu, 19 Feb 2009 01:46:14 -0800 (PST) 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:cc:content-type :content-transfer-encoding; bh=HGN3HH4aRN0Jdlc07gWkAg2Ayd9Zc8AZWQxYZRb9+oM=; b=vp1TJvA9ecfYIz2SH1feNVjtFrdPvetI+TCvSRXgE0FSfUz0XDH8Ez2KDER5xRnlEl FXTDKZKN47juUepMa5kkH1JeqMfwghSJKFFKQwy6qYvayfJfhRCvYXEO5Vrcw8/5tUx9 GvkrRjyJN5PN20Vqu6MPdnaxdUp0RhQ0NFkjw= 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 :cc:content-type:content-transfer-encoding; b=WVRTd3hafCnt+KUtlR+DvsNFFCF2OnSeoFJ+gdYzEyC7n3dXkeBWrCU6Kx/kJ0yG0t ldrLU/zhl9K68M0TpE7vzVqcf0G2D3VOFPANqW0eljD4q3PLZQX8imWKR9Lft2voBwkL s9x+DfYxD7c7MEdiiUsXHhsOitNJdM776nhQc= MIME-Version: 1.0 Received: by 10.181.36.19 with SMTP id o19mr1144085bkj.135.1235036774482; Thu, 19 Feb 2009 01:46:14 -0800 (PST) In-Reply-To: <200902181703.29234.ml@isaac.cedarswampstudios.org> References: <200902180952.10351.ml@isaac.cedarswampstudios.org> <200902181703.29234.ml@isaac.cedarswampstudios.org> Date: Thu, 19 Feb 2009 11:46:14 +0200 Message-ID: From: Alex Besogonov To: Isaac Dupree 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: grub-devel 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: Thu, 19 Feb 2009 09:46:18 -0000 On Thu, Feb 19, 2009 at 12:03 AM, Isaac Dupree wrote: >> I know. But there's no way to guard against this attack, so there's no >> sense fretting over it for now. > well, it's relatively straightforward for an attacker who knows what they're > doing, so perhaps you should assume that *privacy* is at least partly > compromised. I think there are ways to guard against this attack. There's 'freeze CPU cache' method and I'm also thinking about using GPU to perform decryption - this way decryption keys won't be in the main memory. For now, I'm just planning to glue memory chips to the mainboard using epoxy resin. It'll make life much harder for the attacker. > but the most that attack can achieve is observing? Can that attack make it so > that, when the system starts running again, it will be in a compromised state? Attackers can steal decryption keys, connect hard drives from my computer to their computer and then copy everything. > - they can steal all crypto identity keys and try to run a completely different > computer with different software there, if not for TPM > - I don't know how the magic of TPM knowing everything about the state of your > computer works, maybe they can modify what's in memory and put it back and > confuse things? No. TPM is a passive chip. It might be possible to use TPM as a hardware decryptor, but it's too slow to handle full-disk encryption. > Also why does GRUB need to do any explicit interaction with TPM? (I'm > ignorant and unimportant here, but maybe it will edify people, to have this > conversation.) BIOS is only able to attest that the first stage of GRUB (512-byte MBR) is not compromized. First stage then has to check the second stage and so on. So unmodified GRUB will happily load a compromised second stage even if the first stage is attested to be not modified.