CRACK CD PROTECTION

March 20, 2011 at 8:20 am | Posted in Computer, computer and high technology, computer and technology, Hacking, news, Tips and Trick, Tutorial | Leave a comment

In this Tutorial , We will going to learn how to Crack Cd Protection.How and where software and games companies save their product’s password .
Want to know how Hackers crack CD Protection of softwares and Games and get the passwords out.
This process is very simple and it is just a four step process. Click Here to Download free E-Book .

Step 1:

This step will help you with the most basic system of protection, called C- dilla, which is the most usual one…

Program Used:

Decompiler like Win32Dasm
Hiew(Editing files) Decompiler

Decomplier is used to decompile the exe files. The files we will Work with are in ExE format, and we need a program that will HeX them (transfer to 16 base, hexa, form) and locate the orders given in the code, then we will Find the line we need and change it to remove the protection with… – the Second program: we need a program that will *edit* the files, and fetch the right line number we got using the first program… all those action are easily Done w/ the programs:

Win32Dasm (the disassembler – decompiler program, added in The dir [root/Win32Dasm]), and Hiew (the editing program added in the dir [root/Hiew]). The programs are added to the tutorial, because I’m not so sure you can find then on a stable location on the net, in the dir [root/programs].

Step 2: The Easy Protection.

Okay! To save you from reading this entire tutorial for nothing you’re not going to use I made this chapter, because there is a good chance you won’t be needing it! Some games comes w/ protection as a files in the [/Setup] dir (or root dir) called: [00000001.TMP], [CLCD16.DLL], [CLCD32.DLL] and most important [CLOKSPL.EXE]… if you see any of them delete it and the protection should disappear (Important! delete them after making a mirror of the game on your HD, Using the info in the next chapter) … if you are still getting an error message just keep on reading.

Step 3: Finding the right file and right error.

The files we are going to work w/ will be the main ExE of the game: you will find it on the CD, in a dir called [/Setup] or [/data], but the easy way to find it is just installing the game, and the ExE that starts the game – will be the ExE we need! … Once you’ve got it make some room on your HD, because we are going to copy the whole CD to it… before you do that: some games have am option, when installing, to install the full game to the CD (but still needing it to play), use it if possible, the files you need to copy are all the game files, in some games it is the root dir of the CD, in others it is the [root/data] dir…

The worst case is when the game is inside a CAB file, and then you have to use a CAB extractor (WinZip 8 should do the job), and if it is protected a different program that can compile CAB format (I’ll try to put it on the tutorial as Well). Once you’ve done all that – press the ExE, and if the game opens close it and exit the CD, and then press again- you will get an error window! … Usually the line goes like: “Error, please enter CD to run game” or “CD error” or “Error
Reading CD-ROM”… what ever error you get – write it down and remember it, we are about to look for it in the ExE code, and change it!

Step 4: Finding the right line number.

Open the first program – Win32Dasm, by unzipping it and clicking on [/w32dsm89.exe], now we have to load the file we know is the main ExE of the game, so click on “Disassembler“in the main menu, then “Open File to disassemble…” (Important!) Make sure you got 50-100MB free on your HD) before then pick the file from the clone game dir you made in your HD (Important! make a backup of the ExE) … after you’ve success fully w8ed while the program disassembled the file, you will see *a lot * of gibberish… don’t worry! You don’t have to understand what is says (I don’t, and I’m not so sure ne1 does…

Except the programs of course) … (Important!) If you can’t read and the font shows only numbers and bizarre letters, click on “Disassembler” in main menu, then “Font…” then “select Font” then pick Arial or something in English) … now you have to find the exact line number out of the 2 million in the file that has the error message in it, do that by clicking the “String Data references” button, from the buttons menu (under the main menu) – the second one from the right (-your right)… now you get a list of all the lines in the ExE that refers to actions, and you have narrowed the lines from 2 million – to 2 thousand… to find the error message click the first letter it started w/ (for example, if the message was “Error reading CD-ROM” click E) then search ‘till you find the error line you are looking for! … Once you’ve found it… it will mark the title, pick the first line, and it should change color to green (that means the line can be edited and is important)… to be sure you have taken the right line: if

There is a line like:

“:0044XBCK EB08 ….. (Lots of spaces) …. Jmp 0044EBD8” or:
“:0044XBCK EB08 ….. (Lots of spaces) …. Call 0044EBD8” or:
“:0044XBCK EB08 ….. (Lots of spaces) …. Push 0044EBD8”

You are at the right line, it says the command is a function, effected by the user, and probably the protection we are looking for (notice the words: Jmp = Jamp, Call = Call, Push = Push)… now that we got the right line we have to find her number! That is done by looking at the bottom of the program window and in the line that should look similar to this one: “Line:*** Pg *** of *** Code Data @:0045821 @Offset 00045821h in file:***.exe“ Notice the number that comes after the word „Offet“in this line: 00045821h that is the line number! But notice the letter „h“at the end of it – you don’t need it, and don’t forget to remove it from the number, now – the only thing left to do is changing the line and removing the protection!

Step 5: Editing the line.

After writing down the line number you can minimize Win32Dasm, because for now we have finished using it. Open the second program: Hiew (added in the tutorial), this is an editor that will work badly for searching the right line, but will do if you know the line number and just wanna change it… open again the same game ExE you have processed in Win32Dasm. When you enter you see a lot of gibberish, that’s the code, and you need to change it to the decoded language… do that by pressing the F4 key and then pick the option “Decode“… heh! A lot better now… now click F5 key, to search the right line, You will see the line numbers at the left end of the screen is gray, enter the line number you got from Win32Dasm and it will jump you to the right location in the file… now, this is the difficult part, not hard to do – but hard to explain, near the line number (just at the right) you will see the command in HeX form, it should be something like BC1BB3D2D1 that is in HeX code (base 16) Which means a number (=byte) is represented by 2 letters/number, so that the Group (BC1BB3D2D1) is made of 5 bytes: BC – 1B – B3 – D2 – D1 … (10 numbers = 5 bytes, 8 numbers = 4 bytes and so on…), we are about to change every byte .
From D1 or BC to 90 this is done by pressing the key F3 (activates Editing Option) and pressing, for every byte, the number 90 (90 is the noop number, that Will disable the action)… and in our case, the command will change from BC1BB3D2D1 to 9090909090 … once it is done click the key F10 to save the Offset, and exit.

Step 6: Testing

Now that you have an ExE w/out the error line, activate it from the same clone Dir of the game you made to test it, if it’s working – congratulation! You have just cracked a CD protection! … If you are getting another error message redo.
The same steps you have done w/ the first error message (in chapters 3-5) to change it as well (Important! Do it on the same ExE you have edited, and backup this one as well) and then test it again. You might be needed to do it several number of times, until you are getting no error message and the game runs! chapter VII: Quick order list. Start without Cd then look at the error message and write it down.

– Search the msg in Win32Dasm reference and copy number w/out the H at the end!
– Open Hiew, F4 to Decode, F5 to search the line, and change the command – 90 for every 1   byte.
– F10 to save and then get out, don’t forget to test!

Good Luck Cracking.

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.
Entries and comments feeds.

%d bloggers like this: