Seventh Challenge:- Crackme #4: Use a code cave

Questions, comments and taunts regarding the crackme challenges.

Moderators: nwokiller, Rip06

Posts: 6
Joined: Thu Sep 13, 2012 9:28 am

Seventh Challenge:- Crackme #4: Use a code cave

Postby XorKing » Thu Sep 27, 2012 11:34 am

Crackme #4: Use a code cave to display the correct password.

Is it correct...?
crackme4done.zip
(82.62 KiB) Downloaded 174 times

User avatar
Posts: 35
Joined: Thu Aug 23, 2012 7:46 am

Re: Seventh Challenge:- Crackme #4: Use a code cave

Postby hawaii67 » Thu Sep 27, 2012 1:46 pm

My solution, w/o copying to clipboard... :-(


Cracmke4_4.zip
(83.44 KiB) Downloaded 155 times

Posts: 17
Joined: Tue Jul 10, 2012 1:13 pm

Re: Seventh Challenge:- Crackme #4: Use a code cave

Postby them123 » Thu Sep 27, 2012 2:52 pm

This was a fun challenge. I managed to figure it out and come up with a similar solution to those posted here!

Thanks for the challenges, tuts, and hard work, Random.

I'm really enjoying the tuts on keygenning and looking forward to more! :D

Site Admin
User avatar
Posts: 426
Joined: Mon Jun 25, 2012 11:21 pm

Re: Seventh Challenge:- Crackme #4: Use a code cave

Postby random » Thu Sep 27, 2012 3:58 pm

I am trying to make this more than just a "tutorial download site", more of an interactive learning site. So your post means a lot to me :)

User avatar
Posts: 28
Joined: Wed Aug 22, 2012 12:50 am

Re: Seventh Challenge:- Crackme #4: Use a code cave

Postby Saduff » Thu Sep 27, 2012 5:43 pm


Site Admin
User avatar
Posts: 426
Joined: Mon Jun 25, 2012 11:21 pm

Re: Seventh Challenge:- Crackme #4: Use a code cave

Postby random » Thu Sep 27, 2012 8:53 pm

XorKing: Congratulations. And the password is copied into the clipboard. Nice going. (Though it does appear that you re-created the entire encryption algorithm. Is that correct? You should not need to do that unless you are making an actual keygen ;)

Saduff: You get extra credit for copying the password in to the clipboard, but unfortunately when you try this it does not display the goodboy :(

Hawaii67: Same as Saduff

User avatar
Posts: 28
Joined: Wed Aug 22, 2012 12:50 am

Re: Seventh Challenge:- Crackme #4: Use a code cave

Postby Saduff » Thu Sep 27, 2012 11:25 pm

The solution is a self-keygen. It's not expected of a self-keygen for the app itself to be working.
You use the self-keygen to get a key and then use the key with the original binary.
Reason I bypassed all the checks is because I didn't want there to be a need to enter a bogus key for it to work.
And if password is left empty, crackme will always display goodboy. Seemed weird to display the key, followed by a goodboy.

Site Admin
User avatar
Posts: 426
Joined: Mon Jun 25, 2012 11:21 pm

Re: Seventh Challenge:- Crackme #4: Use a code cave

Postby random » Thu Sep 27, 2012 11:30 pm

"...Then, after entering the proper username/password, the target should display the goodboy."

User avatar
Posts: 28
Joined: Wed Aug 22, 2012 12:50 am

Re: Seventh Challenge:- Crackme #4: Use a code cave

Postby Saduff » Fri Sep 28, 2012 1:04 pm

Okay, as you wish:
http://www.mediafire.com/?383f2px2k8zpwh9

You think this is better? I think otherwise.

User avatar
Posts: 35
Joined: Thu Aug 23, 2012 7:46 am

Re: Seventh Challenge:- Crackme #4: Use a code cave

Postby hawaii67 » Fri Sep 28, 2012 1:08 pm

Saduff, thanks a lot for your solution......I was desperately looking for that clipboard thinggy ..... ;)

Site Admin
User avatar
Posts: 426
Joined: Mon Jun 25, 2012 11:21 pm

Re: Seventh Challenge:- Crackme #4: Use a code cave

Postby random » Fri Sep 28, 2012 2:45 pm

BINGO!!!

Posts: 2
Joined: Sat Sep 29, 2012 12:43 am

Re: Seventh Challenge:- Crackme #4: Use a code cave

Postby robin » Sat Sep 29, 2012 12:46 am

Code: Select all
for (int i = 9; i >= 0; i--) {
      szKey[i] = szUserName[i] ^ 0x9;
   }
   *szUserName = *szUserName ^ 0x9;
   *szKey = *szUserName;

the szKey is passwrod!

Posts: 1
Joined: Thu Sep 27, 2012 4:25 pm

Re: Seventh Challenge:- Crackme #4: Use a code cave

Postby Hanan » Sun Sep 30, 2012 8:46 am

Here is my solution, although it is working as it should when i exit the program i get it crashed (don't know way.)
Great tutorials, Keep up the good work.

Cracmke4final.zip
My Solution
(84.75 KiB) Downloaded 143 times

User avatar
Posts: 4
Joined: Thu Mar 28, 2013 12:32 pm

Re: Seventh Challenge:- Crackme #4: Use a code cave

Postby manho » Fri Apr 26, 2013 4:12 pm

never late to learn :mrgreen:
Cracmke4_patch.zip
Should have username. w/o password is ok, code cave
1st click incorrect!
2nd click correct!
(83.43 KiB) Downloaded 74 times

Return to Challenges

Who is online

Users browsing this forum: aaqnolws2014, asgjh53589, cfdszeg4, etja42gry, sdf772rhnsdf and 2 guests