Self integrity check of my program
-
Hi guys, What is the most common methodology to do a self integrity check on your program and quit in case of any kind of modification (like cracking attempts)? I did some research and CRC seems to be a good way but there are arguments about CRC vs MD5. Implementing md5 for self check is not possibe only if you use a preloader which extracts and checks the main program. You can't tell the md5 before you would compile your program. I looking for a solution which can be implemented into my program not a 3rd party exe protector (which is the easy way to do this).
-
Hi guys, What is the most common methodology to do a self integrity check on your program and quit in case of any kind of modification (like cracking attempts)? I did some research and CRC seems to be a good way but there are arguments about CRC vs MD5. Implementing md5 for self check is not possibe only if you use a preloader which extracts and checks the main program. You can't tell the md5 before you would compile your program. I looking for a solution which can be implemented into my program not a 3rd party exe protector (which is the easy way to do this).
Since you're asking on a managed-code board... There's some built-in stuff already available to you: Assembly Security Considerations[^] Mark
Mark Salsbery Microsoft MVP - Visual C++ :java: