Install ARM Kali Linux VM on Apple silicon using UTM

This project consists of utilizing the ARM based installer for Kali Linux to create a Kali Linux virtual machine that runs natively on an Apple silicon based Mac using UTM.

Utilities Used:

UTM

Kali Linux ARM Installer


Environments Used

Mac OS Ventura (13.5.2)

Kali Linux Virtual Machine (ARM64)


Walk-through:

Download UTM and Kali Linux ARM Installer make sure to select ARM64:

Kali Linux Virtual Machine (ARM64)


Get UTM Get Kali ARM64

Launch UTM app and click create VM:

Create VM

Select Virtualize since we are using the ARM64 version which will run natively vs emulating:

Select Other

We will select “Other” taking us to the next page:

We will select our Kali Linux ARM64 iso as our boot image:

We will leave the default settings on the Hardware page:

Here we will change the size of the virtual hard drive to 20gb for this virtual machine:

We will leave the default settings here, but if you would like a directory shared between the host and VM enable that:

We will find ourselves at the summary page where we can name our VM. I chose to simply name it "Kali Linux VM". We will save our settings:

Due to a bug in UTM, we need to install Kali using a serial console. We need to edit our virtual machine settings to enable the serial device:

Under Devices, select "+New" and add a new serial device:

Leave the default serial device settings and save settings:

Now we can press play on the Kali Linux VM to launch the VM and installer. We will go through the installation process selecting the appropriate settings as needed:

Once the installation is finished, we need to remove the serial device:

We also need to remove the Kali linux iso by changing the image type to none so the VM doesn't continue to boot from it instead of booting from the virtual hard drive:

Now when we hit play on the VM, the VM will boot into Kali linux from the virtual hard drive:

Finally, we can login to Kali linux using the user and password that we created during the install process:

We will want to install spice-vdagent in order to enable additional features for the VM, mainly copy and paste to/from host and VM.

Source: Kali inside UTM (Guest VM)