You are on page 1of 25

SECUGENIUS SECURITY SOLUTIONS

--------------------------------------------------------------------------------------

(A UNIT OF HARKSH TECHNOLOGIES PVT. LTD)

Company Profile:
Secugenius Security Solutions is a Student Entrepreneurial Company started by 2 Social Student Entrepreneurs in 2010 with an aim to make our country Cyber Crime Free. We at SECUGENIUS are headquartered at Ludhiana, the Manchester of Punjab. The main activities of Secugenius Security Solutions are providing training in Information Security and various professional courses. Secugenius Security Solutions is an organization which believes in inventing and implementing new ideas to influence the technological minds of the youngsters Looking at the number of Cyber Crimes since last many years, We at Secugenius Security Solutions provides training on Ethical hacking & Cyber Security to students, IT Professionals, Bank Employees, Police officials. Secugenius conducts workshops in all parts of the country in various Colleges/institutions for the benefit of the students & making them aware of the latest trends in technological era of the Computer age. We believe in spreading knowledge to all the youngsters & growing minds of the nation so that they could serve the nation with perfect skill-sets in the field of Cyber Crime Investigation & Forensic Sciences Secugenius provides various security solutions to its clients by securing their websites from cyber attacks. We provide training to college students, graduates and professionals in various fields. Education is delivered to students through two modes i.e. Regular mode and Distance mode which are available as short term and long term courses. In the workshops conducted by Secugenius, participants can claim to be trained by the highly experienced & skilled corporate trainers from different parts of the nation. We believe in making the base of students to be as strong as possible. All the modules have been designed in order to provide students with specialized knowledge by specialized trainers. This library was furnished, managed and funded by the Founders and Directors of Secugenius Er. Harpreet Khattar & Er. Kshitij Adhlakha . The overall resource person for the content of the series of this Digital Library is Er. Chetan Soni - Sr. Security Specialist, Secugenius Security Solutions.

This Online Digital Library has been initiated as a free resource & permanent resource on specialization basis for every student of Team Secugenius.

Cracking & Patching Reverse Engineering


Product ID No: SG/ODL/13004 Founder & Director: Harpreet Khattar & Kshitij Adhlakha Resource Person: Chetan Soni
Secugenius Security Solutions SCO-13A, Model Town Extn, Near Krishna Mandir, Ludhiana-141002, Punjab India support@secugenius.com, info@secugenius.com www.secugenius.com , www.seculabs.in

Cracking & Patching


First of all what is cracking and what is patching? Cracking is the modification of software to remove or disable features Of Limited Restrictions. Cracking is a fancy name for basically guessing a password or Crack Email Accounts, etc..... Patching is the technique which fixes the Program Bugs. A patch is a piece of software designed to fix problems.

The Tools Required:


1. De-assembler (I Preferred [Hackers Disassembler] and [Hview]) 2. Resource Hacker 3. A patch Creator (Use [Universal Patch Creator] or [Code fusion]) 4. Winrar

First of all Download these tools from Google and Install Winrar.

Now make two Folders on Desktop named as Cracked and Original.

Now Copy winrar.exe (From Program Files) and Paste in both Folders i.e. Cracked and Original.

Now Open Hackers Disassembler Software.

Open Winrar.exe from Cracked Folder in Hackers Disassembler Software.

The Disassembler will disassemble the executable in assembly code.

Now you need to search for strings that are used in Winrar program.

Press Ctrl + F and type evaluation without quotes and search in the assembly code.

Reach this block of code using search function

After you have reached this block of code by searching, just look at the block of code above it. There you will find that some assembly values are being compared and then code is jumped to some other function.

Now see carefully, the evaluation copy function must be invoked after some specific condition is met.

Now Note the Memory Address (00444B71) In the above code you can see this code 00444B6A: 803DF4B84B0000 cmp byte ptr [004BB8F4], 00 00444B71: 0F859B000000 JNE 00444C12

Note: For any Winrar version, this code and memory address might be different, but the JNE will be same. Now you need to search for the code that brings that ugly screen Please purchase Winrar license after your trial period of 40 days is over.

For this, look over your toolbar and click on D which stands for looking for Dialog references. Hit the D in toolbar Now in the dialog box that opens, search for purchase and you will get the reference as

It Shows ============================================ ID-REMINDER, Please purchase Winrar license ============================================

Double click on it and you will reach the subsequent code. Note down the location of REMINDER dialog code.

The code will be something like ================================================ * String: REMINDER 0048731A: 68EB5E4B00 push 004B5EEB ================================================ Just note down this memory address (0048731A)

Now we will be patching up values of memory addresses we noted earlier (00444B71 & 0048731A). It will be dome by using HVIEW. Now Open Hview.

Open the EXE in it

After you have loaded it, you will see the code is unreadable. Its just like opening an EXE file in notepad.

You need to decode it. To do that, just press F4 and you will get an option to decode it. Hit DECODE and you will be able to see code in the form of assembly code and memory addresses.

After you have done that it will look like something as shown below

Now you need to search for memory addresses you noted down earlier. Just hit F5 and a search box will be there. Now you need to enter the memory address. To do that type .444B71 in place of 00444B71 and Press Enter. (Leave 00)

It will reach to the Assembled Code After you have reached the respective code, you need to make changes to it.

Press F3 and you will be able to edit the code. Now make the following changes (Replace 85 to 84)

After you have done it, save it by pressing F9. Now search for next memory location by pressing F5 and entering it.

Reach there and make the following changes by pressing F3

Make these 5 Changes (Replace 68-90 EB-90 5E-90 4B-90 00-90)

Now save the changes by pressing F9 and exit HVIEW by pressing F10.

You have cracked Winrar :)


Replace the original with this
[Desktop/Cracked/winrar.exe]
Now you have a 100% working version of EXE, you might want to change your registration information in Winrar. To do this, you can use Resource hacker.

[Program Files/Winrar/WinRAR.exe]

Open Resource Hacker and load the winrar.exe (From Cracked Folder or Original Folder (Better is Cracked Folder)) in it.

Now go to DIALOG > ABOUTRARDLG -> 1049 and click it.

Now Find Trial copy line and replace it with your favorite one.

Make changes and compile them. And click on Compile Script button. Now save the file with any name on your desktop or any location what so ever.

Now you have a fully patched WinRAR.exe file.

Make a PATCH
For this I Preferred diablo2oo2's Universal Patcher (UPE) for Creating the Patch.

Launch Patch Creator and click on new project.

Enter project Information and click on save.

Now Create Offset patch For this Add -> Offset Patch.

After you have done that, double click on offset patch and then 1. Give path of original winrar.exe (From Original Folder) 2. Give path of unmodified Winrar.exe (again From Original Folder) 3. Give path for fully patched Winrar.exe (i.e. Cracked Winrar.exe from Cracked Folder) 4. Click on compare and it will show difference between both files. 5. Click on save.

Now in the next window, click on Create Patch and save it.

The Patch will be created. Now copy it in Winrar installation Directory. And Hit the Patch

Run the patch and it will work.

And Now open any Rar File You will see that Evaluation Copy Goes and this is now made a Fully Cracked Full version Winrar Software for Life Time.

You can crack other software in the same wayjust practice, debug and disassemble and you will get the way.