WEBVTT - This file was automatically generated by VIMEO

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

1
00:00:06.800 --> 00:00:09.600
So in this video we are going to see how you

2
00:00:09.600 --> 00:00:12.400
 can perform both knocking with the help

3
00:00:12.400 --> 00:00:15.200
 of nmap. Remember Port knocking is

4
00:00:15.200 --> 00:00:18.900
 very helpful in identifying the hidden open ports.

5
00:00:18.900 --> 00:00:21.900
 This is helpful in performing various when

6
00:00:21.900 --> 00:00:24.400
 testing rules and as well as while playing

7
00:00:24.400 --> 00:00:26.200
 many CTF, so

8
00:00:28.200 --> 00:00:31.000
The Syntax for doing this is you can

9
00:00:31.200 --> 00:00:32.400
 do it this way also.

10
00:00:33.800 --> 00:00:36.500
by basically typing a script which

11
00:00:36.500 --> 00:00:40.400
 is for X in 1 to 10000

12
00:00:39.400 --> 00:00:42.600
 which is the range do and map

13
00:00:42.600 --> 00:00:45.600
 scan which is - p n hyphen P

14
00:00:45.600 --> 00:00:47.200
 which is a port scan of

15
00:00:48.300 --> 00:00:51.600
the X the server IP address that you want to scan and

16
00:00:51.600 --> 00:00:54.100
 done. So Port knocking is

17
00:00:54.100 --> 00:00:57.800
 an obfuscation as a security technique. It basically means

18
00:00:57.800 --> 00:01:00.300
 that after knocking on ports in a specific

19
00:01:00.300 --> 00:01:03.800
 sequence a certain Port will open automatically.

20
00:01:04.500 --> 00:01:07.400
It is useful for identifying ports, which are

21
00:01:07.400 --> 00:01:08.200
 hidden.

22
00:01:14.300 --> 00:01:14.400
so

23
00:01:15.900 --> 00:01:19.200
Through this way we can identify that

24
00:01:18.200 --> 00:01:21.400
 which ports are open. So it

25
00:01:21.400 --> 00:01:23.200
 is the Practical time and let's see.

26
00:01:25.200 --> 00:01:28.000
This in action as you can see I have type the command.

27
00:01:29.300 --> 00:01:33.400
To perform Port scanning on our Target that is 43.213

28
00:01:32.400 --> 00:01:35.400
 as you can see out of

29
00:01:35.400 --> 00:01:37.700
 the range from 1 to 10000.

30
00:01:38.400 --> 00:01:40.600
These many ports are opened.

31
00:01:41.700 --> 00:01:44.700
for 22 80 1 1 9 8

32
00:01:44.700 --> 00:01:46.600
 7 6 and 9 9 9

33
00:01:54.200 --> 00:01:57.400
now I'm going to manually identify that the

34
00:01:57.400 --> 00:02:00.500
 port number 999 is open or not. So I'm

35
00:02:00.500 --> 00:02:03.500
 going to specify the target IP address and hyphen P

36
00:02:03.500 --> 00:02:06.400
 the port number and hyphen V to see the output

37
00:02:06.400 --> 00:02:09.700
 inverse mode as you can see this specific Port

38
00:02:09.700 --> 00:02:12.100
 that we are identified is open.

39
00:02:13.200 --> 00:02:16.700
So I hope you guys understood that how you can perform a port

40
00:02:16.700 --> 00:02:19.400
 knocking using and map. Thank you.
