0% found this document useful (0 votes)
60 views11 pages

How To Debug and Patch Crackme1 File Using IDA PRO

The document provides a step-by-step guide on how to reverse engineer, debug, and patch a CrackMe1 executable file using IDA Pro. It outlines the process of analyzing the program flow, setting breakpoints, modifying the code to change program flow, and applying patches to allow any serial key to run the program. The instructions include specific menu options and actions to take within the IDA Pro software.

Uploaded by

i221648
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
60 views11 pages

How To Debug and Patch Crackme1 File Using IDA PRO

The document provides a step-by-step guide on how to reverse engineer, debug, and patch a CrackMe1 executable file using IDA Pro. It outlines the process of analyzing the program flow, setting breakpoints, modifying the code to change program flow, and applying patches to allow any serial key to run the program. The instructions include specific menu options and actions to take within the IDA Pro software.

Uploaded by

i221648
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

How to Reverse Engineer, debug and patch crackme1 file using IDA PRO.

Drag the CrackMe1 file onto the IDA-Pro Software icon or open the IDA-Pro Software and
click on New and select CrackMe1.exe file.

After opening the file, a new screen like below will come. Click OK.
A new screen will top up. Here, press no to continue.

Now, a new screen containing the program flow chart will come. Analyse this graph.
Now go to View -> Open subviews -> Strings.

Then press Ctrl + F and search congrats.


Now double click on highlighted aCongrats ; Data XREF:…. Statement.

The flowchart containing statement related with aCongrats will appear. This is our target
point.
Now, add a break point on the following statement, because, it splits our program in to two
paths.
Jnz short loc_401130

After adding the breakpoint, the statement will turn red.


On the next screen, select Yes.

To any serial key as a test case.


Observe the flow of program, which is shown in the blinking arrow. We need to change it.

To change flow, go to Edit -> Patch program -> Assemble


Change jnz to jz and press OK.

Now, go to Debugger -> press step over or F8.


On the next jump statement, change the flow. Go to Edit -> Patch program -> Assemble.

Now, go to Debugger -> Step over or F8.


Press F8 multiple times and you will see Well done!
Patching Steps

Now, stop the debugger and go to Edit -> Patch program -> Apply patches to input files…

Click the checkbox create backup and press OK. Patch file will be created. Now you can
enter any serial key and it will run.

You might also like