Log in

View Full Version : Trying to hunt down a checksum.


cap232
July 21st, 2009, 01:37
I'm fairly new to reverse engineering, but I have been practicing and been successful with many things but I have come stumped on finding a check-sum that is shutting down my app when memory in a certain area is modified.

Basically as soon as I modify it, everything shuts down. It doesn't give any message, any error logs or any hint leading me to its location. Ive been using ollydbd 1.1 and 2.0 simultaneously to run hit trace, run trace, and try to isolate what is happening after the memory modification but cant find it.

Any tips how I might go about finding it? This is for some very old 1996 video game I am trying to goof with for learning purposes or giggles, but not sure how to find this thing. Any tips would be appreciated.

disavowed
July 21st, 2009, 08:09
set breakpoints on ExitProcess and TerminateProcess and look at the stack-trace when they're called

cap232
July 21st, 2009, 12:30
I've had that idea and tried to but had no success, i believe this might be due to my lack in knowledge in finding these things. Ive been able to stop a different checksum in the program because it had a message linked to it. So I searched the whole program for similar procedures and found 8, put a hit trace on all of them, then modified the memory. It shut down with nothing on the log.

So how would I identify those procedures? And is "stack-trace" the same as run trace?

cap232
July 21st, 2009, 19:56
How do I find an Exitprocess or TerminateProcess?

habituallurker
July 21st, 2009, 20:15
Better idea, put a reading hardware breakpoint on the byte you modify, and wait for it to hit.

cap232
July 21st, 2009, 20:51
Thanks so much your idea worked perfect 100%