WEBVTT

00:02.030 --> 00:02.350
OK.

00:02.360 --> 00:09.820
So now let's see how we can use wire shark to discover suspicious activities in our network and before

00:09.820 --> 00:12.040
I do anything I'm gonna go to the preferences

00:16.590 --> 00:20.950
and I'm gonna go to protocols AARP

00:23.900 --> 00:27.350
and I'm going to enable the option to detect AARP requests.

00:27.350 --> 00:34.240
Terms what this will do it will actually discover if anybody is trying to discover all the devices or

00:34.370 --> 00:37.760
on the network and it's gonna give me a notification.

00:37.760 --> 00:41.150
So I'm gonna click on OK and I'm gonna start my captcha

00:44.360 --> 00:49.730
now I'm gonna go to my candy machine and I'm going to use Net this cover so I'm not going to do A R

00:49.730 --> 00:50.830
P poisoning.

00:51.030 --> 00:55.100
I'm only going to do a try to discover all the connected devices to my network.

00:56.140 --> 01:01.810
So we're using exactly the same command that we used before the Discover interface and the range to

01:01.820 --> 01:10.160
hit enter and we can see that net discover finished it discovered all the devices that we have so if

01:10.160 --> 01:16.640
we come here even before we look at the output of the notifications let's just look at the packets that

01:16.640 --> 01:22.320
have been generated you can see that there is a device here.

01:22.380 --> 01:25.290
This source is broadcasting.

01:25.290 --> 01:27.360
So basically it doesn't have a destination.

01:27.360 --> 01:34.070
It's asking all the other devices and the network and it's inquiring about each possible IP.

01:34.080 --> 01:40.010
So it's basically asking who has this IP until the 67 IP.

01:40.200 --> 01:48.360
And then it's asking Who has the two for one IP tell the 67 who has the two told the 67 and it's doing

01:48.390 --> 01:50.490
this for every possible IP.

01:50.490 --> 01:56.040
So it's basically a chicken if any possible IP and the range exists.

01:56.040 --> 02:01.800
And it's asking to return to the response to the IP adds 10 20 40 67.

02:01.800 --> 02:09.090
So from this we can deduce that someone's trying to discover all the connected devices and that someone

02:09.210 --> 02:13.460
is at 10 20 40 67.

02:13.500 --> 02:24.480
Now if you go on the analyze and expert information you'll see that we detected an IP packet storm.

02:24.480 --> 02:30.410
So basically it means that there was a single device sending a very large number of IP packets.

02:30.480 --> 02:35.690
So they're probably trying to discover connected devices or try and discover connected ports.

02:35.700 --> 02:43.110
So it's telling us that this person is trying to do something suspicious.

02:43.170 --> 02:46.530
Now let's go and I'm going to do a.

02:47.230 --> 02:57.010
They are people using attack and we'll see if we can get any notifications or warnings and while shark.

02:57.050 --> 03:01.990
Now I'm gonna go to analyze and expert info again.

03:02.540 --> 03:05.550
And if we look we'll see we have a warning here.

03:05.900 --> 03:10.580
And the warning is telling us that there is a duplicate IP address configured.

03:10.640 --> 03:19.710
So again this is telling us that the IP address of the router had two different MAC addresses what this

03:19.710 --> 03:20.040
means.

03:20.040 --> 03:27.210
Basically it means that someone was tampering with this and tampering with our IP table trying to place

03:27.210 --> 03:28.490
themselves in the middle.

03:28.500 --> 03:28.930
Use it.

03:28.950 --> 03:32.620
An AARP poisoning attack.

03:32.690 --> 03:36.820
Now we've seen a number of methods to detect AARP poisoning.

03:36.830 --> 03:41.290
Let's discuss how we can prevent it or protect ourselves from it.

03:41.330 --> 03:46.040
Now I'm just going to run an RPA and we're going to look at our table.

03:46.270 --> 03:52.220
There is switches that will monitor this for you as well and they'll notify you or even prevent AARP

03:52.310 --> 03:54.740
poisoning attacks.

03:54.740 --> 04:01.070
Another way to do that is if you look at here if you look at your router you'll see that this entry

04:01.070 --> 04:02.580
in the table is dynamic.

04:02.610 --> 04:08.450
So the type of this entry is dynamic what that means it basically this can change.

04:08.600 --> 04:12.180
It's the system allows this value to be changed.

04:12.230 --> 04:18.620
You can see right here you have static values which basically means the system will never allow these

04:18.620 --> 04:21.550
values to change.

04:21.770 --> 04:28.980
So you can use static AARP tables which basically means that you'll have to configure each IP address.

04:29.000 --> 04:35.270
So you have to actually configure your IP table and map each IP address to the MAC address to the relevant

04:35.270 --> 04:36.280
MAC address.

04:36.410 --> 04:42.860
But once you do that even if someone tries to send a response to your computer try to change it the

04:42.860 --> 04:50.060
system will refuse to change anything because you configured your IP table to be static.

04:50.060 --> 04:55.310
The only problem with that is every time you connect to a network and every time there is a new device

04:55.340 --> 05:01.660
connecting to your network you'll have to manually configured that device to you to work with your network.

05:01.700 --> 05:07.730
So it's not a very useful solution if you're in a big company or if you're in a big firm but maybe in

05:07.730 --> 05:13.400
a small house or in a small company then this would be a really good solution to prevent AARP poisoning

05:13.400 --> 05:15.900
attacks because everything is going to be static.

05:15.950 --> 05:17.700
You're going to have to set it up manually.

05:18.350 --> 05:24.140
But once someone tries to do an AARP poisoning attack even if their attack is successful and they use

05:24.140 --> 05:30.290
the best tools they can your table is set up in a way that it's not it's it's fixed.

05:30.290 --> 05:31.350
It can't be changed.

05:31.370 --> 05:36.860
So so the system will always refuse to change the values of the MAC addresses which will basically mean

05:37.020 --> 05:39.770
a are people poisoning attacks will never work against you.
