Sign in to follow this  
nuclear123

CRC check question

Recommended Posts

nuclear123    119
How exactly do games that use anticheats use a CRC check? how does it actually check lines of code to see if they have been changed or not? also if a user changes some line of code as it's in memory...a crc check will not detect this change correct? it just checks the actual file on the hard disk?

Share this post


Link to post
Share on other sites
Atrix256    539
It probably varies from game to game but yeah, i bet you the most common way is they just open the .exe file for read and make a hash.

Are you wondering to be able to protect your own game from attacks like your code being modified in memory?

Share this post


Link to post
Share on other sites
Atrix256    539
Well,

There is no such thing as perfect security. The goal is to just be harder to crack / cheat than is worth while - and don't be low hanging fruit hehe.

Even if you verify somehow that your code is correct (which you can't cause your code is the code that checks itself... and you are worried that you can't trust it), how would you protect against people altering the value of variables in memory to give themselves more money etc.

If you are making a client / server game, there is no such thing as a trusted client (not really). The solution is to not let the client be the authority about anything you don't want to be wrong.

Anyhow, what are you trying to accomplish with all this?

There may be a simpler, better, more practical way than the way you are going.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this