home *** CD-ROM | disk | FTP | other *** search
/ KeyGen Studio 2002 / KeyGen_Studio_2002.iso / Tutorials / CrackMesCbjNet / cey-cm14.txt < prev    next >
Encoding:
Text File  |  2001-09-21  |  3.6 KB  |  131 lines

  1. Reversing Genocide Crew Crackme14
  2. By CeyCey
  3. Hi again,
  4.  
  5. I hope u wrote my first tut which was for crackme4 coz I gave lots of extra 
  6. infos about SI and in this tut I wont repeat the same things...
  7. If u havent read it plz read it first then turn this one.(For your benefit 
  8. :)  )
  9.  
  10. Ok  Lets burn!!
  11.  
  12. When u open the programme first impression is, its easy to crack it.( if u r 
  13. an advanced cracker then its easy of course).But in this crackme there is no 
  14. serial which the programme calculates the right one and compares it with our 
  15. serial! So read carefully!!
  16.  
  17. Now open the programme ,open SI and set a breakpoint on hmemcpy! Quit,
  18. press check button,yes we r in SI again! Press F12 till u r in 32 mode and 
  19. trace by F10 till u see this!
  20.  
  21. 004286E6   MOV   EAX,[EBP-04]
  22. 004286E9   CALL   004037A8    ----->  type d eax  u get 12345 (our serial)
  23. 004286EE   CMP    EAX, 04
  24. 004286F1    JL        004287D6  -------> if we write less then 4 number it 
  25. goes to nowhere
  26. 004286F7    MOV   EAX,[EBP-04]
  27. 004286FA   MOV   EDX,0042880C
  28. 004286FF   CALL   004038B8  ------> type d eax (12345)
  29. type d edx u get
  30. 2147483647..Good
  31. job.....Wow!..You got
  32. it...Oouuhh!!...Not yet..
  33. in data window!
  34. First I thought its crackme 14 and what Gandalf wanted to do by coding this 
  35. kind of easy crack.(there is a certain serial [2147483647] and I thought if 
  36. I wrote it I will crack it)
  37. Nope I was wrong it was only a trap!
  38.  
  39. Anyway , after I relaxed (that I learned its not so easy which I thought to 
  40. be) I traced more
  41. and again lots of dec,inc,add starts and after all these calculations u come 
  42. here!
  43. 00428771   JNZ   00428728      JUMP  ^  (jumps upward)
  44. 00428783   SUB  EDI,[EBP-0C]
  45. 00428776   JNZ   004287C3 --->  bad message
  46.  
  47. At this point programme jumped 4 times to upward (to 00428728 adress) then 
  48. no jump..
  49. at adress 00428776 we will do the same trick again.."r fl z"
  50. Now the elementary math starts (which the words Gandalf wrote in info of 
  51. this crackme)
  52.  
  53. 00428782   MOV   EAX,ECX
  54. 00428784   MOV   ECX,000000B
  55. 00428789   CDQ  ------->  ? eax=12345(our serial)      ? 000000B=11(whats 
  56. that 11??)
  57. 0042878A   IDIV    ECX -----> divide eax (12345) by ecx(11)
  58. 0042878C   MOV   ECX,EAX ---->now ecx is 1122   (the result of 12345/11)
  59. 0042878E    INC     EBX   ---->how many times we divide our serial to 11 is 
  60. loaded onto ebx
  61. 0042878F    CMP   ECX,01  compares ecx (in first time 1122 with 1)
  62. 00428792     JNZ    00428782  if not jump upward to 00428782 then do the 
  63. same calculation again
  64. 00428794    CMP   EBX,08  -----> after for a few times if our serial can be 
  65. divided by 11 check if it was divided to 11(eleven)   8 times
  66. 00428797     JNZ    004287AE   if its divided for 8 times go to good 
  67. message!
  68.  
  69. what does all these codes ?
  70. what number we must write to serial?
  71. yes it must be divided by 11 and it must be divided to 11 - 8 times!!!
  72. that means 11x11x11x11x11x11x11x11=214358881  (11*8)
  73.  
  74. Ok lets check it!
  75. Wow we got it!!!
  76.  
  77. But there is problem, if it works then what does first part do that we wrote 
  78. r fl z on jnz?????
  79. I turned back to that place and tried to understand whats happening!
  80. At
  81. 00428765   MOV   EAX,[EBP-10]
  82. 00428768   CALL  00406444  -----> type d eax
  83. when u write d eax ,(as I said for "12345" program jumps to upward 4 times 
  84. and if u write d eax at this adress u can see 1,nothing (for the first time) 
  85. then after a turn 2,3and last time 4,5 (it checks   the sum of odd numbers 
  86. with the sum of even numbers and try to divide the difference to 11.(open 
  87. your primary school books and look for the 11 dividing rule :D ) If its ok 
  88. it tries the second part which must be 214358881
  89.  
  90. Enough for now!
  91.  
  92. Wait for new tuts
  93.  
  94. Greetz to Gandalf and fALCON  and other crackers!!
  95.  
  96. CeyCey
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.