Hello everybody and welcome back.
And I figured out what the problem was it was rather a simple problem.
All we had to do is actually install the PI input library.
We are in our Wayne Python folder now.
We got to do that.
So our program didn't work on our target b c since our compiler didn't know what Pi input library was
and it couldn't execute any of those key logger comments.
That's why the program always crashed.
Now in order for make our program usable you need to type your wine root wine drive C by 10 27 and then
Python turned to exceed and then minus M pip install by input.
Now I already did this while this will actually install the pineapple library for our wine python.
And now you will be able to compile the program and you will this function in our key logger.
So let us double check all of our settings.
So let me first remove everything on this remote remote shall be more test spec remote test not be white.
And right now if I nano our commercial right here we have everything the same as before.
Basically the OS right here is removing the key logger.
Right here we have the key logger start and key logger dump which is key logger stop or start our key
logger Kilgour down for printout or basically send the contents of our key logger that the file which
is the keystrokes on our target machine then in our server we will receive this and we will print out
in the screen.
So let us see how that would work if I just find these previous comment on the compiling.
Here it is.
So we want to compile it find route drive see Python 27 scripts by installer that the exterior shell
on file on our console.
So we copy this and we import our USP drive right here
we wait for this to compile then we will transfer our reversal of key logger and then we will try to
run it and see if our key logger actually sends back the keystrokes on target b c so we move the reverse
shell.
That is why was not the reverse shall we need to go to this directory then we move the reverse shell
right here to the media route and then Kelly live so move it there once it copies the file you can delete
this these directories right here which are unnecessary so they don't make a problem and all they have
to do is run our server which will listen for incoming connections now we unplug our USP drive and then
we can run our program so we run the reverse shell we double click it we wait for twenty seconds for
it to connect back to us and while we do that we can see what's we can see no command prompt.
If we go to the BP data folder and then roaming folder and just type here they're oops there we can
see right here we have the back door out the AKC which is a copy of our backdoor for our persistence.
We do not have the key logger that the AKC pardon me that the extreme right here since we didn't find
the key logger yet.
So since our shell has opened right here.
Let's see if we can execute regular command.
So who are my works.
Help command to print our available options.
Now here we will after I have to add also the clock started killer dump just once we actually see it
longer works and if we just type your key logger underscore start we can see nothing really gets back
we see if we can still execute commands we can but right here if I just type here dear we can see right
now we have the key logger the file and if I just type here Shell a world what is going on.
Question mark.
We can see in a few seconds if we just type here.
Basically in my reverse shell if I just put them on my server for just type your key log on the dump
we can see we'd actually get back what the user has type.
So who are my dear Hello World what.
And that basket backspace is going gone.
So this the what.
And then I type your ass and then I notice that I made a mistake so I deleted the s with backspace and
then I thought what is going on so we can see our key logger works.
Basically it gets back to us.
Everything that the user started to use and types here.
Blue Yellow or green red purple white we can see in a few seconds if I just go right here and type your
key log underscore dump here log underscore dump will get printed everything before as well as the new
words which is green red purple white and also blue and yellow just here I type your yellow but doesn't
really matter.
So we could see our key logger worked successfully so right now let us actually we could see also that
the key logger is in this directory right here which will not be found by the users also as well as
the backdoor that the AKC for our persistence.
So right now let's see what actually happens.
Yeah or not what actually happens right now it does cause this and let us actually know our reverse
shall that be why and add our key log start in kg options in our key logger so let's add it right here
keep a log start.
Start.
Key logger on target b c and then the key log on the score dump.
Print out keys strokes captured by kill order.
So we save this and right now we should be good to go we have a fully functioning reverse shell that
can take screenshots that can download upload files that can use a key logger that can download files
from the Internet as well has the help option basically can change its directory so we have a bunch
of other things can check for the administrator privileges starts key logger prints the outputs of key
logger so this is basically all we currently need.
So this is basically our final reverse show now in the next video we will actually try to test it out
as a real attack so we will try to actually run it we'll also have a picture and the image file and
everything the icon so we will see how a simple attack with this works.
So I hope you enjoyed this and I hope I see you in the next video where we will run the real attack
with our reverse shout in order check out all of its available options once again in the one final attack
so hope you enjoyed this video and I hope I see you in the next one by.