• SparkyLight@lemmy.world
    link
    fedilink
    English
    arrow-up
    22
    ·
    1 year ago

    i don’t quite get why can’t the attester just… lie… about who he is like if I’m using firefox on linux, why cant my linux attester claim to be actually windows attester and say I’m using chrome?

    • SkyNTP@lemmy.ml
      link
      fedilink
      English
      arrow-up
      22
      ·
      1 year ago

      I am not an expert, but it’s likely signed and cryptographically secured. Change a single byte in the be Browser executable and your browser goes on the naughty list. This is total lockdown of the browser, and in principle you can extend certification of both software and hardware all the way down through the OS into the hardware.

      • sloppy_diffuser
        link
        fedilink
        English
        arrow-up
        9
        ·
        1 year ago

        The same host could fake the payload to the attestation server. Cat and mouse game with security through obscurity.

        • Anafabula@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          7
          ·
          1 year ago

          If you are on android or ios the phone already cryptografically verifies that the operating system has not been tampered with on a hardware level. Since the operating system is then “trusted” it can verify anything you do on it

          • l0v9ZU5Z@feddit.de
            link
            fedilink
            English
            arrow-up
            7
            ·
            1 year ago

            Doesn’t work. It’s possible to let many banking apps think they are running on a normal device although it is rooted.

            • Koffiato@lemmy.ml
              link
              fedilink
              English
              arrow-up
              6
              ·
              1 year ago

              Yup Play attestation is dead, even the new and shiny “secure” one is bypassed. It’s now just a hinderence.

    • chaospatterns@lemmy.world
      link
      fedilink
      English
      arrow-up
      19
      ·
      1 year ago

      Attestation depends on a few things:

      1. The website has to choose to trust a given attestation provider. If Open Source Browser Attestation Provider X is known for freely handing out attestations then websites will just ignore them
      2. The browser’s self-attestation. This is tricky part to implement. I haven’t looked at the WEI spec to see how this works, but ultimately it depends on code running on your machine identifying when it’s been modified. In theory, you can modify the browser however you want, but it’s likely that this code will be thoroughly obfuscated and regularly changing to make it hard to reverse engineer. In addition, there are CPU level systems like Intel SGX that provide secure enclaves to run code and a remote entity can verify that the code that ran in SGX was the same code that the remote entity intended to run.

      If you’re on iOS or Android, there’s already strong OS level protections that a browser attestation can plugin to (like SafetyNet.)

    • Dark Arc@lemmy.world
      link
      fedilink
      English
      arrow-up
      15
      ·
      edit-2
      1 year ago

      WebChain of trust, the site only trusts certain attesters (yes this would be really bad for Linux).

      EDIT: Used the wrong “of trust”

      • vacuumflower@lemmy.sdf.org
        link
        fedilink
        English
        arrow-up
        7
        ·
        1 year ago

        Every time somebody calls this “web of trust” I feel the need to remind that really Web of Trust is a system of, well, decentralized manual trust, like with PGP. Like in Retroshare or Freenet for some people.

        Every such attempt at replacing the actually relevant meaning of a thing which is still good and needed is suspicious.