08.- Install in a Virtual Machine.md 10.3 KB
Newer Older
1
# Installing Parrot Security On VirtualBox #
2

Dario's avatar
Dario committed
3
## This guide will cover the following steps: ##
4
5
6

  * Create a new Virtual Machine

Dario's avatar
Dario committed
7
  * Create a new Virtual disk (VDI, dynamic allocation etc...)
8
9
10
11
12
13
14
15
16
17
18

  * Modifying some VirtualBox settings (allocating physical and Video memory, selecting OS Type, CPU acceleration etc.)

  * Loading Parrot Security ISO

  * Booting Parrot Security ISO (initial info, location, timezone etc.)

  * Parrot Security disk partitioning (you should try other ways than I’ve showed here to learn)

  * Finalizing installation and running Parrot Security on VirtualBox.

Dario's avatar
Dario committed
19
<!-- 
20
## You have two options here to follow this guide: ##
21

22
  - You can just use the slideshow in this page and pretty much follow that...
23

24
  - You can read this really long informative guide to get a better understanding of *what to do*
Dario's avatar
Dario committed
25
-->
26

27
## Things You Need To Install ##
28

Dario's avatar
Dario committed
29
30
I am going to show this in Windows, here’s the link to the Windows installer [Virtual Box](https://www.virtualbox.org/wiki/Downloads)
\
Dario's avatar
Dario committed
31
32
33

You can download MacOS or Linux installer (or `sudo apt install virtualbox`) and follow **EXACTLY** the same steps to install and run VirtualBox in your machine.

34

35
### Step 1: Create a New Virtual Machine ###
36
37
38
39
40
41
42
I’ve already given instructions and provided links on how to get VirtualBox and install that above. If you’ve missed it, go back and install VirtualBox.

Once you’ve installed VirtualBox:

  - Open it.
  - Click on New to create a New Virtual Machine.

43
### Step 1.a: Enter a name for your Virtual Machine ###
44
45
46

Enter Parrot Security as the name. You’ll see Type and set this to Linux, and then the Version to Other Linux (64-bit) and if your using (32-bit) choose it.

Dario's avatar
Dario committed
47
<img src="./images/vbox/1.png" width="85%"/>
48

49
### Step 1.b: Allocate Memory/RAM ###
50

51
52
53
Default memory and recommended size will say 512 even though RAM: minimum 256Mb - 2048Mb is suggested for Parrot Security (64-bit) version.
\

Dario's avatar
Dario committed
54
While the (32-bit) installation version of the system can run with 256mb, so I choose 4096 Mb because i have 8 gigs of ram on my system. 
55
56
57
\

Choose the setting best for your machine and click next.
58

Dario's avatar
Dario committed
59
<img src="./images/vbox/2.png" width="85%"/>
60

61
### Step 2: Create a Virtual Hard Drive ###
62
In this screen select **Create a virtual hard disk now***2nd option* and click Create.
63

Dario's avatar
Dario committed
64
<img src="./images/vbox/3.png" width="85%"/>
65

66
### Step 2.a: Select Virtual Drive File type ###
67

Dario's avatar
Dario committed
68
69
70
On the next screen select **VDI****VirtualBox Disk Image** as your Hard Drive File Type.
\
Click Next.
71

Dario's avatar
Dario committed
72
<img src="./images/vbox/4.png" width="85%"/>
73

74
### Step 2.b: Select Physical hard drive allocation type ###
75

76
Select **Dynamically Allocated** and click Next on Storage on Physical hard drive screen.
77

Dario's avatar
Dario committed
78
<img src="./images/vbox/5.png" width="85%"/>
79

80
### Step 2.c: Allocate disk size ###
81

82
83
On **File location and size** screen, it will come up as 8.00 GB as default size and Parrot Security 4.11 (which we’ve set on step 1.a).
\
84
85
Choose which fits your needs and click Next. 

Dario's avatar
Dario committed
86
<img src="./images/vbox/6.png" width="85%"/>
87

88
### Step 3: Modify VirtualBox settings ###
89
90
91
92
93
94
So far, we’ve done the followings, checklist for you:

  * Created a New Virtual Machine
  * Created Virtual Hard disk
  * Fiddled with disk properties, type and size.
 
95
96
97
98
99
At this point you should be in the following screen. 
\
*Note that I am using Parrot Security x64 bit*, 
\
in case you’re using 32-bit you can change those options here:
100
  
Dario's avatar
Dario committed
101
<img src="./images/vbox/7.png" width="85%"/>
102
  
103
### Step 3.a: Select type of OS ###
104
105
106

Depending on which ISO you downloaded you should select the correct Version here.

Dario's avatar
Dario committed
107
As Parrot Security is derived from Debian, I’ve selected Other Linux (64-bit) on *General > Basic*.
108
109
\

110
111
If you’re using a 32-bit ISO, select Other Linux (32-bit) as your version.

Dario's avatar
Dario committed
112
<img src="./images/vbox/8.png" width="75%"/>
113
114

### Step 3.b: Enable shared Clipboard and Drag’n’Drop feature ###
115

116
Select *General > Advanced TAB* and change Shared Clipboard and Drag n’Drop to Bidirectional. This will allow you to copy paste files from your HOST machine on the fly.
117

Dario's avatar
Dario committed
118
<img src="./images/vbox/9.png" width="85%"/>
119

120
### Step 3.c: Update Virtual Motherboard options ###
121

Dario's avatar
Dario committed
122
Select *System > Motherboard*, un-check Floppy (Do you even have a floppy disk drive anymore?) and check the box for **Enable I/O APIC**.
123
124
\

Dario's avatar
Dario committed
125
Note that you can change base memory allocation in the same screen. We’ve set it to 1024 MB previously. My PC got 8.00 GB RAM, which means I can actually allocate a lot more to make Parrot Security respond faster on my Virtual Machine.
126
127
\

128
129
If you feel your Virtualized Parrot Security is slow, you should increase this Base Memory allocation.

130
The calculations are as follows: 
131

Dario's avatar
Dario committed
132
133
134
  * 1.00 GB = 1024 MB
  * 2.00 GB = 2048 MB
  * 3.00 GB = 3072 MB
135

136
You get the idea, just multiply 1024 with the amount of Memory/RAM you want and put the value in here.
137

Dario's avatar
Dario committed
138
<img src="./images/vbox/10.png" width="85%"/>
139

140
### Step 3.d: Select number of Processors and enable PAE/NX ###
141
142
143

I’ve changed Processor to 2 (I got 8 CPU’s in my machine, this screen will show how many you have). Try sticking with EVEN numbers here.

144
Check the box for **Enable PAE/NX**.
145

146
### Step 3.e: Allocate Video memory and 3D acceleration ###
147

148
Select **Display > Video and set Video Memory to 128 MB**. This allows you have a good responsive desktop environment.
149

150
Also check the box for *Enable 3D Acceleration*.
151
152
153

If you got more than 1 Monitor, you can change your settings here too.

Dario's avatar
Dario committed
154
<img src="./images/vbox/11.png" width="85%"/>
155

156
### Step 4: Loading Parrot Security ISO ###
157

158
159
Select **Storage > Controller: IDE** and highlight Empty CD icon. Now on your right, you should be able to use the little CD icon (it should be CD/DVD Drive: IDE Secondary Master already, if not change it) and select your downloaded ISO.
\
160

Dario's avatar
Dario committed
161
<img src="./images/vbox/14.png" width="85%"/>
162
163

Once you select your downloaded ISO (in my case, it’s Parrot Security 4.11 ISO). See the properties and information’s changes accordingly.
164
165
\

Dario's avatar
Dario committed
166
167
168
**Important**: if your disk size mismatched, you might have a corrupt disk. Refer to Parrot Security webpage and ISO image Download webpage for size related info. You can also do a SHA1 check to ensure your disk is not corrupted.

**Note**: if you want to test Parrot in live mode, check the *"Live CD/DVD"* box
169
170


171
### Step 4.a: Select Network connection type ###
172

173
If your computer is connection to internet, select NAT on *Network > Adapter 1*. You can enable more network adapters if you feel you want to do so. 
174

Dario's avatar
Dario committed
175
<img src="./images/vbox/12.png" width="80%"/>
176

177
### Step 4.b: Enable USB 2.0 and 3.0 Controllers ###
178

179
Firstly, make sure you have installed the *extension pack*, or you will not be able to enable USB 2.0 and 3.0 controllers.
180

181
If you have not installed it, you can download it [here](https://download.virtualbox.org/virtualbox/6.1.22/Oracle_VM_VirtualBox_Extension_Pack-6.1.22.vbox-extpack)
182

183
Once downloaded, go to **files > preferences > extensions**, on the right there will be a `+` button where you can install the extension.
184

185
It will also enable VirtualBox Remote Desktop Protocol (VRDP) support, Host webcam passthrough support.
186

Dario's avatar
Dario committed
187
<img src="./images/vbox/13.png" width="80%"/>
188

189
### Step 4.c: Compare settings with mine ###
190
191
192
193

At this point your screen should be somewhat similar to mine. I’ve mentioned the important parts, if something didn’t match you can go back and enable disable those settings.
Note that, for 32-bit users, it will be slightly different.

Dario's avatar
Dario committed
194
<img src="./images/vbox/15.png" width="85%"/>
195

196
### Step 5: Booting Parrot Security ISO ###
197
198
199

From VirtualBox Main Screen, click on Start and boot Parrot Security.

200
### Step 5.a: choose Install ###
201

Dario's avatar
Dario committed
202
From VirtualBox Main Screen, it will boot Parrot Security, click in the Virtual Machine, select *Install* and then click Enter.
203

204
<img src="./images/calamares/10.png" width="85%"/>
205
206


207
### Step 5.b: Choose the default Installer (Calamares) ###
208

209
Here you can test the OS in its entirety, then you can proceed with the installation.
210
211
\
Click on **Install Parrot**:
212

213
<img src="./images/calamares/11.png" width="85%"/>
214

215
and the default installer, Calamares, will start.
216
217


218
### Step 5.c: Select location ###
219

220
In my case I’ve chosen English. Click on *Next*.
221

222
<img src="./images/calamares/12.png" width="85%"/>
223
224


225
### Step 5.d: Select language ###
226

227
In my case I’ve chosen United States. Click on *Next*.
228

229
<img src="./images/calamares/13.png" width="85%"/>
230
231


232
### Step 5.e: Select keyboard layout ###
233

234
I’ve selected American English. Click on *Next*.
235

236
<img src="./images/calamares/14.png" width="85%"/>
237
238


239
### Step 5.f: Parrot Security disk partitioning ###
240

241
242
As this is all Virtualized, you can choose anything you want to.
\
243

244
I personally think guided partitioning for less experienced users is recommended, 40 GB or more are enough, unless your going to want to install alot more programs or keep larger file on your hard drive.
245

246
<img src="./images/calamares/15.png" width="85%"/>
247

Dario's avatar
Dario committed
248
249
250
Here you can decide whether to enable swap or not. For more information about swap, \
[https://wiki.debian.org/Swap](https://wiki.debian.org/Swap) \
[https://www.kernel.org/doc/html/latest/power/swsusp.html](https://www.kernel.org/doc/html/latest/power/swsusp.html)
251

252
<img src="./images/calamares/16.png" width="85%"/>
253

254
*If you want*, you can also encrypt the system by adding a passphrase:
255

256
<img src="./images/calamares/17.png" width="85%"/>
257
258


259
### Step 5.g: Creating a new user account ### 
260

261
262
You will be asked to create a new user, for simplicity I have chosen a **user**.
You can enter any name in here. 
263

264
<img src="./images/calamares/18.png" width="85%"/>
265

266
Then, click on *Next*
267
268


269
### Step 6 Completing the installation process ###
270

271
Finally, a summary of the choices made during the procedure:
272

273
<img src="./images/calamares/19.png" width="85%"/>
274

275
You can decide whether to change the chosen settings, and then go back, or proceed with the installation of the system. Click on **Install**.
276

277
Confirm by clicking **Install now**
278

279
<img src="./images/calamares/20.png" width="85%"/>
280

281
282
283
And wait for the installation to complete!
\
With an SSD (Sata), it takes a few minutes.
284

285
<img src="./images/calamares/21.png" width="85%"/>
286

287
288
289
**Well done! You have successfully installed ParrotOS on your computer!**

<img src="./images/calamares/22.png" width="85%"/>
290

291
### Step 7: Login to Parrot Security for the first time ###
292

293
Enter your Password:
294

295
<img src="./images/calamares/23.png" width="85%"/>
296

297
**You just installed Parrot Security! Congrats!**
298

299
<img src="./images/calamares/24.png" width="85%"/>