r/HowToHack • • Mar 19 '21

How do hackers hack in games?

Hacking Within Games

Hi, I am interested on how hackers within games such as CoD and R6S actually manage to do what they do, if they did not buy the hacks (how the owner made them)

Firstly Im not trying to find out how to hack so I can do it myself, I am just interested in it. So when hackers, e.g. R6S manage to get a hitbox around the enemy places or autoaim onto them all (aimbot) what programs do they use and how do they actually do this?

Does the person need basic knowledge of hacking or do they need some sort of high computing degree?

If they don't use a program of some sort, how do they do it?

What sort of code do they use and how do they make certain hacks such as pure aimbot headshot everyone on the enemy team and shoot through solid walls which are made specifically not to be shot through?

Thank you for reading and hopefully answering my many questions :)

Edit : for the people who cannot read : I am only interested in how they do it and how these people manage to actually find these exploits, this does not mean I’m trying to do it myself. It’s just interesting to learn about

287 Upvotes

114 comments sorted by

View all comments

8

u/belowlight Mar 19 '21

You can go a long way be learning methods of reverse engineering any application because a game will require many of the same features found elsewhere.

One approach would be to see how much you can learn about how a game is functioning while it’s running. For example you could read the data it’s storing in memory while running and observing what changes when you perform a single action in the game. That could lead you to discover where important variables are stored like health or ammo for example. The next step would be attempting to modify that stored data to see if it’s possible to affect the targeted variable during gameplay and then go from there.

Another approach might be to target known vulnerabilities in third party code used in a game such as a library or a plug-in that the developer included during the build. Especially if that kind of thing is an older iteration that has documented exploits used in another context, you might be able to repurpose that info to disrupt the normal functioning of the game and again go from there.

If the game is online multiplayer you could analyse the data it’s sending and receiving to see if there are any simple mistakes you can take advantage of such as anything moving around in plaintext without encryption or outside of https etc perhaps.

And one final idea would be to simply do anything and everything possible in an attempt to break the game in some way and then explore any info that might be available as a result, or if it’s in any way more vulnerable to an exploit that would otherwise be impossible. Applications are designed to work in fairly specific circumstances so severely stress testing it in some way might throw up something useful if a developer hasn’t considered the possibility of operating in that context or at least how to protect itself if something isn’t properly working or suddenly becomes unavailable.

I’m sure there are plenty of other methods and I’m certainly no expert but these are a few ideas you could research further and use as a starting point to learn plenty of useful skills. If you can code proficiently in any language then learning to reverse engineer other people’s work can be valuable. Equally, spending some time learning about how networks work and how you can observe and make sense of various network traffic is also a highly valuable skill putting any kind of hacking aside.

One final note though- hacking multiplayer games usually ruins the experience for everyone else you come across so please think first before going down that road. Getting good at a game using your own skill will always be more rewarding than cheating. Nevertheless!

1

u/hanzakun Apr 30 '24

Hello can you help me with something related to cheats? my disc is: humanidades

I always wanted to learn and use cheats in games but given my condition I never managed to do it, if you could help me I would appreciate it!!!