yaa
October 23rd, 2003, 12:51
Hello,
playing around with an aspack protected application after unpacking it I've found that the application at a certain point generates the correct regcode for the provided name and compares it with the user's one. I'd like to write a "keygen" that takes advantage of this fact (in fact I read sometime ago a post about someone that did the same thing but I just can't manage to find it anywhere) to obtain the correct regcode directly from the application.
I was thinking of writing a loader that:
1) requests a name from the user
2) writes it in the registry where the target application places the name and regcode to verify them at startup
3) loads the target application
4) patches it so that the correct regcode once calculated by the application will be sent to my "keygen"
5) displays the correct regcode on the "keygen" (or directly write it to the registry value used by the application)
What I'm missing are the following:
1) how to block the application as soon as it has been unpacked so that I can patch it before it runs???
2) what interprocess communication mechanism???
About the interprocess communication I was thinking that I should use APIs that the application already uses (I admit I wouldn't know how to add one or more functions to the target's IAT).
Any contribution is appreciated.
yaa
playing around with an aspack protected application after unpacking it I've found that the application at a certain point generates the correct regcode for the provided name and compares it with the user's one. I'd like to write a "keygen" that takes advantage of this fact (in fact I read sometime ago a post about someone that did the same thing but I just can't manage to find it anywhere) to obtain the correct regcode directly from the application.
I was thinking of writing a loader that:
1) requests a name from the user
2) writes it in the registry where the target application places the name and regcode to verify them at startup
3) loads the target application
4) patches it so that the correct regcode once calculated by the application will be sent to my "keygen"
5) displays the correct regcode on the "keygen" (or directly write it to the registry value used by the application)
What I'm missing are the following:
1) how to block the application as soon as it has been unpacked so that I can patch it before it runs???
2) what interprocess communication mechanism???
About the interprocess communication I was thinking that I should use APIs that the application already uses (I admit I wouldn't know how to add one or more functions to the target's IAT).
Any contribution is appreciated.
yaa