Sign inSign up

justinhimself/hashcat-nvopencl

By justinhimself

Updated 8 months ago

Minimal hashcat image that supports nvidia gpu via opencl.

Image
0

697

justinhimself/hashcat-nvopencl repository overview

HashCat-NVidia-OpenCL

This is a minimal image (~200MB) that supports running hashcat on nvidia gpus using opencl.
Original dockerfile is sourced from dizcza/docker-hashcat, stripped cuda support to drastically reduce image size.

Quick Start

Make sure the host has nvidia drivers and NVidia Container Toolkit properly installed.

docker run --gpus all --rm -it justinhimself/hashcat-nvopencl /bin/bash
$ nvidia-smi
$ hashcat -I
$ hashcat -b

For more information, refer to the official hashcat documentation.

Performance Comparison

The following benchmarks were conducted on a Tesla P4 GPU using two separate environments: OpenCL 3.0 and CUDA 12.9.40, both with Hashcat v6.2.6 and default optimization settings.

The results indicate that switching to the CUDA backend yields a modest overall hashrate improvement of 4.68% compared to OpenCL, with no significant performance differences observed across individual hash modes.

Chart

Table
Hash ModeDescriptionOpenCLCUDA
0MD515339.2 MH/s15167.5 MH/s
100SHA15183.8 MH/s5107.7 MH/s
1400SHA2-2561863.6 MH/s1916.1 MH/s
1700SHA2-512561.7 MH/s647.1 MH/s
22000WPA-PBKDF2-PMKID+EAPOL257.4 kH/s268.1 kH/s
1000NTLM23986.4 MH/s26173.0 MH/s
3000LM13088.9 MH/s12951.4 MH/s
5500NetNTLMv1 / NetNTLMv1+ESS13305.4 MH/s14768.5 MH/s
5600NetNTLMv21032.7 MH/s1175.8 MH/s
1500Traditional DES292.0 MH/s216.6 MH/s
500md5crypt4366.6 kH/s4619.8 kH/s
3200bcrypt11617 H/s12187 H/s
1800sha512crypt83761 H/s80269 H/s
7500Kerberos 5 AS-REQ210.7 MH/s233.4 MH/s
13100Kerberos 5 TGS-REP206.4 MH/s228.2 MH/s
15300DPAPI masterkey v144483 H/s47283 H/s
15900DPAPI masterkey v219834 H/s22466 H/s
7100macOS PBKDF2-SHA512256.1 kH/s275.1 kH/s
116007-Zip222.2 kH/s197.6 kH/s
12500RAR3-hp29001 H/s29343 H/s
13000RAR521912 H/s24031 H/s
6211TrueCrypt RIPEMD160151.4 kH/s170.4 kH/s
13400KeePass19872 H/s20589 H/s
6800LastPass7253 H/s7938 H/s
11300Bitcoin/Litecoin wallet.dat2744 H/s3087 H/s

Tag summary

Content type

Image

Digest

sha256:9639b6f47

Size

220.3 MB

Last updated

8 months ago

docker pull justinhimself/hashcat-nvopencl