WEBVTT

00:01.030 --> 00:07.020
Now from the previous lectures we know once we connect to our network it's game over.

00:07.180 --> 00:14.560
Because once connected we can run an AARP spoofing attack to redirect the flow of packets so that they

00:14.590 --> 00:16.770
go through our computer.

00:16.780 --> 00:19.020
This allow us to become the man in the middle.

00:19.300 --> 00:21.170
And once were the man in the middle.

00:21.220 --> 00:29.500
We can run so many dangerous and effective attacks so we can spy on all the users steal their passwords

00:29.710 --> 00:31.990
redirect them to different Web sites.

00:32.080 --> 00:36.020
And this is all just a small taste of what you can do.

00:36.070 --> 00:42.580
You'll actually see us build on this in the client side the tax section where we're going to completely

00:42.580 --> 00:46.720
hack into computers connected to the same network as us.

00:47.290 --> 00:53.590
And if you go and do my advanced network hacking course then you'll see more advanced attacks that will

00:53.590 --> 00:57.700
allow us to do so many cool stuff on the network.

00:57.700 --> 01:04.960
And again all of this is possible because once we connect we can run ERP spoofing and become the man

01:04.960 --> 01:05.640
in the middle.

01:06.850 --> 01:12.580
Now in this section I actually want to show you another method that'll allow us to become the man in

01:12.580 --> 01:17.620
the middle and once more the man in the middle we'll be able to run all of the attacks that you've seen

01:17.620 --> 01:23.710
so far and all of the other man in the middle attacks that you'll learn in the future.

01:23.710 --> 01:29.230
So let's go back to the first diagram that we learned in this course when we were talking about how

01:29.230 --> 01:31.120
networks work in general.

01:31.120 --> 01:37.630
We said the only device that has access to the Internet is the access point and whenever a client wants

01:37.630 --> 01:43.090
to access something they send the request to the access point the access point goes through the Internet

01:43.330 --> 01:48.210
gets the response and send it back to the client now.

01:48.250 --> 01:54.350
What if we replace this Access Point with our hacker computer.

01:54.490 --> 02:04.150
So what if we can use our machine to create a Wi-Fi network that actually has internet access so people

02:04.150 --> 02:09.270
will actually try to come in and connect to our network to access the Internet.

02:09.940 --> 02:16.030
And then when they connect to our network by default we will be the man in the middle because we are

02:16.030 --> 02:22.420
the router so we won't really need to exploit anything we are automatically the man in the middle.

02:22.570 --> 02:28.450
And the clients will automatically send us any requests because they want to access the Internet and

02:28.450 --> 02:33.940
we will see these requests obviously go to the Internet get them what they want and give it back to

02:33.940 --> 02:35.090
them.

02:35.200 --> 02:41.830
This way we'll be able to launch all of the attacks that I showed you previously without the need to

02:41.830 --> 02:44.020
exploit the AARP protocol.

02:44.020 --> 02:50.590
So with that the need to run AARP spoofing all will have to do once our network is running and we have

02:50.590 --> 02:51.820
clients connected.

02:51.820 --> 03:00.040
We can just start sniffing using wire shark or using man in the middle F so for this to work you need

03:00.040 --> 03:04.140
a computer and we already have our hacker computer with Khalili next.

03:04.210 --> 03:12.640
You also need internet access and you need a wireless device that that's going to broadcast the Wi-Fi

03:12.640 --> 03:19.000
signal until all the neighboring devices that I am a network you can come in and connect to me.

03:20.080 --> 03:26.260
So you will need first of all an interface that has Internet connection.

03:26.260 --> 03:31.070
This interface it can be a Wi-Fi interface connected to the Internet.

03:31.180 --> 03:36.000
It could be an either net interface connected to an Ethernet network.

03:36.100 --> 03:42.340
It could be a 3G or a 4G dongle and it even can be a virtual interface.

03:42.340 --> 03:44.590
And this is where I'm actually going to do.

03:44.720 --> 03:47.190
It's going to be my 88 0.

03:47.230 --> 03:56.830
The virtual interface that is connected to my not network so this can be any network device as long

03:56.920 --> 03:58.860
as it has Internet access.

04:00.540 --> 04:02.760
The next interface that you will need.

04:02.820 --> 04:09.210
Like I said it's going to have to be a Wi-Fi interface because it needs to be able to broadcast the

04:09.210 --> 04:15.570
signal for the network and you can't use any Wi-Fi interface.

04:15.630 --> 04:25.770
This interface needs to be able to act as an access point so it needs to be capable of acting like a

04:25.770 --> 04:29.000
proper access point like character.

04:29.070 --> 04:36.200
Now all of the Wi-Fi adapters that I recommend support this mode and I've already included a video in

04:36.200 --> 04:42.360
the resources before when when I first spoke about wireless adapters but I'm also going to include this

04:42.360 --> 04:44.900
video in the resources of this lecture.

04:45.030 --> 04:50.590
So if you're going to buy one or if you're not sure how to pick the right one then check out this video.

04:50.610 --> 04:53.100
It should be helpful for you.

04:53.190 --> 05:01.260
So once we have this setup properly we can use our computer to start an access point and it's going

05:01.260 --> 05:03.890
to act exactly like her after.

05:04.050 --> 05:08.610
So people will be able to see the network when they look for Wi-Fi networks.

05:08.610 --> 05:14.850
They'll be able to connect to it and get internet connection but when they connect they will have to

05:14.850 --> 05:20.250
send us all of their requests because we are the router we are the access point.

05:20.340 --> 05:24.320
So by default we will be the man in the middle.

05:24.390 --> 05:31.650
Therefore you'll be able to execute all mine in the middle attacks that you learned so far and any other

05:31.650 --> 05:36.370
man in the middle attacks that you will learn in the future.

05:36.410 --> 05:40.920
So basically AARP spoofing is one method of becoming the man in the middle.

05:41.060 --> 05:48.930
And what I'm going to show you right now is another method of becoming the man in the middle now you

05:48.930 --> 05:57.000
can see that in order to use our computer as an access point we need a number of components to be configured

05:57.000 --> 05:58.160
properly.

05:58.200 --> 06:05.970
So first of all we need our wireless interface to broadcast the signal as if it's a real network.

06:05.970 --> 06:11.040
This will allow other clients to connect to it but that's not the end of the road.

06:11.070 --> 06:16.640
The wireless interface needs to know when these clients are requesting Web sites.

06:16.650 --> 06:23.840
It needs to be able to forward these requests to the other interface that is connected to the Internet.

06:23.850 --> 06:29.100
Then again it will need to be able to know when the responses come back and forward.

06:29.130 --> 06:31.860
All of this to the right client.

06:32.150 --> 06:38.550
Now you can configure all of these things manually and I actually covered this in my advanced network

06:38.550 --> 06:44.910
back in course and I cover a lot of advanced things that you can do with the fake access point like

06:44.910 --> 06:47.000
launch in an evil to an attack.

06:47.010 --> 06:55.370
Hacking into WPA to enterprise and so one would this would take at least 30 lectures and this is not

06:55.480 --> 06:59.740
a network hack and course this is a general ethical hack course.

06:59.900 --> 07:05.600
Therefore that would be out of the scope of this lecture if you're interested in learning how to do

07:05.600 --> 07:11.030
this manually and how to run advanced attacks using the fake access point.

07:11.120 --> 07:15.800
Then check out my advanced network hacking course in the bonus lecture.

07:15.800 --> 07:23.150
The last lecture of this course for now for this course I'm going to show you a great way of quickly

07:23.150 --> 07:28.160
creating a fake access point that will allow us to become the man in the middle.

07:28.160 --> 07:36.410
Similar to what's shown in this diagram the tool that we're going to use is called minor toolkit and

07:36.410 --> 07:43.820
it's basically a set of tools that allow us to automatically create a fake access point automatically

07:43.820 --> 07:52.350
sniff data bypass hasty CPS and so one so the tool comes with three main start scripts.

07:53.220 --> 08:00.230
So the first one start no upstream will allow us to start the fake access point with no internet access.

08:00.810 --> 08:02.700
So this is not really useful for us.

08:02.760 --> 08:08.750
And I will not use this in this lecture the next one is third not simple.

08:08.760 --> 08:13.390
This will start a fake access point with Internet access.

08:13.830 --> 08:21.000
The third one start not full will start a fake access point with Internet access and it will automatically

08:21.000 --> 08:28.960
start sniffing data and bypass TTP s now I actually always you start not simple.

08:28.990 --> 08:36.130
I never use third not full because this feels a lot of the times and we already learned how to start

08:36.130 --> 08:43.750
sniffing and bypass each TTP as using better cup so you can always start not simple this or start a

08:43.750 --> 08:50.570
fake access point for you with Internet access and then you can open another terminal window use Buttercup.

08:50.620 --> 08:51.360
Exactly.

08:51.580 --> 08:59.620
As I showed you before and you'll be able to sniff data and bypass TTP yes you can also use wire shark

08:59.620 --> 09:03.040
if you want to sniff the data and analyze them again.

09:03.040 --> 09:10.470
Exactly as shown before now and the next lecture I'm gonna show you how to use minor tool kit to create

09:10.530 --> 09:14.040
a fake access point with internet connection.
