WEBVTT

00:00.560 --> 00:04.030
Hello everyone and welcome to part nine of my learned ethical hacking in this video.

00:04.030 --> 00:08.930
We're going to look at how to disconnect any device that is connected to Wi-Fi router.

00:09.260 --> 00:13.220
In this video we're going to be using my my MacBook laptop as an example.

00:13.250 --> 00:17.640
So I have a router in my room and my macbook is connected to it.

00:19.010 --> 00:23.500
So what I'm going to do is I'm going to prevent the connection from the laptop and the router.

00:23.600 --> 00:28.700
It's not going to be able to connect back to the Wi-Fi router and it's not going to have Internet access

00:28.700 --> 00:30.490
at all.

00:30.490 --> 00:32.750
Now I must say this is for educational purposes only.

00:32.750 --> 00:35.810
I'm not responsible for any damages you cause or consequences.

00:35.810 --> 00:42.200
The whole purpose of this is for education and for people who are generally interested in whites hacking

00:42.260 --> 00:44.870
and also cyber security.

00:45.110 --> 00:47.100
So to get started.

00:47.330 --> 00:55.640
I'm going to check the Wi-Fi card so if I do I w conflict w lan Zero Month click enter.

00:55.670 --> 00:58.750
As you can see the mode is monitor so I can just clear that.

00:58.770 --> 01:06.420
Now I'm going to do a real dump and G then w Le Monde zero click enter.

01:06.460 --> 01:14.450
And this is going to start from packets around the local or local races that are in my area.

01:14.450 --> 01:16.440
I'm using a wireless card.

01:16.490 --> 01:21.350
So if you haven't watched the previous videos and you just happen to find this video then you will need

01:21.350 --> 01:22.670
to go and watch them.

01:22.670 --> 01:26.960
There's a whole playlist on my channel of them and it will give you a better understanding of what is

01:26.960 --> 01:28.070
actually happening here.

01:29.390 --> 01:31.970
So I'm going to press control C to stop it.

01:32.300 --> 01:38.780
I've already explained in part seven what all this means but what we're going to do is we're going to

01:38.900 --> 01:41.730
actually just attack a specific device now.

01:41.930 --> 01:50.220
So my laptop is connected to this network the reason I know this is because obviously it's got the same

01:50.250 --> 01:53.670
ISIS I.D. on the laptop when searching for it.

01:53.850 --> 01:58.710
So we'll just be the same name as the Wi-Fi router.

01:59.430 --> 02:02.400
And this is the MAC address for that router.

02:02.400 --> 02:04.770
So we've sniffed the router.

02:04.770 --> 02:07.530
Now what we need to do is we need to actually target the sniffing.

02:07.530 --> 02:12.420
So basically we're going to actually just sniff every device that is connected to this Wi-Fi router

02:13.560 --> 02:20.950
so to do so I'm going to do a rodent haven energy then the channel channel.

02:21.240 --> 02:25.940
This channel is what the network or the Wi-Fi Rusi uses.

02:26.070 --> 02:30.840
So it uses Channel 6 as you can see here it says CBH 6.

02:31.140 --> 02:33.540
Then we're gonna do hyphen hype and be a society.

02:34.140 --> 02:40.510
So we need to copy this society and paste it here which is the MAC address of the router.

02:40.830 --> 02:45.910
Then you just need to type w lan 0 1.

02:45.940 --> 02:52.680
Now I have explained or have said before in previous videos that this could change for you as long as

02:52.680 --> 02:55.770
your Wi-Fi call it is in monitor mode then you're good to go.

02:56.100 --> 03:04.890
So if I click and to no it's going to start sniffing devices that connected to this Wi-Fi so if I press

03:04.890 --> 03:11.230
control and to stop this device here this MAC address corresponds to my macbook.

03:11.280 --> 03:17.400
The reason I know this is because I know the MacBook and the MacBook mac address if that makes sense

03:17.510 --> 03:19.430
a bit awkward to say.

03:19.560 --> 03:24.920
So what I'm going to do now is I'm going to switch over to my Mac Book and show you that I'm not lying

03:24.920 --> 03:30.750
or making this all so I'll see you on my macbook.

03:30.870 --> 03:37.020
So now that I'm on the Mac book as you can see the Wi-Fi is connected I'm connected to that same specific

03:37.020 --> 03:40.900
Wi-Fi router which is this 2G one.

03:41.310 --> 03:43.400
I will show you that the Internet actually goes way up.

03:43.410 --> 03:51.780
So I'll go on the browser and just go to YouTube click enter as you can see YouTube does load not sounding

03:51.810 --> 03:56.940
because obviously it's all it's new a new device it's not really used but it's just a proof that the

03:56.940 --> 04:02.250
Internet does actually work on this laptop go back here go to advanced.

04:02.250 --> 04:03.210
Then go to hardware.

04:03.270 --> 04:12.420
As you can see the MAC address of this laptop is b 8 8 D 12 forty one zero C so if we go back a few

04:12.420 --> 04:16.320
seconds into the video and you will notice that this MAC address corresponds to the MAC address that

04:16.320 --> 04:24.150
we sniffed when we join the target we targets is the specific Wi-Fi to find devices that are connected

04:24.150 --> 04:24.420
to it.

04:25.080 --> 04:30.450
So VBA data corresponds to the macro address that we have found that way.

04:30.460 --> 04:38.030
Well that's how I know that this is the correct MAC address on this laptop that we are targets and.

04:38.060 --> 04:44.750
So what we're gonna do now is we're going to actually send D authentication packets to this laptop that

04:44.750 --> 04:49.530
will disconnect and prevent further connection to this Wi-Fi spot.

04:49.640 --> 04:56.530
It will way for this device to this device will be basically unable to connect to the Wi-Fi router.

04:56.900 --> 05:03.470
So I'll see you back on the Linux machine and then I'll teach you how to send these d authentication

05:03.470 --> 05:08.910
packets so another way back on the current Linux machine as you can see here.

05:09.100 --> 05:10.730
It's this MAC address.

05:10.870 --> 05:15.730
So like I said it corresponds to the MAC address that is the MAC address of the MacBook.

05:17.110 --> 05:25.810
And that is exactly what we want because we want to target this specific device now to send the authentication

05:25.810 --> 05:29.550
packets or we need to do is this simple code or the simple line.

05:30.040 --> 05:36.380
So air play hyphen energy make sure the.

05:36.640 --> 05:44.950
So I R E an n play a play energy I just call it airplay engines to save up or doesn't matter.

05:44.960 --> 05:51.070
They don't want to hype and hype from deal so d of the D authentication a thousand.

05:51.370 --> 05:56.560
Actually I'll do 10000 so basically this number of packets the number of D authentication Pakistan we're

05:56.560 --> 05:59.320
gonna send that I'm gonna do hyphen A.

05:59.470 --> 06:03.570
Then we need to put the BSE idea of the network or the router.

06:03.670 --> 06:09.580
So like I've said before this MAC address is the MAC address of the router.

06:09.610 --> 06:13.850
Now these are all the same because these are the devices connected to this router.

06:13.990 --> 06:18.400
So it just needs a copy this MAC address which is the MAC address of the router you got to remember

06:18.400 --> 06:20.590
that it's very important that you put them in the right way.

06:21.790 --> 06:28.790
So I'm going to paste it then I'm going to do a space in an n hyphen C then I'm going to put the BSD

06:28.800 --> 06:37.750
idea of the client which is the device that we want to prevent connexion from or to this network which

06:37.750 --> 06:39.090
is this one.

06:39.220 --> 06:48.630
So basically put in the MAC address of the Mac book here then I'm going to type w lan 1 0 w 1 0 1 Sorry

06:49.300 --> 06:54.370
and as soon as I click enter it's going to start flooding the connection between the MacBook and the

06:54.370 --> 06:58.560
router with deal with packets.

06:58.720 --> 07:04.600
So I'm just going to click enter now and quickly show you what's going to happen to my Mac Book.

07:04.990 --> 07:09.210
Well because of the Mac books next to me I don't want it to lock so I have to type the password in and

07:09.210 --> 07:09.820
animist it.

07:10.330 --> 07:14.530
So as soon as I click enter the MacBook screen will appear and I'll show you the effects of what we're

07:14.530 --> 07:17.230
doing so click enter.

07:17.680 --> 07:21.070
It's going to start sending deal packets and I will see you on the MacBook

07:26.620 --> 07:32.620
as you can see on the MacBook now if you noticed up here it's actually struggling to connect to the

07:32.680 --> 07:33.820
Wi-Fi now.

07:34.210 --> 07:42.610
It's gonna keep trying but if I show you the screen on my carry Linux machine then I can see it's just

07:42.610 --> 07:43.340
floating.

07:43.390 --> 07:49.970
The connection with Deal's pockets so obviously this laptop can not connect to the Internet.

07:50.320 --> 07:57.010
It's just gone gray it's gone black there's no even one little bar of connection there's just no connection

07:57.070 --> 07:59.970
at all and I can close out to this and show you.

08:00.250 --> 08:07.380
So as you can see the Wi-Fi is on but no network selected so if I try and select to 2G click on 2G as

08:07.490 --> 08:15.840
you can see this is connected I'll give it a second just to send a few more days of packets and the

08:15.840 --> 08:17.420
connections gone again.

08:17.580 --> 08:22.080
So the connection to stay open a little bit but obviously once it recognizes that deals packets would

08:22.080 --> 08:22.860
be incentive.

08:22.860 --> 08:24.230
It just disconnects.

08:24.360 --> 08:29.160
I'll try and connect back to youtube again so if I click enter I can see there's a problem load in the

08:29.160 --> 08:30.210
page.

08:30.240 --> 08:34.920
So basically this device is rendered useless for connecting to this Wi-Fi router.

08:34.920 --> 08:42.310
Obviously you can connect to different ones but obviously then if we change the attack on the coffee

08:42.310 --> 08:47.730
machines to the or the MAC address of the other router then it will still render useless.

08:49.050 --> 08:54.210
So this can be quite complicated tor quite quick when I'm talking about this stuff because that's how

08:54.210 --> 08:57.560
I am sorry if it doesn't really make sense.

08:57.630 --> 09:02.250
Just go through the video slowly and watch the other parts of this course and it will make sense to

09:02.250 --> 09:08.370
you as you can see there is no Internet connection now I can't connect to the Internet and that is the

09:08.370 --> 09:15.670
whole point of the deal authentication as long as I stop it on the coffee machine then the connection

09:15.670 --> 09:16.320
will come back.

09:16.330 --> 09:23.700
So it's not completely ruined or permanently damaged but obviously the connection will only come back

09:23.730 --> 09:27.800
or on setting off the Linux machine.

09:27.950 --> 09:32.030
So I'm just going to go back to the tally machine now and I will see you on there.

09:32.930 --> 09:37.580
So now that we're back on the cutting machine to stop sending the d off packets so you need to do press

09:37.580 --> 09:41.520
control and see so control C and that will stop the attack.

09:41.540 --> 09:47.560
You can also just close out of the terminal or turn off the column machine.

09:48.200 --> 09:49.850
So that was a for the video.

09:49.850 --> 09:51.080
If it did help please leave.

09:51.070 --> 09:55.520
Like if you're stuck with anything or have any errors please leave it in the comments and I'll be happy

09:55.520 --> 09:56.230
to help.

09:56.270 --> 09:59.360
Describe for the latest contents and I will see you in the next video.
