The much maligned “Trusted Computing” idea requires that the party you are supposed to trust deserves to be trusted, and Google is DEFINITELY NOT worthy of being trusted, this is a naked power grab to destroy the open web for Google’s ad profits no matter the consequences, this would put heavy surveillance in Google’s hands, this would eliminate ad-blocking, this would break any and all accessibility features, this would obliterate any competing platform, this is very much opposed to what the web is.

  • jarfil@beehaw.org
    link
    fedilink
    English
    arrow-up
    79
    ·
    1 year ago

    THIS IS NOT (just) ABOUT GOOGLE

    Currently, attestation and “trusted computing” are already a thing, the main “sources of trust” are:

    • Microsoft
    • Apple
    • Smartphone manufacturers
    • Google
    • Third party attestators

    This is already going on, you need a Microsoft signed stub to boot anything other than Windows on a PC, you need Apple’s blessing to boot anything on a Mac, your smartphone manufacturer decides whether you can unlock it and lose attestation, all of Microsoft, Apple and Google run app attestation through their app stores, several governments and companies run attestation software on their company hardware, and so on.

    This is the next logical step, to add “web app” attestation, since the previous ones had barely any pushback, and even fanboys of walled gardens cheering them up.

    PS: Somewhat ironically, Google’s Play Store attestation is one of the weaker ones, just look at Apple’s and the list of stuff they collect from the user’s device to “attest” it for any app.

    • beefcat@beehaw.org
      link
      fedilink
      English
      arrow-up
      43
      ·
      edit-2
      1 year ago

      you need a Microsoft signed stub to boot anything other than Windows on a PC

      Not necessarily, most motherboards and laptops (at least every single one I’ve ever owned) allow users to enroll their own Secure Boot keys and maintain an entirely non-Microsoft chain of trust. You can also disable secure boot entirely.

      Major distros like Ubuntu and Fedora started shipping with Microsoft-signed boot shims as a matter of convenience, not necessity.

      Secure Boot itself is not some nefarious mechanism, it is a component of the open UEFI standard. Where Microsoft comes in to play is the fact that most PC vendors are going to pre-enroll Microsoft keys because they are all shipping computers with Windows, and Microsoft wants Secure Boot enabled by default on machines shipping with with their operating system.

      • Saturnlks@lemm.ee
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 year ago

        Windows 11 is saying you’re required to have tpm 2.0 enabled in your bios in order to upgrade. Didn’t know what it was on my self built computer until recently when windows said my system wasn’t compatible to upgrade.

        • Hexorg@beehaw.org
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 year ago

          Tpm modules are pretty good. And you can buy them separately like another card. Motherboards usually have a slot for them. They are tiny like usb drives. They essentially are usb derives but for your passwords and keys. You can even configure Firefox to store your passwords in tpm

          • argv_minus_one@beehaw.org
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            TPMs are a security threat. If malware manages to infiltrate it, then that malware is now impossible to remove and has unfettered access to the entire system. You have to junk the entire computer.

            • Hexorg@beehaw.org
              link
              fedilink
              English
              arrow-up
              2
              ·
              edit-2
              1 year ago

              No they don’t. Worst case known attacks have resulted in insecure keys being generated. And even if malware could somehow be transferred out of it you wouldn’t have to trash your whole computer - just unplug the TPM

                • Hexorg@beehaw.org
                  link
                  fedilink
                  English
                  arrow-up
                  3
                  ·
                  1 year ago

                  Your own article says it’s VMs. The tpm itself can be bricked. Ok that sucks. Still not persistent like you describe.

                  • argv_minus_one@beehaw.org
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    ·
                    edit-2
                    1 year ago

                    The vulnerability is not specific to VMs. Malicious code running with privileges on the host operating system can also exploit it.

                    But yes, this can also be used to escape the VM sandbox, and since the TPM has full access to the entire system, exploit code can then gain full privileges on the host.

                    Can the TPM firmware not write to the flash where it’s stored? If it can, then an RCE exploit can do so too, and thereby make itself persistent.

                    Basically, any successful RCE exploit in a TPM equals total and permanent compromise of the entire physical machine. That’s why the TPM is a security threat rather than a security feature.

        • beefcat@beehaw.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          TPM and SecureBoot are separate UEFI features. Windows 11 requires TPM 2.0. If your system meets the CPU requirements, then it should support this without needing to install a hardware TPM dongle. However, until recently, many vendors turned had this feature turned off for some reason.

          Where some confusion comes in is another Windows 11 requirement, that machines be SecureBoot capable. What this actually means in practice is that your system needs to be configured to boot in UEFI mode rather than CSM (“Legacy BIOS”) mode.

    • argv_minus_one@beehaw.org
      link
      fedilink
      English
      arrow-up
      15
      ·
      1 year ago

      you need a Microsoft signed stub to boot anything other than Windows on a PC

      False. Every PC I’ve had has allowed Secure Boot to be turned off, and some of them allow me to add another trusted certificate as well.

      you need Apple’s blessing to boot anything on a Mac

      False. The Mac boot process is completely unlocked, at least on Intel Macs.

      your smartphone manufacturer decides whether you can unlock it and lose attestation

      My Pixel 6 allows me to unlock the boot loader at any time.

      Attestation exists, unfortunately, but it’s not nearly as pervasive as you seem to think.

      This is the next logical step, to add “web app” attestation, since the previous ones had barely any pushback

      Uh, there was huge pushback. That’s why even a Microsoft Surface won’t stop you from installing Linux.

      • pseud@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        6
        ·
        1 year ago

        your smartphone manufacturer decides whether you can unlock it and lose attestation

        My Pixel 6 allows me

        GOTO 10

        • argv_minus_one@beehaw.org
          link
          fedilink
          English
          arrow-up
          4
          ·
          1 year ago

          My point is that at least some smartphone manufacturers make phones with unlocked boot loaders. As long as there’s at least one such manufacturer, does that not disprove your argument?

      • abhibeckert@beehaw.org
        link
        fedilink
        English
        arrow-up
        3
        ·
        edit-2
        1 year ago

        The Mac boot process is completely unlocked, at least on Intel Macs.

        On Modern Macs, the process is somewhat convoluted, but you are able to boot into a custom compiled boot loader / operating system while secure boot is enabled. It just needs a few minor hoops to sign the boot loader - steps that would be difficult to social engineer around but perfectly reasonable to do them intentionally if installing an alternate operating system is your thing.

        iPhone is, of course, a different story. Hopefully that changes some day. The CPU and boot process is the same as a Mac, so there’s no reason it couldn’t be unlocked. Might require government intervention though.

        • argv_minus_one@beehaw.org
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          It just needs a few minor hoops to sign the boot loader - steps that would be difficult to social engineer around but perfectly reasonable to do them intentionally if installing an alternate operating system is your thing.

          Does that not create a barrier for entry for non-technical people looking to use an alternative operating system?

      • Something Burger 🍔@beehaw.org
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        My Pixel 6 allows me to unlock the boot loader at any time.

        By doing that, you no longer pass SafetyNet, and some apps refuse to work without it. If unlocking your device removes features, then you aren’t really allowed to do so.

    • Ech@lemm.ee
      link
      fedilink
      English
      arrow-up
      10
      ·
      1 year ago

      you need a Microsoft signed stub to boot anything other than Windows on a PC

      Can you expand on this? Maybe I’m just misunderstanding you, but a “pc” is not a Windows made machine. It is a collection of disparate computer parts made by different companies with no requirement to run Windows as the exclusive OS once put together.

      Even on a Windows OS, I can run any program I want (that’s made to operate with Windows). I may get a warning if it’s not a “known” developer, but I can still run it. Did I miss a big update to how 11 works with unknown software or something?

      • jarfil@beehaw.org
        link
        fedilink
        English
        arrow-up
        11
        ·
        edit-2
        1 year ago

        PCs have been switching to UEFI instead of legacy BIOS startups, one of the features of UEFI is Secure Boot, which ensures all code being run during the boot process is signed with a valid key, which most PC manufacturers have been choosing to be a Microsoft key by default because Windows requires Secure Boot and most PC users want to run Windows. Depending on the manufacturer, you may be able to switch to “legacy BIOS” boot, add your own keys, disable the check, or use a Microsoft signed stub for your alternative OS. Only the last one is guaranteed to work, though.

        Even on a Windows OS, I can run any program I want

        Windows 10/11 Home in S mode only allows running programs from the Microsoft Store, you need to upgrade the license if you want to “sideload” stuff.