This page is part of the larger series of converting an old laptop into a bare metal home lab server. Click here to be taken back to the project home page.
Previous Step
Why this Post?
This post was added to guide much later after the original publication, because as of this writing, Vulnhub is more or less out of commission. Since OffSec acquired Vulnhub, they have been steering people over to their OffSec Proving Grounds platform, but you still have access to past-published Vulnhub VMs.
Proxmox and HackMyVM Boxes
ℹ️
The process with HackMyVM boxes and Vulnhub VMs is nearly identical with respect to Proxmox. So, I'll be condensing the information here and referring you back to the Vulnhub step for more clarification, so that I don't need to repeat myself.
Again, as is the case with Vulnhub, with HackMyVM boxes, in most cases, we are looking for a .vmdkfile. The .vmdk file is a format used for a VM’s virtual hard disk
Using HackMyVM Responsibly
The VMs you find on HackMyVM are developed by the community, and we thank them for their efforts, but your network and the security of said network are paramount.
The steps can be condensed to the following:
Downloading the VM from HackMyVM
Extracting the contents
Locating the .vmdkfile
Creating a VM in Proxmox
Importing the .vmdk disk to the VM in Proxmox
And changing the boot order to boot off the imported disk
Before you turn on the VM, double check your settings. Double check your network settings, double check your boot settings
❗
Always put untrusted hosts on a secure, segmented network behind your pfSense firewall, preferably your ISOLATED network.
Troubleshooting DHCP Issues
Please note that you might get some Ubuntu or Debian boxes where the DHCP client doesn't pull an IP address from pfSense. I've written an article on troubleshooting that issue here:
Importing a HackMyVM Box
Two Ways to Use HackMyVM
Anonymously — you can use the platform without creating an account, but you need to use the RSS feed to see the full list of VMs
Registered — you can register for an account on the platform and have access to more features, either way the platform costs nothing
I've downloaded this on my Windows host and now, need to transfer it to my Proxmox node. For this, we can use scp on Windows (also available on Linux and Mac OS).
# This is a comment. Just to add some comments about commands.
# If you see this, you do not need to type this in your shell.
# Install the unzip tool
apt install unzip
# Enter the /tmp directory
cd /tmp
# Unzip to the hackmyvm_atom directory
unzip -d hackmyvm_atom atom.zip
Import successful! Take a snapshot of your VM in its current state before starting the pentest and roll back in case of issues. Then, go and do your nmap scans and have fun!
In this module, we'll be taking steps to set up the initial environment and prepare to deploy Game of Active Directory (GOAD) in our existing Proxmox environment.
In this module, we'll be taking steps to create some Windows Server 2016 and Windows Server 2019 templates using Packer for use in the Proxmox Game of Active Directory lab