WEBVTT - This file was automatically generated by VIMEO

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

1
00:00:07.500 --> 00:00:10.600
so in this video we are going to see OS detection

2
00:00:10.600 --> 00:00:14.200
 based on SMB OS

3
00:00:13.200 --> 00:00:15.800
 Discovery script

4
00:00:16.700 --> 00:00:19.900
So this script gives us

5
00:00:19.900 --> 00:00:22.800
 more reliable results when

6
00:00:22.800 --> 00:00:25.600
 we perform a OS detection on

7
00:00:25.600 --> 00:00:26.700
 our Target.

8
00:00:28.200 --> 00:00:31.400
So the syntax of doing this particular scan is

9
00:00:31.400 --> 00:00:34.800
 and map the target IP address followed by

10
00:00:34.800 --> 00:00:38.000
 hyphen hyphen script hyphen hyphen

11
00:00:37.500 --> 00:00:40.000
 SMB hyphen OS -

12
00:00:40.000 --> 00:00:40.700
 discovery

13
00:00:42.000 --> 00:00:42.300
so

14
00:00:43.100 --> 00:00:46.500
you can always add a hyphen V flag to see

15
00:00:46.500 --> 00:00:48.400
 the output in verbose mode.

16
00:00:49.500 --> 00:00:53.100
As you can see the example is given over here, which says

17
00:00:52.100 --> 00:00:56.900
 nmap the IP address and smbos

18
00:00:55.900 --> 00:00:57.600
 discovery.

19
00:00:59.700 --> 00:01:01.500
So, let's see the practical.

20
00:01:03.600 --> 00:01:06.300
Just you can see on my terminal I

21
00:01:06.300 --> 00:01:07.500
 have written nmap.

22
00:01:08.300 --> 00:01:11.800
the target IP address hyphen script and the

23
00:01:11.800 --> 00:01:12.200
 script name

24
00:01:12.900 --> 00:01:15.400
Added with hyphen VV to

25
00:01:15.400 --> 00:01:17.600
 see the output in verbose mode.

26
00:01:25.300 --> 00:01:29.300
As you can see the scan has successfully started and map

27
00:01:28.300 --> 00:01:31.100
 has already discovered that there are

28
00:01:31.100 --> 00:01:32.300
 three open ports.

29
00:01:33.400 --> 00:01:37.200
Perfect. The scan has been completed successfully and

30
00:01:36.200 --> 00:01:39.300
 you can observe over

31
00:01:39.300 --> 00:01:42.400
 here the service info gives

32
00:01:42.400 --> 00:01:45.500
 the result of the OS scan

33
00:01:45.500 --> 00:01:46.800
 because of the script.

34
00:01:47.600 --> 00:01:48.200
as you can see

35
00:01:50.600 --> 00:01:53.200
the script is able to identify that the

36
00:01:53.200 --> 00:01:56.600
 underlying operating system of the target is

37
00:01:56.600 --> 00:01:58.900
 Windows as you can see over here.

38
00:01:59.800 --> 00:02:02.600
It says Microsoft Windows.

39
00:02:04.400 --> 00:02:04.500
so

40
00:02:06.200 --> 00:02:09.900
I hope you guys understood how we performed the SMB

41
00:02:09.900 --> 00:02:12.600
 OS Discovery scan with the

42
00:02:12.600 --> 00:02:15.600
 help of nmap to identify the exact version

43
00:02:15.600 --> 00:02:16.100
 of

44
00:02:17.400 --> 00:02:20.500
The operating system which is running on our Target.

45
00:02:20.500 --> 00:02:21.500
 Thank you.
