x86 Assembly Fundamentals - Workshop machine installation guide

This installation guide was last updated on 27 May 2019 @ 15:00pm
Please check this installation guide for any updates on Sunday 26 May 2019 before the course to ensure you are using the latest installation materials.

Updates include:
- added xdotool install for some automated tasks
- removed linux-source because we don't need it
- updated the r2panels.sh script which aligns panels in radare2
- updated the assembly-fundamentals-training.zip file so if you have downloaded it before 15:00pm, please redownload it, it contains additional missing files e.g. flags.nasm and gdbinit.txt.

Download and Install 'VirtualBox' from https://www.virtualbox.org/wiki/Downloads
Download 'Kali Linux Vbox 32 Bit Ova'
from https://www.offensive-security.com/kali-linux-vm-vmware-virtualbox-image-download/

After installing VirtualBox, double-click on the downloaded OVA file (e.g. 'kali-linux-2019.1-vbox-i386.ova')
VirtualBox will open and present the 'import Virtual Appliance' window. Click "Import" which will start importing the appliance.
After importing the OVA file, change the machine settings: Right-click the virtual appliance -> Settings... -> USB -> choose USB 1.1 (OHCI) Controller
Double-click on the new virtual appliance in the left menu tool bar (e.g. 'kali-linux-2019.1-vbox-i386') to start it. The first start can take a while.

Login with user root and password toor

Left-click the terminal button
on the left menu panel - the button looks like a black square with the characters '$_' and copy-paste in the terminal:

gsettings set org.gnome.software download-updates false
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-timeout 0
gsettings set org.gnome.desktop.session idle-delay 0
echo 'xset s off' >> ~/.xsession
sed -i 's/# AutomaticLogin/AutomaticLogin/g' /etc/gdm3/daemon.conf
mkdir ~/training
wget https://www.jollyfrogs.com/training/assembly-fundamentals-training.zip
wget https://www.jollyfrogs.com/training/r2panels.sh -O ~/training/r2panels.sh
unzip assembly-fundamentals-training.zip -d ~/training/
echo 'eco solarized'>~/.radare2rc
echo 'e scr.color=2'>>~/.radare2rc
cd training
chmod +x ./assemble.sh
chmod +x ./r2panels.sh
apt-get -y install strace ltrace xdotool