Help with Hashcat error
#1
Sad 
Hi, 

I'm looking for help getting my hashcat working again on my The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) VM.
Hashcat was working great for weeks but I think a display manager change might have broken something GPU driver related on my VM.
I'm struggling to know the fix and would really appreciate some guru advice!
My setup: 
Apple Mac M1, running UTM 3.2.4, Linux The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) 6.0.0-kali3-arm64 #1 Debian 6.0.7-1kali1 (2022) aarch64 GNU/Linux

hashcat -I                                           
hashcat (v6.2.6) starting in backend information mode

clGetPlatformIDs(): CL_PLATFORM_NOT_FOUND_KHR

ATTENTION! No OpenCL, HIP or CUDA compatible platform found.

You are probably missing the OpenCL, CUDA or HIP runtime installation.

* AMD GPUs on Linux require this driver:
  "AMDGPU" (21.50 or later) and "ROCm" (5.0 or later)
* Intel CPUs require this runtime:
  "OpenCL Runtime for Intel Core and Intel Xeon Processors" (16.1.1 or later)
* NVIDIA GPUs require this runtime and/or driver (both):
  "NVIDIA Driver" (440.64 or later)
  "CUDA Toolkit" (9.0 or later)


Thanks
Reply
#2
remove your existing video drivers and install ROCm over again. Plenty of forum post relating to installing on linux.

Side note, why not just run hashcat on your MacOS?
Reply
#3
Thanks for the reply and good suggestion, I will try running hashcat on the bare metal MacOS while I continue to try and fix the VM incompatibility.

When you say uninstall video drivers and reinstall ROCm, do you have anymore specifics?
Some more info below

lspci -nn
     00:01.0 Display controller [0380]: Red Hat, Inc. Virtio GPU [1af4:1050] (rev 01)

glxinfo | grep -i vendor
     server glx vendor string: SGI
     client glx vendor string: Mesa Project and SGI
     Vendor: Mesa/X.org (0x1af4)
     OpenGL vendor string: Mesa/X.org


clinfo                 
Number of platforms           0

Running "apt install rocm-dev" (also also rocm-dkms, rocm-opencl and rocm-utils) and it just says unable to locate package for each

Is there a debian rocm repo I should be adding to my sources?
cat /etc/apt/sources.list
# See https://www.The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali).org/docs/general-use/The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali)-linux-sources-list-repositories/
deb http://http.The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali).org/The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali) The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali)-rolling main contrib non-free


Thanks
Reply