[Newbie] shows this error (clWaitForEvents() ) for the specific hash (sha512crypt)
#1
Hey Guys, 

I am using hashcat for their gpu bases cracking. Iam using alot and after some time I have this sha512crypt hash which shows this error. 

hashcat -m 7400 hashes.txt /home/chroot/The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali)/usr/share/wordlists/rockyou.txt

hashcat (v6.2.6) starting

Successfully initialized the NVIDIA main driver CUDA runtime library.

Failed to initialize NVIDIA RTC library.

* Device #1: CUDA SDK Toolkit not installed or incorrectly installed.
            CUDA SDK Toolkit required for proper device support and utilization.
            Falling back to OpenCL runtime.

* Device #1: WARNING! Kernel exec timeout is not disabled.
            This may cause "CL_OUT_OF_RESOURCES" or related errors.
            To disable the timeout, see: https://hashcat.net/q/timeoutpatch
nvmlDeviceGetFanSpeed(): Not Supported

OpenCL API (OpenCL 3.0 CUDA 12.6.65) - Platform #1 [NVIDIA Corporation]
=======================================================================
* Device #1: NVIDIA GeForce GTX 1650, 3072/3718 MB (929 MB allocatable), 16MCU

OpenCL API (OpenCL 3.0 PoCL 5.0  Linux, Release, RELOC, SPIR, LLVM 17.0.6, SLEEF, DISTRO, POCL_DEBUG) - Platform #2 [The pocl project]
======================================================================================================================================
* Device #2: cpu-haswell-Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz, skipped

Minimum password length supported by kernel: 0
Maximum password length supported by kernel: 256

Hashes: 1 digests; 1 unique digests, 1 unique salts
Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates
Rules: 1

Optimizers applied:
* Zero-Byte
* Single-Hash
* Single-Salt

ATTENTION! Pure (unoptimized) backend kernels selected.
Pure kernels can crack longer passwords, but drastically reduce performance.
If you want to switch to optimized kernels, append -O to your commandline.
See the above message to find out about the exact limits.

Watchdog: Temperature abort trigger set to 90c

Host memory required for this attack: 346 MB

Dictionary cache hit:
* Filename..: /home/chroot/The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali)/usr/share/wordlists/rockyou.txt
* Passwords.: 14344385
* Bytes.....: 139921507
* Keyspace..: 14344385

[s]tatus [p]ause [b]ypass [c]heckpoint [f]inish [q]uit => clWaitForEvents(): CL_UNKNOWN_ERROR

clEnqueueReadBuffer(): CL_OUT_OF_RESOURCES

clEnqueueReadBuffer(): CL_OUT_OF_RESOURCES

Session..........: hashcat
Status...........: Error
Hash.Mode........: 7400 (sha256crypt $5$, SHA256 (Unix))
Hash.Target......: $5$enbUyVfzahjLdirm$29S4UqN3DcoeTp.AaCJKR0eZ45Z51c2...w8aK14
Time.Started.....: Sat Dec 14 10:49:01 2024 (0 secs)
Time.Estimated...: Sat Dec 14 10:49:01 2024 (0 secs)
Kernel.Feature...: Pure Kernel
Guess.Base.......: File (/home/chroot/The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali)/usr/share/wordlists/rockyou.txt)
Guess.Queue......: 1/1 (100.00%)
Speed.#1.........:        0 H/s (0.00ms) @ Accel:24 Loops:256 Thr:32 Vec:1
Recovered........: 0/1 (0.00%) Digests (total), 0/1 (0.00%) Digests (new)
Progress.........: 0/14344385 (0.00%)
Rejected.........: 0/0 (0.00%)
Restore.Point....: 0/14344385 (0.00%)
Restore.Sub.#1...: Salt:0 Amplifier:0-1 Iteration:0-256
Candidate.Engine.: Device Generator
Candidates.#1....:  ->
Hardware.Mon.#1..: Temp: 47c Util: 19% Core:1920MHz Mem:4001MHz Bus:16

Started: Sat Dec 14 10:48:59 2024
Stopped: Sat Dec 14 10:49:01 2024


PS: Hashcat working fine for other hashes but I cant able work this one hash. What might be the issue ?
I tried applying https://hashcat.net/wiki/doku.php?id=timeout_patch timeout patch but it didn't work.
Reply
#2
Try installing the CUDA Toolkit and restart if necessary and it should work. K-ali always has problems though and isn't a recommended distribution as it has quite large driver and OpenCL issues, especially if you're running it in a VM
Reply