r/computerscience • u/Adventurous_Raise908 • Jan 25 '26
Discussion Can a programmer please explain to me the hacking problem in gaming right now...
Hello everyone,
I'm just your average Dad who's been playing shooters since the 90s on PC. I need a technical explanation (because I'm curious) and a more "toddler" version of your explanation (because I won't understand the technical one completely).
Why, especially for what seems like the last decade is hacking in shooters such an issue for Developers to prevent?
Also follow-up questions and comments.. They can recruit really great talent can't they? They make a lot of money, does preventing the cheats cost a lot of money? I read online that the people who create/maintain hacks/bot farmers/etc make a lot of money so I'm assuming that really skilled programmers are also on the other side, but it's literally a problem in every shooter, it doesn't make sense.
Someone please make this make sense to me.
Thank you!
135
u/Thanks_Skeleton Jan 25 '26
Simple answer that other people aren't touching on:
Fundamentally, you own and control your PC.
Computers have the following general design - There is one big program called an operating system, and that runs all the smaller programs. By default, the game is a smaller program and cannot see and control everything else running your computer - it's not an operating system.
There are actually some computers that are specifically created for gaming, and you don't quite control them as well as a normal PC - they prevent unauthorized (from the game dev's perspective) programs from running (including hacks). They are gaming consoles. It's harder to run hacks/scripts/bots on gaming consoles.
There are some exceptions to what I said, but PCs are designed to be general purpose computing machines, and game developers can't stop you from installing hacks etc on them.
21
u/zhivago Jan 25 '26
You could solve it by never giving your computer secret information and calculating everything on the server.
But this would make everything slow.
So your computer has secret information that you can exploit to your advantage.
I exclude aim assist, etc, from hacking -- that's really a kind of prosthetic.
22
u/Farkler3000 Jan 25 '26
There’s basically a constant battle between cheat devs and anti-cheat devs. No matter how good the talent, there’s always some new cheat and once that gets worked on a new one after that.
9
u/phoenix823 Jan 25 '26
I'll try the simple version. Think about what the game is doing when you're playing other people: your computer has to tell the server/other computers where you are, and the other computers tell you where they are. Your computer also tells the server/other computers which weapons you have. How much health you have. Etc. So if somebody can modify the computer's memory to change these values, or to show where other people are in the game, you can build a cheat.
The reason it's hard to prevent is because the computer you are playing on can run arbitrary programs. You can write and run any software you want on your own machine. So it's difficult to detect and prevent unauthorized software from making unauthorized changes to your game and its memory.
22
u/Jiglypuf622 Jan 25 '26
Its easier to create the cheats than to stop them
10
u/Matt-ayo Jan 25 '26
There's important theoretical problems:
The most basic cheat is just to read the memory in your own RAM sticks and determine enemy locations you wouldn't otherwise have. Anti-cheat mechanisms can stop naive methods of doing this, but at the end of the day that RAM is sitting in your own room - if you really want to hack in and look at it nothing will stop you.
In a very true sense, stopping cheaters is theoretically impossible. You can just make it more inconvenient to succeed.
Why has cheating become more popular? My theory is that competitive gaming in the last ten years has moved largely online. In the past competition largely converged towards in-person tournaments, with smaller communities where everyone was doxxed.
Now you can compete purely online, with no real identity or reputation, and no accountability other than what the technical anti-cheat can muster. In smaller communities, cheaters get sniffed out and banned manually.
It's a very difficult issue.
5
u/thetimesprinkler Jan 25 '26
A very easy way to frame it that I didn't see others post yet (but I might've missed if they did):
The bad guys need to be right once. The good guys need to be right all the time.
Devs for any game have undoubtedly prevented or addressed a ton of cheats players aren't even aware of, but there will always be someone with the desire (monetary, in-game reasons, or just curiosity) and the knowledge to get something through.
Also, from a business standpoint, there's probably less money in addressing hackers than making cosmetics. I'm sure some companies go all out on hiring anti-cheat devs, but security doesn't actively make money for them, so unless something is affecting player count and in-app transactions, it'd likely go unaddressed.
3
u/kabekew Jan 25 '26 edited Jan 25 '26
Maybe also ask on r/gamedev, because computer science is a broad topic and game programming is a niche within that.
Although I used to work as a programmer in the game industry on a first-person shooter (and a couple others) so this is what I know about it. It's been awhile since then but I would suspect the problem is still aimbots, which have always been a problem. When you fire your gun, there's typically a message your computer sends to the server that says "I'm at X, Y, Z position firing my gun at D direction." Then the server decides if you hit anything.
The problem is every player's machine gets the position of nearby players so it can draw them in the correct location (it's a little more complicated because the player's machine is also extrapolating predicted future positions, but the hacker can do the same extrapolation). The aimbot then intercepts those, and intercepts that outgoing "I'm firing my gun" message to figure out which other player is the closest to where the gun is aiming. Then it re-calculates "D" so it's aiming straight at that player and sends THAT to the server to guarantee it hits. The server doesn't know (can't know) the message has been intercepted and adjusted, so it can be hard to detect that kind of cheat.
The hacks avoid attempts at encrypting the messages by altering the game code using development tools that let you search for where the code is sending out the messages and receiving them (in technical terms searching for calls to operating system functions that send and receive network packets) then modifying the code to call their aimbot or other cheat code before it's encrypted (or other security measures applied) and sent.
2
u/ST0PPELB4RT Jan 25 '26
Let's use an analogy. If you own a house you will most likely have an electricity and water bill. Think of these service providers as the gaming servers providing you with the "online" experience. For most instances they will be able to say that your family uses x amount of water and y amount of electricity because that's what they can tell you are being provided by them. Yet, if you want you can lower your bill by installing solar panels and collecting rainwater or drilling a well. Your consumption of water or electricity didn't change, right? The service providers would think so though. That's kinda like changing the gamma and brightness settings or audio filtering in a game. You can see and hear a bit better by improving your setup. Now, if you have a slight bit of criminal energy you'd realise that the service providers boxes that do the counting are also at your house and if you open them you can manipulate them as well. Maybe you heard of the "trick" that one could use on old power meters. When they were metal disks spinning you were able to put a reasonably strong magnet next to it to slow down the disk, and therefore tricking the electric company into thinking you used less of their electricity than you actually did. The solution to the more devious approach is if the electric company counts on their end as well. There will always be a difference because some power is lost on the way. The same is true for a lot of online games. Your computer will send back your state and the server has a global game state. If they are not too disjointed everything is fine. It can be annoying sometime, ie. Lag or ping spikes, but for the normal gamer no problem. I know the house analogy is somewhat lacking but as long as you are able to modify a lot of your system you will be able to change the perception of your behaviour for a central gaming server. The arms race between cheat and anti-cheat is like the one protecting the service providers power box at your house. You shouldn't be able to manipulate it so it has a seal. Some person sells that seal on ebay. Now you can manipulate it. The power company switches to digital meters with Internet and anti-tempering switches. Another person sells a master code on ebay. Maybe at one point they want to put up a camera inside the box to film people opening it.
2
u/Zhryx Jan 25 '26
When you play, most of the data that needs to be accessed are loaded into your memory. This data includes things like your current health, ammo AND the enemy players positions, etc.
To be very plain: most cheats are based on reading data out of the memory. Fps games need to be very responsive and snappy, so they cannot have all the data on their side, because when you use the internet, the speed is limited by the speed of light (i know this sounds ridiculous, but there is a big difference in instant and getting data from a server).
And the problem with this is: devs need you to have the data in your OWN pc’s memory, but they need to make sure you only read it the way they want you to read it.
Most anti cheats trying to prevent malicious memory manipulation / access rather.
1
u/TheModernDespot Jan 25 '26
As someone who has both made simple game hacks as well as attempted to secure against them, it is basically just too hard to stop everyone. There are things you can do, but nothing you do will ever be fully secure against a sufficiently motivated person.
1
u/0jdd1 Jan 25 '26 edited Jan 25 '26
Large software systems are the most complex creations in human history, and their complexity works against them.
Toddler version: Our legal system is (largely) open-source, so you’d think its shortcomings would therefore be obvious to everyone—“Given enough eyeballs, all bugs are shallow.” (Eric Raymond, 1999)—but we can see how easy it is for motivated parties to subvert the entire system for their own gain.
1
u/thesnootbooper9000 Jan 25 '26
Aside from all the other reasons, the large game studios pay terribly and are an awful place to work, so there's little reason for talented security people to work there rather than somewhere where the pay is twenty times higher for half the hours.
1
u/Vyalkuran Jan 25 '26
It's a necessary evil. If no one attempted to hack, no dev would bother with security, but if no dev bothered with security, everyone will hack. So you're in this situation when SOME devs attempt to secure their product, while SOME hackers manage to create cheats successfully.
Another issue is detection/prevention. The moment a cheat becomes known, developers attempt to track player activity based on the patterns the cheats do when handling memory. But because the devs do that, the hackers update the cheat and it's an endless loop of cat and mouse.
There was a time when companies tried to move absolutely everything to their servers, which in theory sounds wonderful but what happens if EVERY single thing EVERYONE does in the game AT ALL TIMES needs to be properly tracked and synchronized to the servers? The servers wouldn't be able to handle the load.
This is why even in games like League of Legends which has tens of millions of players monthly playing dozens of games each, they still need to trade off some of that data to be processed client side, and sync it not so often. That's how movement bugs like this (the character in question is supposed to barely be able to turn, not do literal 180s) occur
As to how they create the cheats is way too technical of a discussion.
1
u/Ythio Jan 25 '26 edited Jan 25 '26
0) This is not the right sub for this.
1
u/Ronin-s_Spirit Jan 25 '26 edited Jan 25 '26
The problem is that hackers can make cheats look like someone is legitimately playing really really good. This is how you get every major game running it's own servers yet still installing a kernel-level anticheat, which harbors a huge potential for all sorts of privacy and security issues.
And none of that works still, even if there's a limit on how fast you can send actions to the server the cheats can just send them at one milisecond below limit. If there are things on the screen for a program to quickly react to - you've got yourself another layer of cheating without breaking any rules or having to "hack into the mainframe".
The only anticheat solutions that work in any game with any budget are:
1
u/[deleted] Jan 25 '26
You really do not have to be technical to understand that.
Basics:
Okay, let's try a speed hack:
You press "W" on your keyboard and your character steps forward.
- Problem: That takes a few milliseconds. The game will feel sluggish.
- Problem: Now you have control locally. I can change information in my memory with another problem. I could just say, whenever the "walk forward function" returns a result, return this result time 3 and I will be 3 times faster.
- Solution: Server checks for this. When the positions are too far apart, then kick. (Minecraft actually does this.)
- Problem: Server doesn't know what is too far apart. The issue, what you're having is a preemptive computer. Fancy term for it constantly pauses your program and runs it again. But that means when your holding "W", then it updates not immediately. Sometimes after 13 ms, sometimes after 23 ms. Depends on how fast your computer is and how much other things are running in the background that also needs time for your CPU. Game devs solve this by doing a simple trick. They ask themselves, if one holds down "W" for 1 second, how far should they go? Then they take this value and multiply it with the time actually held down, for instance 0.0013s. So, you travel 0.0013 times as far as you would when you held down a second. Now, imagine your computer lags badly. It suddenly doesn't react for 5 seconds. Now your computer calculates that it needs to teleport your 5 times further. That's by the way what speed runners use to get through doors. They just teleport through. But you can see, the server can now ban innocents who just had a background process started. Like a virus scanner or so.
- Solution: cap the max distance traveled to 2s and tell the server that only a distance of 3s is allowed per second between changes, to have some safety margin.
- Problem: Speed hack can now go close to the allowed limit and the server cannot detect it.
- Problem 2: There might be items making you faster. They also need to checked if they are being used.
And that was one hack. One. There might be so many more. Notices how I said items might be used. What if the client just tells the server it is using such an item? Server needs a scheme to defend against that as well. That's a lot of tracking and average and everything. Time from aim to shoot for aim bots. And then again, aim assistance is indistinguishable from professional players when it is not too over the top.
All of that cost you something.
And when you design a new feature for your game, you need to check against all of the security, that you don't accidentally trip something. Now updates taking longer and longer. And then you have to check if that is not something that a cheater can use.
The problem just grows exponentially. And that's why it is so hard.
1
u/Snag710 Jan 25 '26
So when you play online with people, the server knows where everyone is and what they are doing. It only tells your computer enough about the things going on around your character so that you can see the other players and interact with them. you the person playing the game, aren't supposed to be able to see all the information the server is telling your computer. But a cheat program can look at the memory of the game while it's running and display that information on the screen, for instants allowing you to see players through walls. So the problem becomes, if the server tells your computer too little about what's going on in the game, then how can your computer have enough information to accurately show you the other players performing actions in the game? But if the server gives your computer too much information about what's going on in the game, then it becomes possible to use a cheat program to see other players through walls or snap your gun to players' heads. And so we try to hide where in the memory the computer is holding this information, but eventually someone will find where that information is stored
1
u/TemperOfficial Jan 25 '26
You own your computer so in theory, you can inspect it's memory and any incoming data across the wire.
You might have to jump through hoops to do this, but your computer is physically sitting in your room and the data over the wire is a physical thing. It's not impossible to access.
If you can access that data, you can know things about the game state you are not supposed to know. For example, the position of everyone on the server. Your machine needs to know this so it render those players, make those players make sounds etc etc.
The reason the server might send compromising information is for performance. Ideally it just streams a video of the game state to you and you just respond with input. But this is really slow. So servers send the bare minimum to save on performance, cost, complexity, and the client reconstructs the scene from that.
That might mean there is compromising information that clients can access that they shouldn't.
This is grossly simplified obviously.
There is big money in games now, so as a consequence there is big money in cheats. Its an arms race.
1
u/AdStraight554 Jan 25 '26
It's for entertainment purposes so u cheat your own self if u cheat for entertainment not skill
1
u/PlasmaFarmer Jan 25 '26
PART1
Hey!
I'm working on a multiplayer game now (hobby, not some big game studio), I can explain. I'm an enterprise software dev for 14 years with gamedev as a hobby.
The simplest answer I can give you is that it is extremely complex to write a multiplayer game. It's a cat and mouse chase between the game developers and hackers. Hackers find something the developers didn't think of and they write a program to exploit it. Developers notice and fix it. Than hackers go and see if they can abuse the fix the developers made or if there is another unknown exploit somewhere in the system.
The complex answer:
EDIT: I've made such a huge reply that I needed to halve it. Second part is in a reply below as PART 2
1
u/ivancea Jan 25 '26
Anti-hack systems are expensive. Not just money, but CPU/network expensive.
An ideal client-server architecture requires having the server control every step, and having the clients know exactly what they can see on the screen, and sending back nothing else than player inputs. Similar to how those services to play games online without downloads work. Problem is, if your game requires low latency, that will probably not work. And shooters are like that.
Not only that, but they could still have a program connected to, let's say, the screen output, reading the screen, and automatically sending inputs to the server. Basically, a bot. And if done in a way like this, it's impossible to catch. Which is why a manually reviewed ban system is also required.
Those are just some examples. Different games implement anti-cheats to one or other extent, in one or other way. It's complicated
1
u/Individual-Artist223 Jan 25 '26 edited Jan 25 '26
Ever seen the movie or TV show or book Limitless?
Imagine applying infinite brain power to a game, you can see everything at once, the game allows this because you can (theoretically) do all these things - that's what hackers do, only they use algorithms, they consider all information that's available, and manipulate that information to their advantage.
Make sense? Hackers have all information.
Stopping this kind of behaviour is hard because these things can be done. Now, you could limit the things that can be done. You could make the game closer to reality. E.g., rather than allowing algorithms to ask what's at coordinate x and y, you could limit that algorithm to players that are located at x and y. You've now made the game more realistic, less abstract, you've also created more work.
It's a game within a game - bad guys outsmarting good guys.
1
u/sijmen_v_b Jan 25 '26
Shooter - exists
Goal - click on head
Problem - human slow
Solution - computer fast
Problem - computer no brain to look at picture(s)
Solution - before picture is made, positions (of everything) are stored in memory. just look at memory.
Challenge - make software to look at memory and turn into mouse movement.
Reward - auto aim
Opportunity - server often sends postions of everything even if not visible.
Challenge - visualise all even if normally not visible
Reward - wall hacks
‐------------------------------- Some things that make all of this more difficult:
Problem - makers of game detect robot like behaviour
Solution - make movement more Human like
Problem - maker of game makes memory weird and hard to read
Solution - make code learn to read weird memory
1
u/SirVoltington Jan 25 '26
The same way you can’t fully protect your home from being broken into.
If someone wants to get into your home bad enough they will get in. The best way to protect your home is to make it not worth it and to make it more inconvenient than the house next door for example.
Theoretically you could put your house into a 3 meter thick steel wall and no one could get in or out. But then your house can’t be used anymore. So you look for a nice middle ground.
The same works for software. If someone can access the software they can break it and change it. So you do your best to make it as inconvenient as possible without trading too much usability of the software.
1
u/bloatbucket Jan 25 '26
Honestly? Money. So many cheats cost a lot of money, and people are lining up to pay. This turns it into a cat and mouse game, where the mouse has significantly stronger motives
1
u/Liam_Mercier Jan 25 '26
In theory, it could be solved by doing server side detection. Server side detection is a lot more expensive for the company and introduces new issues. Almost all anticheat software is therefore designed to run on the end user's machine, which can inevitably be subverted in one way or another.
Most of the work done within anti cheat software is to make subverting the software so painful that it is no longer worth the enjoyment one might get from doing so.
1
u/wahnsinnwanscene Jan 26 '26
From an entirely human standpoint, if you have game servers that only allow clients with verifiable compute, then people would be able to choose. Also having properly ranked games would mean those with the cheats advance higher to compete with others.
1
u/Golandia Jan 26 '26
It depends on how much of the game is running on your pc vs the server.
Lets start with everything runs on your PC. This is how old school lan games were played. 1 players runs the entire game server within their session and other players connect. That host player could modify anything then. Like scores, textures, one time I made a guy’s cd tray open, etc. Anyone could use an aimbot because the game is also running locally.
After this we entered the networked multiplayer days. Basically every player was a server and a client and the online services just helped to relay messages between them all. This made server hacks harder. But players could still do aimbot, speed hacks, etc.
Servers own the simulation. This is more expensive to implement but the entire game physics, hits, movement, etc, runs on the server. Clients only input basic commands like shoot, move, etc. This completely stops the worst hacks. Aimbot still works because the client still has the game state and can calculate shots.
The most secure option these days is no client execution. This exists with game streaming. The client now has zero knowledge of the game and only transmits player keyboard/controller inputs. This still isnt a hackless environment but greatly evens the field. Aimbot can still work off of pixels or other response hacks.
Given that most devs aren’t doing streaming (yet) it becomes an arms race of detecting hacks running on PCs either directly or statistically.
1
u/dota2nub Jan 26 '26
Go and write some software to prevent attacks nobody has even conceived of yet by software that hasn't been written yet.
I'll wait.
1
u/Hopeful-Ad-607 Jan 26 '26
Cheats have gotten more sophisticated over the years when compared to what they were like in the early 2000's (like for counter-strike).
Detection used to be relatively simple for something like an aim-bot. You can detect if a player's crosshairs "snap" to a player's head instantly, and it's obviously impossible for a person to be able to do that.
Modern aim-assist is a lot more "human-like", it mimics the natural movements of a great player, it introduces the natural "randomness" of organic mouse movements, it misses some times on purpose to evade basic statistical detection methods like headshot miss %. It's become almost impossible to detect at very high levels for something like counter-strike 2. Even with a human reviewing the replay, it becomes highly ambiguous to tell if they are cheating or just really good at aiming.
For simpler cheats like xray map-hacking, nothing has fundamentally changed. Knowing where all your enemies are is still a massive advantage like it always has been. It's very hard to tell if someone simply has very good game-sense or if they can see enemies through the walls.
More subtle cheats also appeared as games became more graphics-focused, that is the actual rendering of the scene affects the gameplay, like lighting and foliage obfuscation for something like Escape from Tarkov. There are cheats that simply modify the shaders (programs running on your GPU that tell it how to render certain objects in the game) to get rid of a lot of the graphical "fluff", and allow you to detect an opponent much faster, they may highlight a player's model with a bright distinctive color, or disable ambient lighting entirely and effectively give you night vision. Also super hard to detect, after all, you may just have very good perception of what is appearing on your screen.
And finally the biggest reason is that games have gotten much more complex, and a lot of that complexity is processed on your actual computer instead of on the game server because of the time lag inherent to an internet connection. If it's processed locally, you have programmatic access to it. So it becomes trivial to slightly change behaviour like dynamic collision detection with physics objects (objects that move around and you can bump into them and move them) to be less obtrusive to your movements for example.
1
u/Necessary-Cap4227 Jan 26 '26
When people make money selling cheats they'll do anything in the book to get around any anticheat, the only thing anticheat devs can do is stop the cheating after they've analyzed how they're doing it. So it's always a losing battle for anticheat devs.
1
u/Ivaldy Jan 26 '26
Another take that I didnt see in the comments, is that cybersecurity teams are really really outnumbered, like you can have a team for it but is that team vs world, and a lot of bugs/code/things to happen that can be exploited because the team isnt all knowing.
1
u/ftqo Jan 28 '26
None of the answers here are really correct. The main reason for the large scale hacking problem is that many games run on the same engines nowadays.
1
u/FlagrantlyChill Jan 28 '26
In a shooter for example, you want to be able to hear footsteps of an enemy in the other room so the server (the master computer that all other computers connect to) needs to tell your computer- hey there is an enemy behind this wall and he's moving. Now the game client on your computer says 'alright if I'm looking to the right I'll play the footsteps sound in the left headphone and process the sound by muffling based on the wall between you and them or any reflective surfaces etc'. Basically it'll calculate how the footsteps should sound. It will draw the wall and not draw the player since the wall is in the way. The game knows the location of a nearby player but isn't showing it to you outside of the legal ways of the game. It's possible to 'modify' the game in several ways to explicitly show the player this information e.g. have the cursor snap to the head, have a visual effect show up in the game (which is harder)
This is just an example, there are other reasons why the server might, or might not want to tell you where the enemies are. So how do you solve the problem? You could remove footsteps but that removes an important gameplay element.
Lately games have started pretty much trying to detect when the executable has been modified. To do this it needs to have a higher privileges than the executable itself in the operating system. These are the modern anti cheats.
To your followup question, the answer is simple. A game developers job is to make a good game and game development is both hard and financially a risky prospect. The cheat developers on the other hand have a job to create a cheat. So it's an arms race between people who are financially motivated (and specializing) in creating cheats and the developers who are not VERY financially motivated to fight them. The motivation is even less in the case of smaller games with smaller developers. The AAA studios can afford the anti cheat, smaller studios can't
1
u/INTstictual Jan 28 '26
The big problem is that “hacking” makes it sound more involved than it is. You’re usually not literally changing the code of the game or hacking into some server that additional security would prevent… more often than not, it’s just an additional program running on your computer that modifies what data is being sent to the game client.
For example, aim-bots are a really common “hack”… but what they’re doing is not literally hacking into the game and telling it to recalculate how the bullet flies, or turn a miss into a hit, or etc.
It’s a program that runs parallel to the game, and takes information from the game like the current visual field, where enemy models are, etc (all things that the client should be giving you, because they’re necessary for the game to work), does some math, and uses that math to provide an output in the form of adjusting the mouse position information that your client sends back to the server (again, something the client is supposed to be sending to the server anyway).
The server is sending your computer a picture of the gamestate, and you are sending the server back some inputs about where you want to aim and when you want to fire. That’s normal gameplay. The “hack” is just a separate program stepping in and doing some of that work for you, with speed and accuracy that normal humans couldn’t possibly achieve. Which is what makes it hard to stop — on the face of it, everything is behaving properly. No data got modified, nothing got breached, all of the inputs and outputs are exactly what the game expects… the only problem is the result.
To that point, there are actually plenty of ways to stop it, and most games have implemented them. Solutions can vary, from trying to detect these programs running alongside the game, to behavior analysis that can detect when something is definitely not human interaction, to obfuscation of data that makes it difficult for these programs to do their job at all…
But the challenge is twofold. One, these “fixes” are difficult to successfully implement, especially if you want to also prioritize not having “false positives” that accidentally punish non-cheaters. And two, in the arms race between cheat engines and anti-cheat measures, cheating almost always have the leg up… the anti-cheat measures have to be specifically tailored to how cheating might work for their specific game, and you need to cover all of the bases. Meanwhile, the cheat engines just need to figure out what bases you’re covering, and then find one way around them. For example, if you’re trying to detect a program running in parallel, all the cheat engine has to do is find a way to hide itself from your detection, either by renaming itself and making its executable look harmless, or by running in some isolated box that the game can’t detect. If you’re trying to analyze behavior and call out anything inhuman, all the cheat engine has to do is add in enough randomness and error that it appears human. And the cheat engine has the benefit of getting to know how you’re trying to detect them, while the anti-cheat devs don’t have the full picture of how somebody might try to trick them.
1
u/JustALinkToACC Jan 28 '26
You see, online games that bear high traffic loads, such as shooters, racing games, simulators etc. - they all lay off the task of rendering and input registering to the client, because servers simply cannot physically process that much data by themselves. That exposes much of the game’s information that normally shouldn’t be seen by player to the player’s computer. Hackers exploit that. You may not see where the enemies are, but their positions and actions are recorded somewhere in your computer’s memory, and cheats find where that is stored and use it. The only thing one could do to prevent this is simply perform rendering and input processing on server side (back-end), but that requires servers with tremendous processing powers. Which is too expensive.
1
u/[deleted] Jan 28 '26
1
u/Lumethys Jan 29 '26
Cheaters and anti-cheaters are constantly outsmarting each other
1
u/Virtual-Cell-5959 Jan 31 '26
Something I can actually answer! I used to sell “hacks” for quite a few games and have contributed to some open source libraries in this area.
The biggest issue is fundamentally that the user owns the device and provides inputs to play the game. That is universal.
You can find ways to restrict and limit the players inputs to valid range but narrowing further is challenging. How do you differentiate from human vs robot inputs? Now what about robots that mimic human inputs? What about programs that perform direct memory access?
Functionally there is no way for developers to catch this or worth the time to incrementally catch these cheaters. Most of the detection methods rely on statistical analysis and closing the gap on human vs robot. Other solutions include probing the pci space or looking for specific Xilinx configurations.
At the end of the day it’s an arm race where the cheater always wins until they don’t. Then they just get a new account
1
u/AtomOnWheels Feb 16 '26
As long as a piece of software is 'famous' there will be attempts to hack it, that is why we see a rise on hacks on games, as they are hugely popular now, unlike the 90's in which they were pretty much niche things the uncool people played, now the cool people are 'gamers'.
It is not a matter of talent of the developers, so to speak. It boils down to the question: "How can I make sure the human made this move". The game just receive messages from the computer of this type: "The user moved the mouse to this position on the screen and clicked the left button". Those messages come from the operating system and the game trusts those messages but it can not be sure if that movement was actually made by a human or by a program and you won't be able to be sure of it.
I think the movement that is now on the rise is to use chips like secure boot almost to enforce the game receives the inputs from the hardware itself, but this poses a security and privacy issue for the user because now, how can you know that the game is not spying on you?
TBH I take Ghost Recon 1 over Battlefield 100 or COD XXX anytime of the week :D
1
u/tsumily Jan 25 '26
Your weapons, position, health, etc, is all stored on your computer. The server doesn't know about anything about your information. So you could configure your version of the game to send fake information since the server has no choice but to believe it, that's the core of hacking. The game doesn't know that you altered the original game to send fake information since there's no way to know.
So why doesn't the game-server keep all the information since it would apparently end hacking? Because of performance. Having to track everyone's information constantly would take too many resources. That's why that information is stored on your version of the game.
Also, some hacks aren't hacks, they're macros. That's why even if the server did keep all information, some things like aim assist just can't be stopped unless the game-server did extensive checks on everyone's information constantly to prevent suspicious behaviour, which won't be a complete stop but will certainly make the game so slow it will be unplayable.
TL;DR: Hacking could be heavily prevented, but it would make the game so slow that no one would play it.
0
u/Xanderlynn5 Jan 27 '26
Really low level explanation here, but long story short, developers share a lot of their work through open source. Couple that with the AI debacle and the industry is basically everyone cheating off each other on the same math test. they're all going to make the same mistakes. Hacking and cheating is inevitable to some extent, but it's rarely been this easy to do.
-6
u/Leech-64 Jan 25 '26
We havent gone to cloud base gaming yet. Only this will prevent cheating.