Skip to contentSkip to conversation

TPM chip and Grub bootloader

DISCUSSION karmo 9 participants 15 messages May 24, 2007 – Jun 1, 2007

lore
Share & tools
lore

karmo

author
#0 lore raw

hi
i want to program Grub to use the TPM chip to load certified Operating System (like windows or redhat, it doesn't matter....but perhaps i will use a redhat versione).
can you give me documents about how to do this?
thanks

ps sorry for my scholastic english ;)

Signature · 2 lines
View this message in context: http://www.nabble.com/TPM-chip-and-Grub-bootloader-tf3808785.html#a10779735
Sent from the Grub - Dev mailing list archive at Nabble.com.
#1 lore raw

There already exist a patched version of Grub (not Grub 2, as far as I know), named TrustedGrub, available at this address :
http://www.prosec.rub.de/trusted_grub.html

I never tried it though, so I won't be able to assist you in using it.

Hope that helps.

2007/5/24, karmo <[email protected]>:

Quoted 23 lines

hi
i want to program Grub to use the TPM chip to load certified Operating System (like windows or redhat, it doesn't matter....but perhaps i will use
a redhat versione).
can you give me documents about how to do this?
thanks

ps sorry for my scholastic english ;)
--
View this message in context:
http://www.nabble.com/TPM-chip-and-Grub-bootloader-tf3808785.html#a10779735
Sent from the Grub - Dev mailing list archive at Nabble.com.

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Signature · 2 lines
Julien RANC
[email protected]
#2 lore raw
In reply to karmo
Quoted 6 lines · karmo

hi
i want to program Grub to use the TPM chip to load certified Operating System (like windows or redhat, it doesn't matter....but perhaps i will use a redhat versione).
can you give me documents about how to do this?

Is that related to Digital Restriction Management? (just curious)

Signature · 4 lines
Robert Millan

My spam trap is [email protected].  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.
#3 lore raw
Quoted 8 lines · Robert Millan
Quoted 5 lines · karmo

hi
i want to program Grub to use the TPM chip to load certified Operating System (like windows or redhat, it doesn't matter....but perhaps i will use a redhat versione).
can you give me documents about how to do this?

Is that related to Digital Restriction Management? (just curious)

The TPM trust chain has multiple uses, somewhat related to each other:
1. bind executables to a system state (as defined by a hash over BIOS image, boot loader, kernel, a set of drivers, ...)
2. bind the keystore in the TPM chip to that system state

As so often, it can be used for, and against the user. Binding certain data to a machine (eg. certificates) and making it non-trivial to get at them.
The bad side is that the system state lock means some kind of lock-in (read your encrypted data on two different systems on the same machine? well, they lead to different system states, so the keys you need aren't available).

it also didn't help in the early state of TPM, that some media industry chills "proposed" lots of "extensions" to the basic TPM model that would make a media player intrusion proof (right in front of the press that took their wet dreams at face value and part of the specs), and that some misleading and downright wrong papers by opponents (the infamous "tcpa faq") became popular.

Patrick Georgi

#4 lore raw
Quoted 4 lines · Patrick Georgi

As so often, it can be used for, and against the user. Binding certain data to a machine (eg. certificates) and making it non-trivial to get at them.

And the way to tell is who has the keys that are stored on the TPM chip. If it is use, then things are good. If it is someone else, then things are bad.

#14 lore raw
In reply to karmo

There are some patches floating around in the world for grub1 to use TPM. Actually you can find it here:

http://sourceforge.net/projects/trustedgrub/

It is still being kept up as there was a release this month. This would be a good project to look at, if you have not already.

Quoted 20 lines · karmo

hi
i want to program Grub to use the TPM chip to load certified Operating System (like windows or redhat, it doesn't matter....but perhaps i will use a redhat versione).
can you give me documents about how to do this?
thanks

ps sorry for my scholastic english ;)
--
View this message in context: http://www.nabble.com/TPM-chip-and-Grub-bootloader-tf3808785.html#a10779735
Sent from the Grub - Dev mailing list archive at Nabble.com.

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

#13 lore raw
In reply to Patrick Georgi
Quoted 2 lines · Patrick Georgi

As so often, it can be used for, and against the user.

Do these chips support so-called "owner override" ? If they don't, then this tool contains logic specificaly designed to be used _against_ the user, and your argument that "it can be used for good or bad" doesn't hold: It is not like a hammer, it's like a gun.

Signature · 4 lines
Robert Millan

My spam trap is [email protected].  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.
#5 lore raw
In reply to Bruno Wolff III
Quoted 10 lines · Bruno Wolff III
Quoted 4 lines · Patrick Georgi

As so often, it can be used for, and against the user. Binding certain data to a machine (eg. certificates) and making it non-trivial to get at them.

And the way to tell is who has the keys that are stored on the TPM chip. If it is use, then things are good. If it is someone else, then things are bad.

That's a missconception. It's not the fact that a CA has a master key that makes this system a threat, it's the fact that when someone else has that key, there's no way for the owner to use physical access to become the root of the trust chain and make his own computer sign anything he wants.

IOW, no matter who the keys belong to, the problem is there's a component in the hardware I paid for that is hostile to me, which contains keys that I cannot retrieve (good, because of security), and refuses to use the keys on anything I want it to (bad, because it's inherently an abusive tool).

That, of course, unless owner override feature is present. Then it's a whole different story.

Signature · 4 lines
Robert Millan

My spam trap is [email protected].  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.
#6 lore raw
Quoted 4 lines · Robert Millan

IOW, no matter who the keys belong to, the problem is there's a component in the hardware I paid for that is hostile to me, which contains keys that I cannot retrieve (good, because of security), and refuses to use the keys on anything I want it to (bad, because it's inherently an abusive tool).

You do not need a TPM based system. Todays BIOSes prohibit flashing anything not signed by the vendor using SMI and hardware lockdown mechanisms. You are locked out already, even though you might not care or know yet.

Stefan

Signature · 3 lines
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: [email protected]  • http://www.coresystems.de/
#11 lore raw
In reply to Robert Millan
Quoted 4 lines · Robert Millan

IOW, no matter who the keys belong to, the problem is there's a component in the hardware I paid for that is hostile to me, which contains keys that I cannot retrieve (good, because of security), and refuses to use the keys on anything I want it to (bad, because it's inherently an abusive tool).

As far as I know, this mechanism doesn't prevent you from creating another root. (or just deleting the old one)
Not to speak of that it isn't (again afaik) in use or even implemented yet - though I'm unsure about that last part (implementation), as I didn't look too deep into the mud created by those in the media industry that tried to coerce the TCG into implementing their wet dream of an ultimately locked down consumer world.

Patrick Georgi

#12 lore raw
Quoted 2 lines · Patrick Georgi

As far as I know, this mechanism doesn't prevent you from creating another root. (or just deleting the old one)

No, but it stablishes a practice that it is ok to use someone else's root.

When everyone starts doing this (and they WILL do this since someone else will take the decision for them), that practice will become standard, then I am being labeled as "not clear" by omission if I insist in using my own root instead of someone else's.

An example: if a website requires that you must use Internet Explorer to view it, and uses a TPM scheme to get clients to prove they're using IE, there's nothing I can do to visit this website, other than using IE. Before Treacherous Computing, such kind of lockdown was impossible to accomplish.

I don't deny that this technology could be oriented towards legitimate uses, becoming Trusted Computing rather than Treacherous. But this may only come when everyone stops the pretension that a TPM system that can be used with someone else's root and doesn't provide any backdoor for owner with physical access is indeed agnostic about good and evil. We'll see that when they start selling preconfigured TPMs where root belongs to a mallicious 3rd party (if they aren't doing that already).

Signature · 4 lines
Robert Millan

My spam trap is [email protected].  Note: this address is only intended
for spam harvesters.  Writing to it will get you added to my black list.
#7 lore raw
In reply to Stefan Reinauer
Quoted 10 lines · Stefan Reinauer
Quoted 4 lines · Robert Millan

IOW, no matter who the keys belong to, the problem is there's a component in the hardware I paid for that is hostile to me, which contains keys that I cannot retrieve (good, because of security), and refuses to use the keys on anything I want it to (bad, because it's inherently an abusive tool).

You do not need a TPM based system. Todays BIOSes prohibit flashing anything not signed by the vendor using SMI and hardware lockdown mechanisms. You are locked out already, even though you might not care or know yet.

That sounds terrible. How do you deal with this for LinuxBIOS? --
Marco

#8 lore raw
Quoted 6 lines · Marco Gerards
Quoted 4 lines

You do not need a TPM based system. Todays BIOSes prohibit flashing anything not signed by the vendor using SMI and hardware lockdown mechanisms. You are locked out already, even though you might not care or know yet.

That sounds terrible. How do you deal with this for LinuxBIOS?

currently by pulling the chip and writing it in an external flash writer. But that is a bad option for the people out there without this kind of equipment.

Signature · 3 lines
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: [email protected]  • http://www.coresystems.de/
#9 lore raw
In reply to Stefan Reinauer

hallo bist cool

Am Donnerstag, den 31.05.2007, 01:28 +0200 schrieb Stefan Reinauer:

Quoted 13 lines · Robert Millan
Quoted 4 lines

IOW, no matter who the keys belong to, the problem is there's a component in the hardware I paid for that is hostile to me, which contains keys that I cannot retrieve (good, because of security), and refuses to use the keys on anything I want it to (bad, because it's inherently an abusive tool).

You do not need a TPM based system. Todays BIOSes prohibit flashing anything not signed by the vendor using SMI and hardware lockdown mechanisms. You are locked out already, even though you might not care or know yet.

Stefan

Signature · 2 lines
GNU Maintainer (uid:klausweiss)
Free Software - Free as in Freedom
#10 lore raw
In reply to Stefan Reinauer

Hi,

sorry for the last mail, my younger sister was playing with my computer...

Signature · 2 lines
GNU Maintainer (uid:klausweiss)
Free Software - Free as in Freedom