Jump to content

Cracking an Application Method One (PART 1)

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
52 replies to this topic

#1
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts

Cracking an Application Method One


Well For this Security Article I will use A ‘Crack Me’ Application, as I don’t want to use any software that is shareware as that IS ILLEGAL. And as this forum is full of programmers I don’t want someone to tell me, “Hey you are cracking my program!”. I don’t do such stuff! Try these methods of cracking on ‘Crack Me’ Applications. This will help you to know how cracking is done, how simple it is to crack, and how simple you can loose money because you have your cracked application running on the Internet. So knowing all this, it may help you to prevent such cracking.

This is only one method, and this is just the simplest and the most basic form of cracking. This will NOT work on all applications, as some of the applications are more secure and can’t be cracked with this method, but of course NEVER secure enough to be 100% uncrackable!

So let the fun start, first Of all You will need an application called W32Dasm, and another software named ‘Hackers View’ or even known as HIEW. You can find them attached.

After downloading these two programs extract them to a folder where you want, now fire up W32Dasm and go to ‘Disassembler / Open File to Disassemble

Posted Image



Now browse to the file you want to crack and open it, if it does not open then copy your file to the desktop and open it with W32Dasm from there, it should open. After that give it some time to open it completely. Now open your application in our case it is this one:

Posted Image

And we are going to crack where it says ‘What word am I thinking of?’ Now try inputting something where you want to crack and press ok, It should tell you that it is wrong, now either write down that phrase or remember it. Make sure you do!
In this case it errors out this message:

Posted Image

So now we go to W32Dasm and go to Search / Find Text

Posted Image

And write down a part of that phrase, in this case I wrote only ‘Sorry, not’ and press ‘Find Next’

Posted Image

It should take you to the place where there is that phrase:

Posted Image

Now scroll up a little bit and you should see something like:

Posted Image

So this means that this message is displayed from the address 0043B04D. So Scroll up even more until you find that address:

Posted Image

So now we know that this is a jne, meaning ‘Jump If Not Equal’ so this is self explanatory, if we enter wrong text and it is not equal to the text then as it is not equal it will jump to that message box. So we have to edit that from jne to je ‘Jump if Equal’

Now at the bottom of the W32Dasm you should see something like this:

Posted Image

Read Part 2 here:
http://forum.codecal....html#post25914

Attached Files


Edited by TkTech, 30 July 2008 - 03:46 PM.


#2
Guest_buggy_*

Guest_buggy_*
  • Guests
this is good stuff to know, im just now learning to program

#3
muzamilsumra

muzamilsumra

    Newbie

  • Members
  • Pip
  • 1 posts
thx bro really gud tutorial

#4
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Thanks. Any suggestions?

#5
MoTu

MoTu

    Newbie

  • Members
  • Pip
  • 4 posts
Thanks bro...

#6
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Welcome. Hope you like this stuff :D

#7
schmeng

schmeng

    Newbie

  • Members
  • Pip
  • 1 posts
Thanks for taking the time to explain this. Much appreciated!!

#8
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
You are welcome. Use this wisely, and remember it's for educational purposes only.

#9
CaluMoo

CaluMoo

    Newbie

  • Members
  • Pip
  • 1 posts
Brilliantly written

#10
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Thanks... :D:D:D

It's sort of asking for it, publishing this sort of tutorial, then writing "now remember kids, only use it for educational purposes", don't you think? Although if you're writing your own program, you might want to test its security.
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums

#11
TcM

TcM

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 11,147 posts
Well there are many tutorials that are for educational purposes only, if you will not know such things you will not be able to protect your own applications!

#12
Xav

Xav

    Writes binary right handed and hex left handed

  • Members
  • PipPipPipPipPipPipPipPipPip
  • 13,118 posts
Hmm... I see what you mean. It's just, sort of a shame that the techniques involved can be (and are) used for malicious purposes... like ME! jk :D
Jordan said:

Good members, like yourself, stick around and post for ages to come!
Mr. Xav | Blog | Forums