Ubuntu – Error CL_PLATFORM_NOT_FOUND_KHR in running HashCat 4.0.1

14.04hash

I've downloaded HashCat 4.0.1 form its official website. Running it show following error:

root@mstehr:~/hashcat-4.0.1# ./hashcat64.bin -I
hashcat (v4.0.1) starting...

clGetPlatformIDs(): CL_PLATFORM_NOT_FOUND_KHR

I'm using Ubuntu 14.04. I can run this command successfully on another Ubuntu box.

Result of head /proc/cpuinfo:

root@mstehr:~# head /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 58
model name      : Intel(R) Core(TM) i3-3210 CPU @ 3.20GHz
stepping        : 9
microcode       : 0x15
cpu MHz         : 3192.864
cache size      : 3072 KB
physical id     : 0

Result of ls lspci:

root@kmstehr:~# lspci
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 05)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b5)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b5)
00:1c.5 PCI bridge: Intel Corporation 82801 PCI Bridge (rev b5)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 05)
00:1f.0 ISA bridge: Intel Corporation H61 Express Chipset Family LPC Controller (rev 05)
00:1f.2 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 4 port SATA IDE Controller (rev 05)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 05)
00:1f.5 IDE interface: Intel Corporation 6 Series/C200 Series Chipset Family 2 port SATA IDE Controller (rev 05)
02:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 06)
03:00.0 PCI bridge: Integrated Technology Express, Inc. Device 8892 (rev 41)
04:01.0 Ethernet controller: D-Link System Inc DGE-528T Gigabit Ethernet Adapter (rev 10)

Result of ls /etc/OpenCL/vendors/:

root@kmstehr:~# ls /etc/OpenCL/vendors/
ls: cannot access /etc/OpenCL/vendors/: No such file or directory

Best Answer

Output of lspci indicates that the only graphic card on your system is Intel Corporation Xeon E3-1200 which is part of your Intel(R) Core(TM) i3-3210 processor. Also you haven't installed OpenCl library yet, so follow these steps:

Install lsb-core package using:

apt-get install lsb-core

Intel CPUs require OpenCL Runtime for Intel Core and Intel Xeon Processors (16.1.1 or later). Download and install OpenCL™ Runtime 16.1.2 for Intel® Core™ and Intel® Xeon® Processors for Red Hat* and Ubuntu* Linux* (64-bit) from this page. Ignore the compatibility warning:

tar xf opencl_runtime_16.1.2_x64_rh_6.4.0.37.tgz
cd opencl_runtime_16.1.2_x64_rh_6.4.0.37
sudo ./install_GUI.sh