-: In this video, we'll see how we can 2 2
log any mouse or keyboard event 3 3
that happens on the target's computer. 4 4
We're going to do that using a plugin 5 5
or a module that comes in with a meterpreter. 6 6
So, I have my meterpreter here already. 7 7
And, to do that all you need to 8 8
do is just type keyscan_start. 9 9
Now, all of this exists in the help. 10 10
If you're on the help you'll see it there. 11 11
And now, it's starting my keystrike sniffer. 12 12
So, I have my firefox running here. 13 13
And let's say I wanted to go to Facebook.com. 14 14
And then I wanted to log in to my, 15 15
now, as you can see it's https here 16 16
and nothing is wrong about it. 17 17
Now, let's say I wanted to log in to my account. 18 18
So, I'm going to put my account, zaid@isecurity.org. 19 19
And let's say I put my password, which is 123456. 20 20
Now, obviously this is the wrong password, 21 21
I'm just trying to show you here. 22 22
Now, if we come back here. 23 23
To see the log of everything that has been recorded. 24 24
We're going to type in keyscan_dump. 25 25
Now, as you can see now, we can see that 26 26
the target person typed in Facebook.com, hit enter, 27 27
then they put their username which is zaid@isecurity.org, 28 28
hit tab, and then they put the password 123456. 29 29
Now, this will obviously record 30 30
everything that happens in there. 31 31
What you can also do is, we can actually, 32 32
now, to stop this, you can just do keyscan_stop 33 33
and it will stop the sniffer. 34 34
Now, another cool thing that you can do 35 35
is you can get a screenshot. 36 36
So, we can just type in screenshot. 37 37
If I spell that right. 38 38
And it'll save it here for you in the root. 39 39
Now, if I go to my browser. 40 40
You'll see that I have a screenshot. 41 41
I believe it's this one. 42 42
And it's showing you what's here 43 43
on the target computer, you can see it in here. 44 44
Now, these are just two useful features, 45 45
the keylogging is very useful because 46 46
you can get usernames and passwords from it, 47 47
and see what the target person is doing. 48 48
The screenshot, you can see them. 49 49
Kind of, get an idea of what they're doing as well. 50 50
But, definitely the keys, the keylogger is much more useful. 51 51
Now, obviously you can use other 52 52
keylogger programs, like a portable keylogger. 53 53
And all you have to do is just upload it 54 54
using the upload command that we 55 55
learned before and execute it.