Instalando Parrot Security en VirtualBox

Esta guía cubrirá los siguientes pasos:

  • Creación de una nueva Máquina Virtual

  • Creación de un nuevo disco virtual (VDI, asignación dinámica, etc.)

  • Modificación de las configuraciones de Virtual Box (asignación física y memoria de video, selección del tipo de SO, aceleración de CPU, etc.)

  • Cargando Parrot Security ISO

  • Arrancando la ISO de Parrot Security (info inicial, ubicación, huso horario, etc.)

  • Particionado de disco en Parrot Security.

  • Finalizando la instalación y arrancando Parrot Security en VirtualBox.

Lo que necesitas instalar

Si el SO que estás usando es Windows o MacOS, aquí está el link del instalador de VirtualBox.

En GNU/Linux es lo mismo, Pero lo tienes que instalar a través del CLI:

sudo apt install virtualbox

Sigue los mismos pasos TAL CUAL para instalar y arrancar Parrot en VirtualBox en tu máquina.

Paso 1 - Crear una nueva máquina

Antes de proceder, Asegúrate de haber instalado VirtualBox efectivamente. En GNU/Linux puedes verificarlo abriendo una terminal y escribiendo virtualbox y/o el ícono para iniciar VirtualBox será visible en el menú. En otros sistemas operativos habrá un ícono similar para iniciarlo.

Una vez que has instalado VirtualBox:

  • Inícialo.
  • Click en New para crear una nueva máquina virtual.

Paso 1.1 - ingresa un nombre para tu nueva Máquina Virtual

Ingresa "Parrot Security" como nombre. Elige Linux como tipo, y como versión elige Other Linux (64-bit).

Paso 1.2 - Asignar memoria/RAM

Parrot puede correr en máquinas con 512 MB de RAM, pero recomendamos al menos 2 GB para ambas ediciones, Parrot Home y Parrot Security.

Elige la mejor configuración para tu máquina y haz click en Next.

Paso 2 - Crear el disco duro virtual

En este paso selecciona Create a virtual hard disk now (2a opción) y haz click en Create.

Paso 2.1 - Seleccionar el tipo de disco duro virtual

En la siguiente pantalla selleciona VDIVirtualBox Disk Image como tu tipo de disco duro.

Haz click en Next.

Paso 2.2 - Selleciona la asignación del tipo de disco duro virtual

Selecciona Dynamically Allocated y haz click Next en la ventana Storage on physical hard drive.

Paso 2.3 - Asignar el tamaño de disco

En la pantalla File location and size, te mostrará 8.00 GB como el tamaño por defecto (que hemos configurado en el paso 1.1). En este ejemplo lo hemos incrementado a 20 GB por motivos de almacenamiento.

Escoge el que se ajuste a tus necesidades y haz click en Next.

Paso 3 - Modificar las configuraciones de Virtual Box

Hasta aquí, hemos hecho el siguiente checklist para tí:

  • Creamos una nueva máquina virtual.
  • Creamos el disco duro virtual.
  • He,mos jugado con las propiedades, tipo y tamaño del disco.

En este punto deberías ver la siguiente pantalla:

Paso 3.1 - Seleccionar el tipo de SO

Dependiendo de qué ISO hayas descargado, selecciona aquí la versión correcta.

Como Parrot Security es derivado de Debian, he seleccionado Other Linux (64-bit) en General > Basic.

Paso 3.2 - Enable shared Clipboard and Drag ’n’ Drop feature

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. Confirm by clicking OK.

Step 3.3 - Update Virtual Motherboard options

Select System > Motherboard, un-check Floppy (who has a floppy anymore?) and check the box to Enable I/O APIC.

Note that you can change base memory allocation in the same screen. We’ve set it to 2048 MB previously. If your machine got 8.00 GB RAM, it means that you can allocate a lot more to make Parrot Security respond faster as a virtual machine.

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

The calculations are as follows:

  • 1.00 GB = 1024 MB
  • 2.00 GB = 2048 MB
  • 3.00 GB = 3072 MB
  • 4.00 GB = 4096 MB
    and so on.

Multiply 1024 with the amount of Memory/RAM you want and put the value here.

Step 3.4 - Select number of Processors and enable PAE/NX

Sets the number of virtual CPU cores the guest OS can see. 2 virtual cores works well. With 4, 6, and so on, performance will be much better.

You should not configure virtual machines to use more CPU cores than are available physically. This includes real cores, with no hyperthreads. See processor tab on VirtualBox website.

Check the box for Enable PAE/NX.

Step 3.5 - Allocate Video memory and 3D acceleration

Select Display > Screen > set Video Memory to 128 MB. This allows for a good responsive desktop environment.

Also check the box for Enable 3D Acceleration.

If you have more than one monitor, you can change your settings here too.

Step 4 - Loading Parrot Security ISO

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

Once you select your downloaded ISO (in this case, it’s Parrot Security 4.11.2 ISO). See the properties and information’s changes accordingly.

Important: if your disk size is mismatched, you might have a corrupt disk. Refer to Parrot Security chapter through this documentation 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

Step 4.1 - Select Network connection type

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

Step 4.2 - Enable USB 2.0 and 3.0 Controllers

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

If you have not installed it, you can download it here

Then go to files > preferences > extensions, on the right there will be a + button where you can install the extension.

In GNU/Linux, you could also install it from the terminal with sudo apt install virtualbox-ext-pack

Once installed, it will enable VirtualBox Remote Desktop Protocol (VRDP) support and Host webcam passthrough support.

Step 4.3 - It's all set up?

Finally, by clicking on your new virtual machine, this is what you should see:

You can always change the configuration the way you prefer.

Step 5 - Booting Parrot Security ISO

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

Step 5.1 - choose Install

From VirtualBox Main Screen, it will boot Parrot Security, click in the Virtual Machine, select Try/Install and then click Enter.

Step 5.2 - Choose the default Installer (Calamares)

Here you can test the OS in its entirety, then you can proceed with the installation.
Click on Install Parrot:

and the default installer, Calamares, will start.

Step 5.3 - Select language

In this example we have chosen American English. Click on Next.

Step 5.4 - Select location

Here we have selected America and New York zone. Click on Next.

Step 5.5 - Select keyboard layout

Select the layout that best suits your keyboard, you can also test the keyboard's key where it says type here to test your keyboard. Click on Next.

Step 5.6 - Parrot Security disk partitioning

As this is all Virtualized, you can choose anything you want to.

We think that guided partitioning for less experienced users is recommended, 40 GB or more are enough, unless you are going to install a lot more programs or keep more files on your hard drive.

Here you can decide whether to enable swap or not. For more information about swap,
https://wiki.debian.org/Swap
https://www.kernel.org/doc/html/latest/power/swsusp.html

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

Step 5.7 - Creating a new user account

You will be asked to create a new user, for simplicity we have chosen a user. You can enter any name in here.

Then, click on Next

Step 6 Completing the installation process

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

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

Confirm by clicking Install now

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

Well done! You have successfully installed ParrotOS on your computer!

Step 7: Login to Parrot Security for the first time

Enter your Password:

You just installed Parrot Security! Congrats!