Ubuntu, RHEL and Suse are now the only “supported” distros when it comes to the proprietary AMD GPU drivers. Historically, nvidia has always had the worst opensource driver for linux, but some would argue the best closed source driver. AMD has been the other way around. Opensource AMD GPU drivers are very simple to get going in Linux. The proprietary drivers have been a real pain in the ass though.
Here’s how I got the AMDGPU Pro driver suite along with hashcat going on Debian 9 with the 4.16 kernel.
apt update && apt upgrade -y && apt dist-upgrade -y && reboot
Once it comes back up, you’ll probably notice that you’re still running mesa. Let’s remove anything AMD video card related.
for amdgpupkg in $(dpkg --list | grep amdgpu-pro | awk '{print $2}'); do echo $amdgpupkg; sudo dpkg --purge --force-all $amdgpupkg; done for amdgpupkg in $(dpkg --list | grep amdgpu | awk '{print $2}'); do echo $amdgpupkg; sudo dpkg --purge --force-all $amdgpupkg; done
Don’t reboot quite yet.
AMDGPUPRO 18.20
Grab the latest AMDGPU Pro drivers. https://support.amd.com/en-us/download#
I’m using this one. https://www2.ati.com/drivers/linux/ubuntu/amdgpu-pro-18.20-606296.tar.xz
tar -xf amdgpu-pro-18.20-606296.tar.xz cd amdgpu[tab] sed -i 's/ubuntu/debian/g' amdgpu-pro-install sudo ./amdgpu-pro-install -y
Grab hashcat while that’s installing.
wget https://hashcat.net/files/hashcat-4.1.0.7z && 7z x hashcat-4.1.0.7z
Once the AMD installer is done, give hashcat a shot. It may or may not work. If not, reboot and see if you just hosed your display.
sudo ./hashcat64.bin -I hashcat (v4.1.0) starting... OpenCL Info: Platform ID #1 Vendor : Advanced Micro Devices, Inc. Name : AMD Accelerated Parallel Processing Version : OpenCL 2.0 AMD-APP (2482.3)
Grab radeontop to monitor your card.
git clone https://github.com/clbr/radeontop.git cd radeontop sudo apt-get build-dep radeontop sudo apt-get install libxcb-dri2-0-dev make && sudo make install sudo chmod u+s /usr/sbin/radeontop radeontop
Get cracking!
PDF Password cracking:
sudo ./hashcat64.bin -m 10700 -a 0 test_pdf.hash wort.lst -O --force
Linux SHA-256 hash from shadow
sudo ./hashcat64.bin -m 1800 -a 0 hash.txt word.lst -O -w 3
0 Comments