Rapid7 offers the Honeypot as a .OVA file—an ideal format for VMware. But what if you’re using a different platform, such as Hyper-V or Azure? In that case, you’ll need a different file format: .VHD. In this guide, we’ll show you how to convert and configure the InsightIDR Honeypot for use on these platforms.
AUTOMATIC CONVERSION VIA SCRIPT
You can use the attached script to automatically download and convert the file to .VHD format. If you choose this option, proceed to “Step 4: Configure Virtual Machine in Hyper-V” after the script has run successfully.
MANUAL CONVERSION
Step 1: Download the Honeypot OVA
To use the honeypot, you must first download it from your InsightIDR account.
Log in to your Rapid7 InsightIDR account.
Navigate to Data Collection > Honeypots.
Click Download Honeypot.
Save the .OVA file to your system.
Step 2: Extract OVA file
An OVA file is a compressed container that includes several virtual machine files. Use 7-Zip to extract the downloaded .OVA file. This will result in the following files:
eu-central-1-final-latest.OVF – VM configuration file.
eu-central-1-final-latest.VMDK – Virtual hard disk.
eu-central-1-final-latest.mf – Manifest file.
We only use the .VMDK file. (The file names may differ depending on the region your InsightIDR tenant is in.)
Step 3: Convert VMDK to VHD with VirtualBox
Hyper-V and Azure do not support the VMDK format. This means you’ll need to convert the file to VHD—a format supported by both platforms. Use VirtualBox and the VBoxManage.exe tool to convert the .VMDK file to .VHD.
Navigate to the default VirtualBox installation: cd C:\Program Files\Oracle\VirtualBox"
Execute the command below (change the path to the location of your .VMDK): ".\VBoxManage clonemedium disk "C:\temp\eu-central-1-final-latest-disk1.vmdk" "C:\temp\honeypot.vhd" --format VHD"
Once completed, you’ll have a .VHD file that’s suitable for use with Hyper-V.
STEP 4: CONFIGURE VIRTUAL MACHINE IN HYPER-V
After the conversion, you can create a new virtual machine in Hyper-V and configure the honeypot.
Open Hyper-V Manager.
Click on Create New Virtual Machine.
Go through the interface and configure the VM settings:
Name: Free to choose.
Generation: Generation 1.
Operating System: Ubuntu 64-bit.
CPU: 2 cores.
RAM: 2048 MB.
Network Adapter: Legacy Network Adapter.
Storage Controller: SCSI Controller.
Hard Disk: Use an existing Virtual Hard Disk → choose the .VHD here.
Start the VM and go through the configuration in the console session.
Ignore the first pairing code that appears after configuration. Press Enter twice to bring the honeypot into active mode.
Reboot the VM.
Step 5: Connect Honeypot
After booting the VM, the Honeypot will generate a pairing code. In Hyper-V, use this code to connect the Honeypot directly to InsightIDR.
Hyper-V only: Use the pairing code displayed in the command line after booting to complete the connection. This marks the end of the instructions for Hyper-V.
Azure only: Shut down the VM before proceeding to the next step.
Step 6: Convert VHD to Fixed Size in Hyper-V Manager
Before you can use the honeypot in Azure, you need to convert the VHD file to a Fixed Size VHD.
In Hyper-V Manager, go to the Actions panel on the right and click Edit Disk.
Click Next in the wizard that appears.
Click Browse and select the honeypot VHD.
Click Next and choose the Convert action.
Select VHD as the format and click Next.
Choose Fixed size and click Next.
Select a location to store the converted VHD and click Finish.
Wait for the conversion process to complete.
Step 7: Upload VHD to Azure Storage Blob
The converted VHD needs to be uploaded to Azure Blob Storage so it can be used as a Managed Disk later.
Log in to the Azure Portal at https://portal.azure.com.
Navigate to Storage accounts.
Click Create to create a new storage account.
Fill in the following settings:
Name: Free to choose.
Region: Choose the same region as the honeypot.
Primary Service: Azure Blob Storage.
Performance: Standard.
Redundancy: Locally-Redundant Storage (LRS).
Click Review + Create.
Review the settings and click Create.
Step 8: Create Container in Azure Blob Storage
Open Storage Browser in the Azure Portal.
Go to your Storage Account and click Blob Containers.
Click Create Container, give it a name (e.g. “vhds”), and set access to Private.