r/linuxquestions • • Dec 21 '25

Why don't kernel level anti-cheats exist on linux?

Its my understanding that programs can get access to kernel space by installing themselves as drivers (makes sense, actual drivers likely require the privilege to control hardware) - I'm assuming drivers on linux also have access to kernel space - so why cant an anti-cheat just install itself as a driver, in the same way it does on windows? Just curious about the inner workings

347 Upvotes

193 comments sorted by

View all comments

Show parent comment

193

u/PassionGlobal Dec 21 '25

This. In addition, the Linux community is OVERWHELMINGLY against kernel level anti cheat. And the setup of Linux is heavily against closed-source kernel modules in general, to the point where they make things rather difficult for those that go that way. Nvidia was just about tolerated up until they they moved their closed source parts into the firmware of their cards.

78

u/Saragon4005 Dec 21 '25

Anyone who knows what a kernel is wants to keep software companies out of that as much as possible. The majority of Linux users know what the kernel is.

53

u/DerekB52 Dec 21 '25

Microsoft has been hardening the Windows kernel and working toward getting 3rd parties out of the kernel. They want more stuff running in userland. Kernel anti cheat will be killed by Microsoft before Linux implements it.

Nobody wants this around.

39

u/Appropriate_Ant_4629 Dec 21 '25 edited Dec 21 '25

Perhaps motivated whenever CrowdStrike's enterprise-level anti-cheat effectively does a kernel-level DDOS on all their customers.

Why Microsoft ever gave them that level of access was insane.

7

u/spiralenator Dec 21 '25

Why would the company that takes screenshots of user's desktop and sends it over the internet without consent ever allow that?!?!

19

u/basemodel Dec 21 '25

I'm no fan of CrowdStrike or Microsoft at all, but Microsoft didn't 'give' them anything, they had to do it because, ironically, in Windows kernel-level access is required for security products to keep it well, secure. This is partly because the API's they need simply aren't available in user-space, but mostly due to Win architecture. I dislike CS as much as the next guy (my team fixed 1200+ servers on July 19th '24) but it's Microsoft's fault for sure, and they'll tell you the same.

8

u/InvisibleTextArea Dec 22 '25

With the windows OS we have done this before with the graphics subsystem. NT4 never fell over because graphics drivers were in user space. Windows 95/98/ME allowed kernel level graphics drivers and they were an unstable mess.

Yet somehow we are doing this again.

→ More replies (1)
→ More replies (3)
→ More replies (1)

5

u/LittlestWarrior Dec 21 '25

I worry that if Microsoft did that, their solution would somehow continue to keep Linux users from playing these games.

6

u/Simple_Project4605 Dec 21 '25

Of course it would. Like the parent poster said, you need full trust chain to the OS manufacturer, which you will never get with Linux.

Anticheat on an open OS like Linux will just fundamentally not ever work. You either eat the cheats if you’re a smaller game developer, or if you’re somebody like Activision, you’ll just support special BSD and Linuxes with full trust chain - like PlaystationOS, SwitchOS, Android, iOS, and generally stuff that’s locked down.

Even Valve’s flavour won’t work due to the ability to sideload kernels (i.e., it’s not locked down enough).

5

u/Swagigi Dec 22 '25

if we had community hosted servers with harsh ban conditions I feel like cheating would be way less successful, which would lessen the need to anti-cheat at all

2

u/RiverRattus Dec 23 '25

You clearly have never been admin abused. Any game that relies on private server to moderate the game always has rampant admin abusers. This happens because the server owner has access to moderation tools that are effectively cheats and nobody pays to host a server that they are not going to play on themselves. People that do this are generally degenerate losers looking to power trip In their own little world. When it happens to you ya quickly realize it’s actually worse than “regular” cheating because there is zero actual recourse. Game devs will never do anything about this. Fuck that noise

2

u/Swagigi Dec 23 '25

I hadn't considered that, but if you have any old spare computer it can't be that hard to spin up a server that can handle a couple dozen/a hundred people on it, no?

It being decentralized from the devs means a bad server admin can be avoided by playing on a different server, or even a private one that is specifically only a subsection of the community that personally knows/trusts each other.

→ More replies (5)

4

u/aldi-trash-panda Dec 22 '25

I would dual boot a locked down kernel to play certain games. I'd rather that then get on Windows ever again.

2

u/Moonl1ghter Dec 22 '25

Aa long as the kernel is not ancient, you can just load your default is with it :). Nothing prevents you from having multiple kernels.

2

u/Celestial_Nuthawk Dec 23 '25

I mean, yeah, that's definitely better than Windows, but we shouldn't have to dual-boot just to play certain games. And locking things like that stifles innovation.

→ More replies (1)
→ More replies (1)

4

u/DerekB52 Dec 21 '25

I don't worry about it too much, since we already can't play these games on Linux. But, I think it will be hard for a new solution to be as impossible as Kernel EAC is now. They want to find a userland way to make this work. And we can replicate userland stuff thanks to WINE.

What I'm rooting for is the death of EAC programs in general though, and just have that stuff moved to authoritative game servers. Then Linux users will be allowed to play everything.

4

u/LittlestWarrior Dec 21 '25

That's certainly what I am hoping for. I have been absolutely dogpiled on r/linux_gaming for saying this, but I stick on Windows for COD: Zombies and Fortnite. Both require kernel level anticheat and secure boot. I hate Windows! I prefer Linux! But I don't want to give up those games, because then my gaming computer wouldn't really have much of a purpose. I am just hoping that I will eventually be able to play those games on Linux.

2

u/DerekB52 Dec 21 '25

The only game I haven't gotten working in Linux is DB FighterZ. I own a PS4, so I just bought the game a second time to ditch windows.

→ More replies (3)
→ More replies (2)
→ More replies (4)

2

u/quiet0n3 Dec 21 '25

The Linux kernel devs would rage at the idea of an anti cheat module because of how it would interact with user space.

3

u/Appropriate_Ant_4629 Dec 21 '25 edited Dec 21 '25

Linux community is OVERWHELMINGLY against kernel level anti cheat

Tivo was essentially bootloader+kernel level anti-cheat, and one notable key kernel dev liked it so much he opposed closing that loophole.

2

u/MrChicken_69 Dec 21 '25

Tivo was basically just "secure boot"... the BIOS checks the crypto checksum of the kernel and ramdisk and refuses to boot unsigned, or improperly signed versions. The ramdisk then checks everything on disk... The "closed source" things were NOT the kernel. ('tho there is a massive kernel module for all the special hardware in the box... the "tivo asic", MPEG hardware, tuners, etc., etc., etc., etc.)

3

u/gnufan Dec 21 '25

I think the community is anti closed source kernel modules.

You could do an open source reporting module, that sends telemetry, and keep the secret detection logic in user space proprietary code or the cloud.

It might even be able to use existing kernel modules and tools, Linux has entire auditing system.

The real issue is diversity. Whatever Windows anti-cheat costs, it is going to be a similar order of magnitude, with extra work per distro (at least where they are significantly different). So you could spend 2 or 3 times as much for a less good anti-cheat system, for a fraction of the users. You could probably do a user space fudge, that spots some cheating nearly as effectively, and is cross platform.

Also there will be more knowledge to work around it, as every linux user is one command away from having all the tools they need to develop subverting tools, and likely has all the source code of everything involved on the kernel side.

1

u/Hour-Performer-6148 Dec 22 '25

You mistake the 1% vocal minority on Reddit with the general Linux community. Nobody cares about it that much

2

u/PassionGlobal Dec 22 '25

Think you'll find they do. And it's not just Reddit people, the kernel maintainers, aka the people that develop the kernel, are like this as well.

1

u/placid-gradient Dec 22 '25

I can understand why they would be against it but I'm not sure what the alternative is, just accept cheaters in games?

→ More replies (2)
→ More replies (4)