Okay.
After we completed all this program, we built a lot of very good evil file that we can use in a lot
of places, that there is still something that we can do with them.
Okay.
And that is about persistency.
What does that mean?
That means I want to build my program, or I want to show you how you can use this program in a windows
machine, that whenever the victim is starting the windows machine, your program needs to start loading,
okay?
Start executing so you don't need to.
Every time go and double click on your window on your, for example, backdoor or any of your You will
find that you created.
So one of those ways is to add those entry into registry.
Let me show you how we can do this into start menu.
We are going to search for our registry editor.
Let's hit this and let's see.
So into this registry let me show you.
Okay.
Whenever you are searching for registry editor you will be able to see something like this.
Okay so let's go to second one.
It is called H key current user.
And after that we need to come here into the uh software.
Okay.
Software.
And after uh, searching for software, we need to come to, uh, Microsoft.
Okay.
And after that, we need to find windows again.
That is here.
And after that, you need to come to current version.
Okay.
Windows.
Okay.
Current version.
And finally, we need to find this run here.
Now in here, if you give any thing, add anything in here whenever your computer is starting.
Okay.
When it is started.
So it will automatically it will start executing.
As you see here there is three files okay.
One of them it was Microsoft Edge update.
I removed this because whenever I was starting my computer.
So it was starting to update the Microsoft Edge and I really didn't like that.
So there is another thing that is called on drive or one drive dot exe.
And whenever we start our computer automatically, this will start loading.
So how can we add something or like, uh, our program right in here.
Okay.
Add that.
So, uh, we, we are able to add our program here very easily.
Just let me show you a simple example.
Uh, by using the read or write command.
We can add this okay.
For example I'm using bridge rig or eg and then add.
Then I use h k c u slash.
And then you need to write uh this location software Microsoft Windows Currentversion run.
Okay.
So let's write that okay.
The first one is called Software.
And then we have Microsoft.
And what is the next thing?
Microsoft.
We have windows.
We have current.
Version.
And finally we have Ram.
Okay.
So now this is the location that we want to add.
But still there is something we need to add something extra.
Okay.
One of them is uh dash or slash v okay.
Slash v is a value or name here.
As you see, the first one is default.
The other one is, uh, Microsoft Edge.
And this one one drive or on drive.
Then now I want to add this as, uh, give it something like test.
Okay.
And also we have another thing that is called T.
T is for type.
As you see, type is ready and this is z.
We need to give specifically this one.
So reg underscore is z.
And also.
All right.
Okay.
We need to give another thing that is called D.
And this is the location of your program for example your backdoor or your any program in any file that
you have that you created.
You can add that here.
So and for example mine is in C drive and into the program for example okay.
Right now it is not in this location.
Just imagine that it is in this location.
For example it is this dot x and this one.
Now I hit enter.
You see that the operation completed successfully.
And right now you see nothing here.
And for example, I click somewhere else and then I click on run.
Now you see that something new added called test.
This is the type and this is the location for the file C drive program file.
And also test dot exe.
So now whenever I start the program the windows sorry the windows machine it will come and try to execute
this program.
That's called test dot exe from this location.
But in this location actually I don't have any file called test X with no problem.
So here you saw you learn how you can add your program in this location.
Okay.
So thanks for watching.
And let's go add one of the file here okay.
So let's go and see.