WEBVTT - This file was automatically generated by VIMEO

0
00:00:07.200 --> 00:00:10.200
In this video. We are going to cover how to set

1
00:00:10.200 --> 00:00:13.500
 up a hypervisor and virtual Networks.

2
00:00:15.700 --> 00:00:19.200
Before proceeding there's a few system and

3
00:00:18.200 --> 00:00:19.900
 Technical requirements.

4
00:00:21.200 --> 00:00:25.100
First and foremost, we need a hypervisor the hypervisor

5
00:00:24.100 --> 00:00:27.800
 will simply allow us to create virtual

6
00:00:27.800 --> 00:00:30.300
 machines on our existing whole system.

7
00:00:30.300 --> 00:00:33.500
 So therefore we don't need to spend any

8
00:00:33.500 --> 00:00:36.800
 additional money to purchase physical Hardware

9
00:00:36.800 --> 00:00:39.600
 components. We can use our existing computer

10
00:00:39.600 --> 00:00:42.300
 what it's a desktop computer or

11
00:00:42.300 --> 00:00:45.400
 even a laptop computer and hosts on run

12
00:00:45.400 --> 00:00:48.300
 multiple virtual machines. Therefore we

13
00:00:48.300 --> 00:00:51.600
 can build our own painstation Testing Lab environment

14
00:00:51.600 --> 00:00:53.100
 or no computers.

15
00:00:54.400 --> 00:00:57.800
Additionally, we'll be using Oracle VM

16
00:00:57.800 --> 00:01:00.800
 virtualbox as our preferred hypervisor, simply

17
00:01:00.800 --> 00:01:03.600
 because it's easy to use on it

18
00:01:03.600 --> 00:01:03.700
 3.

19
00:01:04.600 --> 00:01:07.700
We will also use a virtualbox extension pack

20
00:01:07.700 --> 00:01:10.800
 to allow us to use additional features within

21
00:01:10.800 --> 00:01:12.600
 a virtualbox hypervisor.

22
00:01:14.600 --> 00:01:17.400
In terms of technical requirements. I highly recommend that

23
00:01:17.400 --> 00:01:20.700
 your computer has approximately 8 gigs

24
00:01:20.700 --> 00:01:22.200
 of RAM or greeter.

25
00:01:23.100 --> 00:01:26.200
The reason for all of this Ram is because we'll be

26
00:01:26.200 --> 00:01:29.100
 running multiple virtual machines at the

27
00:01:29.100 --> 00:01:32.300
 same time sometime. We may be running two three virtual

28
00:01:32.300 --> 00:01:35.400
 machines and each virtual machine will need

29
00:01:35.400 --> 00:01:38.400
 some sort of memory location.

30
00:01:39.200 --> 00:01:42.800
Having equal CPU is excellent. If

31
00:01:42.800 --> 00:01:45.300
 you have a dual core system, it's still

32
00:01:45.300 --> 00:01:48.400
 fine. It can definitely weak but we need to manage the

33
00:01:48.400 --> 00:01:51.100
 available resources that we have on our computers.

34
00:01:52.200 --> 00:01:55.600
I highly recommend having at least 200 gigabytes free

35
00:01:55.600 --> 00:01:58.700
 on your hard drive or your solicide drive.

36
00:01:58.700 --> 00:02:01.300
 If you have less, it's totally okay,

37
00:02:01.300 --> 00:02:04.400
 but to be on the safe side 200 gigs

38
00:02:04.400 --> 00:02:06.600
 of free space is definitely ideal.

39
00:02:07.300 --> 00:02:10.100
And of course, we need an interaction. We need

40
00:02:10.100 --> 00:02:13.400
 to connect our Carly Lux machine to the internet to actually

41
00:02:13.400 --> 00:02:17.000
 download additional software packages and even

42
00:02:16.600 --> 00:02:18.600
 update the operating system.

43
00:02:20.100 --> 00:02:24.000
For the virtual machines will be setting up both the

44
00:02:23.200 --> 00:02:26.300
 windows version under Linux version of

45
00:02:26.300 --> 00:02:31.000
 metasploitable tree will also be implementing metasloidable

46
00:02:29.100 --> 00:02:32.700
 to which is the older

47
00:02:32.700 --> 00:02:36.000
 version but there are some things that we need from metasoitable

48
00:02:35.100 --> 00:02:38.600
 to so we'll also set it up within our

49
00:02:38.600 --> 00:02:39.200
 lab environment.

50
00:02:39.900 --> 00:02:43.100
Lastly we'll be installing Kali Linux

51
00:02:42.100 --> 00:02:45.400
 as our preferred Lenox penetration

52
00:02:45.400 --> 00:02:46.700
 testing distribution.

53
00:02:47.900 --> 00:02:50.400
To get an idea on our lab environment that

54
00:02:50.400 --> 00:02:53.900
 we are going to build on our computer. This topology will

55
00:02:53.900 --> 00:02:54.900
 give you a better idea.

56
00:02:55.500 --> 00:02:58.400
Everything you see within a diagram will be

57
00:02:58.400 --> 00:03:02.700
 running on your personal computer. For example, Kali

58
00:03:01.700 --> 00:03:04.900
 Lenox will be installed as a

59
00:03:04.900 --> 00:03:07.800
 virtual machine on your computer and will

60
00:03:07.800 --> 00:03:10.600
 configure two virtual networks one

61
00:03:10.600 --> 00:03:13.900
 virtual Network. It will be cool the pen

62
00:03:13.900 --> 00:03:16.600
 test net and this will be on the

63
00:03:16.600 --> 00:03:20.300
 network of 17230 /

64
00:03:19.300 --> 00:03:20.700
 24.

65
00:03:21.500 --> 00:03:24.600
However, we'll also create a hit Network which

66
00:03:24.600 --> 00:03:27.300
 will call hit net. And on this

67
00:03:27.300 --> 00:03:31.200
 headnet. We'll put one virtual machine, which is metisplatable 3,

68
00:03:30.200 --> 00:03:32.600
 but it lock solution.

69
00:03:33.100 --> 00:03:36.200
So the objective is Kali lalux will

70
00:03:36.200 --> 00:03:39.900
 be directly connected to pen test.net will perform

71
00:03:39.900 --> 00:03:42.900
 various types of active reconnaissance

72
00:03:42.900 --> 00:03:45.600
 to the two men the type of operating systems

73
00:03:45.600 --> 00:03:49.200
 on these machines. The IP

74
00:03:48.200 --> 00:03:51.300
 addresses of these machines plus will

75
00:03:51.300 --> 00:03:55.000
 do a basic vulnerability assessment

76
00:03:54.100 --> 00:03:57.000
 to determine any sort of security weaknesses.

77
00:03:58.300 --> 00:04:02.000
The cool thing is let's say we are able to compromise the

78
00:04:01.900 --> 00:04:04.300
 metasploitable 3 Windows base

79
00:04:04.300 --> 00:04:07.000
 machine, then most likely we'll be able to

80
00:04:07.800 --> 00:04:10.400
 Pivot our attack true on a Json Network

81
00:04:10.400 --> 00:04:13.300
 and even attempt to compromise or even

82
00:04:13.300 --> 00:04:17.100
 scan metasploitable tree, which is entirely on

83
00:04:16.100 --> 00:04:18.900
 a different IP subnet.

84
00:04:19.500 --> 00:04:22.800
And of course, we'll Bridge our network adapter

85
00:04:22.800 --> 00:04:26.100
 on our computer to provide inter connectivity

86
00:04:25.100 --> 00:04:28.400
 to our Kali language machine.

87
00:04:29.700 --> 00:04:32.000
So I hope you are excited. So let's go.

88
00:04:34.300 --> 00:04:37.600
So now that we are on our host system, which is a Windows

89
00:04:37.600 --> 00:04:40.500
 V system, but you can also use Linux or

90
00:04:40.500 --> 00:04:43.600
 even Mac and even Windows

91
00:04:43.600 --> 00:04:47.000
 11, so it's totally up to you. However, we

92
00:04:46.600 --> 00:04:50.500
 firstly need to download uninstall or

93
00:04:49.500 --> 00:04:52.300
 hypervisor application.

94
00:04:53.100 --> 00:04:55.200
So let's head over to our web browser.

95
00:04:56.200 --> 00:04:59.500
And we're using Google so you can simply search for Oracle.

96
00:05:00.500 --> 00:05:03.500
Virtualbox, like so hit enter

97
00:05:03.500 --> 00:05:06.500
 and we are going to use all we actually

98
00:05:06.500 --> 00:05:09.500
 click on this first link right

99
00:05:09.500 --> 00:05:09.800
 here.

100
00:05:10.900 --> 00:05:13.600
Once it is that we click on this link. We'll

101
00:05:13.600 --> 00:05:16.200
 head over to the virtualbox official website.

102
00:05:17.100 --> 00:05:20.900
One of the cool things we can do is we can simply click right here.

103
00:05:22.300 --> 00:05:25.300
That will carry us to the download page. So let's

104
00:05:25.300 --> 00:05:25.600
 click it.

105
00:05:30.200 --> 00:05:33.300
And now we can see all the binaries that are

106
00:05:33.300 --> 00:05:35.800
 available for Oracle virtualbox.

107
00:05:36.600 --> 00:05:39.500
For example, these are the binary software packages.

108
00:05:40.500 --> 00:05:43.500
since I'm running on a Windows based system, I can

109
00:05:43.500 --> 00:05:46.700
 simply click on this hyperlinker right

110
00:05:46.700 --> 00:05:49.200
 here to download the software package from

111
00:05:49.200 --> 00:05:50.400
 my computer like so

112
00:05:52.100 --> 00:05:54.700
and you can see it's already been downloaded.

113
00:05:55.700 --> 00:05:58.000
additionally I will need to get

114
00:05:58.900 --> 00:06:01.900
the virtualbox extension package, which

115
00:06:01.900 --> 00:06:04.500
 is found right beneath here. So you

116
00:06:04.500 --> 00:06:07.100
 can simply click this link to start a download.

117
00:06:11.800 --> 00:06:12.500
And there we go.

118
00:06:13.300 --> 00:06:14.700
I have the extension pack.

119
00:06:15.700 --> 00:06:18.800
So now that I have my hypervised application

120
00:06:18.800 --> 00:06:22.000
 and extension pack, let's her

121
00:06:21.400 --> 00:06:24.800
 head over to the downloads directory to start

122
00:06:24.800 --> 00:06:25.700
 installation.

123
00:06:26.900 --> 00:06:29.700
So, for example, I can double

124
00:06:29.700 --> 00:06:30.000
 click.

125
00:06:31.400 --> 00:06:33.900
like so on the virtualbox application

126
00:06:35.300 --> 00:06:39.200
and now Windows is asking me to verify and provide

127
00:06:38.200 --> 00:06:41.700
 administrative privileges to

128
00:06:41.700 --> 00:06:44.300
 execute this obligation. I'm going to Simply

129
00:06:44.300 --> 00:06:45.000
 click on yes.

130
00:06:46.500 --> 00:06:49.600
Then I'm going to click on next next again

131
00:06:49.600 --> 00:06:53.300
 click on yes, because I want the virtual

132
00:06:52.300 --> 00:06:55.100
 network interfaces to be installed.

133
00:06:56.100 --> 00:06:59.800
That I will click on yes to install any sort of missing dependencies

134
00:06:59.800 --> 00:07:00.900
 on my operating system.

135
00:07:02.300 --> 00:07:04.300
And finally, I'm going to click on install.

136
00:07:05.300 --> 00:07:08.300
And this should and this process should take a few seconds.

137
00:07:08.300 --> 00:07:10.200
 So perhaps a minute to two to complete.

138
00:07:11.700 --> 00:07:14.400
Once this is completed I can simply click on finish.

139
00:07:17.600 --> 00:07:21.200
And here we can have the virtualbox manager interface.

140
00:07:23.200 --> 00:07:26.200
Next I can simply close this on to

141
00:07:26.200 --> 00:07:29.000
 install extension back. I can right click

142
00:07:29.200 --> 00:07:31.800
 on extension back select open width.

143
00:07:32.300 --> 00:07:35.600
And simply use the virtualbox manager

144
00:07:35.600 --> 00:07:37.500
 application to open this extension pack.

145
00:07:38.100 --> 00:07:39.200
I'm going to click on OK.

146
00:07:40.400 --> 00:07:43.300
And now I have a new Option that's asking

147
00:07:43.300 --> 00:07:47.000
 me. Do I want to install a virtualbox extension back simply

148
00:07:46.200 --> 00:07:48.900
 click on the install button like so

149
00:07:50.500 --> 00:07:53.400
simply scroll down but ensure that you read a

150
00:07:53.400 --> 00:07:56.400
 license agreement and finally click on I agree.

151
00:07:58.200 --> 00:08:00.300
And of course we need to click ESO one more time.

152
00:08:01.100 --> 00:08:03.900
You can see the incision process happened very quickly.

153
00:08:05.400 --> 00:08:08.400
Once installation process is completed. We have our

154
00:08:08.400 --> 00:08:11.500
 hypervisor ready to set up a virtual machines.

155
00:08:11.500 --> 00:08:14.500
 But before we proceed to do so, let us

156
00:08:14.500 --> 00:08:16.100
 create all virtual Networks.

157
00:08:17.300 --> 00:08:20.400
The virtual networks will be used to interconnect our different virtual

158
00:08:20.400 --> 00:08:24.000
 machines together and ensure we have an isolated Network

159
00:08:23.100 --> 00:08:26.900
 within our whole separating system. So

160
00:08:26.900 --> 00:08:29.900
 therefore if we are launching any type of attacks or

161
00:08:29.900 --> 00:08:32.700
 doing a sort of intrusive scanning, it

162
00:08:32.700 --> 00:08:35.300
 will not harm any other systems that we do not own.

163
00:08:36.300 --> 00:08:39.800
So I'm gonna close the virtualbox manager. I'm

164
00:08:39.800 --> 00:08:42.400
 going to close this window. Now, I'm gonna

165
00:08:42.400 --> 00:08:45.400
 open a command prompt on Windows simply by clicking

166
00:08:45.400 --> 00:08:46.800
 the Windows start icon.

167
00:08:47.400 --> 00:08:50.300
I'm going to type CMD to search quickly for

168
00:08:50.300 --> 00:08:53.100
 the command prompt on Windows and I'm going

169
00:08:53.100 --> 00:08:56.200
 to select run as administrator go to select

170
00:08:56.200 --> 00:08:59.100
 yes to provide the necessary

171
00:08:59.100 --> 00:08:59.800
 privileges.

172
00:09:00.900 --> 00:09:03.500
And here we go. We have the Windows

173
00:09:03.500 --> 00:09:06.100
 command prompt with administrative privileges.

174
00:09:07.800 --> 00:09:10.800
Next we need to change our working directory to

175
00:09:10.800 --> 00:09:14.100
 the program files Oracle and virtualbox

176
00:09:13.100 --> 00:09:14.800
 sub Fuller.

177
00:09:15.400 --> 00:09:18.900
So you can simply use this command CD with specifies to

178
00:09:18.900 --> 00:09:21.900
 change directory and we specify

179
00:09:21.900 --> 00:09:22.600
 the directory.

180
00:09:23.300 --> 00:09:26.700
Once it enter we can see now that our working directory

181
00:09:26.700 --> 00:09:29.400
 is now within the C drive

182
00:09:29.400 --> 00:09:33.100
 program files Oracle and virtualbox subfolder.

183
00:09:34.500 --> 00:09:38.200
Next we are going to set up a DHCP server

184
00:09:37.200 --> 00:09:40.700
 Dynamic host configuration protocol silver

185
00:09:40.700 --> 00:09:43.900
 using virtualbox. Also create

186
00:09:43.900 --> 00:09:46.200
 a pen test Network set a

187
00:09:46.200 --> 00:09:49.600
 range of IP addresses Network mask and even an evil

188
00:09:49.600 --> 00:09:49.900
 the silver.

189
00:09:50.800 --> 00:09:53.800
You can simply use this command which says

190
00:09:53.800 --> 00:09:56.400
 vbox manage we use a

191
00:09:56.400 --> 00:09:59.700
 DHCP server odd command to actually create a DTV

192
00:09:59.700 --> 00:10:02.500
 server and add our Network which is

193
00:10:02.500 --> 00:10:06.100
 called pen testnet. We set our IEP

194
00:10:05.100 --> 00:10:09.200
 address ranges as you can see using the

195
00:10:08.200 --> 00:10:11.600
 server IP Command to specify

196
00:10:11.600 --> 00:10:14.600
 the dcbc IP, but most importantly the

197
00:10:14.600 --> 00:10:17.300
 lower IP Command together with the

198
00:10:17.300 --> 00:10:20.500
 upper IP Command. So therefore any virtual

199
00:10:20.500 --> 00:10:23.700
 machine that we assigned to the pen test net. They will

200
00:10:23.700 --> 00:10:27.300
 get an IV address within the 172 TT

201
00:10:26.300 --> 00:10:31.000
 Wonder 20 2.50 reach

202
00:10:31.600 --> 00:10:34.600
Additionally, we have our Network mask and

203
00:10:34.600 --> 00:10:39.100
 we are using the enabled command to automatically activate

204
00:10:37.100 --> 00:10:40.800
 this DCP server

205
00:10:40.800 --> 00:10:43.100
 and create a network Force. I'm going to

206
00:10:43.100 --> 00:10:46.900
 enter and once everything goes well this network

207
00:10:46.900 --> 00:10:48.100
 should be automatically created.

208
00:10:48.800 --> 00:10:51.600
Next let's create another network. But this

209
00:10:51.600 --> 00:10:54.600
 other network will be the hidden network. That

210
00:10:54.600 --> 00:10:56.400
 is based on our Network topology.

211
00:10:59.100 --> 00:11:02.400
So what we can do we can press the up button on

212
00:11:02.400 --> 00:11:05.200
 our keyboard to get a history and let's

213
00:11:05.200 --> 00:11:06.100
 change a few things.

214
00:11:07.500 --> 00:11:10.900
so let's go all the way back to network equal

215
00:11:10.900 --> 00:11:12.900
 and let's change this to

216
00:11:14.200 --> 00:11:16.300
Hidden net like so

217
00:11:16.900 --> 00:11:19.900
let's change the CP servers

218
00:11:19.900 --> 00:11:22.600
 IP address. So we'll change the

219
00:11:22.600 --> 00:11:25.900
 10.11.12.1.

220
00:11:26.600 --> 00:11:29.000
Let's change the lower IP address.

221
00:11:30.200 --> 00:11:31.500
so it will be

222
00:11:33.500 --> 00:11:36.900
lower IP address sorry lower IP equal 10

223
00:11:38.400 --> 00:11:42.100
Dot 11.12.20

224
00:11:43.100 --> 00:11:45.700
Let's change the upper IP address range.

225
00:11:48.200 --> 00:11:53.800
to 10 Dot 11.12.50

226
00:11:55.500 --> 00:11:59.000
and we're keeping the same subnet mask and

227
00:11:58.100 --> 00:12:01.600
 let's use an evil command to ensure that

228
00:12:01.600 --> 00:12:03.700
 this DHCP service activated.

229
00:12:05.400 --> 00:12:08.900
So I'm going to hit enter once everything goes well, we have

230
00:12:08.900 --> 00:12:11.300
 our second Network created.

231
00:12:13.400 --> 00:12:15.800
Now that we have created all virtual Networks.

232
00:12:16.700 --> 00:12:19.800
We have concluded the end of this video. So during

233
00:12:19.800 --> 00:12:22.700
 this video you have learned how to download uninstall the

234
00:12:22.700 --> 00:12:25.500
 hypervisor. You have also learned how to create virtual

235
00:12:25.500 --> 00:12:28.500
 networks using Oracle virtualbox.

236
00:12:30.100 --> 00:12:33.100
In the next video, we will take a look at setting up

237
00:12:33.100 --> 00:12:36.600
 Kali Lennox as a virtual machine with an all

238
00:12:36.600 --> 00:12:37.100
 hypervisor.
