From latest Bazzite release

ujust check-anticheat

Epic has announced that it’s bringing Fortnite to Linux and rebuilding its anti-cheat as Easy Anti-Cheat Linux v2 with Fortnite as the first pilot before it opens up to other developers.

EAC has supported Linux for years, but many games never opted in because the Linux version couldn’t offer the same protection as the Windows one. To close that gap, v2 will require a set of security features Linux already has: a signed kernel and modules, TPM 2.0, Secure Boot and measured boot, IOMMU, kernel lockdown in integrity mode, kexec disabled, and BPF LSM.

Here is the kicker:

They were kind enough to make us one of the accepted well-known signing keys.

So its a whitelist system for kernel level anticheat.

you are viewing a single comment's thread
view the rest of the comments
[–] 47 points 5 days ago (35 children)

On Windows Kernel level anticheat means, that the anticheat programs can do whatever it wants on your system at all times. Some of them even run always. On Linux this implementation works differently, instead using Linux native functionality to enable Kernel level anticheat, but without giving them full control. I'm on board with this implementation. It's even optional and one does not need to use this if you are not interested into anticheat games.

The only real drawback to me is, Epic can decide who can sign keys. Off course this makes it possible so that only trusted ones can sign keys, and at least there can be multiple entities who are able to do this. Buut, its a lot of power Epic has over who can sign.

Overall, this is a good thing. It is optional. It does not have the same drawbacks as using Kernel level on Windows. Finally lot of games will become playable without Windows.

  • source
  • hideshow 35 child comments
  • [–] 7 points 5 days ago (6 children)

    If they are actually doing what I think they are doing, using bpf, then they have full control similar to on windows.

    Bpf is a linux subsystem for adding code to the kernel to be executed at runtime. Bpf programs, executed as root, have full control over the system the same way kernel level anticheat would.

    However, bpf is not quite the same as windows/linux kernel modules, in that unlike crashing kernel modules or other kenel level code), a crashing bpf program does not crash the whole system. Anecdotally, I've noticed that kernel level anticheat can cause a massive hit to system stability, causing somewhat irregular random blue screems of death. A bpf based kernel level anticheat wouldn't do that.

  • source
  • parent
  • hideshow 6 child comments
  • [–] 2 points 5 days ago (5 children)

    What it does and need is listed at https://onlineservices.epicgames.com/news/introducing-easy-anti-cheat-linux-v2 . I thought a Kernel module is only needed to be loaded in, if its not part of the Kernel already. And the epf would just control what is in the Kernel already, with the rights it is given to, not full root access to do whatever it wants. The whole point was to not have the same control over the system as in Windows, if I understood it correctly.

  • source
  • parent
  • hideshow 5 child comments
  • [–] 9 points 5 days ago (4 children)

    No, the whole point is to have the same control over your system as what kernel level anti cheat on windows has.

    Bpf is root. It's a rootkit. Modern Linux rootkits use (e)bpf because it has more authority over the system than root itself, able to monitor/restrict/intercept what root does.

  • source
  • parent
  • hideshow 4 child comments
  • [–] -3 points 5 days ago (3 children)

    No, the whole point is to have the same control over your system as what kernel level anti cheat on windows has.

    The whole point is to avoid that. There is probably a misunderstanding, either from my side or from your side. I think it is kind of a program that instructs the Linux Kernel to do something, it does not have root rights on its own. Kind of how you instruct to do Kernel functionality to delete a file with a non root application like rm file. You do Kernel access without having root access.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 10 points 5 days ago (2 children)

    No, BPF is root. It's like super ultra root. Bpf programs running in the kernel can do everything root does, and more, most notably, intercepting with and tampering with what root does/sees. There are plenty of examples of BPF being used as super root and backdoors:

    You do Kernel access without having root access.

    Okay, technically, you can do unprivileged bpf access. But the specific bpf lsm outlined in the post is not that. It is super-root.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 0 points 5 days ago (1 child)

    Alright then. I need to read more about this, maybe I was misinformed. But I'm not super convinced yet, maybe you are misinformed (no accusation here, just saying it could be).

  • source
  • parent
  • hideshow 1 child comment
  • [–] 12 points 5 days ago* (last edited 5 days ago)

    I don't know your level of programming knowledge, but I will back up the previous poster.

    With eBPF you can add code that runs right before various kernel functions, in kernel space (what they're calling super root)

    E.g. https://eunomia.dev/tutorials/19-lsm-connect/

    Some of the hook points currently supported by LSM include:
    
    * File open, creation, deletion, and movement;
    * Filesystem mounting;
    * Operations on tasks and processes;
    * Operations on sockets (creating, binding sockets, sending and receiving messages, etc.);
    

    The rules around eBPF are more for preventing a process from locking up a kernel thread than what it can access

    It was originally created for high speed routing where making decisions about where network traffic goes was too slow in userspace, but they didn't want a completely custom kernel module

  • source
  • parent
  • load more comments (28 replies)