News for hackers. Stuff that matters.
Re:Steam games will need to disclose kernel-level anti-cheat... by tapoxi on Wednesday October 30, 2024 @05:07PM (#42000317)
I mean, they're not rootkits. Rootkits are either to gain root access (thus the name) or to hide something from a user. Anticheats don't do either of these.

They expose a kernel API to allow games to verify the state of the system, and they're knowingly installed by the user.

Re:Steam games will need to disclose kernel-level anti-cheat... by bigstrat2003 on Wednesday October 30, 2024 @05:25PM (#42000540)
> They expose a kernel API to allow games to verify the state of the system

And that API has root access... thus it's a rootkit.

Re:Steam games will need to disclose kernel-level anti-cheat... by tapoxi on Wednesday October 30, 2024 @05:59PM (#42000909)
The API doesn't provide root access, it's typically a simple "is this game running in a secure environment" read API.

I really hate "it's a rootkit!" posts like this because it diminishes the severity of actual rootkits.

Re:Steam games will need to disclose kernel-level anti-cheat... by bigstrat2003 on Wednesday October 30, 2024 @06:08PM (#42001002)
Can you please clarify how an API which runs in the kernel does not have root access? Because I don't believe that's possible, but perhaps I'm wrong.
Re:Steam games will need to disclose kernel-level anti-cheat... by AlotOfReading on Wednesday October 30, 2024 @06:25PM (#42001179)
That's the promise of eBPF.
Re:Steam games will need to disclose kernel-level anti-cheat... by coretx on Wednesday October 30, 2024 @07:51PM (#42001917)
I'm already counting down the days for eBPF to blow up in our face. But admittedly, it's the cheapest way of gaining more capabilities and privileges than you need, thus it's here to stay.
Re:Steam games will need to disclose kernel-level anti-cheat... by odo1242 on Wednesday October 30, 2024 @09:14PM (#42002410)
The API itself has root access, but does not give user space root access, is what I think the commenter is trying to say.
Re:Steam games will need to disclose kernel-level anti-cheat... by brokenmachine on Wednesday October 30, 2024 @06:10PM (#42001025)
How do you think it is able to tell if the game is "running in a secure environment" without having root access itself?
Re:Steam games will need to disclose kernel-level anti-cheat... by jolmg on Wednesday October 30, 2024 @05:08PM (#42000323)
> They expose a kernel API to allow games to verify the state of the system, and they're knowingly installed by the user.

Can you give examples of games where you do that?

Re:Steam games will need to disclose kernel-level anti-cheat... by billyoyo on Wednesday October 30, 2024 @05:25PM (#42000544)
Riot games use theirs (Vanguard) to improve detection of cheating software. basically the idea is by being on from the moment the computer is booted up it can validate the environment better.

Here's a recent blog post by riot detailing their recent deployment of the system for league of legends, the biggest online multiplayer game in the world

https://www.leagueoflegends.com/en-gb/news/dev/dev-vanguard-...

towards the end it talks about how and why it works

Re:Steam games will need to disclose kernel-level anti-cheat... by lomase on Wednesday October 30, 2024 @06:11PM (#42001031)
The thing is the Kernel does not have that API.

The real solution, and not the hack Riot uses, is for Kernel to provide an API for anticheats, like it does for everything useland.

Re:Steam games will need to disclose kernel-level anti-cheat... by davrosthedalek on Wednesday October 30, 2024 @10:38PM (#42002909)
That's not really possible as long as the kernel allows the loading of arbitrary user-provided modules. Because the cheater will certainly run the cheat that requires kernel mode. If it's run in kernel mode, the API call can be intercepted.

How does the anticheat then work? Corewars. It's a cat and mouse game between the cheat provider and the game developer.

One would need a secure base layer, where also the MS anti-cheat lives, and all drivers can only run in a layer between this base layer and userland. I think that's already done for most of the graphics stack.

On the other hand, I am not convinced I want a system where I cannot load arbitrary kernel mode code if I choose to do so.

Re:Steam games will need to disclose kernel-level anti-cheat... by Hikikomori on Thursday October 31, 2024 @11:27AM (#42007865)
Windows only loads arbitrary modules if you enable some debug mode no? If not they need to be signed. But not a big hoop for cheat developers, they can get an EV cert to sign their own cheat kernel module or abuse a vulnerable kernel module.