WEBVTT

00:00.650 --> 00:04.760
Hello everyone and welcome to part five of my lean ethical hacking COURSE.

00:04.900 --> 00:08.270
AND THIS PROBABLY GONNA LOOK I WANT A MAC addresses and how to change it.

00:09.230 --> 00:16.160
So like I said in the introduction of this course I need to go buy yourself a 300 MBP yes USP wireless

00:16.160 --> 00:20.500
adapter which will connect to your host device.

00:20.510 --> 00:25.940
Externally it's important that it's external so that's why I'm recommended and USP adapter.

00:26.030 --> 00:32.430
The reason for this is we need to use this card as the one that captures a little packets and we're

00:32.430 --> 00:34.640
going to use this as the attacking.

00:34.640 --> 00:40.070
Basically think of it like the device that we use to attack the network or pin test the network with

00:42.600 --> 00:43.250
the.

00:43.380 --> 00:49.460
The other reason is when you use in a virtual machine your virtual machine will not recognize internal

00:49.460 --> 00:50.840
wireless cards.

00:50.900 --> 00:56.600
So that's why it has to be plugged in via a USB port externally but not expensive.

00:56.600 --> 00:58.450
There are only about five six pounds on eBay bill.

00:58.550 --> 01:02.960
If you want to continue with the network pen testing then you have to go and buy one.

01:02.990 --> 01:06.700
However you can still follow along but it won't be the same.

01:08.540 --> 01:13.010
If you haven't got one you can skip to the next part so you're not missing out on the whole cause.

01:13.010 --> 01:17.650
The only part you won't be able to do is the network penetration testing anyway.

01:17.660 --> 01:21.340
If you've got one and you've put it in then you can continue.

01:21.380 --> 01:29.150
So each network card the one that you've just plugged in or ESB adapter all have a physical static address

01:29.210 --> 01:31.470
assigned by the card's manufacturer.

01:31.490 --> 01:35.500
This is called the MAC address and it sends for a media access control.

01:35.960 --> 01:41.750
So the MAC address is basically used by the devices to identify each other and transfer packets.

01:42.110 --> 01:50.400
So in the previous video I was talking about the save at the router sending packets with the sensitive

01:50.400 --> 01:56.620
information back and forth from the router to the computer.

01:56.730 --> 02:03.940
Now all these devices will have mac addresses and they'll have a source my address and a destination

02:03.940 --> 02:05.020
MAC address.

02:05.050 --> 02:13.060
So when you send a request through the Internet from your you say from from your USP wireless adapter

02:13.270 --> 02:19.960
that will have a source MAC address and then the destination MAC address will be the the routed that

02:19.960 --> 02:27.550
your connecting to and when you send a request from the US the wireless USP adapter to go to Web sites

02:27.610 --> 02:32.860
then then packets will have to go to the correct destination.

02:33.040 --> 02:38.920
And this is done by matching the destination MAC address with the pockets

02:41.750 --> 02:46.580
so if we open up Kalil and looks now I'm going to show you how to change your MAC address.

02:46.580 --> 02:48.770
And the reason for changing.

02:49.280 --> 02:53.930
So now that we've opened Carly Lennox we can actually start to change the MAC address.

02:53.940 --> 03:00.180
But firstly we need to get your wireless USP adapter directly connected to your virtual machine.

03:00.370 --> 03:04.730
Since to do so I'm going to go to VM go through removable devices.

03:04.730 --> 03:11.080
And here it will display all of the devices connected externally to your host devices USB ports.

03:11.240 --> 03:16.430
So for example this snowball is my microphone but obviously I don't want to disconnect that from the

03:16.430 --> 03:21.020
host because you I wouldn't be able to talk right now.

03:21.300 --> 03:27.800
I know this one at the top is my wireless ISP adapter so I want to connect it directly to the virtual

03:27.800 --> 03:28.320
machine.

03:28.340 --> 03:31.290
So I'm just going to click on connect.

03:31.290 --> 03:36.580
Give it a few seconds you should hear a strange noise.

03:36.580 --> 03:37.930
That way you know it's done.

03:38.080 --> 03:46.090
Well if you go up to this little icon here and this should be a new dropdown list that says Wi-Fi not

03:46.090 --> 03:47.330
connected.

03:47.680 --> 03:53.090
If you click on this dropdown and click select a network as you can see here it says no networks for

03:53.090 --> 03:53.750
people.

03:53.920 --> 03:57.670
If it says that for you give it a few seconds and then network should finally appear.

03:57.670 --> 04:03.550
So these are old routers in my local area that I can pick up I can just click on any of them and click

04:03.550 --> 04:05.450
connect and at last for the Wi-Fi key.

04:05.940 --> 04:09.570
But obviously that's not the point of the video I'm not going to do that in this one.

04:09.670 --> 04:10.940
So click cancel.

04:10.960 --> 04:18.040
That's just to show that or to let you know that your Wi-Fi your wireless your ISP adapter is actually

04:18.040 --> 04:19.630
working correctly.

04:19.630 --> 04:23.770
So once that's done you can actually get on with changing your MAC address.

04:23.830 --> 04:28.870
So just open terminal which should be a neat little show called toolkit here.

04:29.830 --> 04:35.090
I'm going to click view zoom in and just zoom in a few times you don't have to do this bill.

04:35.170 --> 04:37.710
It might come up a little bit small on the video.

04:37.950 --> 04:41.340
The text will be anyway.

04:41.560 --> 04:45.970
Now we're going to learn how to manipulate the card and change its Mac address.

04:46.210 --> 04:47.370
So there's a few commands.

04:47.380 --> 04:53.710
So this idea you can't fake if you enter the click enter you should see all the wireless cards.

04:53.740 --> 05:00.970
Now obviously it's going to show up to that and no one on no wireless extensions or nonviolence extensions.

05:01.300 --> 05:04.860
And one that is the W land zero is my wireless card.

05:04.900 --> 05:09.490
It's currently not connected to any networks but it's actually shown it because it's connected directly

05:09.490 --> 05:12.570
to the virtual machine.

05:12.670 --> 05:17.890
Now to change the MAC address we need to actually disable the wireless card.

05:17.890 --> 05:23.330
Think of it like when you install a new application or on windows you go to the BIOS and you changed

05:23.330 --> 05:28.250
some settings and it says please restart for changes to take effect.

05:28.270 --> 05:31.140
It's similar in that case that we have to disable a wireless card.

05:31.150 --> 05:33.750
Make changes and then enable it again.

05:34.180 --> 05:40.870
So to disable it we're going to do I f conflict not I w the difference between I f config and I w conflict

05:41.350 --> 05:49.030
is that I w config only deals with the wireless elements of a wireless card such as the E SSA I.D. on

05:49.030 --> 05:55.930
the W E P keys but all the normal attributes of the network card such as the IP address and the sudden

05:55.930 --> 06:00.510
that masks a role assigned through the I f config.

06:01.060 --> 06:09.610
So if you do I f config w land 0 which is the not zero which is the name of my wireless card I'm going

06:09.610 --> 06:10.510
to disable it.

06:10.510 --> 06:13.870
So you want to just put down at the end of it.

06:15.190 --> 06:19.100
So once you click enter it should disable the card.

06:19.270 --> 06:23.500
I won't tell you it's disabled but once it does and there's no errors that come up then you know it's

06:23.500 --> 06:25.560
disabled correctly.

06:25.750 --> 06:26.960
Next is Mark change.

06:27.010 --> 06:35.530
So if you take Mark change you without a space so it's a C C H A N G E R but no spaces then do hyphen

06:35.560 --> 06:43.870
hyphen help click enter and you should see this which is just a list of all the commands she can do

06:43.870 --> 06:44.850
with Mark change.

06:45.340 --> 06:48.360
We're only going to focus our attention on a few of them.

06:48.400 --> 06:55.510
So if you look at this one here permanent permanent we'll reset it to the original Mac address that

06:55.510 --> 06:58.210
was assigned by the manufacturer.

06:58.210 --> 07:02.830
So if you change your mac address and you want to go back to the original one you can do so and don't

07:02.830 --> 07:09.220
lose your mac address forever or your original Mac address you don't lose it you can go back to it random

07:09.220 --> 07:16.470
as well I'm going to show you in this video but this also hyphen and now the main reason for changing

07:16.480 --> 07:22.000
the MAC address would be to for example say there was a secret network.

07:22.000 --> 07:29.680
So the three laptops or connected to a router on a secret network that router has a white list in that

07:29.680 --> 07:36.610
white list it's got three MAC addresses so the three MAC address this correspond to the each of them

07:37.510 --> 07:43.820
laptops and it only accepts them MAC addresses to connect to it.

07:43.930 --> 07:51.610
So that's why it's like a secret life saver or network but if you wanted access to it and you just tried

07:51.610 --> 07:57.550
to connect to it it would reject you because you don't have a mac address that is on that white list

07:58.180 --> 08:02.980
Bill if you found out one of their MAC addresses of them laptops that are allowed to connect to the

08:02.980 --> 08:10.570
network then you can actually just change your U.S. wireless USP devices MAC address directly to them

08:10.660 --> 08:18.360
or copy it basically you just copy in the MAC address that's allowed onto the secret network which I

08:18.360 --> 08:24.240
think is the most useful part of it because then once you change your mac address to one that's on the

08:24.240 --> 08:28.690
white list and you try to connect to the network again it will accept you because he thinks anger on

08:28.890 --> 08:31.830
this MAC address is actually allowed.

08:31.830 --> 08:32.710
It's not.

08:32.960 --> 08:34.110
It's on the white list.

08:34.860 --> 08:38.460
Well obviously you're not the person who's should be allowed on a.

08:38.880 --> 08:42.070
It's just you're basically just checking the server.

08:42.720 --> 08:44.190
But we're not going to do any of that.

08:44.190 --> 08:49.350
We're just going to change it randomly or to a random different MAC address.

08:49.350 --> 08:59.340
So to do so I'm going to type Mark change and then hyphen hyphen random which is that and then the name

08:59.340 --> 09:02.670
of the card so w land 0 click enter.

09:02.940 --> 09:11.880
And as you can see it's says current Mac permanent mac address which was set by the manufacturer and

09:11.880 --> 09:14.370
then the new mac address.

09:14.370 --> 09:16.500
So that say we just change the MAC address.

09:16.810 --> 09:25.710
But if we remember we disabled the card so to enable it we need to do I have config w lan 0 up instead

09:25.710 --> 09:26.500
of down it's OK.

09:26.820 --> 09:31.660
So you click enter give her a second and that enables the card again.

09:31.750 --> 09:36.160
So if we go back up to this go back to why find six clicks on a network.

09:36.350 --> 09:42.260
As you can see it allows you to connect or search for networks so we know the constant working no.

09:42.280 --> 09:48.140
And it's it's it's actually enabled.

09:48.270 --> 09:50.830
So that was a that's how to change your mac address.

09:51.090 --> 09:53.760
As you can see here this is the new mac address.

09:53.760 --> 09:59.610
But the main reason for changing MAC addresses is like I said before with the waitlists for secret savers

09:59.640 --> 10:03.190
or secret routers et cetera.

10:03.380 --> 10:09.400
And so that's a let's say for this video in the next video we're going to look at different wireless

10:09.400 --> 10:10.140
modes.

10:10.180 --> 10:15.520
But if this video did help please like comments subscribe for the latest content and I will see you

10:15.520 --> 10:16.260
in the next video.
