1
00:00:00,450 --> 00:00:06,180
Welcome to Part Five of this module in this module we will be looking at some of the deeper workings

2
00:00:06,180 --> 00:00:11,050
of virtual box that were alluded to but not covered in the previous modules.

3
00:00:11,160 --> 00:00:18,390
For example we will learn how to install the guest edition S.D. on other emulated operating systems

4
00:00:18,600 --> 00:00:26,190
how to setup a U.S. B in your virtualizing environment how to setup shared folders change your memory

5
00:00:26,190 --> 00:00:32,790
allocation as well as a number of other functions to begin I'm going to point out that the emulated

6
00:00:32,790 --> 00:00:40,050
system I'm going to be running will be Windows 7 within Windows 7 with the emulated system appearing

7
00:00:40,050 --> 00:00:47,400
within this confined window so to begin I'm gonna go ahead and pull up the system which is already running

8
00:00:47,940 --> 00:00:55,680
here is our emulated Windows 7 and we're going to start by installing the guest Ed. C.D. And this is

9
00:00:55,680 --> 00:00:58,860
a great deal easier than it was in Cali Linux.

10
00:00:58,980 --> 00:01:06,060
As I mentioned in the previous modules dealing with the installation of Kali on virtual box there is

11
00:01:06,060 --> 00:01:13,530
a bug with the Kali linux kernel as it relates to virtual box and it's a little hard to get specifics

12
00:01:13,530 --> 00:01:14,150
on this.

13
00:01:14,160 --> 00:01:20,100
However it appears that what happens is that when you try to install the guest Ed. C.D. which will allow

14
00:01:20,100 --> 00:01:28,740
for full screen mode tele Linux just doesn't recognize it or it doesn't recognize the kernel of Kali

15
00:01:28,740 --> 00:01:34,950
Linux as being up to date even though it is but because your kernel is up to date attempting to update

16
00:01:34,950 --> 00:01:39,440
it or get up to date headers will simply not work and you'll be stuck.

17
00:01:39,450 --> 00:01:47,250
Which is why the update command for both the system and the distribution had to be run and this fixed

18
00:01:47,250 --> 00:01:55,260
it however it is a great deal easier with other operating systems as I will demonstrate.

19
00:01:55,280 --> 00:02:04,930
So with Windows 7 all you have to do is go to devices insert guest additions seedy image and then open

20
00:02:04,930 --> 00:02:06,070
up your file manager

21
00:02:10,400 --> 00:02:15,050
and then we'll click on our computer or in the case of later Windows versions it may be called this

22
00:02:15,050 --> 00:02:25,760
P.C. and here we see the guest editions see Rahm is already input it into the virtual box drive as if

23
00:02:25,760 --> 00:02:28,080
it were a real seedy Iran.

24
00:02:28,160 --> 00:02:30,940
So we're just going to double click it.

25
00:02:31,250 --> 00:02:37,220
And now if we're running a Windows system that is using the 64 bit version we would need to run the

26
00:02:37,790 --> 00:02:40,670
AMD 64 bit which we will do in a moment.

27
00:02:40,940 --> 00:02:48,230
If we were running an older version of Windows a 32 bit version for an older computer model we would

28
00:02:48,230 --> 00:02:54,980
need to run the X 86 version for any other distribution of Linux other than Solaris which has its own

29
00:02:54,980 --> 00:02:57,290
special package.

30
00:02:57,290 --> 00:03:05,210
We would simply run the V box Linux editions so we're gonna go ahead and we're going to run the 64 bit

31
00:03:05,930 --> 00:03:07,720
version by double clicking on it.

32
00:03:13,710 --> 00:03:20,410
We're gonna verify by clicking yes and from here the process is really very simple we'll just click

33
00:03:20,410 --> 00:03:27,840
next and there's nothing wrong with the default destination folder click next.

34
00:03:27,850 --> 00:03:31,490
You could choose to install direct 3D support.

35
00:03:31,490 --> 00:03:33,450
This is entirely optional.

36
00:03:33,460 --> 00:03:37,050
I don't really recommend it unless you have a powerful system.

37
00:03:37,090 --> 00:03:42,850
Remember that a virtualizing environment has much fewer resources than your primary system.

38
00:03:42,910 --> 00:03:50,170
In fact usually half or less than half and direct 3D can really slow things down and grind to a halt.

39
00:03:50,350 --> 00:03:54,130
But you can't click this if you wish when you're ready click install

40
00:03:56,880 --> 00:04:02,910
once the virtual box guest edition S.D. has been installed full screen mode will work normally

41
00:04:08,260 --> 00:04:13,810
if you attempt to enter full screen without installing the guest additions and this applies to any operating

42
00:04:13,810 --> 00:04:15,340
system you're using.

43
00:04:15,340 --> 00:04:18,180
Be it Windows or Linux or anything else.

44
00:04:18,250 --> 00:04:24,010
The aspect ratio will be incorrect and there will be black and borders around the screen but once guest

45
00:04:24,010 --> 00:04:25,900
editions is installed.

46
00:04:25,900 --> 00:04:33,020
This problem will be fixed and you will have the full range of aspect ratios available.

47
00:04:33,120 --> 00:04:38,640
You can go into full screen mode or resize the virtualize window as you please.

48
00:04:39,430 --> 00:04:47,710
Once finished a reboot will be necessary however first I will select manual reboot to demonstrate what

49
00:04:47,710 --> 00:04:48,670
I was talking about.

50
00:04:50,560 --> 00:04:55,320
So if we go into full screen now it looks like this.

51
00:04:55,710 --> 00:05:01,370
There's a large area of darkness around the main screen.

52
00:05:04,360 --> 00:05:12,200
Once we reboot the changes will go into effect and that problem won't be fixed

53
00:05:27,920 --> 00:05:31,390
now with the reboot out of the way we can easily go into full screen mode.

54
00:05:34,120 --> 00:05:42,140
Click view and you can either press the host an f key with host by default being the right control key

55
00:05:43,100 --> 00:05:45,710
or we can just select full screen from this menu

56
00:05:48,990 --> 00:05:56,370
and here we have it full screen mode to leave this mode you could press host an F.

57
00:05:56,400 --> 00:06:05,660
Once again or just come down here and pull up this menu which hides at the bottom of the screen and

58
00:06:05,670 --> 00:06:06,260
now we're out of it.

59
00:06:07,370 --> 00:06:12,480
Next I'm going to show you how to set up a shared folder for virtual box.

60
00:06:12,500 --> 00:06:19,310
This will allow you to easily transfer files between your primary system and the virtualize system and

61
00:06:19,310 --> 00:06:21,170
vice versa.

62
00:06:21,170 --> 00:06:27,110
So to do this we're gonna begin by creating a folder in the real system or the post system.

63
00:06:27,110 --> 00:06:30,920
In this case on the desktop and I'm going to call this

64
00:06:33,650 --> 00:06:38,910
V box shared you could call it whatever you want.

65
00:06:39,150 --> 00:06:40,860
And now we're going to go up to settings

66
00:06:45,580 --> 00:06:56,700
shared folders and we're going to click add a new shared folder and we're going to browse and find the

67
00:06:56,700 --> 00:07:03,610
path to our newly created folder that will serve this purpose which in this case is going to be on my

68
00:07:03,610 --> 00:07:04,230
desktop.

69
00:07:04,240 --> 00:07:11,890
As I said you may create the folder wherever you wish we're gonna select it.

70
00:07:12,120 --> 00:07:16,080
We're going to click auto mount and make permanent.

71
00:07:16,080 --> 00:07:19,700
This way the folder will be available each time we boot the system.

72
00:07:19,740 --> 00:07:22,520
We won't have to manually configure it.

73
00:07:22,770 --> 00:07:26,400
We click OK and click ok.

74
00:07:32,040 --> 00:07:36,060
Now if we open up our file manager and go to network

75
00:07:39,520 --> 00:07:43,470
we can see the box as we are.

76
00:07:43,510 --> 00:07:48,040
We double click it and here is our shared folder now.

77
00:07:48,050 --> 00:07:52,940
Anything that we put in here will appear in both operating systems.

78
00:07:52,940 --> 00:07:54,620
I'm going to demonstrate this now.

79
00:07:55,220 --> 00:08:05,070
So I'm going to minimize the screen for a moment and open up my public folder and put this Firefox installer

80
00:08:05,610 --> 00:08:08,870
into the shared folder.

81
00:08:08,920 --> 00:08:16,220
So this is the primary host operating system Firefox is now in the shared folder

82
00:08:19,450 --> 00:08:23,360
pull the pull the emulation backup.

83
00:08:23,720 --> 00:08:31,510
And now when I open a shared folder there's Firefox and this works both ways.

84
00:08:31,510 --> 00:08:36,220
Files can be transferred from the emulated system to your primary system as well.

85
00:08:37,260 --> 00:08:42,920
Keep in mind that this is the only point of contact between the two operating systems.

86
00:08:43,170 --> 00:08:51,030
So it's entirely possible to test various forms of software that you would not normally feel comfortable

87
00:08:51,030 --> 00:09:00,090
running any real operating system such as for example various pieces of malware Trojans scripting programs

88
00:09:00,420 --> 00:09:08,820
or any file that you just don't trust because when we delete the system it all goes away it is self-contained

89
00:09:09,360 --> 00:09:16,950
nothing we do to this operating system will touch our host operating system but it is very important

90
00:09:17,040 --> 00:09:24,540
to be careful not to accidentally transfer potentially dangerous or infected files by the shared folder

91
00:09:24,540 --> 00:09:27,500
method to the primary operating system.

92
00:09:27,600 --> 00:09:32,140
It's best to treat virtual box as a test bed.

93
00:09:32,250 --> 00:09:35,920
It is a contained environment so you can do whatever you want in there.

94
00:09:35,940 --> 00:09:42,000
Just be careful not to let it bleed through onto your primary system.

95
00:09:42,000 --> 00:09:46,660
As you can see we have an internet connection through our shared adapter.

96
00:09:46,810 --> 00:09:56,450
I'm going to minimize this however and go into settings and click on network now the default that virtual

97
00:09:56,450 --> 00:09:58,510
box has set to is net.

98
00:09:58,540 --> 00:10:05,500
But you can drag this menu down and you can select bridged adapter if you're having any kind of a connection

99
00:10:05,500 --> 00:10:06,460
problem.

100
00:10:06,670 --> 00:10:11,500
And this will allow you to select a specific adapter.

101
00:10:11,510 --> 00:10:18,860
This is also useful if you have a USP adapter such as for example an alpha card that you wish to use.

102
00:10:18,860 --> 00:10:26,750
Keep in mind that when using a bridge adapter this is considered to be its own unique connection even

103
00:10:26,750 --> 00:10:33,430
though it may be technically using the same adapter that your host operating system is using what I

104
00:10:33,430 --> 00:10:42,360
mean by this is that if you run and encryption program for example if you run a VPN which is short for

105
00:10:42,370 --> 00:10:49,570
virtual private network the connection on the host operating system if it's the VPN connection will

106
00:10:49,570 --> 00:10:55,510
not translate to your emulated environment and vice versa.

107
00:10:55,510 --> 00:11:05,230
Meaning if you alter your IP with a VPN in your primary system you will still be exposed in your virtual

108
00:11:05,230 --> 00:11:06,210
system.

109
00:11:06,520 --> 00:11:14,260
And if you alter your IP in your virtual system you may still be exposed in your primary system.

110
00:11:14,260 --> 00:11:23,170
So it's necessary to run such pieces of software in both systems if you wish to achieve anonymity.

111
00:11:23,170 --> 00:11:27,120
Now if this information was a bit over your head please don't be concerned.

112
00:11:27,190 --> 00:11:32,530
I had to insert it as a footnote and it will be covered in much more detail in the section regarding

113
00:11:32,530 --> 00:11:33,730
encryption.

114
00:11:33,760 --> 00:11:40,120
I will cover virtual private networks and the Tor anonymity network and I will again call your attention

115
00:11:40,120 --> 00:11:41,410
to this detail.

116
00:11:41,560 --> 00:11:46,690
However as we were here I felt it was important to point out because many people are unaware of this

117
00:11:47,200 --> 00:11:53,920
and they can unwittingly unmask themselves when using virtual box assuming that they are anonymous when

118
00:11:53,920 --> 00:11:58,050
they are in fact completely exposed.

119
00:11:58,060 --> 00:12:01,560
Next we'll move on to setting up our USP adapters.

120
00:12:01,570 --> 00:12:07,000
Now you will immediately notice that the USP controller options are all great out.

121
00:12:07,000 --> 00:12:14,740
This is because virtual box needs a further piece of software and additions in order to actually function

122
00:12:14,740 --> 00:12:18,860
properly in this regard and virtual box never actually tells you this.

123
00:12:18,940 --> 00:12:21,280
So many users find themselves confused.

124
00:12:21,280 --> 00:12:29,410
They try to add a filter or add a specific USP device and are confused as to why the emulated system

125
00:12:29,410 --> 00:12:30,900
will not recognize it.

126
00:12:30,910 --> 00:12:38,730
So to begin we're going to need to open up our browser in our host system and we're going to need to

127
00:12:38,730 --> 00:12:41,940
search for virtual box extension pack

128
00:12:45,630 --> 00:12:47,640
it'll be on the main virtual box page

129
00:12:52,320 --> 00:12:55,890
under virtual box extension pack.

130
00:12:55,890 --> 00:13:02,400
You'll want the latest version please note however and it does say this somewhere that older versions

131
00:13:02,460 --> 00:13:07,980
will only work with older versions meaning that a newer version will not work with an older version

132
00:13:08,010 --> 00:13:10,560
and an older version will not work with the newer version.

133
00:13:10,560 --> 00:13:18,090
They have to be specific to the version a virtual box that you are using in all cases so click all supported

134
00:13:18,090 --> 00:13:21,060
platforms and will save the file

135
00:13:25,110 --> 00:13:26,540
once the file is downloaded.

136
00:13:26,550 --> 00:13:32,040
Go ahead and make sure that virtual box is closed and then open it up by double clicking

137
00:13:35,750 --> 00:13:37,460
click the reinstall option

138
00:13:40,150 --> 00:13:44,520
and of course you must agree to the terms

139
00:13:52,370 --> 00:13:57,010
and it really is this simple once successful click OK.

140
00:13:57,140 --> 00:14:04,070
And now when we go to Settings USP we can see that the controller options are no longer great out.

141
00:14:05,000 --> 00:14:13,640
So you can for example click USP 3.0 if you have 3.0 ports that are backwards compatible you could add

142
00:14:13,640 --> 00:14:15,370
a generic filter.

143
00:14:15,470 --> 00:14:21,470
I don't really recommend that you do it this way but you could add a generic filter and name it whatever

144
00:14:21,470 --> 00:14:29,570
you want which would mean that any USP device that you plug in will automatically be recognized by virtual

145
00:14:29,570 --> 00:14:36,980
box within the virtualize system meaning that while virtual box is loaded your host operating system

146
00:14:36,980 --> 00:14:39,610
will not recognize the USP device.

147
00:14:39,740 --> 00:14:47,390
But virtual box will for that reason I prefer to do it one at a time as an ad need as on an as needed

148
00:14:47,390 --> 00:14:54,650
basis by clicking this option and selecting whatever device you need to select maybe add a USB thumb

149
00:14:54,650 --> 00:15:05,030
drive or an alpha card or whatever device you need to select.

150
00:15:05,060 --> 00:15:07,830
Now we're going to take a look at memory allocation.

151
00:15:08,060 --> 00:15:14,630
I mentioned during the module dealing with the installation of virtual box that it was possible to adjust

152
00:15:14,630 --> 00:15:19,020
your memory after the installation process and this is where you would do it.

153
00:15:19,050 --> 00:15:24,440
This is the ram that is allocated to your virtualizing environment.

154
00:15:24,440 --> 00:15:34,750
Now as I said during installation tutorial just slightly under half is ideal for operating system performance.

155
00:15:34,760 --> 00:15:41,600
However if you have a lot of RAM and you want to run multiple virtualize systems at once which can be

156
00:15:41,600 --> 00:15:48,710
done I don't really recommend it but you can do it you would just scroll this slider back to whatever

157
00:15:48,710 --> 00:15:58,010
amount you feel is prudent and you would click OK and again you cannot go over half or you will be told

158
00:15:58,010 --> 00:16:01,810
that you have an invalid setting it will appear right down here

159
00:16:10,540 --> 00:16:18,400
and remember that you will need to allocate enough RAM for the virtual system to run so later versions

160
00:16:18,400 --> 00:16:24,880
of Windows and Linux do have certain requirements that you will have to adhere to if you wish the system

161
00:16:24,880 --> 00:16:28,390
to operate normally or even operate at all.

162
00:16:29,990 --> 00:16:36,130
You can also adjust how many of your processors are dedicated to the virtual system.

163
00:16:36,170 --> 00:16:41,960
My computer has four CPR use and only one is being used for the virtual environment.

164
00:16:43,680 --> 00:16:48,240
If I try to go over half I will be told that I have an invalid setting.

165
00:16:48,240 --> 00:16:52,380
This holds true of any option that you can tweak in virtual box.

166
00:16:52,380 --> 00:16:58,880
You can never have a setting in your virtual system that is higher than half of your total system capability.

167
00:17:06,530 --> 00:17:12,950
Some people are confused by the storage device option and I'll elaborate a little more on this now.

168
00:17:13,130 --> 00:17:18,320
This little seedy icon represents the virtual sized C.D. tray.

169
00:17:18,320 --> 00:17:21,100
Right now it shows the virtual box guest editions.

170
00:17:21,110 --> 00:17:30,200
ISO is inserted but we can change that by clicking on this icon and we can either remove the currently

171
00:17:30,200 --> 00:17:39,320
mounted image mount some other image or we could say host drive which in my case is the letter J.

172
00:17:39,320 --> 00:17:48,350
Yours may vary and if I click this this represents the actual city drive of my host computer.

173
00:17:48,350 --> 00:17:57,770
And if I click the pass through button the virtual environment will now recognize any CDE that is inserted

174
00:17:58,340 --> 00:17:59,330
in this drive.

175
00:17:59,330 --> 00:18:05,410
That is a real physical s.t. that will be read by the virtual operating system.

176
00:18:05,420 --> 00:18:13,420
It is also possible to boot from that CDE when loading the virtual box virtualize system.

177
00:18:13,580 --> 00:18:18,500
You might do this if you were experimenting with partitioning and dual booting and you didn't want to

178
00:18:18,500 --> 00:18:21,980
run the risk of damaging your real system.

179
00:18:21,980 --> 00:18:29,630
You could use a fixed volume size then partition that fixed volume install one operating system and

180
00:18:29,630 --> 00:18:39,800
then life boot with a real C.D. or USP and install another in the free partition space as an experiment.

181
00:18:39,800 --> 00:18:41,680
There's also some confusion about this.

182
00:18:41,690 --> 00:18:45,310
Second location here.

183
00:18:45,380 --> 00:18:48,740
This is your virtual box disk image.

184
00:18:48,830 --> 00:18:54,290
Now you could actually take this image to another computer and mounted

185
00:18:58,670 --> 00:19:00,310
by clicking over here.

186
00:19:01,120 --> 00:19:09,750
And you could either create a new image or choose an existing image so your virtual system is in fact

187
00:19:09,750 --> 00:19:17,370
portable from one computer to another provided that the computer you ported over to has the capability

188
00:19:17,700 --> 00:19:25,590
to run the system with the specifications such as memory allocation and 3D acceleration that you've

189
00:19:25,590 --> 00:19:31,490
chosen when you created the virtual image as a final footnote.

190
00:19:31,790 --> 00:19:39,200
It's worth pointing out that on some operating systems it will be necessary to click enable 3D acceleration

191
00:19:40,220 --> 00:19:48,230
if you wish some of the advanced features of your graphics card to be utilized by your emulated system.

192
00:19:48,230 --> 00:19:53,900
Now again I don't really recommend this unless you have a powerful host system since this will drain

193
00:19:53,930 --> 00:19:57,230
a lot of your very limited resources.

194
00:19:57,260 --> 00:20:06,980
However it is an option that you can do finally if you wish to delete your operating system.

195
00:20:07,190 --> 00:20:15,260
You would simply right click click remove and you would click delete all files.

196
00:20:15,410 --> 00:20:22,520
By doing this your host system will recover any memory that was allocated to the fixed drive at the

197
00:20:22,520 --> 00:20:25,750
time that you created the virtual box image.

198
00:20:25,790 --> 00:20:32,810
In other words if you allocated 15 gigabytes worth of space to the virtual device that memory will be

199
00:20:32,840 --> 00:20:35,390
reclaimed by your host system.

200
00:20:35,450 --> 00:20:43,880
When you delete all files if you remove only then the virtual box image will still exist on your system

201
00:20:44,270 --> 00:20:49,790
and you will need to manually delete it if you wish to reclaim that memory.

202
00:20:49,790 --> 00:21:02,670
You can also remount the image at a later date by going to settings storage clicking on this entry and

203
00:21:02,670 --> 00:21:04,710
then choosing the virtual disk image.

204
00:21:04,740 --> 00:21:06,150
As discussed previously

205
00:21:10,400 --> 00:21:15,520
those are the aspects of virtual box that most people tend to find the most confusing.

206
00:21:15,530 --> 00:21:19,420
Hopefully this tutorial was helpful and answered all of your questions.

207
00:21:19,430 --> 00:21:19,820
Thank you.

