Hello everyone and welcome to part eight of my lean ethical hacking course.
In this part we're going to look at targeted sniffing.
So I'm going to open the terminal and what we need to do faced is enable a monitor mode again because
if I do I come thick as you can see every time I turn off this virtual machine it resets the wireless
card back to Toby land zero with mode managed so to get it back to the monitor mode.
Need to do em on energy starts with a W land zero click enter it's going to do that find three processes
that could cause trouble you can do em on energy check kill to kill them but they're not causing me
a problem so fast I'm just going to leave them.
So it's enabled again on Toby Lanzer mom.
So if I do I w config to be land Zero Month click and so she can see it says monitor so for clear we've
got it back into monitor mode now and we can do a a dump a row doom sorry a road dump energy and to
be land zero a month.
So it's going to start sniffing the packets again.
Basically what we're gonna do in this video is we're gonna do it targeted so we're going to space a
specifically target 1 network to start sniffing.
So if a lot of it just sniff some more packets there we go.
I can stop this now so it's just stop its control see and to specifically target one of these networks.
Now what you need to do is you need to do a rodent hyphen energy then you need to do a hyphen hyphen
channel and then and then do a space and then find the name of the channel that you want to target.
So say we want to target this one here VM then obviously it's Channel Six because it says so in the
C hate.
So we do six then do space and then do hyphen hyphen B SSI D then we need to specify the b a society
which is the MAC address of this router.
So we just copy this one here.
Make sure you copy copy the correct ones to the corresponding moment.
I'm just gonna paste it and then we want to write it to a file so we save all the information that we
capture all the packets we can save inside different document formats which then can be used to import
it into why shock to another analyze the packets and get sensitive information but we're not at that
stage yet.
So I'm just going to do right.
Test test what shall we call this test.
We'll just call a test.
So just call a test of the file name will just be called test and then the name if you call it suitably
alarm W 0 mom.
So basically this is just gonna do a rodent dumping G it's gonna go to channel six.
It's gonna locate this specific MAC address here which is corresponds to the VM h e SSI D and then I'm
gonna write a test file to the root directory which will save all the packets and then I'm using Toby
Lindsey Graham on to do so cervical cancer.
Then it starts sniffing the packets again for this ISIS idea.
So for this specific router Bill there's a new like window basically down here.
A new b SSI D etc. While this is shown now this and this is very useful if you have watched the previous
video the B SSI D here this is still a mac address and as you can see it's the same as this MAC address
will here these are all the same.
So basically this is what the device or client is connected to.
So or if I highlight them all these are basically clients connected to this specific network.
So it's a router in my room.
So obviously all the devices I've got connected to it will show up here if you sniff your neighbor's
Wi-Fi for example you will see all the devices connected to that Wi-Fi all while you'll see them MAC
addresses anyway.
Now if you remember and I think it is Paul five or six way to talk about mac addresses and I was talking
about like a secret router hack or secret network of computers and you've got to find out a MAC address
for you to be able to change it to change it your wanted.
I want to be able to connect to the network then this is how you would sort of find out a MAC address.
So these are obviously MAC address devices that are connected and that is basically a targeted sniff
if I do control seats just to stop it.
So basically like I said this is just a targeted sneak attack.
You can actually see devices that are connected to that Wi-Fi spot.
So for example if you done this to a public Wi-Fi you it's you would probably see quite a lot of these.
But the main point of this show the main focus is the MAC addresses of the clients.
Basically all the information's the same again this is power so this is how close the client device
is to that Wi-Fi spot.
So basically that was it for this video was just showing you how to do a targeted sniff attack and how
to find all the clients connected to that router in the next video I'm going to show you how to analyze
these packets and then talk more about actually decrypting them because if you go to your places and
go to home you can see here now this test which is what we created when we don't have a right.
Then we put test.
So basically this is where creates we have test or cap test or CV s and CSB sorry CSB and so on you
can put this into why shock.
Well in fact I will do that now.
So if I go down here and type why shark click and to give it a second and it should open why shark network
analyzer give it a second right.
It should come up with an idea if it doesn't don't worry but even if it does just click OK it doesn't
really matter.
Excuse me.
These are all your Wi-Fi cards basically and as you can see it's picking up signals with this one.
And this is our monitor mode.
You can't just go to file open and if we go to scroll down a little bit and import test one cup just
click open as you can see here we've got devices.
So basically one device that's connected to it is light lights.
I don't I don't know how to pronounce that but that's one of the devices connected to this network and
I believe it's like a spare phone I've got there's a Samsung.
So you can't get information but there's not much we can do at this point because we need to find the
Wi-Fi key to be able to do some damage.
So this is mainly just for finding MAC addresses and stuff.
Because it will we need the Wi-Fi key to be able to do some damage or be able to actually start penetration
test in the network.
But I thought it was useful obviously you know that you can actually pull this in while Sha can have
a look at all the packets and the destination it goes to.
So that was a for this video if it did help please even like comments I'll be happy to help and subscribe
to the latest content and I'll see you in the next video.