71 points · by pozibrothers · 6y ago · 111 comments
these guys are pretty cavalier about shoving themselves into the kernel...
They don't think of themselves as guests who have the privilege of being installed on people's computers. They actually think they own our machines. In their opinion, the mere existence of cheats is an affront to their divine authority over our domains. To them, we are merely an adversary who must be attacked and defeated preemptively before we do something we aren't supposed to do. Our power, freedom and autonomy must be taken away for the sake of their security and the integrity of their video game.
This is unacceptable. Game companies don't get to decide what we can or can't do with our computers. Users are free and they own the machine. If they want to run client-side cheats, so be it. It's not like they're cracking and taking over the game company's servers. If they disrespect users by messing with their computers, they should not be surprised when users show them who's really in charge.
We have quality and trust issues with drivers written by hardware manufacturers and we're finally getting them to contribute free or open source versions. The situation is finally improving. Proprietary cheating prevention software is the last thing we need running in kernel mode right now.
Besides, the video games industry doesn't deserve our trust. For example, capcom.sys had privilege escalation as a feature:
https://twitter.com/TheWack0lian/status/779397840762245124/
https://www.theregister.co.uk/2016/09/23/capcom_street_fight...
The privacy policies and terms of service associated with existing cheating prevention software don't exactly inspire confidence either. They collect and transmit a lot of personal information and will even take screen shots. It's unwise to run this software in anything but a completely isolated environment, to say nothing of kernel mode. Unfortunately, the ability to run the game in a completely isolated and controlled environment is exactly what enables us to hack it and cheat. They're going to have to live with that.
It doesn't matter how bad the cheating gets. Sacrificing our computing freedom and privacy is simply not okay. These principles are far more important than having an online gaming experience that's free of cheaters. It is better to crack and remove the game's invasive modules than to let it run freely on our machines.
The truth is online multiplayer gaming is fundamentally broken. We're playing with strangers we don't know much less trust. We must play only with people we know personally and trust.
That said, the existence of cheaters is one of the big reasons why I don't play such games -- and that games include anticheating software is another one of the big reasons, equal to the existence of cheating in terms of how objectionable I find it.
From my point of view, this situation is nothing but a massive train wreck.
This doesn't work with all types of games obviously, and perhaps all online games from here on out will have kernel-level protection. In the meantime, I think we will keep running UT2004 in compatibility mode (or in my case, Wine).
I can play the UT2003 native version for linux just fine (doesn't seem to play nice with amdgpu, but the intel driver seems to be fine).
Regardless, it'll still run on modern systems if you acquire old libc binaries[1] (and preload them), use SDL 1.2 (possibly a patched version[2] which enables Alt+Tab) and start the game using aoss[3] for sound.
[1] https://www.unix-ag.uni-kl.de/~deusser/UT2004/
People should be playing online with others they personally know and trust.
- The percentage of people who want to cheat is not that high.
- Any cheat that spreads widely enough can be obtained by the developers and detected. Cheat developers can and do sell exclusive cheats to smaller groups of people, but fewer people using the cheat also means less disruption.
- With tactics like delayed ban waves, game developers can make cheating risky enough to create an effective deterrence, even if they don't actually catch all cheats.
- If all else fails, game developers can have players manually review other players' replays for cheating, like with Overwatch for CS:GO (not to be confused with Overwatch the game). So obvious cheating will be caught, and if people make their cheating non-obvious, well, that also makes it less likely to annoy other players.
These measures can't stop all cheating, but they don't have to; they just have to deter it enough that it doesn't unduly hamper most players' experiences. In practice, it seems like most games are able to accomplish this.
> We haven’t needed both arms yet, primarily because we have the advantage of steady paychecks and the lack of strict bedtimes at our immediate disposal. But as much as we might like the idea of an ever-escalating appsec war with teenagers,
And yet they fail to realize that they're playing in to the very cat-and-mouse game they deride. I can't wait until this escalates into "ok, well, now you need Intel TSX with Secure Enclave to verify that you're using the League video driver, and our proprietary USB dongle to play our game."
Spoilers: the teenagers will always win; you can never trust a client no matter how many technical barriers you erect. Look to the entire legacy of DRM for how this strategy has been tried and has failed. Server-side statistics are the only hope against serial cheaters - they're barking up the wrong tree here.
You don't even need a hypervisor to bypass this, just a driver that pretends to be their kernel driver.
Seriously, no voice chat after a decade because of "toxicity"?
This type of battle can't be won, but if you do it right, you can push most of the cheaters somewhere else. Of course, if you do it wrong, you push legitimate players out too.
I think if we accept sgx type technology onto our systems then they can at some stage win this battle, at least theoretically. This is assuming that the sgx-like tech cant be practicably attacked, which isnt currently a valid assumption but could, at least theoretically, be in the future.
This differs from non-hardware drm which is basically just obfuscation, and which the method they're currently describing is merely an extension of.
But, assuming you can't cheat on the system itself, you can probably cheat with the video/audio signal and generating USB inputs. It's harder than reading ram, but it's not feasible to stop it. At that point, you have to depend on behavioral targeting and what not (which they're already doing)
You could do DMA on the video-game memory, you could plug the monitor HDMI cable into a raspberry pi 5 or 6 camera input and do framebuffer based aimbot, you could stealthily modify the GPU drivers to give you data before some processing stages (you could probably do that without leaving anything in CPU RAM for too long), and so on.
If you're interested in the technical details you can read about it here:
https://www.unknowncheats.me/forum/overwatch/361279-pareidol...
A game fidling with the OS kernel ? Like, seriously ??
this was one reason I stopped gaming under Windows inside KVM (the main reason being input lag/jitter)
eventually all the cheats will move into the hypervisor and every competitive game will ban the use of virtualisation
Not to mention some people are creating FPGA boards that use DMA to read memory, something no one is setup to prevent (would require an IOMMU and an OS that bothered to configure it properly; also very difficult to differentiate legit cards from cheating cards and an area game developers have zero experience with right now).
Do you have any links handy where one could read more about this? I'm really curious about the kinds of projects people are doing which requires this kind of hardware.
There are ways to defeat the time measurement, but it gets complicated fast, and the counter-measure itself is trivial to detect.
and then there's the statistical methods (measuring anything that causes a VMEXIT is a good candidate)
modern OSes already support the IOMMU (macOS enables it on by default apparently), however outside of that hardware support is patchy at best
ultimately if they're trying to guard the top of the ladder (say the top 0.05%), they could demand you use a certain set of hardware, and the hardcore would put up with it
Although if you're trying to circumvent something in the kernel, using a Docker container isn't going to work. Docker containers share the host kernel.
If they want anti-cheats, let them develop AI that looks for non human and unnatural behavior on the server side. They should have no business snooping on the user, let alone having kernel access while doing it.
If you don't live in north america, you'll get redirected to a local subdomain and get a 404
Short of baking it directly into silicon clientside security is an oxymoron.
I do not think I will continue running their software on my machines.
Also, many other posters here have commented that kernel-level mitigations are futile in the face of hypervisor or hardware attacks. What's to stop me from altering system memory arbitrarily using a PCIe device I control externally? How would you even detect this from the perspective of the OS kernel? What if I compromise the private key in the game's network "security" layer and start reading & altering packets? Unless you 100% control the hardware (including mouse, keyboard and monitor, network, internet backbone, etc), you will always have this problem. The only way to have a cheat-proof gaming experience is to set up a LAN tournament and have all hardware provided to players (and even then, you should pour epoxy into the USB ports).
At some point you are going to have to start looking in other directions for solutions to this problem. I believe other games have started using statistical and machine learning systems to detect cheaters rather than trying to match arbitrary binary hashes on my machine (which is what I presume Riot is going to do here). I feel statistical soft-ban systems are a much more reasonable way to handle this problem than the 100% confirmed binary signature permaban systems that seem an obsessive fantasy for some in the industry. Statistical methods directly deal with the impact of the problem whereas perfect match only gets at one of an infinite number of possible causes.
The number of Linux gamers who can't/won't boot into Windows for a game is a tiny portion of an already tiny market.
https://www.phoronix.com/scan.php?page=news_item&px=Blizzard...
https://www.bleepingcomputer.com/news/gaming/linux-gamers-ba...
1. I'm reminded of the exploitability of the rootkits folded into games like MapleStory a few years ago. Anybody with the rootkits installed had kernel-level authority available for the taking. Unfortunately don't remember exact details, but my vague memory suggests this was unfixed for years.
2. Link-chaining a bit I got to https://www.youtube.com/watch?v=rj6ukLPiY10, "The Norwegian CS Cheating Scandal". I didn't watch the video but I did read the top comment, which rightfully highlighted the utter inability for software to detect cheating via DMA (in the noted case over PCI-e, but potentially theoretically doable over ThunderBolt and FireWire too).
Hopefully these rootkits are a bit better at doing one thing and doing it better than the iPhone SecureROM ;)
Most seem to not realize that poking PCI-e isn't that expensive, but thankfully the specialist reverse engineering skills required are still well outside the 14-year-old script kiddie attention span.
Cheat production is a very big and very profitable industry.
How about he just writes technically and lets reddit comments translate? I'm so sick of writers' concerns for illiterate proles (along with, in this case, a seeming need to maintain the energy and punch of a memetastic for-12-year-olds YouTuber) ruining perfectly good technical writing
Are physical threats what Hacker News is about now?
The ananlogies are horribly pained. It is an excess of empathy that ruins technical writing that could otherwise be quite rich with information. This attitude of writers having to do all the work needs to end; let the reader do some of it
edit- its reductivist to think that only SWEs would understand this stuff. Have you forgotten about the legions of IT professionals and computer nerds that many SWEs came from? The rich history of hacking, much of which this post laments? Or is that kind of nerditry simply unfashionable nowadays?
Not that I'm defending this crap, in my mind it's basically a rootkit that can snoop on anything in your system. Currently trying to figure out how to run games in a hypervisor.
This is you right now
https://www.reddit.com/r/playrust/comments/c8h81n/please_fac...
In all likelihood – unless these guys are uncharacteristically careful – it will stay there even when you are not playing and become an attack vector.
Might it be an attack vector even while the game is playing?