|
Ok, we ready!!
As always, there more than one way to deal with the program, but we gonna find the serial number. I think it better to try to find a serial number first anyway, coz it much 'cleaner' than changing program code, although sometimes it harder to find a valid serial when you're starting out.
Anyway, we gonna get the serial number.
So unzip regview somewhere and look for any readmes in the folder. There a regform and a readme, and we told we have 30 trys and if we register, we get an updated version. It doesnt say anything about a registration number at all, and starting it up and looking at the menu items doesnt reveal any place to put a registration either. When we click on 'about' we are told we are using unregistered version and have 29 more trials. This goes down everytime we start up the program.
Anyway, I going to cut to the rego number. You either start the program 30 times to bring up the registration box, or delete this line out of the registry...HKEY_CLASSES_ROOT\VR_T..., which will expire the program and so cause the rego box to appear. I used regmon to locate this key (see the excellent tut in the beginners section, for full explanation of how the regmon works)...and it small!
Well a box comes up saying we have to register, click ok and rego box appears. Enter the name we want, and any number (you might notice that the name has to be longer than 4 characters, otherwise the ok button stays greyed out).
Now we know what to do right?? Ctrl d softice up, and enter bpx hmemcpy/enter, then F5 out of sice, and click on ok to register...softice pops up.
We ready to search for our serial. Now we going to do one thing different this time than in our previous serial tuts. You notice that there two text fields on the registration box...one for name and one for serial. We want to get to where the serial number comparison takes place..the second text box...and I not sure why (feel free to explain) but apparently a quicker way to get to this comparison is to make softice break again. We still get there if we dont, but I read that we do this, so we gonna do it.
When softice breaks the first time, push F5 and it will break again. Now we carry on as normal. F11 once, disable breakpoint...bd0, then F12 to program code. When we see it between the bottom two windows, we F10 till we see something that we looking for.
What we see is a ret a little down the page so F10 down to it and we end on another bit of code. This happens a few times..six actually, hmmmm very similar to crackme2, and after the 6th one we end here:
Anyway, once we back to the original call we entered (next line down actually, coz we executed the call) we land here:
I think we may be close. You know what to do!! We gonna dump the different addresses to see if a serial pops out, so type d xxx as we F10 down the lines. At address: Take note of number (it goes with the name you entered), put it in the serial box, and yeah, we done it.
Well that it. We done our first program?? Just be aware that there are many different protection schemes, and this way will not always work. You just have to follow tuts and get familiar with the different ones, and build up your knowledge...so |
