Beehaw
  • Communities
  • Create Post
  • search
    Search
  • Login
  • Sign Up
cm0002 ( cm0002@lemmy.zip )  to Linux@programming.dev · 1 year ago

Linux Now Disabling TPM Bus Encryption By Default For Performance Reasons

www.phoronix.com

external-link
message-square
21
link
fedilink
60
external-link

Linux Now Disabling TPM Bus Encryption By Default For Performance Reasons

www.phoronix.com

cm0002 ( cm0002@lemmy.zip )  to Linux@programming.dev · 1 year ago
message-square
21
link
fedilink
alert-triangle
You must log in or register to comment.
  • thingsiplay ( thingsiplay@beehaw.org ) 
    link
    fedilink
    arrow-up
    18
    ·
    1 year ago

    The intent was on better TPM security after a prior security demonstration showed TPM key recovery from Microsoft Windows BitLocker as well as TPM sniffing attacks.

    I am not sure if this is a good change. Isn’t this “dangerous”?

    The hope is that now it’s disabled by default, the Linux kernel developers can spend more time evaluating the security benefits and performance optimizations to make it worthwhile to re-enabled by default in a future Linux kernel version.

    I’m confused. They disable security feature and then want spend time on the benefits and performance optimizations, to possible enable it again?

    • Truscape ( Truscape@lemmy.blahaj.zone ) 
      link
      fedilink
      arrow-up
      37
      ·
      1 year ago

      The TPM 2.0 implementation (mandated by Microsoft) is flawed. That much is certain.

      If you’d like to know more details about the “benefits” and vulnerabilities of the standard, feel free to read the relevant wikipedia article: https://en.wikipedia.org/wiki/Trusted_Platform_Module

      In my personal opinion, the TPM as a whole seems like a “solution in search of a problem”, and developments that were able to foil its protection as early as 2010 from state and non-state actors should be a massive red flag.

      • Possibly linux ( possiblylinux127@lemmy.zip ) 
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 year ago

        Physical security is very hard

        TPM is a useful to help ensure physical security. TPM isn’t perfect but it is decent for what it is.

        • eleitl ( eleitl@lemmy.zip ) 
          link
          fedilink
          arrow-up
          5
          ·
          1 year ago

          That assumes you can trust the unauditable. I can only accept open hardware, with verification of random samples.

    • nomad ( Nomad@infosec.pub ) 
      link
      fedilink
      arrow-up
      7
      ·
      1 year ago

      If you use TPM for signing, that is not an issue most of the time. But if you store decryption keys for a storage device there that’s not a good idea.

      • Mihies ( Mihies@programming.dev ) 
        link
        fedilink
        arrow-up
        5
        ·
        1 year ago

        Where would you store it then?

        • nomad ( Nomad@infosec.pub ) 
          link
          fedilink
          arrow-up
          6
          ·
          1 year ago

          Preferably in your brain and maybe partially in a smart card protected by a pin?

          • Mihies ( Mihies@programming.dev ) 
            link
            fedilink
            arrow-up
            4
            ·
            1 year ago

            Yes, currently I’m using my brain for that and was thinking a security key such as Yubikey with touch requirement + PIN. But at least on Linux there is no support for that, or is it?

            Edit: Ha, there actually is - https://mhdez.com/posts/unlocking-encrypted-linux-with-a-yubikey/

            • nomad ( Nomad@infosec.pub ) 
              link
              fedilink
              arrow-up
              2
              ·
              1 year ago

              AFAIK there is. But even if not, it simulates a keyboard which can input your passphrase. Also modification of the initrd is a matter of providing a bash script or binary to launch which returns the passphrase in the crypttab file and adding it to the correct directory.

              • Mihies ( Mihies@programming.dev ) 
                link
                fedilink
                arrow-up
                2
                ·
                1 year ago

                From what I read so far, hardware key is just another way to decrypting, not the required. So it’s just a convenient method to avoid typing a (long) password and instead just few PIN chars. So, if somebody gets hold of password, can still decrypt the disk even without the hardware key. Not perfect, but still better than only password.

        • somerandomperson ( somerandomperson@lemmy.dbzer0.com ) deleted by creator
          link
          fedilink
          arrow-up
          5
          ·
          1 year ago

          another encrypted medium

  • henfredemars ( henfredemars@infosec.pub ) 
    link
    fedilink
    English
    arrow-up
    9
    ·
    1 year ago

    Unlike many Linux users, I really liked the idea of the TPM. So long as I fully control the keys, integration with a security chip to authenticate my system would be a nice bonus and represents a natural extension to secure boot. We already take this approach in principle with smartphones.

    On the other hand, it’s becoming a lot harder to actually own your devices and run code of your own choosing on smartphones. It’s a tool that so far has generally been used to serve the interests of the vendor over the user.

    • Possibly linux ( possiblylinux127@lemmy.zip ) 
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      It would be a fine system if the keys were stored on the encrypted volume that the TPM decrypts

  • Federico ( sapousername@mastodon.uno ) 
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    @cm0002 Never understood why one should use tpm when there are good old passwords. It would be better to enforce a long password. To me TPM always looked like a marketing strategy masked by security tools: in the end it’s a device that makes it mandatory to use your hard-drive on a specific machine. It’s even weaker than a good password. Am I wrong?

    • Possibly linux ( possiblylinux127@lemmy.zip ) 
      link
      fedilink
      English
      arrow-up
      2
      ·
      1 year ago

      TPMs protect against evil maid attacks

      Android has a nice solution with the system vs user encryption

      • Federico ( sapousername@mastodon.uno ) 
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        @possiblylinux127 And allows to decrypt the disk if someone steals your laptop: it can just turn it on to read it…

        • Possibly linux ( possiblylinux127@lemmy.zip ) 
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          That isn’t how TPMs work

          The TPM checks the signature of the software with the signature it has internally. If that signature changes it will refuse to release the keys.

          • Federico ( sapousername@mastodon.uno ) 
            link
            fedilink
            arrow-up
            0
            ·
            1 year ago

            @possiblylinux127 Exactly. So if someone steals your laptop it can just press the power on button to read your disk. Security my ass.

            • Possibly linux ( possiblylinux127@lemmy.zip ) 
              link
              fedilink
              English
              arrow-up
              1
              ·
              1 year ago

              …if they can log in

              • Federico ( sapousername@mastodon.uno ) 
                link
                fedilink
                arrow-up
                0
                ·
                1 year ago

                @possiblylinux127

                1. Password is not mandatory
                2. Some organizations require ultra-simple password formats (e.g. 6 digits)
                3. Afaik password is not enabled by default in windows

                Call this security… It’s just a marketing lock-in strategy. A good old password is all you need for encrypting a disk.

                • Possibly linux ( possiblylinux127@lemmy.zip ) 
                  link
                  fedilink
                  English
                  arrow-up
                  2
                  ·
                  1 year ago

                  …Except none of that is true

Linux@programming.dev

linux@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !linux@programming.dev

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

  • !linux_memes@programming.dev
  • !linuxphones@lemmy.ca
  • our Matrix group chat
  • !reactos@programming.dev

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 114 users / day
  • 817 users / week
  • 2.24K users / month
  • 5.67K users / 6 months
  • 128 local subscribers
  • 15.4K subscribers
  • 4.53K Posts
  • 24.1K Comments
  • Modlog
  • mods:
  • Ategon ( Ategon@programming.dev ) 
  • adr1an ( anzo@programming.dev ) 
  • dwraf_of_ignorance ( dwraf_of_ignorance@programming.dev ) 
  • BE: 0.19.21
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code