Hashcat 3.0 CL_UNKNOWN_ERROR
#1
Hello,

I receive this error when trying to run hashcat:

Code:
ERROR: clGetPlatformIDs() : -1001 : CL_UNKNOWN_ERROR

Full path and command:

Code:
~/Desktop/hashcat/hashcat-3.00$ ./hashcat64.bin -m 100 ~/Desktop/wordlist/hash/hashfile ~/Desktop/wordlist/list_uniq_sorted.txt --outfile = ~/Desktop/wordlist/hash/found
hashcat (v3.00-1-g67a8d97) starting...

Generating bitmap tables with 16 bits...                  

ERROR: clGetPlatformIDs() : -1001 : CL_UNKNOWN_ERROR

Any idea what I can do to fix this?

Edit:
Happens when trying to do benchmark-mode as well.
Code:
~/Desktop/hashcat/hashcat-3.00$ ./hashcat64.bin -b
hashcat (v3.00-1-g67a8d97) starting in benchmark-mode...

ERROR: clGetPlatformIDs() : -1001 : CL_UNKNOWN_ERROR

OS: Ubuntu 16.04 xenial
#2
Does any of this help?

https://github.com/hashcat/hashcat/issues/147

It seems to most likely be a driver or OpenCL issue, so perhaps try reinstalling the drivers?
#3
(07-02-2016, 05:12 PM)MsChievous Wrote: Does any of this help?

https://github.com/hashcat/hashcat/issues/147

It seems to most likely be a driver or OpenCL issue, so perhaps try reinstalling the drivers?

I am trying to use CPU power, I don't have dedicated GPU like AMD/Nvidia*.
Got any tips what I could run to figure out my problem?
#4
Ooh, well that is most likely where the issue lies then. Have you installed the OpenCL drivers for your CPU? If you have, could you try this and see if that works:

./hashcat64.bin -b -m 0 -D 2

The -D 2 parameter tells hashcat to use CPU only.
#5
(07-02-2016, 06:07 PM)MsChievous Wrote: Ooh, well that is most likely where the issue lies then. Have you installed the OpenCL drivers for your CPU? If you have, could you try this and see if that works:

./hashcat64.bin -b -m 0 -D 2

The -D 2 parameter tells hashcat to use CPU only.

Same issue, I suppose I have to go to intels homepage and find new drivers there I suppose.

I did have to write this before I could run hashcat64.bin first time:
Code:
sudo sudo apt-get install ocl-icd-libopencl1

sudo apt-get update && sudo apt-get upgrade

But I will check intels homepage and see if I can find a driver there.
#6
(07-02-2016, 06:20 PM)lisa Wrote: Same issue, I suppose I have to go to intels homepage and find new drivers there I suppose.

You can find them here: https://software.intel.com/en-us/article...cl-drivers

If you have an Intel Core 2 Duo, Core i3, Core i5 or Core i7 then here is a direct link to the Ubuntu x64 drivers: http://registrationcenter-download.intel....10002.tgz
#7
(07-02-2016, 06:23 PM)MsChievous Wrote:
(07-02-2016, 06:20 PM)lisa Wrote: Same issue, I suppose I have to go to intels homepage and find new drivers there I suppose.

You can find them here: https://software.intel.com/en-us/article...cl-drivers

If you have an Intel Core 2 Duo, Core i3, Core i5 or Core i7 then here is a direct link to the Ubuntu x64 drivers: http://registrationcenter-download.intel....10002.tgz

Thank you so much for your help.
I have a poor processor, Celeron, I hope it will have drivers for that.
That poor CPU can at least run some MD5/SHA1s, haha.
#8
(07-02-2016, 06:27 PM)lisa Wrote: Thank you so much for your help.
I have a poor processor, Celeron, I hope it will have drivers for that.
That poor CPU can at least run some MD5/SHA1s, haha.

Happy to help! It is something to keep me busy while I am cracking. Smile

I think you should use the same drivers I linked for that, but I am not sure. Intel's homepage is a little vague on Celeron processors.
#9
(07-02-2016, 06:36 PM)MsChievous Wrote:
(07-02-2016, 06:27 PM)lisa Wrote: Thank you so much for your help.
I have a poor processor, Celeron, I hope it will have drivers for that.
That poor CPU can at least run some MD5/SHA1s, haha.

Happy to help! It is something to keep me busy while I am cracking. Smile

I think you should use the same drivers I linked for that, but I am not sure. Intel's homepage is a little vague on Celeron processors.

I will have to think about it.
It is not listed here: https://software.intel.com/en-us/intel-opencl as it will work under Linux OS, Celeron seem to be OK in Windows only.
Also when running the file it says:

Code:
Unsupported OS
Detected operating system is not supported. Supported operating systems for this release are:
Ubuntu* 12.04 (Intel(R) 64), 14.04 (Intel(R) 64)


Missing libraries
The following libraries required for installation are missing:

lsb-core >= 4.0
This is using the latest, 16.1.

And using 14.2:
Code:
Unsupported OS
Detected operating system is not supported. Supported operating systems for this release are:
SUSE Linux Enterprise Server* 11 (Intel(R) 64)
Red Hat Enterprise Linux* 6 (Intel(R) 64)


Installation packages validation failed
Installation program is unable to validate installation packages with digital signature. You may to restart installation with --ignore-signature to bypass this check.

I guess my PC is way to shitty.
I'll stick to hashcat 2 instead.
#10
(07-02-2016, 08:52 PM)lisa Wrote:
Code:
Unsupported OS
Detected operating system is not supported. Supported operating systems for this release are:
Ubuntu* 12.04 (Intel(R) 64), 14.04 (Intel(R) 64)

Looks like it doesn't support Ubuntu 16.04. That is too bad! Sad


(07-02-2016, 08:52 PM)lisa Wrote: I guess my PC is way to shitty.
I'll stick to hashcat 2 instead.

It seems they haven't bothered compiling the OpenCL drivers for Ubuntu 16.04 but it also seems like it still tries to install but it is missing the lsb-core dependency. If you want to try still you could get lsb-core from here: http://de.archive.ubuntu.com/ubuntu/pool..._amd64.deb

For some reason it was not included in 16.04 so you need to install the package from 14.04, but apparently it installs fine in 16.04 from what I found on Google. See if it will install after that. But since you have hashcat 2 already it might not be worth the trouble. Smile