In this tutorial, we will look at the process of running Bliss OS in the Proxmox hypervisor, making it convenient to run Android apps from your home lab server.
At the time of this writing, Bliss OS 16 is the latest version. I will be basing this tutorial on running that version in Proxmox. The process should be largely the same as the process for Android-x86. However, in this tutorial, I will not be covering setting up a proxy to Burp Suite.
Latest downloads of Bliss OS 16
ℹ️
It's your decision, decide if you want to download Bliss OS 16 with the official Google Apps (GApps) or their open-source alternatives FOSS apps.
The version I'll be downloading for this tutorial
Upload the ISO to Proxmox
Click on your local storage and click Upload. Then, choose your file.The file is now uploaded to the Proxmox node
Install Graphics Libraries
Log into your Proxmox node via SSH or via the web console, as you'll need to install some graphics libraries.
apt install libgl1 libegl1
Review the packages to be installed (or removed if applicable) and accept
Create a Bliss OS VM
Right-click your Proxmox node and choose 'Create VM'Set to 'VirGL GPU', 'q35', 'OVMF (UEFI)', select EFI Storage, and uncheck 'Pre-Enroll'SATA has wide compatibility, so choose that
✅
Double-check your settings and start your VM
Install the Operating System
Choose 'BlissOS ... installation'
Create EFI and System Partitions
First, we need to create the disk partitionscfdisk is fineChoose 'gpt' for the UEFI installation, press 'Enter'
⚠️
Please note that some screenshots contain examples that are unique to my VM (e.g. disk size), so please choose accordingly for your VM
ℹ️
First, we're going to create the EFI partition. The Arch Linux wiki recommends a partition size of 1 GiB, but a smaller size is also fine.
Choose 'New'Enter 1G for '1 GiB'Choose 'Type', press 'Enter'Scroll up and choose 'EFI System'
✅
Note that cfdisk conveniently highlights the remaining free disk space in green for us
Select the 'Free Space' line using your arrow keysChoose 'New'Accept the default valueChoose 'Write', press 'Enter', input 'yes' when promptedChoose 'Quit', press 'Enter'
Format the EFI Partition
Select your EFI partitionChoose 'fat32', press 'Enter'Accept the default drive nameChoose 'Yes', press 'Enter'
Format the System Partition
Choose the system partitionChoose 'ext4'Accept the default drive nameChoose 'Yes', press 'Enter'Choose 'Grub2 EFI Bootloader', press 'Enter'Choose 'Reboot'
Complete Setup Steps
You have now successfully installed Bliss OS on Proxmox. Complete the initial setup steps and have fun.
Proxying App Traffic
There is an excellent article by Nelson Dane that covers the process of setting up a proxy and reverse engineering lab using ADB and Bliss OS. If you're interested in doing that with your Bliss OS environment, I'd highly recommend checking it out.
In this project, broken up into multiple modules, you will gain hands-on, interactive practice with defining and managing Infrastructure-as-Code using industry-standard DevSecOps tooling and zero-trust security principles.
In this module, we will hand-build a VM and LXC template in Proxmox VE that we will later clone, and use as a base image for additional servers in our lab, while we work our way up to deploying with Infrastructure-as-Code.
In this module, we will install and configure BIND9 as an authoritative server for an internal DNS zone. We will then generate an authentication key for pfSense to dynamically update DNS records for DHCP clients in select VLANs.