Lost Password?

Go Back   CodeCall Programming Forum > Software Development > Tutorials > Security Tutorials

Security Tutorials Tutorials on how to protect your software against crackers.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-02-2007, 01:48 PM
TcM's Avatar   
TcM TcM is offline
Moderator
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 7,348
Rep Power: 66
TcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud of
Default Cracking an Application Method One (PART 2)

Read Part one Before Here:
Cracking an Application Method One (PART 1)
So here comes in HIEW, so write down that address (0043B04D) and now you can close W32Dasm, no need to save. So copy the file you want to crack in the HIEW folder for easier access.

So this is HIEW:-



And as you can see it is not so user friendly so that is why I told you to copy the file into the same folder, now as you can see there is the ‘CrackMe.Exe’ scroll down to the file you are cracking and press enter to open it. Now you will see this:



Now Press F4 on your keyboard and select Hex. So you will now see this:-



You are seeing The Address (this should ring a bell in your mind) then the AAM number of the operation, and a small description of the operation, example, Add. Now Press F5 and you will see this:



Now write .the address, so in this case it is .0043B04D, DO NOT FORGET THE FULLSTOP BEFORE! As this might give you an error like range out of file. And that is not a good thing, so if that happens to you don’t give up! Just enter a fullstop before the address. So it will be something like this:



Afterwards press Enter and you will be taken to that address and the following will be displayed:



As you can see it is a jne (the same as we saw in W32Dasm! So you are on the right track. Now you can edit just the numbers so you need to know the number of the opposite operation, meaning if it is a jne, the number is 75, and the code of the je is 74, so we edit that 75 into a 74, if you want to not to display that message box you should make 90, meaning NOP, that stands for No Operation, but that does not always work while cracking applications. That is used to disable a register splash screen, usually. But this is not our case! So press F3 and write 74 instead of the 75 and press F9 to update so now this should be a je, like this:



Now press F10 to quit. Now congratulations you have cracked this application.. Can’t believe it? Let’s test it, open the cracked exe and enter anything you want.. I entered ‘I don’t care!’ and haha.. the cracked work!



Congratulations! Now the main aim of this article is to tell you how to protect yourself from such an easy method of cracking. Because this was way too easy. Well usually the solution is even simpler, Just use an EXE compressor or encrypt your EXE, this usually solves this problem.. and at least your applications will not be so easily cracked! But please not that there are other ways to crack it, even with the compressor, but that will require much more work.. so for now this should solve it!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 11-02-2007, 07:18 PM
NeedHelp NeedHelp is offline
Programming God
 
Join Date: May 2006
Posts: 527
Rep Power: 12
NeedHelp is on a distinguished road
Default

Excellent tutorial, one question though. What is an EXE compressor and are their free ones?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 11-03-2007, 06:42 PM
TcM's Avatar   
TcM TcM is offline
Moderator
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 7,348
Rep Power: 66
TcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud of
Default

Well an EXE compressor is a program that usually compresses EXE files, but they still are executable on their own.. so that involves some sort of simple algorithm, so the EXE file is not so plain.. it is kinda encrypted.And I don't know of any free ones (I am not saying there are none) just search for some.. I bet you will find.. And thanks for the feedback!! It was a long tutorial!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 11-03-2007, 10:54 PM
John's Avatar   
John John is offline
Co-Administrator
 
Join Date: Jul 2006
Age: 19
Posts: 2,745
Last Blog:
Passwords
Rep Power: 20
John has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud ofJohn has much to be proud of
Send a message via AIM to John
Default

Be sure to check out one of our sponsors Software Copy Protection
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog
Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 11-14-2007, 12:25 AM
mthomas169 mthomas169 is offline
Newbie
 
Join Date: Nov 2007
Posts: 1
Rep Power: 0
mthomas169 is on a distinguished road
Default Thanks

worked great!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #6 (permalink)  
Old 11-14-2007, 03:33 AM
TcM's Avatar   
TcM TcM is offline
Moderator
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 7,348
Rep Power: 66
TcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud of
Default

You are welcome! Hope that you now are able to make your software more secure.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 11-20-2007, 07:22 PM
kassinokidd kassinokidd is offline
Newbie
 
Join Date: Nov 2007
Posts: 6
Rep Power: 0
kassinokidd is on a distinguished road
Default

Nice tut , should help anyone know the basics of cracking :P
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 11-20-2007, 08:06 PM
kassinokidd kassinokidd is offline
Newbie
 
Join Date: Nov 2007
Posts: 6
Rep Power: 0
kassinokidd is on a distinguished road
Default

Although, I have a question, on some programs , while using Hiew and I try to edit and Says Read Only, although that is the correct address :P.



Bleh forgot to edit the first post XD sorry double post lol
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 11-21-2007, 06:01 AM
TcM's Avatar   
TcM TcM is offline
Moderator
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 7,348
Rep Power: 66
TcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud ofTcM has much to be proud of
Default

It is read only because you have the application open (the one you are cracking)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 11-23-2007, 08:23 PM
kassinokidd kassinokidd is offline
Newbie
 
Join Date: Nov 2007
Posts: 6
Rep Power: 0
kassinokidd is on a distinguished road
Default

Yeap, lol no wonder when I did it freshly it happened.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cracking an Application Method One (PART 1) TcM Security Tutorials 26 07-30-2008 03:33 PM
Adding MSCOMM control to Visual C++ Application ifitzgerald C and C++ 2 09-14-2007 10:05 AM
Terminate a method..... Ronin Java Help 1 02-08-2007 02:03 PM
Java Help Files xXHalfSliceXx Java Help 3 11-28-2006 11:30 PM


All times are GMT -5. The time now is 10:43 PM.

Contest Stats

GoogleKeyw ........ 20.00000

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 67%

Ads