Hashcat

Machine specs

Some basics: Intel i7 2600k processor, 16GB ram, 60GB ssd, and two Radeon 6850 graphics cards.

Starting out

So I copied the debian netinstall iso to a memory card:

dd if=debian-8.0.0-amd64-i386-netinst.iso of=/dev/rdisk2 bs=4m

Booted it, configured LVM, users and installed ssh & basic system utilities. Copy over ssh key for easy login.

user@hashcat:~$ mkdir .ssh
user@hashcat:~$ cat id_rsa.pub > .ssh/authorized_keys
user@hashcat:~$ chmod 400 .ssh/authorized_keys

Install sudo and configure user:

user@hashcat:~$ su -
Password: 
root@hashcat:~# apt-get install sudo
root@hashcat:~# usermod -G sudo user

Installing X11 & AMD Drivers

I chose XFCE as a lightweight desktop during install. Some post install packages:

sudo apt-get install htop dkms unzip linux-headers-$KERNELVERSION

Fix console issues by setting display:

echo "export DISPLAY=:0" >> ~/.bashrc && source ~/.bashrc

Enable autologin:

In file /etc/lightdm/lightdm.conf:

[SeatDefaults]

greeter-session=lightdm-gtk-greeter

user-session=xfce

autologin-user=USER

autologin-user-timeout=0

Reboot system.

oclHashcat states we need AMD Catalyst 14.9. I had to download the file to my machine locally, and copy over to the hashcat box. Then unzip and run as root:

unzip amd-catalyst-14-9-linux-x86-x86-64.zip

cd fglrx-14.301.1001/

sudo ./amd-driver-installer-14.301.1001-x86.x86_64.run

Create applicable xorg.conf, reboot:

$ sudo amdconfig --adapter=all --initial -f
$ sudo shutdown -r now

Install opencl stuffs:

$ sudo apt-get install amd-opencl-icd