WEBVTT - This file was automatically generated by VIMEO

0
00:00:12.400 --> 00:00:15.200
Hello everyone. So in this video we are going to

1
00:00:15.200 --> 00:00:18.500
 see service detection of nmap.

2
00:00:20.400 --> 00:00:20.500
So

3
00:00:21.400 --> 00:00:25.000
first to see the standard service detection we

4
00:00:24.100 --> 00:00:27.100
 are going to do the syntax. That

5
00:00:27.100 --> 00:00:31.100
 is nmap the target IP address and hyphen SV.

6
00:00:32.100 --> 00:00:35.800
So you can scan a Target by simply giving an IP address and

7
00:00:35.800 --> 00:00:38.800
 specifying The Hyphen SV flag, which

8
00:00:38.800 --> 00:00:40.400
 is used for service for General detection.

9
00:00:41.100 --> 00:00:45.200
So what this will do it will tell you about which services

10
00:00:44.200 --> 00:00:47.400
 are running on the ports of

11
00:00:47.400 --> 00:00:50.200
 the target. You can always add a hyphen V to see

12
00:00:50.200 --> 00:00:53.200
 the verbose output and the example of doing this scan is

13
00:00:53.200 --> 00:00:55.000
 nmap the target IP address.

14
00:00:55.900 --> 00:00:58.200
And hyphen SV to see the

15
00:00:58.200 --> 00:01:00.200
 output of all the services.

16
00:01:02.300 --> 00:01:05.500
Then it comes the light service detection.

17
00:01:06.200 --> 00:01:09.600
The syntax of doing the light service detection is nmap the

18
00:01:09.600 --> 00:01:13.700
 target IP address hyphen SV hyphen version

19
00:01:12.700 --> 00:01:15.500
 hyphen intensity and the

20
00:01:15.500 --> 00:01:17.600
 intensity you can give is zero.

21
00:01:18.200 --> 00:01:21.600
Remember in this light detection. You

22
00:01:21.600 --> 00:01:24.900
 will not be able to see more output

23
00:01:24.900 --> 00:01:27.600
 about the services as this

24
00:01:27.600 --> 00:01:30.900
 is only the light version of detection,

25
00:01:30.900 --> 00:01:33.700
 but in aggressive service

26
00:01:33.700 --> 00:01:34.200
 detection.

27
00:01:35.700 --> 00:01:38.800
as you can see on the syntax and map Target IP hyphen

28
00:01:38.800 --> 00:01:41.500
 SV hyphen hyphen version hyphen intensity 5

29
00:01:43.200 --> 00:01:46.800
you will be able to see the output of the services in

30
00:01:46.800 --> 00:01:48.500
 aggressive mode, which is

31
00:01:50.500 --> 00:01:53.300
more output and more information about the

32
00:01:53.300 --> 00:01:56.500
 services which are running on to our

33
00:01:56.500 --> 00:01:57.100
 Target.

34
00:01:58.200 --> 00:02:00.700
So, let's see this in the practical.

35
00:02:02.300 --> 00:02:05.800
As we can see on the screen. I'm going to type and map the

36
00:02:05.800 --> 00:02:07.900
 target IP address that I want to scan.

37
00:02:09.100 --> 00:02:11.700
and hyphen SV flag

38
00:02:17.600 --> 00:02:19.800
as you can see I have also added hyphen V.

39
00:02:20.500 --> 00:02:23.600
First to show you the output and verbose mode and

40
00:02:23.600 --> 00:02:27.500
 by adding hyphen V I can see whatever scan

41
00:02:27.500 --> 00:02:30.500
 has been happening and you can see I have found out that there

42
00:02:30.500 --> 00:02:33.500
 are total five ports which are open over here,

43
00:02:33.500 --> 00:02:36.700
 but we have not identified the service

44
00:02:36.700 --> 00:02:39.500
 version of any port. So now this time we

45
00:02:39.500 --> 00:02:40.500
 are going to scan.

46
00:02:42.700 --> 00:02:45.300
The ports which are 22 80 1 1

47
00:02:45.300 --> 00:02:47.400
 9 8 7 6 9 9 9.

48
00:02:49.500 --> 00:02:51.700
by adding The Hyphen SV flag

49
00:02:53.200 --> 00:02:55.600
So when I add The Hyphen SV flag.

50
00:02:56.800 --> 00:02:58.500
What is the output that I get?

51
00:02:59.700 --> 00:03:02.400
For the ports that I identified that were open.

52
00:03:03.200 --> 00:03:06.400
I was able to also identify that which

53
00:03:06.400 --> 00:03:10.100
 service is running on that specific Port as

54
00:03:09.100 --> 00:03:12.400
 you can see in the output Port 22 is

55
00:03:12.400 --> 00:03:13.600
 running open SSH.

56
00:03:14.700 --> 00:03:17.300
8.0 P1 Debian 6

57
00:03:17.300 --> 00:03:20.200
 protocol 2.0 Port 80 is running

58
00:03:20.200 --> 00:03:24.400
 Apache httpd 2.4.41, as

59
00:03:23.400 --> 00:03:27.300
 you can see Port 9999 is

60
00:03:26.300 --> 00:03:29.200
 running FTP and the version is

61
00:03:29.200 --> 00:03:31.800
 vs. Ftpd 2.08.

62
00:03:34.200 --> 00:03:37.900
So by this way, we are able to identify that

63
00:03:37.900 --> 00:03:40.100
 what services are running on the

64
00:03:40.100 --> 00:03:43.300
 ports in case you identify if any

65
00:03:43.300 --> 00:03:46.400
 Services outdated you can just search for

66
00:03:46.400 --> 00:03:49.300
 the exploit and then you can exploit that

67
00:03:49.300 --> 00:03:52.300
 specific service and get into the

68
00:03:52.300 --> 00:03:52.600
 server.

69
00:03:53.800 --> 00:03:55.700
I hope you guys understood this. Thank you.
