WEBVTT - This file was automatically generated by VIMEO

0
00:00:07.100 --> 00:00:10.800
In this video we are going to take a deep dive into understanding

1
00:00:10.800 --> 00:00:13.700
 Banner grabbing and the enumeration techniques

2
00:00:13.700 --> 00:00:17.000
 are the commonly used by cyber security professionals. So

3
00:00:16.300 --> 00:00:18.100
 let's dive on in

4
00:00:19.300 --> 00:00:23.600
What exactly is monographing to put simply paragraphing

5
00:00:22.600 --> 00:00:25.200
 is a technique that's commonly used

6
00:00:25.200 --> 00:00:28.600
 by boot tread actors and cybersecurity professionals

7
00:00:28.600 --> 00:00:31.700
 to collect information about a

8
00:00:31.700 --> 00:00:34.800
 host on a network. This information can

9
00:00:34.800 --> 00:00:37.800
 help us. See two men. If there are any sort of open ports

10
00:00:37.800 --> 00:00:40.900
 and the associated running Seuss's for

11
00:00:40.900 --> 00:00:44.000
 these open ports. Furthermore para

12
00:00:43.200 --> 00:00:46.500
 grabbing also helps us to determine the service

13
00:00:46.500 --> 00:00:49.700
 version that is running the services. For example,

14
00:00:49.700 --> 00:00:52.800
 let's see this port

15
00:00:52.800 --> 00:00:55.500
 22 upon. Well 42 is

16
00:00:55.500 --> 00:00:58.700
 a su seated with SSH secure shell. However,

17
00:00:58.700 --> 00:01:01.600
 there must be a suited service that

18
00:01:01.600 --> 00:01:04.500
 is running in the background on the horse operating system

19
00:01:04.500 --> 00:01:08.100
 that will open the port and this is where Barney grabbing.

20
00:01:08.700 --> 00:01:11.400
Cut and this is where bana grabbing will help

21
00:01:11.400 --> 00:01:14.300
 us on also try doctors use

22
00:01:14.300 --> 00:01:17.600
 technique as well to determine what is associated

23
00:01:17.600 --> 00:01:20.800
 service and that service region. If it

24
00:01:20.800 --> 00:01:23.300
 is that we are able to get the source Vision we can

25
00:01:23.300 --> 00:01:27.200
 simply perform additional research on Google or whatever.

26
00:01:26.200 --> 00:01:30.100
 Your favorite search engine is to determine

27
00:01:29.100 --> 00:01:33.200
 any sort of security flows with

28
00:01:32.200 --> 00:01:35.400
 that particular service and if there are

29
00:01:35.400 --> 00:01:37.000
 any sort of known exploits

30
00:01:39.800 --> 00:01:42.800
Additionally, there's enumeration enumeration is

31
00:01:42.800 --> 00:01:46.000
 simply the technique used by boot again hackers

32
00:01:45.400 --> 00:01:48.800
 and cyber Security Professionals to collect

33
00:01:48.800 --> 00:01:51.300
 information on a Target system

34
00:01:51.300 --> 00:01:54.800
 specifically on how to access a

35
00:01:54.800 --> 00:01:58.200
 system on whether there are any sort of resources stored

36
00:01:57.200 --> 00:01:59.300
 on our Target system.

37
00:02:00.100 --> 00:02:04.400
Furthermore animation helps us to collect username passwords

38
00:02:03.400 --> 00:02:06.500
 open civil Sports and even

39
00:02:06.500 --> 00:02:10.300
 lists of any files that are stored on

40
00:02:09.300 --> 00:02:11.700
 any network shades.

41
00:02:14.200 --> 00:02:17.200
I hope you're excited. So let's dive in into some practical

42
00:02:17.200 --> 00:02:17.800
 examples.

43
00:02:20.200 --> 00:02:23.400
So now that we are on our cardi longx machine, please ensure you

44
00:02:23.400 --> 00:02:26.900
 boot up the metasploitable tree Windows Virtual

45
00:02:26.900 --> 00:02:27.200
 Machine.

46
00:02:28.300 --> 00:02:32.300
As shown on my virtualbox manager, the metasploitable

47
00:02:31.300 --> 00:02:34.400
 tree Windows Virtual Machine

48
00:02:34.400 --> 00:02:36.000
 is actually running in the background.

49
00:02:37.700 --> 00:02:40.400
So to get started, let's open up our terminal.

50
00:02:42.400 --> 00:02:44.500
And I will increase my font size.

51
00:02:45.800 --> 00:02:48.900
And now let's actually perform well before

52
00:02:48.900 --> 00:02:52.000
 I perform a network scan. Let's check

53
00:02:51.200 --> 00:02:54.500
 our IP address of our Kali long switch on

54
00:02:54.500 --> 00:02:54.600
 machine.

55
00:02:55.400 --> 00:02:58.900
And currently the IP address of my machine. It is

56
00:02:58.900 --> 00:03:02.200
 172 TT 1 to

57
00:03:02.200 --> 00:03:04.000
 36. So let's copy this.

58
00:03:04.800 --> 00:03:08.100
Great. So, you know the IP address of all machine Let's

59
00:03:07.100 --> 00:03:10.900
 perform a network sweep or

60
00:03:10.900 --> 00:03:13.500
 pretty much a pink scan of the entire network to

61
00:03:13.500 --> 00:03:17.100
 do so we can type and map Dash SN this

62
00:03:16.100 --> 00:03:20.100
 will specify the ping scan

63
00:03:19.100 --> 00:03:22.700
 pretty much and we specified in

64
00:03:22.700 --> 00:03:25.100
 network ID with a subnet mask. And of course,

65
00:03:25.100 --> 00:03:29.100
 we will exclude our IP address

66
00:03:29.100 --> 00:03:32.900
 or for Kali lungs machine like so and press enter this count

67
00:03:32.900 --> 00:03:35.300
 should just take a few seconds to complete and look

68
00:03:35.300 --> 00:03:38.500
 it's already completed. We have one who's available

69
00:03:38.500 --> 00:03:41.200
 and this one who's is on a

70
00:03:41.200 --> 00:03:44.900
 pen test Network, which is the metasploitable tree

71
00:03:44.900 --> 00:03:46.600
 Windows Virtual Machine.

72
00:03:47.200 --> 00:03:50.700
So we are going to use this device as

73
00:03:50.700 --> 00:03:53.200
 our Target. Well that particular IP. So I'm

74
00:03:53.200 --> 00:03:56.200
 just going to copy once more again. We'll clear this

75
00:03:56.200 --> 00:03:59.500
 and let's do end map space -

76
00:03:59.500 --> 00:04:01.900
 S capital V

77
00:04:02.700 --> 00:04:03.300
like so

78
00:04:03.900 --> 00:04:06.900
and dash SV will specify to

79
00:04:06.900 --> 00:04:09.700
 perform service Vision enumeration or

80
00:04:09.700 --> 00:04:12.200
 Banner grabbing to put simply we'll do

81
00:04:12.200 --> 00:04:15.500
 Dash S capital T to do a tsp connect scan

82
00:04:15.500 --> 00:04:18.400
 then we will Dash capital E to actually

83
00:04:18.400 --> 00:04:22.200
 perform operating system are

84
00:04:21.200 --> 00:04:24.800
 enumeration. It will also perform service

85
00:04:24.800 --> 00:04:27.700
 enumeration and it

86
00:04:27.700 --> 00:04:30.900
 will also perform basic SMB scanning on

87
00:04:30.900 --> 00:04:33.700
 the Target and now we will specify the IP

88
00:04:33.700 --> 00:04:35.100
 address of Target like so

89
00:04:35.800 --> 00:04:38.600
just to be honesty side. Let's type sudo.

90
00:04:39.100 --> 00:04:41.600
So that this command will execute.

91
00:04:43.700 --> 00:04:46.600
With administrative privileges good enter

92
00:04:46.600 --> 00:04:49.600
 going to enter my password for

93
00:04:49.600 --> 00:04:50.900
 cardioxide. So

94
00:04:51.300 --> 00:04:54.300
and this should take a few minutes to complete. So

95
00:04:54.300 --> 00:04:57.900
 I'm going to pause the video and I will resume when this

96
00:04:57.900 --> 00:04:58.500
 is completed.

97
00:05:00.500 --> 00:05:03.900
After a few minutes, the scan was completed currently we

98
00:05:03.900 --> 00:05:06.600
 can see that there's a lot of information that was

99
00:05:06.600 --> 00:05:09.900
 provided on the screen. For instance this

100
00:05:09.900 --> 00:05:12.900
 sport 22 upon. It's a TCB Port the

101
00:05:12.900 --> 00:05:15.400
 state of course is open the Service

102
00:05:15.400 --> 00:05:18.800
 Associated report 22 is fdp. However,

103
00:05:18.800 --> 00:05:21.200
 we have another column which is called

104
00:05:21.200 --> 00:05:24.600
 version. The service position that is providing that

105
00:05:24.600 --> 00:05:27.900
 service has causing the port open. For

106
00:05:27.900 --> 00:05:30.300
 instance. Again, we can see open as a

107
00:05:30.300 --> 00:05:33.500
 Siege 7.1 is being used to run the

108
00:05:33.500 --> 00:05:35.200
 SSE silver on our Target.

109
00:05:36.300 --> 00:05:39.900
We can simply copy this information like so head over

110
00:05:39.900 --> 00:05:42.500
 to Google on all friendly web browser.

111
00:05:43.900 --> 00:05:47.000
You can simply piece in the information and type

112
00:05:46.000 --> 00:05:47.900
 vulnerability.

113
00:05:48.600 --> 00:05:51.800
And we can see that there is a cve details

114
00:05:51.800 --> 00:05:52.700
 if I open this.

115
00:05:53.800 --> 00:05:56.100
We just simply need to reach through each

116
00:05:56.100 --> 00:05:59.900
 of these CV IDs that associated with open associate

117
00:05:59.900 --> 00:06:00.500
 7.1.

118
00:06:01.100 --> 00:06:05.400
For instance, we can see an overall view such as the

119
00:06:04.400 --> 00:06:07.800
 cvid the type

120
00:06:07.800 --> 00:06:11.100
 of security flow the date publish this

121
00:06:10.100 --> 00:06:13.800
 severe he scored as well. Some of

122
00:06:13.800 --> 00:06:16.200
 these are so on point eight, which is really really

123
00:06:16.200 --> 00:06:20.900
 high. There's 5.0 4.6 and

124
00:06:20.900 --> 00:06:23.200
 even 4.0 as well. Let's say

125
00:06:23.200 --> 00:06:24.300
 we click one of these on

126
00:06:24.900 --> 00:06:27.500
Once you click on one of these CV IDs

127
00:06:27.500 --> 00:06:30.700
 we can get some information about what is a

128
00:06:30.700 --> 00:06:34.000
 security flow on the system. We can even see our

129
00:06:33.700 --> 00:06:37.000
 additional details about why it

130
00:06:36.500 --> 00:06:40.600
 had a security well is vulnerability

131
00:06:39.600 --> 00:06:42.900
 score of 7.8 and

132
00:06:42.900 --> 00:06:44.200
 the type of weaknesses found.

133
00:06:45.300 --> 00:06:47.100
the types of affected systems

134
00:06:48.300 --> 00:06:51.200
that is related to this security vulnerability.

135
00:06:52.200 --> 00:06:54.000
Additionally, you could head over to Google

136
00:06:55.600 --> 00:06:58.900
Eyelash change vulnerability to exploit now

137
00:06:58.900 --> 00:07:01.400
 if we scroll down just a

138
00:07:01.400 --> 00:07:04.600
 little bit further. We'll see that there is a URL that

139
00:07:04.600 --> 00:07:07.600
 is associated with exploit DB to exploit

140
00:07:07.600 --> 00:07:08.200
 d2bees.

141
00:07:10.800 --> 00:07:13.900
On exploit database we can see again.

142
00:07:13.900 --> 00:07:16.500
 There's a CV idea sociated with

143
00:07:16.500 --> 00:07:20.000
 it and the author of this particular exploit.

144
00:07:19.200 --> 00:07:21.800
 We can even download exploit.

145
00:07:22.800 --> 00:07:25.800
Furthermore we can see the actual code that

146
00:07:25.800 --> 00:07:27.500
 was written by the author.

147
00:07:29.400 --> 00:07:32.300
It's pretty good to actually read a code because you can simply

148
00:07:32.300 --> 00:07:35.300
 use one of these exploits. Try it on a

149
00:07:35.300 --> 00:07:38.700
 test environment or even modify the code and also try

150
00:07:38.700 --> 00:07:41.900
 it with any test environment before testing

151
00:07:41.900 --> 00:07:44.200
 this on a relive system.

152
00:07:44.200 --> 00:07:46.100
 Of course. Ethically speaking.

153
00:07:48.200 --> 00:07:51.300
If you screw along some more will see the

154
00:07:51.300 --> 00:07:53.700
 specific version of the operating system.

155
00:07:54.400 --> 00:07:58.600
Simply because Sports 135 139 445

156
00:07:57.600 --> 00:08:00.400
 implies. This is

157
00:08:00.400 --> 00:08:03.800
 most likely a Windows operating system as providing

158
00:08:03.800 --> 00:08:06.700
 file and print sharing the cool

159
00:08:06.700 --> 00:08:10.400
 thing is because we did the dash SV parameter

160
00:08:09.400 --> 00:08:12.900
 and map was able to enumerate a

161
00:08:12.900 --> 00:08:16.500
 service that was opening Port 445. However,

162
00:08:15.500 --> 00:08:18.400
 we are actually got a

163
00:08:18.400 --> 00:08:22.100
 Target operating system, which is Windows serial,

164
00:08:21.100 --> 00:08:25.400
 2008 R2 standard Bill

165
00:08:24.400 --> 00:08:27.900
 7601 that is

166
00:08:27.900 --> 00:08:30.400
 running silver spark version 1 which

167
00:08:30.400 --> 00:08:31.400
 is pretty amazing.

168
00:08:33.400 --> 00:08:35.300
Let's scroll all the way down.

169
00:08:35.900 --> 00:08:39.200
to write

170
00:08:38.200 --> 00:08:41.800
 about here Wait says who script

171
00:08:41.800 --> 00:08:42.000
 results

172
00:08:42.800 --> 00:08:45.200
For instance, we can see it performs some

173
00:08:45.200 --> 00:08:48.500
 various SMB script scanning a determine the

174
00:08:48.500 --> 00:08:51.400
 security level for any sort of user accounts,

175
00:08:51.400 --> 00:08:55.800
 but most importantly it didn't smbos Discovery

176
00:08:55.800 --> 00:08:57.000
 automatically for us.

177
00:08:57.500 --> 00:09:00.800
It identified it was running windowsilla 2019

178
00:09:00.800 --> 00:09:04.100
 R2 standard. They provided

179
00:09:04.100 --> 00:09:07.200
 a service solution for us on the series spark, which

180
00:09:07.200 --> 00:09:10.000
 is pretty cool full. We also was able to

181
00:09:10.900 --> 00:09:11.900
 enumerate a computer name.

182
00:09:12.500 --> 00:09:15.600
All devices has a device name or sometime

183
00:09:15.600 --> 00:09:17.100
 you might call to say whose name.

184
00:09:17.800 --> 00:09:20.600
It was able to enumerate a net bios

185
00:09:20.600 --> 00:09:23.600
 name and determine what it was connected to a

186
00:09:23.600 --> 00:09:27.800
 domain or it was simply on the regular work

187
00:09:26.800 --> 00:09:28.000
 group.

188
00:09:31.100 --> 00:09:34.600
So great. Now, let's take a look at something called

189
00:09:34.600 --> 00:09:36.000
 it and Maps scripting engine.

190
00:09:36.600 --> 00:09:39.400
What if we wanted to scan the specific

191
00:09:39.400 --> 00:09:42.900
 host, but determine the actual let's

192
00:09:42.900 --> 00:09:43.600
 say operating system.

193
00:09:44.600 --> 00:09:47.300
We can specify the IP address of all target

194
00:09:47.300 --> 00:09:48.900
 like so which is 192.

195
00:09:49.800 --> 00:09:53.200
Actually, it's 172 tt1

196
00:09:52.200 --> 00:09:55.800
 TT. You can type dash

197
00:09:55.800 --> 00:09:57.000
 dash script like so.

198
00:09:59.700 --> 00:10:02.700
Next we can put an equal sign. Let's see

199
00:10:02.700 --> 00:10:05.700
 we want to discover the operating system. You

200
00:10:05.700 --> 00:10:08.600
 can see SMB Dash OS -

201
00:10:08.600 --> 00:10:10.100
 Discovery like so

202
00:10:10.900 --> 00:10:12.600
And now we can simply hit enter.

203
00:10:13.200 --> 00:10:16.300
This research should take a few seconds there on

204
00:10:16.300 --> 00:10:19.100
 as you can see and even do its scan and

205
00:10:19.100 --> 00:10:22.200
 tools all open ports or the top

206
00:10:22.200 --> 00:10:25.400
 1000 open ports. We also

207
00:10:25.400 --> 00:10:29.000
 was able to see the results of the smbos

208
00:10:28.700 --> 00:10:32.400
 discovery script which is specifically what

209
00:10:31.400 --> 00:10:35.300
 we need to know which is operating system. One

210
00:10:34.300 --> 00:10:37.200
 of the cool things we can do is we can

211
00:10:37.200 --> 00:10:40.400
 use the end map scripting engine simply because

212
00:10:40.400 --> 00:10:44.300
 end map contains a lot of scripts to discover various

213
00:10:43.300 --> 00:10:46.500
 things such as what a

214
00:10:46.500 --> 00:10:49.300
 host is vulnerable to a particular exploit.

215
00:10:50.500 --> 00:10:53.200
During the course of this video. We look at performing some

216
00:10:53.200 --> 00:10:57.400
 practical examples in Banner grabbing and enumerating Suite

217
00:10:56.400 --> 00:10:59.500
 student services and fun

218
00:10:59.500 --> 00:11:03.400
 fact, we actually saw a security vulnerability on

219
00:11:03.400 --> 00:11:06.200
 our Target system, which will actually look at

220
00:11:06.200 --> 00:11:08.800
 exploiting at a later video.

221
00:11:10.400 --> 00:11:13.500
In the next video, we'll look at some hands on network

222
00:11:13.500 --> 00:11:16.400
 scanning using their map tool. I hope this video has

223
00:11:16.400 --> 00:11:18.900
 been informative for you and thank you for viewing.
