A couple of months ago, I spun up an AWS hash cracking rig as part of a project I’ve been working on called Wordsmith.
After some trial and error, I thought that it would be useful to put together some provisioning steps.
I won’t get into the AMI instance creation, as that should be pretty straight forward. Just make sure you select either a “g2.2xlarge” or “g2.8xlarge” instance based on your needs. I found that “g2.2xlarge” was good for me.
A quick word on cost - On average, I found that a GPU being utilized at 100% is about $1 per hour. I usually start up and power off my instance on demand; that way there are no unnecessary costs.
Connect to your AWS instance:
Update your box, this should take less than two minutes:
Next, make sure that the Nvidia GRID K520 card is recognized by the system.
Install some necessary packages before installing the NVIDIA GRID K520 driver
Install the NVIDIA GRID K520 driver, be sure to specify the kernel source path. This is typically under
After the Kernel modules are built, the NVIDIA GRID K520 driver installation process will start.
- Accept: License Agreement
- OK: For both of the X warnings
- Yes: Install the NVIDIA 32 bit compatibility libraries
- OK: For the the LibEGL.sc.1 warning
- No: run the nvidia-xconfig utility automatically
Enable the epel package manager so that p7zip can be installed.
Download, unzip and install Hashcat v3
Start cracking hashes!