How is integrety of anticheat verified?
I want to learn a bit about anti cheat systems and want your help as i think someone here knowy how they work.
So client anti cheats work (to my understanding) this way. You have a programm on your pc that scans your files and checks for cheats. If it finds one, it reports back to the faceit servers that your cheating and you will be banned.
But how do the faceit servers know that your anti cheat client has not been tampered with? Why is it Impossible/Hard to just write a "mock" Anti-Cheat client and launch it instead of the real one, which always Reports back to the faceit servers that everything is fine?
As the anticheat runs on your Machine i assume you can more or less modify it in any way, how do the faceit servers check that their program is running on your machine, and not just Something that uses the same protocols?
Posted Jan 27, 2020, 8:59 PM UTC
Short answer; the faceit AC (or any AC for that matter) has checks to see if it has been tampered with and is most likely encrypted and the program is 100% obfuscated
For example a simple hashcheck that the handshake must verify against the faceit AC-server is 100% present. No handshake/no valid hash = AC wont let you connect
And in you example, you are describing a very simple whitelist/blacklist of known cheats (known as Signatures). FaceIT and ESEA uses other methods to know if a cheat is present or not.
Wiki actually has a pretty good page about some of the methods https://en.wikipedia.org/wiki/Cheating_in_online_games#Authoritative_and_mirrored_server_design
So the server asks my client to encrypt a String, and since i cannot see the source code of the programm, i cant make my own program that can 100% mimic this?
Pretty much. Without the source you cant possibly know what the packet is containing (it's encrypted).
How does my pc know how to execute the source code if its encrypted?
You kinda new to this? https://link.springer.com/chapter/10.1007/978-3-540-79263-5_21
Well at some point you will have actual cpu instructions being executed. Obfuscation, anti-debugging and encryption can still be overcome by an experienced reverse engineering expert but it might slow them down enough to not be worth the effort.