How hashcat work?
#1
hello to everyone, please help me!!!
I have been trying to understand how hashcat works for two days .. I have tried both on ubuntu 18.04 and windows 10 and there is no guide that explains how to configure hashcat, so I try here as a last hope. Is there anyone kind enough to say step by step starting from 0 how to configure hashcat? Please.

(ps: i have an amd radeon rx 560 and ubuntu is x86_64, and if you could tell me how to make it work on hashcat it would be great).
Thanks a lot Smile
Reply
#2
1) Start with wiki https://hashcat.net/wiki/
2) Paste the ouptput of "hashcat -I" (it will list the GPU/CPU you have).
Reply
#3
before install driver:

Cannot find an OpenCL ICD loader library.

You are probably missing the native OpenCL runtime or driver for your platform.

* AMD GPUs on Linux require this runtime and/or driver:
  "RadeonOpenCompute (ROCm)" Software Platform (1.6.180 or later)
* Intel CPUs require this runtime and/or driver:
  "OpenCL Runtime for Intel Core and Intel Xeon Processors" (16.1.1 or later)
* Intel GPUs on Linux require this runtime and/or driver:
  "OpenCL 2.0 GPU Driver Package for Linux" (2.0 or later)
* NVIDIA GPUs require this runtime and/or driver:
  "NVIDIA Driver" (367.x or later)

after install amd driver with ./amdgpu-install --opencl=legacy,rocm:

OpenCL Info:

Platform ID #1
  Vendor  : Advanced Micro Devices, Inc.
  Name    : AMD Accelerated Parallel Processing
  Version : OpenCL 2.1 AMD-APP (3004.6)

  Device ID #1
    Type          : GPU
    Vendor ID      : 1
    Vendor        : Advanced Micro Devices, Inc.
    Name          : Baffin
    Version        : OpenCL 1.2 AMD-APP (3004.6)
    Processor(s)  : 14
    Clock          : 1187
    Memory        : 1280/1715 MB allocatable
    OpenCL Version : OpenCL C 1.2
    Driver Version : 3004.6

but when i run hashcat --benchmark, return it this error:

Hashmode: 2500 - WPA-EAPOL-PBKDF2 (Iterations: 4096)

* Device #1: ATTENTION! OpenCL kernel self-test failed.

Your device driver installation is probably broken.
See also: https://hashcat.net/faq/wrongdriver
 

but just with -m 2500, 15900, 12500, 6211, 13400, 6800, 11300 with other attack type everything is alright
what does it mean? what i have to do for fix it?
Reply
#4
It's listed here: https://rocm.github.io/hardware.html

I would recommend that you try ROCm: https://rocm.github.io/ROCmInstall.html

you could also first to try if beta fixes the problem : https://hashcat.net/beta/
Reply
#5
(03-22-2020, 03:17 PM)philsmd Wrote: It's listed here: https://rocm.github.io/hardware.html



I would recommend that you try ROCm: https://rocm.github.io/ROCmInstall.html



you could also first to try if beta fixes the problem : https://hashcat.net/beta/

 I tried to follow the rocm guide, but when I give the command "sudo apt install rocm-dkms" I get this error:

trying to overwrite "/usr/share/dkms/modules_to_force_install/amdgpu" which is also in package  amdgpu-dkms 19.50-967956
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/rock-dkms_3.1-44_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


 can you tell me why? and how to solve it?
Reply
#6
remove the amdgpu driver
Reply
#7
(03-22-2020, 09:30 PM)undeath Wrote: remove the amdgpu driver
 I did it! and i re-downloaded the drivers with only the opencl option, so without opengl and vulkan and everything works now. There remains a problem though, when I run the hashcat benchamrk it gives me the same result as before ... it says that my drivers are broken when I test "hashtype -m 2500" do you know why?
I'll show you.
https://imageshack.com/i/pnvQk1q6p
Reply
#8
did you try the beta version as philsmd suggested?
Reply
#9
(03-22-2020, 11:42 PM)undeath Wrote: did you try the beta version as philsmd suggested?
nope, which is the difference ? and i can't do nothing for other version?
Reply
#10
The beta version might contain workarounds for the errors you are seeing.
Reply