Monday 20 May 2013

Debian Optirun/Bumblebee/Ironhide on GT 525M 1 GB and HashCat

So I have a nice little GPU in my testing laptop and have just got it running with Optirun/Bumblebee/Ironhide so I can use it with oclHashCat-Plus.

First you need to add the Debian Bumblebee repo:

$ sudo -s

# wget -O - http://suwako.nomanga.net/suwako.asc | apt-key add -

# nano /etc/apt/sources.list

add the following lines

deb http://suwako.nomanga.net/debian sid main contrib
deb-src http://suwako.nomanga.net/debian sid main

# apt-get update

# apt-get install bumblebee bumblebee-nvidia

# adduser {user} bumblebee

# reboot

Once your back on, test its working by running:

$ optirun glxgears -info

If you see three cogs pop up in a windows and they turn, it's game on!

Now a real test, hashcat. You need a few libs to run hashcat

$ sudo apt-get install -y libcuda1

$ cd /opt

$ wget http://hashcat.net/files/oclHashcat-plus-0.14.7z

$ sudo apt-get install p7zip

$ sudo 7zip -d oclHashcat-plus-0.14.7z

$ cd oclHashcat-plus-0.14

Now hashcat can be a bitch to use as every cmd option has to be in the right place; however, it's frick*n awesome, especially with a GPU and there's plenty of info on how to use it here.

Quick e.g using hashes dumped from MSCACHE, which I'm always attempting to crack ;-) -

./cudahashcat-plus64.bin -m 1100 {hash-file.cap} {wordlist.txt} -r rules/d3ad0ne.rule -o output.txt

Replace {hash-file.cap} with your captured hash file, hashcat will only accept them in the format - administrator:2758937hedfsdjkhgfjk and replace {wordlist.txt} with the wordlist of your choice.

Wordlists - there's only one for me:

http://downloads.skullsecurity.org/passwords/rockyou.txt.bz2

Happy Cracking ;-)




No comments:

Post a Comment