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

3

u/AiwendilH Dec 21 '25

Maybe it could...this would need a lot deeper examining if an open-source anti-cheat can even work (and for sure far beyond my skillset and ring0 development knowledge). Would involve answering the question if you can make one kernel part assuredly be able to see everything another kernel part does even if that involves actively trying to hide what it does...and I am not sure you can guarantee that if both run at the same privilege level. So maybe we should start talking about hypervisor level anti-cheat! (sarcasm...not really wanting to give anyone ideas here ;))

What open-sourcing for sure does is making it a lot more complicated to even get started...no grace period until cheat developers discover some workarounds for the detection.

3

u/kansetsupanikku Dec 21 '25

How is this different from a "can kernel anti-cheat even work?" question, open source or not? And why would anti-cheat have to "hide what it does"?

But you might be on to something. Perhaps kernel level anti-cheat is never doing what it's supposed too, even on Windows - and compromising system integrity (in terms of managing user data and control) is the only point of that design.

1

u/AiwendilH Dec 21 '25

No difference at all. It's basically my point...I don't know if anti-cheat systems can be effective at all...or only delay/make it harder to cheat until someone figures out how the anti-cheat system works (Assuming cheats and anti-cheat have the same level of privileges). I haven't see anything that convinces me otherwise yet.

But if this is the case open-sourcing is no option as the secrecy is the only thing that makes creating cheats harder then.

1

u/Emotional-Energy6065 Dec 22 '25

Kernel Ac has to be above User space programs in order to work effectively - if it's in the same ring as a cheat the cheat can conceal itself.