515
submitted 1 week ago by Vittelius@feddit.org to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Vittelius@feddit.org 41 points 1 week ago

It's bazzite with a custom UI instead of Steam Big Picture and no desktop mode. Their big claim seems to be that they say that they have solved anti cheat on Linux: the system generates a checksum of the kernel space, the anti cheat then compares this checksum with the one on file. No custom kernel module needed on the part of the anti cheat dev. At least in theory.

[-] chellomere@lemmy.world 6 points 1 week ago

I'm having a hard time understanding how this would work. udev will load kernel modules depending on your hardware, and these modules run in kernel space. Is there an assumption that a kernel module can't cheat? Or do they have a checksum for each possible kernel module that can be loaded?

Also, how do they read the kernel space code? Userspace can't do this afaik. Do they load a custom kernel module to do this? Who says it can't just be replaced with a module that returns the "right" checksum?

[-] Vittelius@feddit.org 7 points 1 week ago

Here is the quote I paraphrased in my comment (I'm sure I got something wrong):

The immutable file system from Fedora Silverblue will be very helpful in implementing our anti cheat system but it is not our anti cheat system. We are planning to generate signatures for each version of our OS (easy with Silverblue) as well as all the DLLs we install dynamically. Basically using our SDK, a game developer will be able to obtain a signature of the current config on the device then call our backend to verify that this is a genuine Playtron version.

https://www.theverge.com/2024/3/19/24106356/playtron-explains-how-immutable-file-systems-are-not-but-could-help-with-linux-anti-cheat

[-] chellomere@lemmy.world 3 points 1 week ago* (last edited 1 week ago)

Ah, so they don't actually say that they read kernel space. They check the version of all installed packages and checksum the installed DLLs/SOs.

If the user still has root privileges, this may still not prevent sideloading of kernel modules. Even if it would detect a kernel module that has been sideloaded, I believe it's possible to write a kernel module that will still be resident after you unload it. This kernel module can then basically do anything without the knowledge of userspace. It could for example easily replace any code running in userspace, and their anticheat would miss that as it doesn't actually check what code is currently running. Most simply, code could be injected that skips the anticheat.

Of course, in their model, if a user isn't given root privileges it seems much harder to do anything, then probably the first thing you'd want to look for is a privilege escalation attack to obtain root privileges. This might not be that hard if they for example run Xorg as it isn't known to be the most secure - there's a reason there's a strong recommendation to not run any graphical UI on servers.

Another way if you don't have root is to simply run the code on a system that does but that does have such a kernel module - or perhaps modify the binary itself to skip the anticheat. I don't see anything preventing that in their scheme.

load more comments (3 replies)
load more comments (6 replies)
this post was submitted on 03 Sep 2024
515 points (98.5% liked)

Linux

47290 readers
1056 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS