Hashcat with hashcat utils on Ubuntu 18.04 OpenCL for Nvidia GPUs (:latest
) and Intel CPU (:intel-cpu
).
docker pull dizcza/docker-hashcat
nvidia-docker run -it dizcza/docker-hashcat /bin/bash
Then inside the docker container run
# list the available CUDA and OpenCL interfaces
hashcat -I
# run hashcat bechmark
hashcat -b
docker pull dizcza/docker-hashcat:latest
The :latest
tag is for GPUs. It includes both CUDA and (default) OpenCL backends. Hashcat will pick CUDA, if your hardware supports it, because CUDA is faster than OpenCL (see thread). If your compute device does not support CUDA, hashcat will fall back to OpenCL backend.
docker pull dizcza/docker-hashcat:cuda
Recommended for Nvidia GPUs. If you have any issues with running this container with Nvidia GPU, please drop a comment in this issue.
docker pull dizcza/docker-hashcat:intel-cpu
For those who don't have GPUs, use :intel-cpu
tag (suitable for AWS free tier instances):
docker run -it --device /dev/dri:/dev/dri dizcza/docker-hashcat:intel-gpu
Intel NEO OpenCL driver (suitable for the majority of laptops with an embedded Intel graphics card).
docker pull dizcza/docker-hashcat:pocl
An alternative to :intel-cpu
tag, the :pocl
tag provides open-source (but not officially supported by HashCat) implementation of OpenCL, which you can find in pocl-opencl-icd
linux package (usually, outdated). For more information about using POCL in hashcat refer to the discussion.
Try :pocl
tag if no other tag worked for you.
:nvidia-full
is an old build of the :latest
tag. This tag is deprecated.
Benchmark command: hashcat -m2500 -b
Tag(s) | Device | Speed, H/s |
---|---|---|
latest, cuda | GeForce GTX 1080 Ti | 603500 |
intel-gpu | Intel UHD Graphics 620 | 8240 |
intel-cpu | Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz | 11009 |
pocl | pthread-Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz | 7647 |
If you have a laptop with an embedded Intel GPU card, you can combine intel-cpu
and intel-gpu
installations manually to utilize both CPU and GPU, increasing the speed up to 15000 H/s.
Along with the hashcat, the following utility packages are installed:
- hashcat-utils for converting raw Airodump to HCCAPX capture format; info
cap2hccapx -h
- hcxtools for inspecting, filtering, and converting capture files;
- hcxdumptool for capturing packets from wlan devices in any format you might think of; info
hcxdumptool -h
- kwprocessor for creating advanced keyboard-walk password candidates; info
kwp -h
- Warning "Device #1: Unstable OpenCL driver detected!" can be suppressed by adding
--force
flag to the hashcat command (f.i.,hashcat -m2500 -b --force
).