home *** CD-ROM | disk | FTP | other *** search
/ KeyGen Studio 2002 / KeyGen_Studio_2002.iso / Tutorials / Code Inside / Ben_tut13.txt < prev    next >
Encoding:
Text File  |  2001-09-21  |  3.9 KB  |  98 lines

  1.                       --Softice Tutorial--- 
  2.  
  3. Written by Shany
  4. Email: shanytc@yahoo.com
  5. Date written: 23.4.2001
  6.  
  7. Program Details:
  8. Name: nIabI's crackMe 1.0
  9. Author: BenGALY
  10.  
  11. Tools Used:
  12. Softice
  13. 32dasm
  14. hex-editor
  15.  
  16. Rank:
  17. easy[X] medium[ ] hard[ ] 
  18. ________________________________________________________________________
  19.  
  20.  
  21.                     -About this protection system-
  22.  
  23.             Protection which based on serial protection.
  24. __________________________________________________________________________
  25.  
  26.  
  27.                                  The Essay
  28.  
  29. As this is a tutorial for newbies, I'll go into details about how I go 
  30. about cracking the program. I suggest that you read this tutorial first.
  31. When you have completed the tutorial, leave this tutorial open and follow
  32. the instructions. Re-do it once more after you have completed the step 
  33. by step guide...
  34.  
  35. In this essay, when I write type "d EAX" or similar commands in Softice,
  36. I mean it without the quotes.
  37.  
  38. __________________________________________________________________________
  39.  
  40.                             Lets Crack The Bitch ;)
  41.                 
  42.  
  43. ok, this is easy to..in all of my tut i will try give u many tut's which are using only serial/code sniffing, to give u the idea how to find serial/code in many ways (some the same with only diff registers).
  44. ok open the crackMe..u will see 2 text box..fill the first box not the the second one to..(some may to confused)..so our first text field is where we put the serial...i entered this:
  45. serial: 1234567890 <= some crackme does a compare with cirtain letters/num so the best is 1-0
  46.  
  47. i will show you 3 diffrent ways to crack the crackMe:
  48. 1.using SoftIce
  49. 2.D32asm <= mostly much easier...in this case it is
  50. 3.patching using hex-editor
  51.  
  52. Method 1: "SoftIce"
  53. --------------------
  54. do a bpx hmemcpy, f5,...enter serial, press "check it" button..softice pop-up press f12 (12 times) untill we will reach the code..u will be here:
  55.  
  56. ----snip----
  57. xxxx:yyyy MOV EAX,[ENP-04] ; our fake serial
  58. xxxx:yyyy MOV EDX,0042D590 ; 0042D590 = real serial move to edx
  59. xxxx:yyyy CALL 004238D0    ;good boy "u made it"
  60. xxxx:yyyy JZ 0042D555      ;bad boy "wrong code DUDE"
  61.  
  62. since the crackme use a little compare we can assume the serial is somewhere in the begginig.
  63. so if u will do: d 0042D590 u will see in the data window this: Benadryl
  64. serial = Benadryl
  65.                                  
  66.  
  67. Method 2: "D32ASM"
  68. -------------------
  69. disassmble the crack me, click the str-ref button..look carfully..click the "u made it" scroll up a bit and u will see "Benadryl" <= hmm..what is it?? lol..it's a serial. heh ;)
  70.  
  71. Method 3: "patching"
  72. -------------------
  73. so..so dont close the 3dasm cuz we will need some data from it.
  74. click the str-ref button..look carfully..click the "Wrong code DUDE"..scroll up a little but till u will see this:
  75.  
  76. MOV EDX,0042D590; serial
  77. CALL 004038D0 ; good boy
  78. JE 0042D555 ;<= patch this line to move above the badboy massage to the good boy massage
  79.  
  80. now move on to the JE location and look down u will see @offset 0002c941h (dont write the h, it's only mean hex), now open hex-editor (hView)..press f4->decode->f5 (search) 2c941->f3 change the instruction 74 to 75..(meaning je->jne)..perss f9 to save the file, press 10 to quit hview.
  81. now evertything u will enter to the crackme it will be registered ;)
  82.  
  83.                                   CrackMe cracked ;)
  84. ________________________________________________________________________________________________ 
  85.  
  86.  
  87.                                  
  88.  
  89.             
  90.  
  91.                         My thanks and gratitudes goes to:
  92.  
  93.                    
  94.                       ----CODE_INSIDE----- ;for helping in cracking
  95.                      -----BLAcKgH0sT------ ;for being good friend :)
  96.                        -------FusS------   ;asm / keygenning helper
  97.  
  98.                       All the writers of Cracks tutorials and CrackMes