hashcat Forum
How hashcat work? - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: How hashcat work? (/thread-9057.html)

Pages: 1 2


How hashcat work? - usarname__ - 03-22-2020

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


RE: How hashcat work? - Mem5 - 03-22-2020

1) Start with wiki https://hashcat.net/wiki/
2) Paste the ouptput of "hashcat -I" (it will list the GPU/CPU you have).


RE: How hashcat work? - usarname__ - 03-22-2020

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?


RE: How hashcat work? - philsmd - 03-22-2020

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/


RE: How hashcat work? - usarname__ - 03-22-2020

(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?


RE: How hashcat work? - undeath - 03-22-2020

remove the amdgpu driver


RE: How hashcat work? - usarname__ - 03-22-2020

(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


RE: How hashcat work? - undeath - 03-22-2020

did you try the beta version as philsmd suggested?


RE: How hashcat work? - usarname__ - 03-23-2020

(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?


RE: How hashcat work? - undeath - 03-23-2020

The beta version might contain workarounds for the errors you are seeing.