WEBVTT - This file was automatically generated by VIMEO

0
00:00:04.800 --> 00:00:05.900
Hello, everyone.

1
00:00:08.200 --> 00:00:11.800
And in this video we are going to see the nmap MTU

2
00:00:11.800 --> 00:00:15.000
 scan. So MTU stands for maximum transmission

3
00:00:14.000 --> 00:00:15.600
 unit.

4
00:00:16.400 --> 00:00:19.900
This particular scan is something similar

5
00:00:19.900 --> 00:00:22.400
 like our previous scan, which

6
00:00:22.400 --> 00:00:23.900
 was the fragment scan.

7
00:00:24.800 --> 00:00:25.800
How it is similar?

8
00:00:26.400 --> 00:00:29.800
We can decide the number of fragments that

9
00:00:29.800 --> 00:00:32.400
 we want to send in a packet

10
00:00:32.400 --> 00:00:35.800
 while sending a particular request to our

11
00:00:35.800 --> 00:00:36.100
 Target.

12
00:00:37.500 --> 00:00:40.200
So NF is giving the option to the user to set a

13
00:00:40.200 --> 00:00:43.100
 specific MTU to the packet. There is a similar to

14
00:00:43.100 --> 00:00:48.000
 the packet fragmentation technique that we have explained earlier remember?

15
00:00:49.200 --> 00:00:51.200
You can specify hyphen.

16
00:00:52.100 --> 00:00:52.900
MTU

17
00:00:53.500 --> 00:00:56.100
but you need to give the MTU that

18
00:00:56.100 --> 00:00:59.400
 is the maximum transmission unit in the

19
00:00:59.400 --> 00:01:02.800
 multiples of 8, so you can give it off 8 16

20
00:01:02.800 --> 00:01:04.900
 24 32 Etc.

21
00:01:06.200 --> 00:01:09.300
You can specify the empty MTU of

22
00:01:09.300 --> 00:01:12.500
 your own choice with the command - MTU and

23
00:01:12.500 --> 00:01:15.300
 the number that you want to give followed by

24
00:01:15.300 --> 00:01:16.600
 the Target IP address.

25
00:01:17.900 --> 00:01:20.700
So, let's see how you can run this

26
00:01:20.700 --> 00:01:23.400
 particular scan and you can specify your

27
00:01:23.400 --> 00:01:25.000
 own MTU.

28
00:01:26.600 --> 00:01:28.000
t on my

29
00:01:29.300 --> 00:01:33.000
screen the nmap M2 IP address scan wherein

30
00:01:32.400 --> 00:01:35.700
 I can see that MTU is

31
00:01:35.700 --> 00:01:38.700
 written in the multiples of 8. The

32
00:01:38.700 --> 00:01:41.600
 command is nmap - MTU. I'm going

33
00:01:41.600 --> 00:01:45.200
 to choose 24 MTU this

34
00:01:44.200 --> 00:01:45.300
 time.

35
00:01:46.500 --> 00:01:49.200
So I will just paste it over here and I'm going

36
00:01:49.200 --> 00:01:53.600
 to scan these specific ports and I'm choosing the ethernet

37
00:01:52.600 --> 00:01:56.400
 adapter to scan which is eth0.

38
00:01:57.300 --> 00:02:00.700
Perfect, as you can see, I have started the scan

39
00:02:00.700 --> 00:02:01.200
 successfully.

40
00:02:02.100 --> 00:02:05.900
In the Wireshark, you can see the scan has been running and

41
00:02:05.900 --> 00:02:08.200
 if we see the packets over here.

42
00:02:09.200 --> 00:02:12.200
Let's have this particular request is for Port 22.

43
00:02:13.200 --> 00:02:16.800
This is for Port 80 Port 23 again, Port 22.

44
00:02:19.700 --> 00:02:19.900
and

45
00:02:20.800 --> 00:02:21.900
here we have seen the

46
00:02:22.700 --> 00:02:25.500
Status of the ports are filtered, but we

47
00:02:25.500 --> 00:02:29.400
 are interested in seeing that MTU that

48
00:02:29.400 --> 00:02:32.800
 we have sended the MTU that was sent was 24. So,

49
00:02:32.800 --> 00:02:35.500
 let's see what MTU has been received. So

50
00:02:35.500 --> 00:02:38.300
 as you can see over here, the MTU has

51
00:02:38.300 --> 00:02:40.600
 been received of 24 bytes.

52
00:02:41.500 --> 00:02:44.500
Which says that we have successfully able to

53
00:02:44.500 --> 00:02:48.000
 send our own fragment, but the

54
00:02:47.300 --> 00:02:50.600
 machine had discarded that particular fragment

55
00:02:50.600 --> 00:02:53.500
 and we are not able to identify the right

56
00:02:53.500 --> 00:02:56.800
 status of the port. That's why and map

57
00:02:56.800 --> 00:02:59.800
 has got the response that all the ports that

58
00:02:59.800 --> 00:03:01.900
 we scanned are filtered.

59
00:03:02.800 --> 00:03:05.700
In case there is a firewall running and in

60
00:03:05.700 --> 00:03:08.700
 the firewall takes this malicious send

61
00:03:08.700 --> 00:03:09.500
 it fragments.

62
00:03:10.400 --> 00:03:14.000
Of the MTU then it will respond correctly and

63
00:03:13.300 --> 00:03:16.700
 we will be able to identify the port

64
00:03:16.700 --> 00:03:17.200
 state.

65
00:03:18.200 --> 00:03:21.300
I hope you guys understood how you can use a MTU scan

66
00:03:21.300 --> 00:03:22.500
 with nmap. Thank you.
