Introduction
- This comprehensive guide provides step-by-step instructions on how to install the latest version of ParrotOS ARM on an Apple ARM computer using native QEMU. Native QEMU provides advanced networking options essential for setting up labs or conducting penetration testing. These advanced options give the user greater control over the network configuration, allowing for more specific and fine-tuned settings to be implemented. This increased level of control makes it easier to create a network environment tailored to your lab’s specific needs or testing setup.
- Check out my YouTube channel if you prefer video content over written posts. Here’s the link to the video:
What is working?
- Networking
- Clipboard Sharing
- Shared Directory
What is broken?
- Please let me know if you found any.
Step 1: Download ParrotOS for UTM
- Select either Security Edition or Home Edition.
- Select utm (Apple Silicon).
Step 2: Extract the Zip file and import ParrotOS VM to UTM
- Extract Parrot-security-5.3_arm64.utm.zip to ~/Library/Containers/com.utmapp.UTM/Data/Documents/:
tar -xvf Parrot-security-5.3_arm64.utm.zip -C ~/Library/Containers/com.utmapp.UTM/Data/Documents/
- Note: Rename Parrot-security-5.3_arm64.utm.zip to the correct version or file name.
- Open Parrot-security-5.3_arm64.utm
open ~/Library/Containers/com.utmapp.UTM/Data/Documents/Parrot-security-5.3_arm64.utm
Optional Steps:
- Open Setting.
- Select QEMU.
- Checked to Use local time for the base lock.
- Select Save.
- Add Shared Directory
Enable Clipboard Sharing
- SPICE agent is required for clipboard sharing (both QEMU and Apple backend) as well as dynamic display resolution in QEMU backend.
- Install SPICE agent using the below command:
sudo apt update
sudo apt install spice-vdagent
sudo reboot
Shared Directory
Caution: Deleting a file in a shared directory folder will permanently delete the file. It will not go to the Trash folder.
- To access the shared directory, you can run the below command to mount to the shared path.
sudo mount -t 9p -o trans=virtio share [mount point] -oversion=9p2000.L
- Replace [mount point] with your directory (ex. home/sysadmin102/Shared).
- In the above example, I created a Shared folder and mounted the Sharepoint to that folder.
- The shared directory will unmount upon reboot.
- If you want to mount the shared directory permanently, follow the next step.
- You may notice that accessing the mount point fails with “access denied” unless you’re the root user. This is because by default the directory inherits the UID/GID from macOS/iOS which has a different numbering scheme. You can fix the error with the following command:
sudo chown -R $USER [mount point]
- If you already mounted the shared point in the previous step, make sure to unmount it before continuing:
sudo umount share [mount point]
- You can also modify
/etc/fstab
to automatically mount the share on startup:
sudo nano /etc/fstab
- Add the following text to the end of fstab:
share [mount point] 9p trans=virtio,version=9p2000.L,rw,_netdev,nofail 0 0
- Replace [mount point] with your directory (ex. home/sysadmin102/Shared).
- Press Control + X when finished.
- Press Enter to save.
- Restart for changes to take effect.