| View previous topic :: View next topic | 
	
	
		| Author | Message | 
	
		| Overload Master Cheater
 
  Reputation: 0 
 Joined: 08 Feb 2008
 Posts: 293
 
 
 | 
			
				|  Posted: Fri Nov 21, 2008 8:51 pm    Post subject: My friend made it |   |  
				| 
 |  
				| A simple crackme my friend made. I've already cracked it, but he says there should be a couple different methods of doing so. Though, he's probably wrong (kind of beginner at programming). 
 Mission:
 Crack it - Find password
 Explain your method
 _________________
 
 Blog
 
  	  | Quote: |  	  | Rhys says: you can be my maid
 Rhys says:
 ill buy you a french maid outfit
 Tyler says:
 Sounds good
 Rhys says:
 ill hold you to that
 | 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| HolyBlah Master Cheater
 
 ![]() Reputation: 2 
 Joined: 24 Aug 2007
 Posts: 446
 
 
 | 
			
				|  Posted: Sat Nov 22, 2008 3:24 am    Post subject: |   |  
				| 
 |  
				| Cracking: 
 to 	  | Code: |  	  | 00401079   .^\75 D5         JNZ SHORT CrackMe1.00401050 
 | 
 
  	  | Code: |  	  | 00401079    ^\74 D5         JE SHORT CrackMe1.00401050 | 
 and
 to 	  | Code: |  	  | 004010CD    ^\75 D5         JNZ SHORT CrackMe1.004010A4 | 
  	  | Code: |  	  | 004010CD    ^\74 D5         JE SHORT CrackMe1.004010A4 | 
 PW:44064
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| DoomsDay Grandmaster Cheater
 
  Reputation: 0 
 Joined: 06 Jan 2007
 Posts: 768
 Location: %HomePath%
 
 | 
			
				|  Posted: Sat Nov 22, 2008 11:23 am    Post subject: |   |  
				| 
 |  
				| This crackme doesn't require patching; the first password is 1000, the second is 36764064 (which is (36720*1000)+44064). Method: code analysis.
 
 Last edited by DoomsDay on Sun Nov 23, 2008 1:42 am; edited 1 time in total
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Overload Master Cheater
 
  Reputation: 0 
 Joined: 08 Feb 2008
 Posts: 293
 
 
 | 
			
				|  Posted: Sat Nov 22, 2008 6:07 pm    Post subject: |   |  
				| 
 |  
				| Okay well I don't think you guys are right. Even DoomsDay   The password changes everytime apparently. But I did exactly what DoomsDay did
   _________________
 
 Blog
 
  	  | Quote: |  	  | Rhys says: you can be my maid
 Rhys says:
 ill buy you a french maid outfit
 Tyler says:
 Sounds good
 Rhys says:
 ill hold you to that
 | 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| igoticecream Grandmaster Cheater Supreme
 
  Reputation: 0 
 Joined: 23 Apr 2006
 Posts: 1807
 Location: 0x00400000
 
 | 
			
				|  Posted: Sun Nov 23, 2008 9:47 pm    Post subject: |   |  
				| 
 |  
				|  	  | Code: |  	  | 00401028   .  FF15 40204000 CALL DWORD PTR DS:[<&MSVCP90.??5?$basic_>;  <- this function get the password input 0040102E   .  8B4424 0C     MOV EAX,DWORD PTR SS:[ESP+C]                <- move to eax from stack
 00401032   .  3D E8030000   CMP EAX,3E8               <- fail... compare with 1000 ;)
 00401037   .  7F 5E         JG SHORT CrackMe1.00401097         <- ZF = 1 now, so jump is not taken
 00401039   .  69C0 708F0000 IMUL EAX,EAX,8F70            <- multiply 1000d * 8F70h and store on eax
 0040103F   .  05 20AC0000   ADD EAX,0AC20            <- eax plus AC20h
 00401044   .  8BF0          MOV ESI,EAX               <- store on esi now
 00401046   .  EB 08         JMP SHORT CrackMe1.00401050         <- jump to the trickly message
 00401048   .  8DA424 000000>LEA ESP,DWORD PTR SS:[ESP]
 0040104F   .  90            NOP
 00401050   >  8B15 5C204000 MOV EDX,DWORD PTR DS:[<&MSVCP90.?cout@st>;
 00401056   .  68 48214000   PUSH CrackMe1.00402148                   ; /Arg2 = 00402148 ASCII "Wrong
 Try Again
 Insert Password: "
 0040105B   .  52            PUSH EDX                                 ; |Arg1 => 78505AC8
 0040105C   .  E8 DF010000   CALL CrackMe1.00401240                   ; \CrackMe1.00401240
 00401061   .  8B0D 64204000 MOV ECX,DWORD PTR DS:[<&MSVCP90.?cin@std>;
 00401067   .  83C4 08       ADD ESP,8
 0040106A   .  8D4424 08     LEA EAX,DWORD PTR SS:[ESP+8]
 0040106E   .  50            PUSH EAX
 0040106F   .  FF15 40204000 CALL DWORD PTR DS:[<&MSVCP90.??5?$basic_>; <- get again the new input
 00401075   .  397424 08     CMP DWORD PTR SS:[ESP+8],ESI          <- fail again, esi is now 230F9A0h ;)
 00401079   .^ 75 D5         JNZ SHORT CrackMe1.00401050             <- ZF = 1, jump is not taken
 0040107B   .  8B0D 5C204000 MOV ECX,DWORD PTR DS:[<&MSVCP90.?cout@st>;
 00401081   .  68 6C214000   PUSH CrackMe1.0040216C                   ; /Arg2 = 0040216C ASCII "Ok you win =)
 "
 00401086   .  51            PUSH ECX                                 ; |Arg1 => 78505AC8
 00401087   .  E8 B4010000   CALL CrackMe1.00401240                   ; \CrackMe1.00401240   <- congratz
 | 
 
 
 compare style of crackme reveal so much information... so your friend is wrong, the crackme compare always for the same statics values, the thing that made funny the crack me is the trickly message
 _________________
 
 +~ |  | 
	
		| Back to top |  | 
	
		|  | 
	
		| Overload Master Cheater
 
  Reputation: 0 
 Joined: 08 Feb 2008
 Posts: 293
 
 
 | 
			
				|  Posted: Sun Nov 23, 2008 11:04 pm    Post subject: |   |  
				| 
 |  
				| Ah right. Thanks for clearing it up   _________________
 
 Blog
 
  	  | Quote: |  	  | Rhys says: you can be my maid
 Rhys says:
 ill buy you a french maid outfit
 Tyler says:
 Sounds good
 Rhys says:
 ill hold you to that
 | 
 |  | 
	
		| Back to top |  | 
	
		|  | 
	
		|  |