home *** CD-ROM | disk | FTP | other *** search
- --------------------------------------------------------------------------------
-
- Tutorial for Sweeet DreamZ v2.0
-
-
-
-
-
- Tutorial by NeO'X'QuiCk
- URL : www.2Sweeet.tsx.org or www.2Sweeet.cjb.net
-
- Used tools:Softice 4.05
-
- Level:1
-
- *********************************************************************************
-
- 1:Task to find the serial
-
- *********************************************************************************
-
-
-
- --------------------------------INtroduction-------------------------------------
-
- The crackme is packed with Pe-Pack 1.0 and also the UPx!But for getting
- the
- right serial there is no need to unpack it!So there for i didn't do
- it!But
- you can do it if you like it!Ok let's start cracking!Open crackme!I
- wrote i
- 123123!Open softice by CTRL+D then i wrote BpX Hmemcpy and exit
- Softice!Then
- i pressed Check in crackme and Softice breaks!Then i pressed F11 once
- (go to
- return address) and F12 *6 times(to return to function where it was
- called)Then Press F10 until you come to here:
- ---------------------------------------------------------------------------------
-
-
- *********************************************************************************
- 1:Solution for task one!!
- *********************************************************************************
-
- Here you must stop:
-
- ---------------------------------------------------------------------------------
-
- 0167:0045A580 8BD0 MOV EDX,EAX
- 0167:0045A582 8B45F8 MOV EAX,[EBP-08] //*moves
- First
- four letter into Eax*//
- 0167:0045A585 8A4003 MOV AL,[EAX+03] //*moves
- Fourth
- letter into Al*//
- 0167:0045A588 8B4DF8 MOV ECX,[EBP-08] //*Again
- moves
- you four letter into ECX*//
- 0167:0045A58B 3A4101 CMP AL,[ECX+01] //*Compare
- if
- Fourth letter is the same as Second letter*//
- 0167:0045A58E 0F8574010000 JNZ 0045A708
- 0167:0045A594 3C65 CMP AL,65 //*Compare
- if
- Fourth letter is "e"//
- 0167:0045A596 0F856C010000 JNZ 0045A708
- 0167:0045A59C 3BD3 CMP EDX,EBX
-
- ---------------------------------------------------------------------------------
-
- So our serial was 123123!And now we know that Second and fourth letter
- must
- be the same and that the fourth letter Must be "e" So i changed serial
- to
- 1e1e23!We pass this two jumps !Let's look little down:
-
- ---------------------------------------------------------------------------------
-
- 0167:0045A5D1 3BDA CMP EBX,EDX
- 0167:0045A5D3 7FEF JG 0045A5C4
- 0167:0045A5D5 81F9E8010000 CMP ECX,000001E8
- 0167:0045A5DB 0F857F010000 JNZ 0045A760
- 0167:0045A5E1 8B45FC MOV EAX,[EBP-04] //*Here is
- our
- serial moved to eax if you would like to see it write D eAX on it!*//
- 0167:0045A5E4 E8DF95FAFF CALL 00403BC8 //*lenght
- of
- serial is moved to eax*//
- 0167:0045A5E9 69C044010000 IMUL EAX,EAX,00000144 //*lenght
- of
- serial imul 144(hex)*//
- 0167:0045A5EF 3DA80C0000 CMP EAX,00000CA8 //*cmp it
- with
- CA8(hex)*//
- 0167:0045A5F4 7501 JNZ 0045A5F7
-
- ---------------------------------------------------------------------------------
-
- So lets see what we know!Our lenght of serial in multiplayied with 144
- (hex)
- or 324 (dec).And that is compared with CA8 (hex) or 3240 (dec)!So to
- get our
- lenght of serial serial! 3240 div 324 =10 (dec) or A(hex)!SO our serial
- has
- to be long 10 letters!Change the serial."1e1e23" bocomes
- "1e1e23abcd".And we
- pass this jump too!heh
-
- Let's go further :
-
- ---------------------------------------------------------------------------------
-
- 0167:0045A61B 0F853F010000 JNZ 0045A760
- 0167:0045A621 33C0 XOR EAX,EAX
- 0167:0045A623 8A45F3 MOV AL,[EBP-0D] //*Fifth
- letter
- in hex is moved into Al*//
- 0167:0045A626 83C011 ADD EAX,11
- 0167:0045A629 83F858 CMP EAX,58
- 0167:0045A62C 0F85D6000000 JNZ 0045A708
- 0167:0045A632 8A45F2 MOV AL,[EBP-0E] //*Last
- letter
- in hex is moved into Al*//
- 0167:0045A635 0410 ADD AL,10
- 0167:0045A637 3C78 CMP AL,78
- 0167:0045A639 0F85C9000000 JNZ 0045A708
-
-
- ---------------------------------------------------------------------------------
-
- Ok let's see fifth is moved in AL the add 11(hex) or 17(dec) and that
- has to
- be 58(hex) or 88 (dec).Our fifth letter is 58-11=47 !That is a letter
- "G"!For last letter is 78-10=68 and that is "h"So our serial looks like
- this
- now "1e1eG3abch"
-
- Let's go farther :
-
- ---------------------------------------------------------------------------------
-
- 0167:0045A688 E83B95FAFF CALL 00403BC8
- 0167:0045A68D 8D55D0 LEA EDX,[EBP-30]
- 0167:0045A690 E80BD5FAFF CALL 00407BA0
- 0167:0045A695 8B55D0 MOV EDX,[EBP-30]
- 0167:0045A698 58 POP EAX
- 0167:0045A699 E83A96FAFF CALL 00403CD8 //*Important*//
- 0167:0045A69E 7568 JNZ 0045A708
-
- ---------------------------------------------------------------------------------
-
- When you are on a Call write D EAX and you will get "c" Then write D
- EDX and
- you will get "4"We have to change "c" in our serial with "4" So our
- serial
- looks like this "1e1eG3ab4h"
-
- Let's go farther :
-
- ---------------------------------------------------------------------------------
-
- 0167:0045A6A0 8B55F4 MOV EDX,[EBP-0C] //* letters
- 6-9
- are put in EDX in our case "3ab4"*//
- 0167:0045A6A3 8A5202 MOV DL,[EDX+02] //* 8 letter
- in
- hex is put into dl in our case "b" ,62 (hex)*//
- 0167:0045A6A6 8BCA MOV ECX,EDX
- 0167:0045A6A8 80E920 SUB CL,20 //* 8 letter
- in
- hex sub 20(hex) in our case 98-20=78 *//
- 0167:0045A6AB 8B45F4 MOV EAX,[EBP-0C] //* letters
- 6-9
- are put in EAX in our case "3ab4"*//
- 0167:0045A6AE 8A4001 MOV AL,[EAX+01] //* 7 letter
- in
- hex in mov into al *//
- 0167:0045A6B1 3AC8 CMP CL,AL //*cmp if AL
- and
- DL are the same *//
- 0167:0045A6B3 7553 JNZ 0045A708
- 0167:0045A6B5 25FF000000 AND EAX,000000FF
- 0167:0045A6BA 81E2FF000000 AND EDX,000000FF
- 0167:0045A6C0 03C2 ADD EAX,EDX //*Al add Dl
- and
- mov into EAX*//
- 0167:0045A6C2 3DBC000000 CMP EAX,000000BC //*Eax cmp
- BC(hex)
- or 188 dec*//
- 0167:0045A6C7 753F JNZ 0045A708
- 0167:0045A6C9 8B45F4 MOV EAX,[EBP-0C]
- 0167:0045A6CC 803830 CMP BYTE PTR [EAX],30 //* 6
- letter
- is compared with 30(hex) which is "0"
- 0167:0045A6CF 7537 JNZ 0045A708
- 0167:0045A6D1 46 INC ESI
- 0167:0045A6D2 8BC6 MOV EAX,ESI
- 0167:0045A6D4 03C0 ADD EAX,EAX
- 0167:0045A6D6 3C33 CMP AL,33
- 0167:0045A6D8 742E JZ 0045A708
-
- ---------------------------------------------------------------------------------
-
- So our 6 letter must be "0"Our serial is now "1e1eG0ab4h"
- So i order to get pass first two jumps you have to succeed in two
- conditiones:1: a=b-32, and that 2:a+b=188,(b-32)+b=188, 2b = 156 ,b =
- 78 ,
- a=188-78=110 For one letter i would have number 78(dec) or 4E(hex) and
- that
- is letter "N"!And for second one 110(dec) or 6E(hex) which is "n"!
- NOw our serial it this:"1e1eG0Nn4h" WRite it in!!heh good work Cracked!
-
-
-
- *********************************************************************************
- *********************************************************************************
-
-
-
-
- Special and biggest Thanks goes to Corbio who made my cracking skill
- become
- better !GreetZ to
- Chordless,XasX,SEvando2000,NUKEM,Wishmaker,Acid_Cool_178,
- Fr1c,Woody,SV,Bratch,Batilog to all members of NC,GC,UCC,TCA,TnT...and
- all
- that i have forgotten!!
-
- And of course to all crackme's writes and to all people that have
- helped me!
-
- SOrry about grammer mistakes!!
-
-
- By NeO'X'QuiCk
-
-