What are softwares?
Softwares are just a collection of instructions, which perform certain Tasks
so lets say, You have calculator on your laptop. that is a software made up of hundreds of instructions
which a programmer have written for you, one of the instructions looks like this
ADD EAX, 5
This instruction tells computer to add, whatever it is in EAX and the Number 5 and Store the result back
into EAX
Which then converts into Binary Code by Assembler.
Which looks like this.
1001 0001 01010
and computer takes this instruction. and executes it. by
turning switches on and off. that's how a transaction is Executed on your computer.
Reverse Engineering
Each software you have on your computer is in the form of Binary file
it contains nothing but strings of zeros and ones.
There is a software called IDA
which is used to convert your binary file. into assembly language.
and that binary file now you can change :D the code of it.
lets say you are playing a game, which stores your SCORES in a memory address in your computer
you can track that memory address, using IDA.
when you collect a Gold coin, and adding 10 coins in your wallet.
you can change that instruction to
ADD EAX, 1000
And now you have cracked your game,
now whenever you collect a coin in the game. it adds 1000 to your scores.
and not 10 which programmer originally designed to do it.
Reverse Engineering can be used to?
- Crack passwords of your binary files
- Change memory address values
- Change the logic of the program
- Anything you can do with Reverse engineering