Now we know that the MAC address is used to make sure that the packet goes into the right direction.
So each packet has a source SMAC destination Mike and it flows from the source mark to the destination
MAC from the device to the source Mac to the device that has the destination MAC.
This is how wireless cards work in the default mode.
So if you if I come in to my Kalli machine and I do.
IOW config you'll see that I have my wireless card right here called zero and you can see that the default
mode is called management.
So basically in this mode my wireless device will only receive packets or will only try to capture packets
that have my devices MAC address as the destination MAC so it'll only capture Tackett that are actually
directed to my computer while we want to do though we want to be able to capture any packet that's around
us and the packet that is within our range.
So to do that we're going to use a mode called monitor mode.
This tells the wireless card is I want you to capture everything around you.
Even if the destination MAC is not your Mac I want you to capture it.
So basically we'll be able to capture all the packets within our age even if the packet isn't directed
to our device.
There is more than one method to enable monitor mode.
We're going to talk about three methods we're going to start with the basic method.
In this lecture and then I'm going to show you two more methods.
The reason why I'm going to show you more than one method is sometimes monitor mode will be enabled
but when you actually come in to run in and attack the attack will not work.
So in the future if I run some attack and you see that you're getting different results then just come
back and try to enable mode in a different way.
So we're gonna talk about the first method now and we're going to use Ehrmann ngi to do it.
So the first thing let's just run the command on its own so we're just going to type in Ehrmann and.
And you can see at least the wireless cards available and you can see that I have a wireless card called
LUNs zero.
So I'm going to start monitor mode on this interface and the command is going to be Ehrmann and G start
line zero.
So it's very simple.
Everyone enjoys the name of the program start to start monitor mode and zero is the wireless card name.
So it's the interface I'm going to hit enter.
And as you can see now tell me that monitor mode is enabled on 1 0.
So now whenever I want to use monitor mode I'm going to specify zero as the interface and you'll see
that in the future lectures.
So for you maybe you'll probably not get the same name.
So for you it'll probably be called Landseer Oman or something else.
It doesn't matter.
Just make sure you use the name which monitor mode is enabled on in the future instead of Montsoreau
for me.
So if I do the blue 1 0 you'll see that the mode now is monitor mode instead of managed.
And that means that we can use this card now to capture any packet within our range even if the packet
is not directed to our device even if it doesn't have the MAC address of our device as the destination.
Mark now I'd like to note a few things.
First of all when you enable monitor mode the card will lose its connection so if it was connected to
our wireless network it'll actually get disconnected.
This is normal because as I said the card will not be in managed mode and it'll be capturing all the
packets that's available to it instead of only capturing the packets that are directed to it.
Also it doesn't really matter because when we enable monitor mode we want to actually hack into a different
network or capture packets from networks that we don't have their password.
So it's completely normal to you to lose your internet connection when you're in monitor mode.
The next thing is make sure that you use the name that monitor mode gets enabled on.
As I said For me it was 1 0 for you it could be called something else.
So just make sure you actually use the name that everyone ngi tell you it or more got enabled on.
As I said it will probably be called Lan's Euro Zone or something else.
The third note is if you enabled monitor mode and in the future you run in an attack and you got different
results than me.
You got unexpected results then just come back.
And Troy one of the other methods that I am going to explain in the next lectures now if you want to
stop monitor mode you can just do Ehrmann ngi
and then you put the wireless card name which is in monitor mode.
Again for me it's 1 0 for you it could be something else.
And that's it.
Now monitor mode is disabled and we can use LAN zero in managed mode to connect to networks and use
it normally the same way that you usually use it.