this post was submitted on 07 Feb 2024
735 points (97.7% liked)

Technology

59192 readers
2438 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 1 year ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 9 months ago

Lol, Tom's hardware is allowed on lemmy? It's like the fox news of the tech world.

Clickbait as usual.

[–] [email protected] 1 points 9 months ago

Them government backdoors. Mkay trust us mkay

[–] [email protected] 109 points 9 months ago (1 children)

Hi this is BitLockPickingLawyer here and today we'll see how secure . . .

[–] [email protected] 12 points 9 months ago

A click out of one... two is binding...

[–] [email protected] 30 points 9 months ago (4 children)

Question: if I have an bitlocker encrypted SSD in a modern computer with embedded TPM, can I move this SSD to an old computer with external TPM to sniff the cod this way? Be gentle. I am dumb. Thanks.

[–] [email protected] 4 points 9 months ago

The Key is stored on the Internal TPM. Only it can unlock the SSD.

[–] [email protected] 22 points 9 months ago (1 children)

"Sniff the cod" This is a typo right? I don't know any better, but I had a good laugh.

[–] [email protected] 10 points 9 months ago

What about the salmon and the halibut? :-D

[–] [email protected] 6 points 9 months ago (1 children)

Nope. As soon as you move the disk to your second system/TPM, you lose any ability to decrypt it at all.

[–] [email protected] 9 points 9 months ago (1 children)
[–] [email protected] 1 points 9 months ago (1 children)

The key is inside the TPM.

[–] [email protected] 2 points 9 months ago (1 children)

For LUKS user set the key; for bitlocker, I believe the key is automatically uploaded to either your Microsoft account or you system admin's account.

[–] [email protected] 2 points 9 months ago

Sure LUKS will do what you tell it. Bitlocker will do what it wants and just use the TPM unless you jump through a bunch of group policy edits and such. But you are correct, I had forgotten it does give you the option to backup the key to a txt file during the installation or initial encryption process :)

[–] [email protected] 19 points 9 months ago

Not unless you entered your recovery code to unlock it on the old computer with the external tpm.

[–] [email protected] 31 points 9 months ago (2 children)

Say it with me now: LUUUUUKS

[–] [email protected] 36 points 9 months ago* (last edited 9 months ago) (1 children)

LUKS is still vulnerable to this attack if you enable autodecrypt using TPM. This attack is based on the vulnerability that the CPU and TPM communicates uses plain text. And it is a pretty common attack against TPM:

https://dolosgroup.io/blog/2021/7/9/from-stolen-laptop-to-inside-the-company-network

SPI is a communication protocol for embedded systems and is extremely common amongst virtually all hardware. Due to its simplicity, there is no encryption option for SPI. Any encryption must be handled by the devices themselves. At the time of this writing BitLocker does not utilize any encrypted communication features of the TPM 2.0 standard, which means any data coming out of the TPM is coming out in plaintext, including the decryption key for Windows

And apparently Linux is not doing too hot on this regard either:

https://www.secura.com/blog/tpm-sniffing-attacks-against-non-bitlocker-targets

As we can see, parameter encryption simply isn't used in practice, and except for safeboot none of the solutions enforce PIN/MFA by default.

However, this attack is not viable for device with firmware based solution, like fTPM, Microsoft Pluton, secure enclave etc. in these case TPM is part of the cpu, hence have no exposed pins to sniff their connection.


So if you don't want people with physical access to your computer (a thief or a evil maiden) to access everything on your disk, don't setup TPM auto decrypt.

[–] [email protected] 15 points 9 months ago (2 children)

CPU communicates with TPM in plaintext

Because of course

[–] [email protected] 7 points 9 months ago (1 children)

CPU doesn't have any secure storage, so it can't encrypt or authenticate comms to the TPM. The on-CPU fTPMs are the solution, the CPU then has the secure storage.

[–] [email protected] 2 points 9 months ago

That make sense, CPU has no place to store private keys, since that is the functionality of TPM...

Unless there is a firmware solution, which defeats the purpose of a standalone tpm.

[–] [email protected] 15 points 9 months ago* (last edited 9 months ago) (2 children)

I wondered why LUUUUUKS didnt use the TPM, why do i have to put my password in... this is absolutely why.

Edit: fixed spelling of LUUUUUKS

[–] [email protected] 3 points 9 months ago (1 children)

What exactly is the point of full disk encryption if the system auto-unlocks on boot?

[–] [email protected] 1 points 9 months ago

Protection against tampering, maybe?

Bad excuse, but that is the logic I've heard.

[–] [email protected] 4 points 9 months ago* (last edited 9 months ago)

Also yes you can, I wouldn't recommend it though. Maybe in addition to your password though.

Wait until you see Dracut and Tang.

[–] [email protected] 11 points 9 months ago
[–] [email protected] 68 points 9 months ago (3 children)

Very end of the article explains you need access to the TPM communication hardware, which no longer occurs external to Intel and And cpus

[–] [email protected] 11 points 9 months ago* (last edited 9 months ago)

So offline (external) bitlocker drives that are unlocked with the key only.

Or internal bitlocker drives that are unlocked with AMD fTPM are excluded from this exploit?

[–] [email protected] 12 points 9 months ago

Should be noted that if a password is asked to decrypt the drive it also doesn't work.

[–] [email protected] 25 points 9 months ago (1 children)

To *newer Intel and AMD cpus and only certain models.

There's a lot of current hardware that uses embedded TPMs. It also depends on the communication path between the CPU and the module, but chances are it will be clear text and in some, via LPC.

[–] [email protected] 2 points 9 months ago

*pretty much all AMD and Intel cpus made after 2015, not sure how a decade is new.

load more comments
view more: next ›