VirtualBox

# Use WiTTY with SEED VM #

The SEED labs provides a number of security hands-on labs. It is a popular security lab course taught at many universities. The SEED labs use VirtualBox to run its VMs (because VirtualBox is cross-platform.)

By default, the SEED VM uses only NAT-based network, which means that the VM can access the Internet but not the host machine (i.e., the machine that runs VirtualBox is called the host, and the VM is often called the guest.) We need to add a second, host-only network adaptor in order to run WiTTY in the guest and access WiTTY from a browser in the host.

To do that, first open the `Host Network Manager` and create a host network if there is not one already, as shown below (on macOS.):

Then, open the setting for the SEED VM, go to the Network setting, and enable the second adaptor, choose the `host-only` adaptor. Leave the first adaptor as is.

After this, start the VM and list all the adaptors using the command `ifconfig` in a terminal. Look for the adaptor with an IP address starting with `192.168.`. You should be able to ssh into the guest using this IP address from the host. Follow the instruction here to install and use WiTTY.

> If the host runs Windows, make sure virtualbox host adapter is not disabled in the Windows network settings if VirtualBox cannot find the host-only Ethernet adapter.