Archive link 1 Archive link 2

Epic says that any Linux distro meeting the requirements it previously laid out will be compatible with Fortnite on Linux and the company has successfully tested the game on Bazzite, CachyOS, Fedora, Omarchy, and Ubuntu with EAC Linux v2, its rebuilt anti-cheat software. However, because Valve’s gaming devices don’t support the Secure Boot features that EAC Linux v2 relies on, Fortnite still can’t be played on the Steam Deck or Steam Machine. Epic is leaving it up to Valve to add Secure Boot support in its hardware’s BIOS settings, or to “help deliver an alternate solution to Linux anticheat,” the company says in a blog post.

I’m sure this has nothing to do with Epic having their own store grafted on top of a DRM system grafted on top of a package manager which competes with that of Valve.

    • bitfucker@programming.dev
      link
      fedilink
      English
      arrow-up
      2
      ·
      22 hours ago

      Well that’s the thing. You can’t unless you have the signing key. And ideally only the distro maintainer has access to those. If at any point in the future the key was leaked, then said key would not be trusted anymore by EAC

      • Nibodhika@lemmy.world
        link
        fedilink
        English
        arrow-up
        3
        ·
        12 hours ago

        How? What API could EAC use that I can’t simply mock? Is it asking for the private signing key? If it is then that’s an easy way to leak it. Is it asking for the public key? That’s known, I can mock it. Is it asking it’s signature? I can mock a known valid signature. Is it asking it to sign something? Then the kernel needs to have the private key somewhere inside, it can be leaked, or I can just have the kernel running side-by-side in some container and forward it the things for it to sign.

        I can’t think on any API that’s not (very easily) fakable. This is harder in Windows because you don’t control the full kernel, so you’re limited in what you can change, but on Linux you control the black box, you can make it reply with whatever the other side expects.

        • bitfucker@programming.dev
          link
          fedilink
          English
          arrow-up
          1
          ·
          11 hours ago

          Sure, you can mock the reply by writing a custom kernel but that attack is practically impossible.

          1. EAC connect to server to ask for nonce to use (must break TLS with probably certificate pinning. If modifying binaries then you need to make sure EAC itself pass checking its own integrity)

          2. EAC asks TPM to perform cryptographic operation with the provided nonce (that means to mock this syscall reply you have to be able to produce the signature that match the nonce AND is valid when checked against the TPM AND the distro maintainer certificate along with its chain of trust)

          The theory is that you cannot forge a signature without knowing what would be signed in advance within a limited time span. Remember those nonce will also have a lifetime. Too long to reply and the verification process will just fail.

          • Nibodhika@lemmy.world
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 hour ago

            Ok, I’m dumb, somehow I forgot that this is an online check so they can ask for a nonce. Still possible to fake but a lot harder and you could trip on something that makes EAC report you. Still I don’t understand what stops me from writing a kernel that forward those requests to a secondary machine, which has a program running that sends them to the kernel, brings them back, and I give them to the game, essentially MitM the whole thing. Sure, it requires a second machine, but it doesn’t need to be very powerful.

            • bitfucker@programming.dev
              link
              fedilink
              English
              arrow-up
              1
              ·
              6 minutes ago

              Well yeah, you go out of your way to not only make custom kernel but also have a second machine. Those are not in the range of low hanging fruit anymore. The bar to cheat now involve dedicated hardware instead of just software patch