this post was submitted on 22 Jul 2024
197 points (97.6% liked)

Asklemmy

44128 readers
336 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy πŸ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 227 points 5 months ago (1 children)

Yup, kernel level "anti-cheat" is a rootkit spyware that "pinky swears" it's only spying for a good reason.

[–] [email protected] 83 points 5 months ago (1 children)
[–] [email protected] 127 points 5 months ago

Yes, works on the same layer.

[–] [email protected] 104 points 5 months ago (2 children)

Yes, and I've seen it happening. Usually it doesn't instantly brick every PC, but it can sometimes brick certain PCs with specific configurations. Then it will be silently patched without acknowledgement for the bug.

I've seen it mess with (and crash) graphics and network drivers, rendering PCs useless until forced reboot. It can also mess up other games, processes, and even updates.

People have been warning gamers about kernel level anticheats since they were introduced, because no userland code should run with that level of privileges, period. However, people still installed those games not really understanding the threat, and that's why we have so many games with a kernel anticheat.

[–] [email protected] 41 points 5 months ago* (last edited 5 months ago)

Helldivers 2 fucked my PC up after one of their updates in May. Game literally became unplayable and corrupted my Steam database twice (causing me to have to reinstall Steam both times).

In PVP games, I can sort of understand the players' desire to have a cheat free experience, but in purely PvE coop games, it really feels so pointless and is such overkill. Regardless, there are better ways to accomplish anticheat that don't involve gaining kernel level access. The risk isn't worth it.

[–] [email protected] 6 points 5 months ago (2 children)

Because without the software, we can't play online. Full stop. Valve has tried to find another way without it and VAC2, but they keep winning and Valve gave up (seriously, play CS2, they're everywhere)

[–] [email protected] 7 points 4 months ago

You don't give your house keys to your home security system provider. Giving kernel access to anything, even if it's for your own good, is dumb. People don't understand the risks that come with it. People just think what the companies tell them to think. As a matter of fact, there are still cheaters in valorant. Vanguard isn't perfect, it can still be bypassed. VAC works fine for what it is, and it could still be refined. It bans more people monthly than Vanguard.

The biggest reason for kernel level anticheats is your sweet sweet data and more control of your computer. You don't need them. We have been playing online games since the 90s, and none used kernel anticheats. It was never necessary to sell your computer to Tencent in order to play a game which, again, still has cheaters.

load more comments (1 replies)
[–] [email protected] 104 points 5 months ago (1 children)
[–] [email protected] 76 points 5 months ago (1 children)

Yeah really not much else needed to be said here. What happened with Crowdstrike is exactly the sort of exploit Kernel Level Anti-Cheat in general has been critized for enabling on consumer hardware.

[–] [email protected] 24 points 5 months ago

And why most Linux users would rather not play these games than allow that garbage on our PCs.

[–] [email protected] 72 points 5 months ago (2 children)

Pro tip: don't install rootkits.

[–] [email protected] 20 points 5 months ago (1 children)

That unfortunately means, you can't play a lot of games. And for most people it's practically unknowable what the installer is doing, they don't expect a game to nuke their computer.

There needs to be accountability and a certain level of trust. Microsoft shouldn't allow kernel drivers for crap like anti cheat.

[–] [email protected] 14 points 5 months ago (1 children)

Yet another reason to use Linux. You don't have to know weather the installer comes with a root kit, the installer will just fail 😎

[–] [email protected] 3 points 5 months ago

That's... not remotely true? Linux can absolutely install kernel drivers. If you mean running windows games under wine then sure, but then we're no longer talking apples:apples. You could do the same thing on windows by running a game in a VM.

[–] [email protected] 5 points 5 months ago* (last edited 5 months ago)

Things we didn't think we'd have to tell people in the future.

[–] [email protected] 67 points 5 months ago

I'm far from an expert, but Vanguard is a kernel-level program. If a kernel-level program crashed, the whole system crashes. So yes, any kernel-level program could do the same thing CrowdStrike did, intentionally or not.

Kernel-level programs can do whatever the hell they want.

[–] [email protected] 52 points 5 months ago* (last edited 5 months ago) (2 children)

It's also potentially a infiltration vector for malicious activity.

Genshin impacts anti-cheat has been used to enable ransomware taking over windows computers, and you don't even need to have Genshin installed.

It was a danger to all windows users just by existing, because the ransomware just came with the genshin anti-cheat, which it would install on its own. Because it was a "verified" piece of software windows would just go "oh ok seems cool, go right ahead" and the ransomware would gain complete control of the system through the anti-cheat.

load more comments (2 replies)
[–] [email protected] 43 points 5 months ago

Yes, the key difference being that nobody’s playing Valorant on airport displays. Just yesterday I installed a new early access game for two accounts at home and discovered that it just wouldn’t work with the non-admin account because of anti-cheat. All of this is making me consider going back to running games under flatpak.

[–] Piatro 38 points 5 months ago (2 children)

Helldivers 2 does the same thing. If this continues it will be extremely advisable to move any non-gaming use-cases to a different computer as you have no idea what the "anti-cheat" is doing with that level of authority over your computer.

[–] [email protected] 25 points 5 months ago (1 children)

Or just dont buy those games.

[–] Piatro 8 points 5 months ago (3 children)

That works until all* games come with root level anti cheat. It was the same with micro transactions which people still defend despite being utter shit.

  • Realistically this will never be 100% but it will be enough of the mass market AAA games like CoD etc to mean that if you functionally want to play a game made in the last X number of years you will need to accept this or stop playing games altogether. I think most people will continue to play games. Most people will continue to install root level anti cheat, knowingly or otherwise, and all of them will get fucked by an exploit of that software. They may never even know about it.
[–] [email protected] 4 points 5 months ago

This is pretty much what I’m afraid of. Even my knowledgeable friends dismissed the implications of a root kit so they could play Helldivers. Like 2 months later and they’re sick of it, and the damage is done. That game was a massive success despite what should have stopped everyone in their tracks.

[–] [email protected] 3 points 5 months ago

That's why piracy must continue, pirates cracking can just extend to pulling those pesky anticheats out of the single player games.

load more comments (1 replies)
[–] [email protected] 11 points 5 months ago (1 children)

I play HD2 under proton. Even if there is a rootkit, it's sandboxed.

[–] [email protected] 7 points 5 months ago (1 children)

Proton is not actually sandboxed the way an actual container is.

A) if the program running in proton was given root access in some way, say by tricking people into entering their root password for a claimed update, it would have complete normal control of your entire system just like normal.

B)apps running in proton still have access to the regular file system.

Wine isn't an emulator or a vm.

load more comments (1 replies)
[–] [email protected] 35 points 5 months ago (1 children)

I'm less worried about bugs causing boot loops with these kernel anti cheats and more worried about security holes.

I'm sure they test these things thoroughly though and take security extremely seriously.... right?

load more comments (1 replies)
[–] [email protected] 19 points 5 months ago (7 children)

Preface: I'm not an expert in this yet but I'm pretty interested in learning about systems-level topics so if I'm wrong please correct me!

Yes, the thing about anticheats and anti viruses is that they are only useful when they have access to the underlying resources that a virus or cheat engine might try to modify. In other words, if cheating software is going to use kernel-level access to modify the game, then an anticheat would also need kernel-level access to find that software. It very quickly became an arms race to the lowest level of your computer. It's the same with anti viruses.

IMO the better strategy would be to do verification on a server level, but that probably wouldn't be able to catch a lot of cheats like wall hacks or player outlines. At some point you just have to accept that some cheaters are going to get through and you'll have to rely on a user-reporting system to get cheaters because there will always be a way to get past the anticheats and installing a separate rootkit for each game isn't exactly a great idea.

[–] [email protected] 4 points 4 months ago (1 children)

One Minecraft server I played on installed a program for blocking x-ray hackers (a type of hack that lets you see valuable ores through walls so you know exactly where to mine).

The anti-xray mod worked by reporting to the user that the blocks behind a wall are a jumble of completely random blocks, preventing X-ray from revealing anything meaningful.

This mod resulted in massive lag, because when you are mining, every time you break a block, the server now needs to report that the blocks behind it are now something different. It basically made the game unplayable.

The server removed the mod and switched to having moderators use a different type of x-ray mod to look at the paths people mine in the ground. Those using x-ray hacks would have very suspicious looking mines, digging directly from one vein to another, resulting in erratic caves. Normal mining results in more regular patterns, like long straight lines or grids, where the strat is to reveal all blocks in an area while breaking as few as possible.

Once moderators started banning people with suspicious mining patterns, hacking basically stopped.

It’s possible to still hack and avoid the mods in this kind of system by making your mines deliberately look like legitimate patterns, but then the hacker is at best only slightly more efficient than a non-hacker would be.

[–] [email protected] 3 points 4 months ago

That's kind of my point with hacks like player highlighting, I feel like a good user-reporting system would get us a lot of the way there. E.g. If someone is using see through wall hacks in an FPS I feel like it would be pretty obvious for other players to tell in a lot of cases. Other times things like erratic movements from aimbots could probably be detected by the server.

[–] [email protected] 4 points 4 months ago (2 children)

They do do a lot of verification on the server side. Since unreal introduced their server-side-lagged-approval networking model, all local movement and most shooting can be retracted by the server.

But what a ring 0 level driver is looking for is other software, like aimbots, modified assets (transparent walls, custom shaders etc) etc. To be able to detect all that it needs to be level 0.

What I would trust more is if Microsoft acquired one of these companies and worked across the industry to root cheating out. Giving some random company ring 0 access feels completely off to me.

load more comments (2 replies)
load more comments (5 replies)
[–] [email protected] 17 points 5 months ago* (last edited 5 months ago) (1 children)

It has comparable access, yes, ~~but assuming no malicious intentions, it's extremely unlikely that they achieve something as catastrophic.~~

~~If they fucked up in a similar fashion, that would cause your PC to bluescreen, too, but since League does not start up during boot, you could still use your PC, just not League.~~

Nope.

[–] [email protected] 36 points 5 months ago (2 children)

Vanguard doesn't care if LoL or valorant or any other game is running. Vanguard is in your kernel and will be starting regardless.

[–] [email protected] 18 points 5 months ago (4 children)

This is correct, as in windows a driver is the most straightforward method to runlevel0 access. It absolutely could at any time do exactly what crowdstrike did. But also so could Nvidia/amd with GPU drivers, your motherboard manufacturer with chipset and RGB drivers, etc. it's not quite the smoking gun people make it out to be, as there are a lot of legitimate reasons to have this kind of system access.

The egregious part was that crowdstrike users agreed to allow a vendor to bypass canary channels and deploy straight to their endpoints.

[–] [email protected] 7 points 5 months ago* (last edited 5 months ago) (2 children)

And that's the problem, like CrowdStrike Vanguard will update itself in the background unlike your GPU driver which you need to go through an update process explicitly, so if the same thing happens where they pushed a bad update, the same outcome of causing failed boots without prompt could happen.

load more comments (2 replies)
load more comments (3 replies)
[–] [email protected] 6 points 5 months ago* (last edited 5 months ago)

Huh, seems like you're right:

Riot Vanguard is an on-boot application. That means if you do choose to disable it and later decide you’d like to play VALORANT, you will have to restart your computer.

https://support-valorant.riotgames.com/hc/en-us/articles/360046160933-What-is-Vanguard

I guess, it's only user-space drivers which Windows can load at runtime then?
At least, I'm hoping that's a technical limitation of Windows. Otherwise, this is fucking stupid.

Well, it always is fucking stupid, but it would be even more so.

[–] [email protected] 16 points 4 months ago (2 children)

It is a bit complicated. Any kernel level program that crashes will cause the entire operating system to crash. But it won't cause the system to continuously blue screen because it isn't a required program in the way that crowdstrike was.

Crowdstrike is basically an antivirus program so it has to run when the operating system starts up and if it isn't running then the operating system should not boot for safety reasons. The problem is that if it must be loaded, and it has a crash, then it loads and kills the system. So you get an infinite loop you cannot get out of.

Vanguard only has to run when you're playing online though, so it's not loaded when the system runs, or at least it doesn't have to be. So it won't cause a recurring boot loop. It might fail to load and you wouldn't be able to play online games that require it until they fix it, but it isn't going to prevent the computer from running.

[–] [email protected] 14 points 4 months ago (1 children)

I could be wrong but I think it runs on boot. So it would loop into bsod.

load more comments (1 replies)
[–] [email protected] 6 points 4 months ago (2 children)

Wait, wasn’t Vanguard coming in form of a driver? I don’t use Windows and don’t play games with intrusive software requirements, but I believe I saw someone installing it and showing how it works on YouTube, and if I don’t misremember it, it was in fact a virtual device driver, not just a fully privileged process.

load more comments (2 replies)
[–] [email protected] 11 points 5 months ago* (last edited 5 months ago) (2 children)

Theoretically it should only be running during gameplay, and that's probably true as I'm sure security researchers would've pointed it out if games installed a persistently running rootkit. So it's different than Crowdstrike which was running immediately from boot.

So there is that, if it caused your PC to crash it should be fine after reboot. The driver has God power though as far as your PC goes so if it was the point of entry for a malicious attack you could be really screwed.

Edit: apparently I'm wrong and it runs all the time what the fuck

[–] [email protected] 25 points 5 months ago (1 children)

Vanguard is always running at all times.

Honestly no idea why it isn't considered malware.

load more comments (1 replies)
[–] [email protected] 11 points 5 months ago

It runs all the time and launches during boot. A ring0 anticheat that only runs while the game is running would be even more pointless

load more comments
view more: next β€Ί