REMnux Configuration Tips
To change the keyboard layout of your REMnux system, perhaps to another language, take the following steps:
- 1.Open the Settings window using the command
- 2.Go to the Region & Language area.
- 3.Press the + button in the Input Sources area.
- 4.Find the desired input source. You might need to press the
⋮button, scroll down, and press Other to find the desired source.
- 5.Select the desired input source and click the Add button.
- 6.Close the Settings window.
Sometimes you might need to reboot for the setting to take into effect.
Ubuntu uses a daemon named "systemd-resolved" for resolving DNS queries that you initiate from the system. This daemon listens on the localhost interface on TCP and UDP ports 53. If you're running a tool that attempts to listen on these ports on localhost, your tool might not function properly.
To get around this, reconfigure the tool so it listens on the Ethernet network interface of your REMnux system and not on the localhost network interface.
Alternatively, you can disable the systemd-resolved daemon until the next reboot like this:
sudo systemctl stop systemd-resolved
If you wish to disable systemd-resolved permanently issue the following command. However, note that if you disable this daemon, you will be unable to resolve DNS queries from your REMnux system unless you reconfigure the system's DNS resolver settings. Also, some software, such as OpenVPN and other VPN clients, might not function properly if systemd-resolved is disabled.
sudo systemctl disable systemd-resolved
- Define environment variables
ftp_proxyto specify your proxy.
If you're not starting with a prebuit REMnux virtual appliance, follow instructions to manually install SaltStack on the system you'll be using for REMnux. Next, modify /etc/salt/minion to include your proxy details:
# Set http proxy information for the minion when doing requests
Next, to install REMnux or upgrade it later, follow instructions to:
If you set up a REMnux system in a cloud environment, such as AWS, you can not only interact with it using the text-based SSH interface, but also using the graphical Gnome interface that comes with REMnux.
You'll need to activate the SSH daemon on your REMnux system; one way to do this is to run the
sshd startcommand. Before doing this, be sure to harden the configuration of your cloud-based REMnux system and set up SSH authentication according to your requirements and risk tolerance.
One way to remotely interact with REMnux using a graphical interface is to use X11 forwarding through SSH. If you installed REMnux in "addon" mode, you'll need to configure your SSH daemon to support X11 forwarding; in other cases, SSH on REMnux is already set up appropriately.
- 1.Configure the SSH client on your local system to enable X11 forwarding.
- 2.Connect to your remote REMnux system using SSH, assuming the SSH daemon on REMnux is configured and active.
- 3.Activate X server software on your local system, unless you're running Linux. If you're using Linux as your local system, it will natively support receiving X11 connections. If you're using Windows or macOS, you'll need to install X server software. Xming and VcXsrv for Windows and XQuartz for macOS are reasonable free options.
- 1.Install TigerVNC viewer on the local system from which you're planning to access the remote REMnux system.
- 2.Connect to your remote REMnux system using SSH, assuming the SSH daemon on REMnux is active.
- 3.Install TigerVNC server on your remote REMnux system:
sudo apt install -y tigervnc-standalone-server
- 5.On your local system create an SSH tunnel from port 5901 to port 5901 using a command such as
ssh -L 5901:localhost:5901
- 6.Launch a TigerVNC server on your remote REMnux system:
- 7.Start a VNC client on your local system, directing it to connect to
There are several ways of transferring files, such as malware samples, in and out of REMnux.
If you're running REMnux as a local VM, one way to transfer files in and out of the VM is to use the copy-and-paste or file transfer capabilities of your hypervisor. If using copy-and-paste, you can place files in and out of the VM by copying them to or from Nautilus, which is the GUI file browsing tool on REMnux.
If REMnux is running in VirtualBox, you can go to the Devices menu of VirtualBox for your REMnux VM and select
Shared Clipboard, and
Drag and Drop. To enable this functionality, you need to have Guest Additions installed in the REMnux virtual machine, which is preinstalled as part of the VirtualBox version of the REMnux virtual appliance. The appliance ships with
Drag and Dropenabled.
In VMware, similar functionality is supported by the open-vm-tools package, which is prenistalled in the general version of the REMnux virtual appliance and if you installed the distro from scratch using the REMnux installer. You can modify settings of your REMnux virtual machine to disable
Drag and Dropand
Copy and Paste, if you wish; they're enabled by default. You can also enable
Shared Folders, which are disabled by default.
Another way to get files in and out of REMnux is to use the SFTP protocol, which is supported by OpenSSH. Unless you installed REMnux in
cloudmode or are running REMnux as a Docker container, OpenSSH is disabled by default. You can activate OpenSSH in your VM using the
sshd startcommand. You can then use an SFTP client to connect to or from REMnux; the SFTP client built into REMnux is the command-line tool
Yet another method to transfer files in and out of REMnux is to use removable media, such as a USB drive. If running REMnux as a VM, you'd need to use your hypervisor to map the USB drive into the virtual machine.
If you installed REMnux using one installation mode, for example
addon, you can switch to another installation mode, for example
dedicated, by taking the following steps:
- 1.Edit the /etc/remnux-config and change the mode from
- 2.Run the command