Skip to content Skip to footer

How to Install Parrot Security Distro with GUI on Windows 11 using WSL 2

In this tutorial, I will provide step-by-step instructions on installing and setting up the Parrot Security Distro with a graphical user interface (GUI) on your Windows 11 operating system using Windows Subsystem for Linux (WSL) 2. This guide will cover all the configurations and prerequisites to ensure a smooth and successful installation process. By the end of this tutorial, you can quickly run Parrot Security Distro on your Windows 11 machine.

Introduction

About Parrot OS

Parrot OS is a highly regarded and widely used GNU/Linux distribution that is available free of cost and as software. It is based on Debian and is specifically designed to cater to the needs of security experts, developers, and privacy-conscious individuals. It offers comprehensive tools and features to ensure system security, software development, and data privacy. With its user-friendly interface and customizable options, Parrot OS has gained a reputation as one of the market's most reliable and efficient operating systems.

Parrot Security

Parrot Security is one of the specialized editions of Parrot OS, a Linux distribution specifically designed for security and privacy purposes. It is intended to provide a comprehensive suite of powerful penetration testing tools for various purposes, such as attack mitigation, security research, forensics, and assessment.

Parrot Security's primary focus is to provide an all-in-one platform for professionals and enthusiasts who want to perform penetration testing, assessment, and mitigation. It is also famous for computer forensics experts who need a reliable and secure investigation environment.

Apart from these security-related features, Parrot Security also includes tools for anonymous browsing and privacy protection. This makes it ideal for people concerned about online privacy and security.

Overall, Parrot Security is a powerful and versatile tool for security professionals, researchers, and enthusiasts to identify and address security vulnerabilities and protect against cyber threats.

Prerequisites

To complete the guide, you must have access to a 64-bit Windows 11 operating system. Additionally, you must have administrative privileges and an account to carry out the required tasks. While not necessary, it is recommended that you use Windows Terminal to make the process more streamlined and efficient.

Installing ParrotSec on Windows 11

Step 1 – Setting up WSL 2

To install any Linux distribution on Windows, we first need to enable the Windows subsystem for the optional feature. To do this, you must open PowerShell as an Administrator, which can be accessed through the Start menu. Once you open the PowerShell, right-click on it and select “Run as Administrator.” This will open up the PowerShell command prompt as an Administrator. In the command prompt, enter the following command to enable the feature:

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Zsh

Once you have completed this step, you need to install WSL 2. However, you must enable the optional Virtual Machine Platform feature before installing it. It is important to note that your machine must have virtualization capabilities to use this feature. To enable this feature, open PowerShell as an Administrator and run the following command:

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Zsh

After running the above command, you must restart your machine to complete the WSL installation and update it to WSL 2.

Now, you need to download the latest Linux kernel update package. Once it is downloaded, double-click on the package to run it. You will be prompted for elevated permissions; select “Yes” to approve this installation.

Finally, open PowerShell as an Administrator again and run the following command to set WSL 2 as the default version when installing a new Linux distribution:

wsl --set-default-version 2
Zsh

Following these detailed steps, you can easily install any Linux distribution on your Windows machine.

Step 2 – Installing Debian Linux distribution

There are two options for installing Debian on your Windows operating system. The first option is to open the Microsoft Store and search for Debian. Once you have found it, click “Get” to start the installation process. After the installation, you must create a user and password for your Debian Linux distribution.

Alternatively, you can install Debian on your Windows OS by running a command in Powershell. Open Powershell and enter the following command: “wsl –install –distribution Debian”. This will initiate the installation process for Debian on your Windows operating system. Once the installation is complete, you can create a username and password for your Debian Linux distribution.

wsl --install --distribution Debian
Zsh

Step 3 – Installing Parrot OS Security Edition

To update and upgrade your Debian packages, you can execute the following command inside your terminal: 

sudo  update && sudo  upgrade
Zsh

Before installing Parrot OS, some required packages must be installed. You can install these packages with the following command:

sudo  install gnupg wget git bash -y
Zsh

We need to clone and install the official Parrot OS Alternate Installer from its Github repository to install Parrot Security. Here are the steps to follow:

git clone https://nest.parrotsec.org/build/alternate-install.git

cd alternate-install

sudo chmod +x parrot-install.sh

sudo bash parrot-install.sh
Zsh

You'll be prompted to select an installation edition when you run the installer script. Choose option 3, the Security Edition.

Once the installation is complete, we can update the entire distribution. Run the following commands to update your system to the next available version:

sudo  update && sudo  upgrade -y

sudo su

parrot-upgrade
Zsh

Parrot Security is well-known for its tools. You can install the latest tools available on the Security Edition with the following command:

sudo apt install parrot-tools-full
Zsh

Congratulations! You now have Parrot Security installed on your WSL 2 Linux Distro.

Step 3 – Accessing Parrot OS GUI

To access the Parrot GUI, you need to follow a few steps. First, you have to install the Parrot Interface metapackage, which can be done by executing the following command:

sudo apt install parrot-interface-full
Zsh

Note that this may take more than an hour to complete. Once the Interface metapackages are installed, you need to install and create an XRDP server, which will allow you to create an access port on your LAN Network through the WSL network adapter. This will enable you to access the Parrot GUI via the Microsoft Remote Desktop Connection application.

To install XRDP, run the following command:

sudo apt install xrdp -y
Zsh

Once the xrdp installation is finished successfully, its service will automatically start. You can verify the service status by running the following command:

sudo service xrdp start
Zsh

After installing Xrdp, an SSL certificate key, ssl-cert-snakeoil.key, is placed in the /etc/ssl/private/ folder. To make the file readable to the user, add the xrdp user to the ssl-cert group. You can do this by running the following command:

sudo adduser xrdp ssl-cert
Zsh

Finally, to connect to the Parrot GUI, open the Microsoft Remote Desktop Connection application on your Windows machine and connect to your Parrot VM. To see your local IP Address, type “ifconfig” or “ip addr” in your Parrot CLI.

It's important to note that Xrdp listens on port 3389, and if you're behind a UFW firewall, you need to open the port to allow inbound traffic from an RDP client. In this example, we will allow traffic from the entire subnet to the Parrot system using the following commands:

sudo ufw allow from 192.168.1.0/24 to any port 3389

sudo ufw reload
Zsh

By following these steps, you'll be able to access the Parrot GUI with ease.

Conclusion

In conclusion, installing Parrot Security Distro with a graphical user interface (GUI) on your Windows 11 operating system using Windows Subsystem for Linux (WSL) 2 is an efficient and reliable way to perform penetration testing, assessment, and security research. The comprehensive set of tools and features Parrot Security Distro provides makes it an ideal choice for professionals, security experts, developers, and privacy-conscious individuals. Following the step-by-step instructions in this tutorial, you can easily install and set up Parrot Security Distro on your Windows 11 machine and enjoy all the benefits of a robust and secure operating system.

Leave a comment

Newsletter Signup
Address

The Grid —
The Matrix Has Me
Big Bear Lake, CA 92315

01010011 01111001 01110011 01110100 01100101 01101101 00100000
01000110 01100001 01101001 01101100 01110101 01110010 01100101

This is the end, my friend. Thank you for calling.The Plague

Deitasoft © 2024. All Rights Reserved.