Reputation: 11
I am trying to create an anti cheat client for counter strike source, and I dont really know where to start. What I am trying to do, is to take random screen shots at random intervals and upload them to a secure ftp. Also, prevent any 3rd party programs from injecting or hooking on to the application.
Players will run the client, log in with a username and password that checks with a mySQL connection.
How would I go about doing this? Thanks
Upvotes: 1
Views: 2114
Reputation: 16656
If you want do some simple hook detection you must detour some functions like a LoadLibrary or WriteMemory. You must analyze imported DLL files too and imported DLL files imports too and ... too.
Upvotes: 1
Reputation: 1257
Implementing cheat prevention is a losing battle. Cheat detection is possible.
You could take screenshots at regular intervals throughout the match. The server admin could ask a suspected cheater for these screenshots. The admin then reviews these screenshots to check if they're valid (from the current match and not tampered with) and determine whether or not the player cheated. If the screenshots are missing, the server could automatically boot the player.
Unfortunately this process cannot be automated so a human must check all suspected cheaters.
Upvotes: 1