The easiest way to get the REMnux distro is to download the REMnux virtual appliance in the OVA format, import it into your hypervisor, then run the upgrade command to make sure it's up-to-date.
The REMnux virtual appliance approximately 5 GB. It comes as an industry-standard OVA file, which you can import into your virtualization software. It's based on Ununtu 20.04 (Focal).
Decide which OVA file to download. Unless you're using Oracle VM VirtualBox, get the general OVA file. If you're using VirtualBox, get the VirtualBox version. Download your preferred OVA file:
Validate the SHA-256 hash of the downloaded file using a tool such as
shasum to make sure it matches this expected value:
The general OVA file:
The VirtualBox OVA file:
If possible, upgrade your virtualization software to the latest version. Then, use it to import the downloaded OVA file. If you're not sure how to do that, follow the instructions below:
When importing the REMnux virtual appliance, allocate resources such as RAM and disk space based on what you have available. REMnux is a relatively lightweight distro, but the more you allocate to it, the faster it will run. As a point of reference, most people find 4 GB RAM and 60 GB disk sufficient.
Once you start your REMnux virtual machine, it will automatically log you into the REMnux environment.
There is no logon screen for accessing the REMnux environment, because analysts generally use REMnux on a system to which physical access is already restricted. When you need to elevate your privileges or access the REMnux virtual appliance remotely, note the follow default credentials:
If necessary, change the keyboard layout of your system to match your locale and setup.
Depending on which hypervisor or environment you're using, you might need to take the following steps:
If running VirtualBox on Windows 10, be sure to disable Hyper-V using the command
bcdedit /set hypervisorlaunchtype off. Do this even if Hyper-V appears disabled in the Windows Features listing. If you don't, you are likely to run into problems downloading files and updating REMnux.
If your REMnux window is too small when you boot it up the system in VirtualBox, activate the Scaling Mode for the VM via the VirtualBox menu View > Scaling Mode.
If your REMnux virtual machine is unable to communicate over the network, check whether has a network interface other than the loopback ("lo") by running the
ifconfig command. If a non-loopback interface is missing, perform the following steps to add it:
networkctl command to determine the name of the adapter ("link") of type "ether". It might be named something like "enp0s17".
Set up the network interface by replacing YOUR_NIC in the following command with the name you've identified in the previous step (e.g., "enp0s17)":
sudo ip link set up YOUR_NIC
Edit the /etc/netplan/01-netcfg.yaml file (e.g., use the
code command). Under "ethernets:" replace the name there (e.g, "ens33") with the name of your network card (e.g., "enp0s17").
Reboot your REMnux virtual machine.
VMware sometimes conflicts with the Ubuntu graphical environment, which by default uses Wayland display protocol. The problems manifest themselves through the VM being unresponsive to keyboard and mouse; clipboard sharing and copy-and-paste VMware features might not be working, too.
If you encounter this issue, try configring your REMnux virtual machine to switch from Wayland to Xorg. The change should be unnoticeable to your user experience, but it might address the VMware issue. To make the switch, switch to the root user account (
sudo -s) and edit the file /etc/gdm3/custom.conf. Uncomment this line:
So it says:
Then reboot your virtual machine (
It's possible to import the pre-built REMnux virtual appliance into Hyper-V, but you'll need to take a few conversion steps. You'll need to extract the contents of the REMnux OVA file to obtain the enclosed VMDK file that captures the virtual disk of the distro, then convert it to the VHD format supported by Hyper-V:
Download the General OVA of the REMnux distro, as outlined above.
Extract the downloaded OVA file using a tool such as "tar". One of the extracted files will have the .vmdk.gz name, such as remnux-v7-focal-disk1.vmdk.gz.
Decompress the extracted .vmdk.gz file using a tool such as "gunzip" to generate a file with the .vmdk extension.
Import the generated VHD file into Hyper-V.
The REMnux virtual appliance ships in "dedicated" installation mode, which automatically turns off the SSH daemon. This configuration is generally desirable when running REMnux in a local lab. If you're deploying the virtual appliance in a cloud environment, you might need to keep SSH enabled to remotely access your REMnux system. In that case:
Edit the /etc/remnux-config and change the mode from
Enable the SSH daemon by running:
sudo systemctl enable ssh.
Change the default user's password and otherwise strengthen the SSH authentication method according to your requirements and risk tolerance.
Reboot your REMnux system.
If you converted the REMnux virtual appliance to KVM/QEMU, install install the "spice-vdagent" package in the virtual machine to be able to resize the windows of your VM and copy/paste between it and your host.
If you're planning to use the REMnux virtual appliance in Proxmox, follow the steps in this article to import the OVA. Once done, consider taking the following steps using the Proxmox interface:
VM > Hardware > Display > Set to -> SPICE(qxl)
VM > Hardware > Option > Spice Enhancements > Video Streaming: all
After installing the REMnux virtual machine, run the following command inside the VM as a regular, non-root user to upgrade it to the latest version of the distro:
For more details about keeping your REMnux environment current, so you benefit from the latest enhancements, see the Keeping REMnux Up to Date section.
Consider taking a snapshot of your REMnux virtual machine, so you can return it to a known good state if the need arises.