WEBVTT - This file was automatically generated by VIMEO

0
00:00:06.100 --> 00:00:06.800
Hello, everyone.

1
00:00:07.900 --> 00:00:10.700
So in this video we are going to see the Xmas scan.

2
00:00:11.600 --> 00:00:15.000
The syntax of doing this scan is nmap hyphen

3
00:00:14.800 --> 00:00:17.100
 SX the target IP address

4
00:00:17.100 --> 00:00:19.100
 and the port number.

5
00:00:20.300 --> 00:00:23.700
So this is another very steady scan that sets

6
00:00:23.700 --> 00:00:26.900
 all the TCP had a Flags to fin urge

7
00:00:26.900 --> 00:00:27.400
 and push.

8
00:00:28.900 --> 00:00:31.700
Stealthily sneaks through stateless firewalls

9
00:00:31.700 --> 00:00:34.800
 and packet filters by turning on different TCP

10
00:00:34.800 --> 00:00:36.900
 Flags like fin urge and push.

11
00:00:37.900 --> 00:00:40.700
However for non-window servers protected

12
00:00:40.700 --> 00:00:43.300
 by firewalls, this can be a way

13
00:00:43.300 --> 00:00:43.800
 to get through.

14
00:00:44.500 --> 00:00:47.200
Remember the flags that are set in

15
00:00:47.200 --> 00:00:50.200
 Xmas can add fin urge and push.

16
00:00:51.600 --> 00:00:54.700
The name given is as xmascan because

17
00:00:54.700 --> 00:00:57.200
 the packet lights up like a Christmas tree.

18
00:00:58.700 --> 00:01:02.000
Take a note if a port is closed it replies

19
00:01:01.300 --> 00:01:04.200
 with the reset act and if it is open,

20
00:01:04.200 --> 00:01:07.100
 it replies within us and push.

21
00:01:08.400 --> 00:01:11.200
So what happens as you can see on the left hand side

22
00:01:11.200 --> 00:01:14.800
 is the end map machine through which we are going to scan and

23
00:01:14.800 --> 00:01:17.500
 on the right hand side is the server which is going

24
00:01:17.500 --> 00:01:18.600
 to be get scanned.

25
00:01:21.400 --> 00:01:24.600
The first request that is sent is fin push

26
00:01:24.600 --> 00:01:25.500
 and urge.

27
00:01:26.500 --> 00:01:29.600
For that request if we receive a Reese attack, then

28
00:01:29.600 --> 00:01:31.600
 the port is marked as closed.

29
00:01:32.800 --> 00:01:35.300
So, let's see the packet breakdown and understand what happens

30
00:01:35.300 --> 00:01:36.200
 in the background.

31
00:01:37.300 --> 00:01:40.100
as you can see for port number 23

32
00:01:41.400 --> 00:01:44.300
a packet has been sent and a reset act has

33
00:01:44.300 --> 00:01:47.300
 been received which says the port is marked as

34
00:01:47.300 --> 00:01:47.800
 closed.

35
00:01:51.100 --> 00:01:54.300
So what are the advantages disadvantages of this type of scan?

36
00:01:55.600 --> 00:01:58.200
The advantage is it is a still the scan and

37
00:01:58.200 --> 00:02:00.700
 can bypass some firewalls and packet filters.

38
00:02:01.600 --> 00:02:04.100
The disadvantage is it is unreliable at

39
00:02:04.100 --> 00:02:04.800
 many times.

40
00:02:06.700 --> 00:02:09.500
So, let's see the Practical of this type of scan and understand

41
00:02:09.500 --> 00:02:10.100
 better.

42
00:02:11.400 --> 00:02:13.500
As you can see, this is the Wireshark.

43
00:02:14.300 --> 00:02:15.200
packet analysis

44
00:02:18.900 --> 00:02:19.100
now

45
00:02:20.600 --> 00:02:23.600
first come on that I'm going to run is nmap hyphen

46
00:02:23.600 --> 00:02:24.000
 SX.

47
00:02:24.700 --> 00:02:26.400
It stands for xmascam.

48
00:02:27.100 --> 00:02:30.300
And material IP address and hyphen v as we

49
00:02:30.300 --> 00:02:32.900
 can see initiating xmascan.

50
00:02:40.600 --> 00:02:43.200
Yes, we have got the output and you can

51
00:02:43.200 --> 00:02:46.700
 see all the three ports are marked as open and

52
00:02:46.700 --> 00:02:49.500
 filtered and the hostess up. So let's

53
00:02:49.500 --> 00:02:50.800
 see what happens in the background.

54
00:02:52.400 --> 00:02:56.100
So as you can see for all this ports a

55
00:02:55.100 --> 00:02:57.800
 fin push and urgeward sent.

56
00:02:58.600 --> 00:03:02.000
And we have received reset hack

57
00:03:01.200 --> 00:03:04.100
 for most of the packets.

58
00:03:05.800 --> 00:03:06.100
thus

59
00:03:07.400 --> 00:03:11.100
most of the ports are considered as closed for

60
00:03:10.100 --> 00:03:12.400
 this type of scan.

61
00:03:13.500 --> 00:03:13.800
Thank you.
