Hello and welcome back.
Today we are going to create a search engine and this is where you need to find the correct places to
bash the software and to display the Syria key.
So let's get started.
So open correct me 14 the FCC for BBG and run it
now we study the behavior first just click on run
so a window pops up and any first name type ABC.
And for this year key since we don't know these hierarchy we can this time any theory key and click
on the button check and you get the error message.
This is a data box which shows the error message and that's OK button.
So this is our plan but if we crack this code to show these hero key here so we are going to use the
code itself so the assembly code is so modified somehow some way so that instead of showing the string
wrong zero key be making sure the correct 0 key.
So from here obviously here you can see that the program takes the first name and then performs some
kind of uh some kind of operation on it.
To January how is your key.
So now that we see that there's a message showing the wrong hierarchy we can try to find out where this
message box came from.
So to do that we used to call a stack method.
So we'll press the past now and then we go to record say two A's I mean make sure the program is passed
as you can see down here it is fast getting on the concept.
And now we look for the location where the user module caused the system to show the Delta box.
So this is the reason a module makes a call to the system.
So right click on it click follow from.
And the idea location and location after the call was made to the system to show the message box.
So if he's correct for that we can see that data jump over here and the jungle did take place to show
the context here a key Oh it doesn't take place in which case he will show the best message.
He hit that message which is two wrongs Hiroki so it is a good place to put her her point and run it
over here.
Okay.
So now it stops had fine and from here we can see that it is not going to.
It is not going to adjourn because this is greater and therefore you will it will go ahead and show
the least message.
So our strategy is the one to show this hierarchy instead of this message.
So we have to modify this assembly he must modify Assembly so that he is instead of moving a bad message
stream into edicts.
He want to move to zero key into an edicts.
So the strategy is like this.
So let's copy this in selection and put it in the not bad.
So presently we have uh this
let me tell you that a little bit ideally how this
uses were so presently this line is moving the uh wrong serial key string.
So this is the wrong Hiroki string.
It is moving they seem to heed the x and then calling a message in box here to show this message.
But he does not one this um that message to be shown.
He won the 0 0 key division.
So you have to change the uh address here to point to this hierarchy.
So let's look at the lights up here to see where this hierarchy is being stored.
If you look a foot up here you will see a few places where the zero key is there has been generated
is being stored.
So one location is here 7 1 9 1 0.
So over here.
If you click on this and right click here and if you go following them this address and here this address
you will see the zero key.
So this hierarchy is being stored here.
Here we see these 3 2 5 4 3 2 9.
So what we're going to do is you want to you're going to copy this address and replace it here.
So what we do we now cockiness 9 called PD 9 called piece nation
here and based it.
And what we won is this address so you copy this address and here we replace it is.
So this is why we do you won this so you are going to do it like this.
This is your original line.
You want to replace this.
Yes.
So we double click this location here and this part here.
Yes change is
changed the address to this address.
Copy this and is here and then make sure that the size is the same.
All right.
Same size.
OK.
All right.
Now close it.
So now you see he's copying the bad message to.
Yes.
We are now copying a secret key.
We are now copying the location in memory address which tossed this hierarchy into ATX so Navy running
as you see our error message.
So showing us a that string.
It is showing this hierarchy.
All right.
Let's leave it at that.
Now this series is in compete on these Hiroki we do need this now.
We need it is year so the zero keys heavy dash 3 2 5 4 3 2 9 3 2 5 4 3 2 9.
All right.
So we are going to copy this hero key okay and pacing here.
A quick check.
All right.
So now your response here is to run and see what happens and true enough it is correct.
Can I see Ricky.
So that is not a spam and not a first name and see where it is to see what's so let's put maybe my own
name and name here we can just type anything get an inkling run and now it tells us this here is this.
OK.
So now we copy this Hiroki be a you have my name and followed by 3 2 5 4 3 2 9.
Copy this and they can make here.
Okay and based in the hierarchy feature they run and is correct.
So we have created like Keegan out of the program itself.
All right.
So an unexpected.
So we go here and click file batch file and discrete patch file.
Yes.
Doesn't matter.
To say yes and click on this and just give it a suffix call it to badger and say to purchase apply click
OK here.
Now we can test our patch.
Right.
And this click anything up here.
All right.
Maybe make any here.
This time anything.
Click check.
And it tells us our series My 3 2 5 4 3 2 9 so our security is Mike 3 2 5 4 3 2 9.
OK.
So now.
OK we copy this here key chain pacing here check.
He's correct.
OK.
So this is how we create a kitchen a self keeping.
And this is the easy way to create kitchen.
We may use all the existing code to create a kitchen.
So the trick is let me just repeat.
Find out where the message box is being shown and we find out the message what is being shown here.
He's being shown here and then the net find out how to modify the string that is to be shown and to
replace it with zero key instead of the error message.
So to find the hierarchy you need to look for where the series may start.
So there might be some hunting for this program.
The for this program the end is quite easy because this hierarchy is great here but sometimes you may
need to dig into some of these calls to look for this hierarchy where it is being stored.
And once you engage your threats of failure as Iraqis Minister you just assemble the address inside
here to replace uh the that message string with this hierarchy address.
So that's it.
So thank you for watching.
I'll see you in the next as in.