WEBVTT - This file was automatically generated by VIMEO

0
00:00:04.900 --> 00:00:07.000
Hello everyone. So in this

1
00:00:07.200 --> 00:00:10.500
 video we are going to see service detection of

2
00:00:10.500 --> 00:00:11.400
 nmap.

3
00:00:13.200 --> 00:00:17.000
So first to see the standard service detection

4
00:00:16.800 --> 00:00:19.900
 we are going to do the syntax.

5
00:00:19.900 --> 00:00:22.600
 That is nmap the target IP address and

6
00:00:22.600 --> 00:00:24.000
 hyphen SV.

7
00:00:24.900 --> 00:00:27.300
So you can scan a Target by simply giving an

8
00:00:27.300 --> 00:00:30.700
 IP address and specifying The Hyphen SV

9
00:00:30.700 --> 00:00:33.100
 flag, which is used for service for General

10
00:00:33.100 --> 00:00:33.400
 detection.

11
00:00:33.900 --> 00:00:36.200
So what this will do it will tell

12
00:00:36.200 --> 00:00:39.300
 you about which services are running on the

13
00:00:39.300 --> 00:00:42.400
 ports of the target. You can always add a

14
00:00:42.400 --> 00:00:45.100
 hyphen V to see the verbose output and the example of

15
00:00:45.100 --> 00:00:47.900
 doing this scan is nmap the target IP address.

16
00:00:48.800 --> 00:00:51.200
And hyphen SV to see the

17
00:00:51.200 --> 00:00:53.100
 output of all the services.

18
00:00:55.200 --> 00:00:58.400
Then it comes the light service detection.

19
00:00:59.100 --> 00:01:02.600
The syntax of doing the light service detection is nmap the

20
00:01:02.600 --> 00:01:06.500
 target IP address hyphen SV hyphen version

21
00:01:05.500 --> 00:01:08.400
 hyphen intensity and the

22
00:01:08.400 --> 00:01:10.400
 intensity you can give is zero.

23
00:01:11.100 --> 00:01:14.500
Remember in this light detection. You

24
00:01:14.500 --> 00:01:17.800
 will not be able to see more output

25
00:01:17.800 --> 00:01:18.900
 about the services.

26
00:01:19.800 --> 00:01:23.200
As this is only the light version of

27
00:01:22.200 --> 00:01:26.300
 detection, but in aggressive

28
00:01:25.300 --> 00:01:27.100
 service detection.

29
00:01:27.900 --> 00:01:30.600
you can see on the syntax and map Target

30
00:01:30.600 --> 00:01:33.600
 IP hyphen SV hyphen hyphen version hyphen

31
00:01:33.600 --> 00:01:34.400
 intensity 5

32
00:01:35.900 --> 00:01:38.400
you will be able to see the output of

33
00:01:38.400 --> 00:01:41.400
 the services in aggressive mode, which is

34
00:01:42.900 --> 00:01:45.900
more output and more information about

35
00:01:45.900 --> 00:01:48.600
 the services which are running on

36
00:01:48.600 --> 00:01:50.000
 to our Target.

37
00:01:51.100 --> 00:01:53.600
So, let's see this in the practical.

38
00:01:55.200 --> 00:01:58.700
As we can see on the screen. I'm going to type and map the

39
00:01:58.700 --> 00:02:00.800
 target IP address that I want to scan.

40
00:02:02.200 --> 00:02:04.600
and hyphen SV flag

41
00:02:10.500 --> 00:02:12.700
as you can see I have also added hyphen V.

42
00:02:13.400 --> 00:02:17.200
First to show you the output and verbose mode and by

43
00:02:16.200 --> 00:02:20.400
 adding hyphen V I can see whatever scan

44
00:02:20.400 --> 00:02:23.500
 has been happening and you can see I have found out that there are

45
00:02:23.500 --> 00:02:26.500
 total five ports which are open over here,

46
00:02:26.500 --> 00:02:29.600
 but we have not identified the service

47
00:02:29.600 --> 00:02:32.400
 version of any port. So now this time we are

48
00:02:32.400 --> 00:02:33.400
 going to scan.

49
00:02:35.600 --> 00:02:38.200
The ports which are 22 80 1 1

50
00:02:38.200 --> 00:02:40.300
 1 9 8 7 6 9 9 9.

51
00:02:42.500 --> 00:02:44.600
by adding The Hyphen SV flag

52
00:02:46.100 --> 00:02:48.500
So when I add The Hyphen SV flag.

53
00:02:49.800 --> 00:02:51.400
What is the output that I get?

54
00:02:52.600 --> 00:02:55.300
For the ports that I identified that were open.

55
00:02:56.100 --> 00:02:59.900
I was able to also identify that which service

56
00:02:59.900 --> 00:03:02.900
 is running on that specific Port as

57
00:03:02.900 --> 00:03:05.300
 you can see in the output Port 22 is

58
00:03:05.300 --> 00:03:06.500
 running open SSH.

59
00:03:07.600 --> 00:03:10.200
8.0 P1 Debian 6

60
00:03:10.200 --> 00:03:13.800
 protocol 2.0 Port 80 is running Apache

61
00:03:13.800 --> 00:03:17.300
 httpd 2.4.41, as

62
00:03:16.300 --> 00:03:20.200
 you can see Port 9999 is

63
00:03:19.200 --> 00:03:22.100
 running FTP and the version is

64
00:03:22.100 --> 00:03:24.700
 vs. Ftpd 2.08.

65
00:03:26.900 --> 00:03:29.000
So by this way, we are

66
00:03:29.300 --> 00:03:32.500
 able to identify that what services are

67
00:03:32.500 --> 00:03:35.900
 running on the ports in case you identify if

68
00:03:35.900 --> 00:03:38.400
 any Services outdated you can just

69
00:03:38.400 --> 00:03:42.100
 search for the exploit and then you can exploit

70
00:03:41.100 --> 00:03:45.000
 that specific service and get into

71
00:03:44.100 --> 00:03:45.500
 the server.

72
00:03:46.700 --> 00:03:48.600
I hope you guys understood this. Thank you.
