cudaHashCat64 on AWS EC2
#1
Tongue 
Hey All,

Worked on a fun project and thought this may help someone else out who's looking for some serious hardware to crack on. Theres a couple of other guides out there but they are pretty out dated and some of the AMIs dont even work any more.

As a side note, there is no way to monitor your GPU cleanly through the AWS console, but you can push custom metrics with CloudWatch. It will take some custom scripting and i'm not the best at virualization layers. I'm also just getting into hashcat, so I apologize if the test is not tuned.

STEPS:
1. Sign up for AWS, check your wallet and make sure you have enough funds to run a g2.2xlarge
You can find pricing here:

2. Launch an Amazon Linux AMI (the one I used was ami-146e2a7c) using the g2.2xlarge and configure whatever else you want on the instance (storage, tag, etc).

3. Run a "sudo yum update"

4. Run "lspci" to check the host info:

lspci
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]
00:01.1 IDE interface: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II]
00:01.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 01)
00:02.0 VGA compatible controller: Cirrus Logic GD 5446
00:03.0 VGA compatible controller: NVIDIA Corporation GK104GL [GRID K520] (rev a1)
00:1f.0 Unassigned class [ff80]: XenSource, Inc. Xen Platform Device (rev 01)

Used this line to find the hardware info:
00:03.0 VGA compatible controller: NVIDIA Corporation GK104GL [GRID K520] (rev a1)

5. Downloaded the driver from Nvidia:
wget http://us.download.nvidia.com/XFree86/Li...346.35.run

6. Change the permissions:
chmod +x NVIDIA-Linux-x86_64-346.35.run

7. NOTE: I originally had to do a yum install kernel* to get this to work, but later after trying it again on another instance, I did not need to.
yum install kernel*
reboot

8. Install dev tools:
yum groupinstall development tools

9. Install Nvidia drivers:
./NVIDIA-Linux-x86_64-346.35.run

10. Edit yum.repos.d to add some repos in on Amazon Linux:
nano /etc/yum.repos.d/

Modify /etc/yum.repos.d/epel.repo. Under the section marked [epel], change enabled=0 to enabled=1.

11. Install p7zip:
yum install p7zip

12: Grab hashcat:
wget http://hashcat.net/files/cudaHashcat-1.33.7z

13: Unzip:
7za x cudaHashcat-1.33.7z

Once that was done I ran a benchmark just to test.

BENCHMARK:
cudaHashcat v1.33 starting in benchmark-mode...

Device #1: GRID K520, 4095MB, 797Mhz, 8MCU

Hashtype: MD4
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 4003.8 MH/s

Hashtype: MD5
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 2501.7 MH/s

Hashtype: SHA1
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 688.3 MH/s

Hashtype: SHA256
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 296.4 MH/s

Hashtype: SHA384
Workload: 256 loops, 256 accel

Speed.GPU.#1.: 71293.0 kH/s

Hashtype: SHA512
Workload: 256 loops, 256 accel

Speed.GPU.#1.: 71354.4 kH/s

Hashtype: SHA-3(Keccak)
Workload: 128 loops, 32 accel


Speed.GPU.#1.: 69719.9 kH/s

Hashtype: RipeMD160
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 493.6 MH/s

Hashtype: Whirlpool
Workload: 512 loops, 256 accel

Speed.GPU.#1.: 52330.1 kH/s

Hashtype: GOST R 34.11-94
Workload: 512 loops, 256 accel

Speed.GPU.#1.: 42608.3 kH/s

Hashtype: SAP CODVN B (BCODE)
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 228.5 MH/s

Hashtype: SAP CODVN F/G (PASSCODE)
Workload: 1024 loops, 32 accel

Speed.GPU.#1.: 105.8 MH/s

Hashtype: SAP CODVN H (PWDSALTEDHASH) iSSHA-1
Workload: 1024 loops, 16 accel

Speed.GPU.#1.: 602.6 kH/s

Hashtype: Lotus Notes/Domino 5
Workload: 256 loops, 32 accel

Speed.GPU.#1.: 27998.6 kH/s

Hashtype: Lotus Notes/Domino 6
Workload: 256 loops, 32 accel

Speed.GPU.#1.: 9213.8 kH/s

Hashtype: Lotus Notes/Domino 8
Workload: 5000 loops, 64 accel

Speed.GPU.#1.: 72334 H/s

Hashtype: SHA-1(Base64), nsldap, Netscape LDAP SHA
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 688.2 MH/s

Hashtype: SSHA-1(Base64), nsldaps, Netscape LDAP SSHA
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 688.2 MH/s

Hashtype: descrypt, DES(Unix), Traditional DES
Workload: 128 loops, 256 accel

Speed.GPU.#1.: 24213.2 kH/s

Hashtype: md5crypt, MD5(Unix), FreeBSD MD5, Cisco-IOS MD5
Workload: 1000 loops, 32 accel

Speed.GPU.#1.: 1277.3 kH/s

Hashtype: sha256crypt, SHA256(Unix)
Workload: 5000 loops, 4 accel

Speed.GPU.#1.: 43965 H/s

Hashtype: sha512crypt, SHA512(Unix)
Workload: 5000 loops, 8 accel

Speed.GPU.#1.: 13402 H/s

Hashtype: bcrypt, Blowfish(OpenBSD)
Workload: 32 loops, 2 accel

Speed.GPU.#1.: 501 H/s

Hashtype: LM
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 294.3 MH/s

Hashtype: Oracle 11g/12c
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 687.8 MH/s

Hashtype: NTLM
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 4002.9 MH/s

Hashtype: DCC, mscash
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 1183.6 MH/s

Hashtype: NetNTLMv1-VANILLA / NetNTLMv1+ESS
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 1605.2 MH/s

Hashtype: NetNTLMv2
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 179.6 MH/s

Hashtype: Kerberos 5 AS-REQ Pre-Auth etype 23
Workload: 256 loops, 32 accel

Speed.GPU.#1.: 6156.8 kH/s

Hashtype: EPiServer 6.x < v4
Workload: 512 loops, 256 accel

Speed.GPU.#1.: 362.7 MH/s

Hashtype: EPiServer 6.x > v4
Workload: 512 loops, 256 accel

Speed.GPU.#1.: 273.1 MH/s

Hashtype: MSSQL(2000)
Workload: 512 loops, 256 accel

Speed.GPU.#1.: 672.4 MH/s

Hashtype: MSSQL(2005)
Workload: 512 loops, 256 accel

Speed.GPU.#1.: 672.1 MH/s

Hashtype: MSSQL(2012)
Workload: 256 loops, 256 accel

Speed.GPU.#1.: 71021.7 kH/s

Hashtype: MySQL323
Workload: 512 loops, 256 accel

Speed.GPU.#1.: 8386.5 MH/s

Hashtype: MySQL4.1/MySQL5
Workload: 512 loops, 256 accel

Speed.GPU.#1.: 326.2 MH/s

Hashtype: Oracle 7-10g
Workload: 512 loops, 32 accel

Speed.GPU.#1.: 115.8 MH/s

Hashtype: Sybase ASE
Workload: 512 loops, 32 accel

Speed.GPU.#1.: 32923.7 kH/s

Hashtype: Oracle 11g/12c
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 688.1 MH/s

Hashtype: OSX v10.4, v10.5, v10.6
Workload: 512 loops, 256 accel

Speed.GPU.#1.: 362.7 MH/s

Hashtype: OSX v10.7
Workload: 128 loops, 256 accel

Speed.GPU.#1.: 68623.2 kH/s

Hashtype: OSX v10.8 / v10.9
Workload: 35000 loops, 2 accel

Speed.GPU.#1.: 827 H/s

Hashtype: Android PIN
Workload: 1024 loops, 16 accel

Speed.GPU.#1.: 612.3 kH/s

Hashtype: Android FDE <= 4.3
Workload: 2000 loops, 32 accel

Speed.GPU.#1.: 87108 H/s

Hashtype: scrypt
Workload: 1 loops, 64 accel

Speed.GPU.#1.: 25146 H/s

Hashtype: Cisco-PIX MD5
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 1894.4 MH/s

Hashtype: Cisco-ASA MD5
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 1911.4 MH/s

Hashtype: Cisco-IOS SHA256
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 296.3 MH/s

Hashtype: Cisco $8$
Workload: 20000 loops, 8 accel

Speed.GPU.#1.: 5866 H/s

Hashtype: Cisco $9$
Workload: 1 loops, 4 accel

Speed.GPU.#1.: 939 H/s

Hashtype: Juniper IVE
Workload: 1000 loops, 32 accel

Speed.GPU.#1.: 1276.1 kH/s

Hashtype: Citrix NetScaler
Workload: 512 loops, 256 accel

Speed.GPU.#1.: 763.6 MH/s

Hashtype: DNSSEC (NSEC3)
Workload: 512 loops, 256 accel

Speed.GPU.#1.: 343.5 MH/s

Hashtype: WPA/WPA2
Workload: 4096 loops, 32 accel

Speed.GPU.#1.: 42815 H/s

Hashtype: IKE-PSK MD5
Workload: 512 loops, 32 accel

Speed.GPU.#1.: 204.4 MH/s

Hashtype: IKE-PSK SHA1
Workload: 512 loops, 32 accel

Speed.GPU.#1.: 74340.2 kH/s

Hashtype: Password Safe v2
Workload: 1000 loops, 16 accel

Speed.GPU.#1.: 10326 H/s

Hashtype: Password Safe v3
Workload: 2048 loops, 16 accel

Speed.GPU.#1.: 117.8 kH/s

Hashtype: 1Password, agilekeychain
Workload: 1000 loops, 64 accel

Speed.GPU.#1.: 357.2 kH/s

Hashtype: 1Password, cloudkeychain
Workload: 40000 loops, 2 accel

Speed.GPU.#1.: 719 H/s

Hashtype: AIX {ssha1}
Workload: 64 loops, 128 accel

Speed.GPU.#1.: 4406.1 kH/s

Hashtype: TrueCrypt 5.0+ PBKDF2-HMAC-RipeMD160 + AES
Workload: 2000 loops, 64 accel

Speed.GPU.#1.: 118.8 kH/s

Hashtype: TrueCrypt 5.0+ PBKDF2-HMAC-SHA512 + AES
Workload: 1000 loops, 16 accel

Speed.GPU.#1.: 33061 H/s

Hashtype: TrueCrypt 5.0+ PBKDF2-HMAC-Whirlpool + AES
Workload: 1000 loops, 8 accel

Speed.GPU.#1.: 6018 H/s

Hashtype: TrueCrypt 5.0+ PBKDF2-HMAC-RipeMD160 + AES + boot-mode
Workload: 1000 loops, 64 accel

Speed.GPU.#1.: 234.9 kH/s

Hashtype: Office 2007
Workload: 50000 loops, 32 accel

Speed.GPU.#1.: 14264 H/s

Hashtype: Office 2010
Workload: 100000 loops, 32 accel

Speed.GPU.#1.: 7146 H/s

Hashtype: Office 2013
Workload: 100000 loops, 4 accel

Speed.GPU.#1.: 696 H/s

Hashtype: MS Office <= 2003 MD5 + RC4, oldoffice$0, oldoffice$1
Workload: 1024 loops, 32 accel

Speed.GPU.#1.: 6149.4 kH/s

Hashtype: MS Office <= 2003 SHA1 + RC4, oldoffice$3, oldoffice$4
Workload: 1024 loops, 32 accel

Speed.GPU.#1.: 8644.6 kH/s

Hashtype: PDF 1.1 - 1.3 (Acrobat 2 - 4)
Workload: 1024 loops, 32 accel

Speed.GPU.#1.: 0 H/s

Hashtype: PDF 1.1 - 1.3 (Acrobat 2 - 4) + collider-mode #1
Workload: 1024 loops, 32 accel

Speed.GPU.#1.: 0 H/s

Hashtype: PDF 1.1 - 1.3 (Acrobat 2 - 4) + collider-mode #2
Workload: 1024 loops, 32 accel

Speed.GPU.#1.: 385.6 MH/s

Hashtype: PDF 1.4 - 1.6 (Acrobat 5 - 8)
Workload: 70 loops, 256 accel

Speed.GPU.#1.: 36419 H/s

Hashtype: PDF 1.7 Level 3 (Acrobat 9)
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 296.4 MH/s

Hashtype: PDF 1.7 Level 8 (Acrobat 10 - 11)
Workload: 64 loops, 8 accel

Speed.GPU.#1.: 3769 H/s

Hashtype: Drupal7
Workload: 16384 loops, 8 accel

Speed.GPU.#1.: 4258 H/s

Hashtype: HMAC-MD5 (key = $pass)
Workload: 512 loops, 256 accel

Speed.GPU.#1.: 247.2 MH/s

Hashtype: HMAC-MD5 (key = $salt)
Workload: 512 loops, 256 accel

Speed.GPU.#1.: 545.4 MH/s

Hashtype: HMAC-SHA1 (key = $pass)
Workload: 256 loops, 256 accel

Speed.GPU.#1.: 81708.7 kH/s

Hashtype: HMAC-SHA1 (key = $salt)
Workload: 256 loops, 256 accel

Speed.GPU.#1.: 165.8 MH/s

Hashtype: HMAC-SHA256 (key = $pass)
Workload: 128 loops, 128 accel

Speed.GPU.#1.: 58958.2 kH/s

Hashtype: HMAC-SHA256 (key = $salt)
Workload: 128 loops, 128 accel

Speed.GPU.#1.: 117.3 MH/s

Hashtype: HMAC-SHA512 (key = $pass)
Workload: 128 loops, 128 accel

Speed.GPU.#1.: 16953.4 kH/s

Hashtype: HMAC-SHA512 (key = $salt)
Workload: 128 loops, 128 accel

Speed.GPU.#1.: 33909.5 kH/s

Hashtype: IPMI2 RAKP HMAC-SHA1
Workload: 256 loops, 256 accel

Speed.GPU.#1.: 176.1 MH/s

Hashtype: Half MD5
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 1650.1 MH/s

Hashtype: Double MD5
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 737.9 MH/s

Hashtype: GRUB 2
Workload: 10000 loops, 2 accel

Speed.GPU.#1.: 2860 H/s

Hashtype: phpass, MD5(Wordpress), MD5(phpBB3), MD5(Joomla)
Workload: 2048 loops, 32 accel

Speed.GPU.#1.: 672.5 kH/s

Hashtype: SipHash
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 3281.4 MH/s

Hashtype: Joomla < 2.5.18
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 2503.7 MH/s

Hashtype: osCommerce, xt:Commerce
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 782.2 MH/s

Hashtype: IPB2+, MyBB1.2+
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 472.6 MH/s

Hashtype: vBulletin < v3.8.5
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 738.9 MH/s

Hashtype: PHPS
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 738.9 MH/s

Hashtype: vBulletin > v3.8.5
Workload: 1024 loops, 256 accel

Speed.GPU.#1.: 454.5 MH/s

Hashtype: SMF > v1.1
Workload: 512 loops, 256 accel

Speed.GPU.#1.: 362.8 MH/s

Started: Mon Mar 2 15:55:43 2015
Stopped: Mon Mar 2 16:21:54 2015


Messages In This Thread
cudaHashCat64 on AWS EC2 - by Radical_Ronin - 03-02-2015, 06:35 PM
RE: cudaHashCat64 on AWS EC2 - by epixoip - 03-03-2015, 12:13 AM
RE: cudaHashCat64 on AWS EC2 - by Radical_Ronin - 03-03-2015, 01:14 AM
RE: cudaHashCat64 on AWS EC2 - by shodan - 03-05-2015, 01:18 PM
RE: cudaHashCat64 on AWS EC2 - by vladimir125 - 03-09-2015, 04:52 PM
RE: cudaHashCat64 on AWS EC2 - by cremefraiche - 05-12-2015, 11:02 AM
RE: cudaHashCat64 on AWS EC2 - by epixoip - 05-12-2015, 04:49 PM
RE: cudaHashCat64 on AWS EC2 - by cremefraiche - 05-12-2015, 05:39 PM
RE: cudaHashCat64 on AWS EC2 - by KT819GM - 05-12-2015, 09:18 PM
RE: cudaHashCat64 on AWS EC2 - by cremefraiche - 05-13-2015, 03:57 AM
RE: cudaHashCat64 on AWS EC2 - by heydonms - 05-19-2015, 07:11 AM
RE: cudaHashCat64 on AWS EC2 - by szhairui - 04-01-2018, 04:27 PM
RE: cudaHashCat64 on AWS EC2 - by MrMeeseeks - 04-02-2018, 05:35 PM