Answer the question
In order to leave comments, you need to log in
How to write anti-cheat?
Good day, I wanted to start writing anti-cheats or even cheats (even though I don’t like cheaters, maybe it’s interesting), so I started scouring how best to implement it, how to learn it in general, as a result, after looking through several forums, I realized that I need to learn C++, found a normal book, downloaded the program and started to learn, eventually reading the whole book, I realized that apart from the starting theory for beginners there was nothing there, I decided to google again, what was it like, I looked at opensource cheats, in the end I almost didn’t understand anything in them, there was what kind of work with memory and WINAPI, after googling a little, I didn’t find a single normal guide / book where they normally tell what it is eaten with, so we came to the essence of the issue, can you suggest books / guides
on working with memory and WINAPI? I will be grateful)
Answer the question
In order to leave comments, you need to log in
1) figure out how the cheat works
2) close this opportunity to him
On the example of CS: GO? There are various cheats, for example Wallhack, the ability to see through walls, and Autoaim, homing.
How does the cheat work schematically? Gets in some cunning way access to the memory of another program (CS), is able to find in it a piece that is responsible for the map and the position of the players on it. And modifies this memory so as to draw a line in the right place from the enemy player to yours. Or moves the cursor to the head of an enemy player and clicks (shoots) if he is in sight.
Obviously, for this you need to thoroughly understand the CS code, be able to access memory or modify the CS code. Still, perhaps, you can try to get some bonuses by intercepting and modifying network traffic.
Therefore, the work of anti-cheat comes down to three points: integrity control when, memory access control and traffic integrity control. Plus, the analysis of the player’s actions, for example, if he always hits the head and does it with the same reaction speed, this is a reason to look at him carefully.
Just keeping track of the list of banned programs seems like too much protection for such a popular game.
Before you can cheat or defend other people's programs, you should first learn how to write your own.
A cheat or anti-cheat is a program. Therefore, JUST learn how to program first, and then understand more deeply what exactly you want to implement. Because right now you can't even ask the right question.
Can you suggest books/guides on working with memory and WINAPI?here
there was some work with memory and WINAPI,
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question