mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@ucw.cz>
To: Roland Dreier <rdreier@cisco.com>
Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>,
	"Wang, Shane" <shane.wang@intel.com>,
	Arjan van de Ven <arjan@infradead.org>,
	"H. Peter Anvin" <hpa@zytor.com>,
	"Rafael J. Wysocki" <rjw@sisk.pl>,
	Linus Torvalds <torvalds@linux-foundation.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Ingo Molnar <mingo@elte.hu>, Thomas Gleixner <tglx@linutronix.de>,
	"Cihula, Joseph" <joseph.cihula@intel.com>
Subject: Re: [GIT PULL] x86/txt for v2.6.32
Date: Tue, 6 Oct 2009 10:12:58 +0200	[thread overview]
Message-ID: <20091006081258.GB1469@ucw.cz> (raw)
In-Reply-To: <ada4oqgp5qx.fsf@cisco.com>

On Sat 2009-10-03 13:44:22, Roland Dreier wrote:
> 
>  > > > So I modify the RAM content so that BIOS does not think measured
>  > > > environment existed before suspend?
> 
>  > And it is ridiculously easy to pull off, too:
>  > http://www.engadget.com/2008/02/21/cold-boot-disk-encryption-attack-is-shockingly-effective/
>  > 
>  > Shows the attack being used to read sensitive keys, but you can use it also
>  > to *modify* system running state (it will be more difficult, as you need to
>  > remove and replace the RAM while on S3 instead of S5, but it should be
>  > doable by someone who knows what he is doing).
> 
> I believe the whole point of this TXT / S3 handling is that the resume
> from S3 will then be able to detect that the contents of RAM have been
> modified while the system was asleep.

...and you are able to read out any keys, etc. Maybe that's expected &
ok, but Doc*/intel_txt.txt does not actually tell me what it protects
against and is pretty much useless... making patches impossible to
review.

So... what does txt protect?

Data integrity only?

Data privacy, too?

Who is it designed to protect against?

Remote attacker?

Local user trying to subvert it?

...and has soldering iron he's willing to use?

...and has soldering iron, osciloscope and PCI analyzer he's willing to use?

> TXT simply produces a reasonably trustworthy measurement of system
> state.  If you modify RAM while the system is asleep, then you will not
> be able to produce a measurement showing an unmodified system state.

Well, actually I see some auditing to be done in proposed patches.

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

  reply	other threads:[~2009-10-06  8:21 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-14 20:51 H. Peter Anvin
2009-09-26  9:56 ` Pavel Machek
2009-09-26 21:44   ` Rafael J. Wysocki
2009-09-28 21:02     ` Pavel Machek
2009-09-28 21:07       ` Rafael J. Wysocki
2009-09-28 21:11         ` H. Peter Anvin
2009-09-28 21:17           ` Pavel Machek
2009-09-29  6:34             ` Shane Wang
2009-09-29 17:13               ` Pavel Machek
2009-09-29 17:19                 ` Arjan van de Ven
2009-09-30  2:16                   ` Wang, Shane
2009-09-30  6:54                     ` Pavel Machek
2009-10-02 17:02                       ` Wang, Shane
2009-10-02 17:18                         ` H. Peter Anvin
2009-10-03 15:00                           ` Henrique de Moraes Holschuh
2009-10-03 20:19                         ` Pavel Machek
2009-10-03 20:36                           ` Henrique de Moraes Holschuh
2009-10-03 20:44                             ` Roland Dreier
2009-10-06  8:12                               ` Pavel Machek [this message]
2009-10-07 16:47                                 ` Cihula, Joseph
2009-10-17 19:28                                   ` Pavel Machek
2009-10-03 21:10                             ` Arjan van de Ven
2009-10-03 21:56                               ` Henrique de Moraes Holschuh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20091006081258.GB1469@ucw.cz \
    --to=pavel@ucw.cz \
    --cc=arjan@infradead.org \
    --cc=hmh@hmh.eng.br \
    --cc=hpa@zytor.com \
    --cc=joseph.cihula@intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    --cc=rdreier@cisco.com \
    --cc=rjw@sisk.pl \
    --cc=shane.wang@intel.com \
    --cc=tglx@linutronix.de \
    --cc=torvalds@linux-foundation.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®