Jump to content

program self integrity check


CiVQ
 Share

Recommended Posts

Hello.

So, how to make the executable self-check?

After some search, I've found nothing, except this post:

I have created a method, creating the checksum, and adding at the end of the .exe, and it works.

But, jchd wrote: ?do=embed#entry1196205'' frameborder='0' data-embedContent>>?do=embed#entry1196205' frameborder='0' data-embedContent>

Embedding the checksum INTO the executable should not work, except knowing the EXACT location of it in the program every time I recompile it. (Checking the file, and overwriting the existing, or empty checksum as a placeholder don't work, because it alters the file, so, next time the checksums won't match)

 

Any suggestions?

Edit: oh, there is a 'sister' topic already open: '?do=embed' frameborder='0' data-embedContent>>

BR.

CiV.

Edited by CiVQ

I know that my code is ugly. But it works. Mostly.

Link to comment
Share on other sites

I believe this is basically hacking and modifying an executable, of course it is possible, crackers do it all the time, I'm just not sure if it's against this forums rules to discuss it.

AutoIt Absolute Beginners    Require a serial    Pause Script    Video Tutorials by Morthawt   ipify 

Monkey's are, like, natures humans.

Link to comment
Share on other sites

No, I can't and don't want to hack executables. Even they are created by myself. It's a tough learning curve, to learn to binary edit a program, and nowadays I don't have time for such a thing.

I was just curious, whether well-spread knowledge about this topic existed.

But, as always, thank you for the answer.

BR.

CiV.

I know that my code is ugly. But it works. Mostly.

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...