PDA

View Full Version : Kali v2, Hashcat and OpenCL



James_Wood
2017-04-23, 16:42
Curious if anyone else has encountered issues while trying to get Hashcat working in Kali w/OpenCL? I have an HP 2540p laptop for testing the app right now - the real Hashcat unit will be a standalone box. That said, I seem to running into some setup error that I'm just not seeing.. Next step is to upgrade Hashcat to 3.5, however, I wanted to see if I am might be missing any steps here first?

Please share your ideas on how I should proceed forward... Thanks..


Linux KaliEnc 4.8.0-kali2-amd64 #1 SMP Debian 4.8.15-1kali1 (2016-12-23) x86_64 GNU/Linux

Process I've taken:

First:

root@Kali-Hibernate:~# hashcat --benchmark
hashcat (v3.00) starting in benchmark-mode...

ERROR: clGetDeviceIDs() : -1 : CL_DEVICE_NOT_FOUND

Second:

root@Kali-Hibernate:~/Download
s# ls
intel-opencl OpenCL
root@Kali-Hibernate:~/Downloads# cd OpenCL/
root@Kali-Hibernate:~/Downloads/OpenCL# mkdir intel-opencl
root@Kali-Hibernate:~/Downloads/OpenCL# tar -C intel-opencl -Jxf intel-opencl-r4.1-61547.x86_64.tar.xz
root@Kali-Hibernate:~/Downloads/OpenCL# tar -C intel-opencl -Jxf intel-opencl-devel-r4.1-61547.x86_64.tar.xz
root@Kali-Hibernate:~/Downloads/OpenCL# tar -C intel-opencl -Jxf intel-opencl-devel-r4.1-61547.x86_64.tar.xz
root@Kali-Hibernate:~/Downloads/OpenCL# tar -C intel-opencl -Jxf intel-opencl-cpu-r4.1-61547.x86_64.tar.xz
root@Kali-Hibernate:~/Downloads/OpenCL# cp -R intel-opencl/* /
root@Kali-Hibernate:~/Downloads/OpenCL# ls
root@Kali-Hibernate:~/Downloads/OpenCL# cd intel-opencl/
root@Kali-Hibernate:~/Downloads/OpenCL/intel-opencl# ls
etc opt
root@Kali-Hibernate:~/Downloads/OpenCL/intel-opencl# ldconfig
root@Kali-Hibernate:~/Downloads/OpenCL/intel-opencl# hashcat --benchmark
hashcat (v3.00) starting in benchmark-mode...


ERROR: clGetDeviceIDs() : -1 : CL_DEVICE_NOT_FOUND

James_Wood
2017-04-23, 16:50
Forgot, the video in this laptop is an Intel i915. This also shows in: /sys/module/i915 ... cat initstate lists 'live'

hausoo
2017-04-24, 02:46
hello https://www.kali.org/news/cloud-cracking-with-cuda-gpu/

James_Wood
2017-04-25, 02:23
Thank you for that... I ran "apt-get update && apt-get dist-upgrade -y" on my production build, and let it run and complete; ~2hrs.. Now, I'm trying to run this on a clean v.1 test build and receiving the following:

root@Kali-Hibernate:~# uname -a
Linux Kali-Hibernate 4.6.0-kali1-amd64 #1 SMP Debian 4.6.4-1kali1 (2016-07-21) x86_64 GNU/Linux
root@Kali-Hibernate:~# apt-get update && apt-get dist-upgrade -y
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@Kali-Hibernate:~#


Even ran apt-get update and, apt-get dist-upgrade -y solo, but no dice. Wondering if there's an issue going from v.1 to v.3 in this manner? Looks like I'll have some forum reading to do tomorrow. Will image the production build tonight before I 'play' with video settings next.

James_Wood
2017-04-25, 05:18
Looks like I have a couple repositories to add in the sources.list .. Another plan for the morning if it'll take >2hrs for the upgrade here, too...

hausoo
2017-04-26, 01:24
hello you seen this right

Note:
If you receive the error clGetDeviceIDs(): CL_DEVICE_NOT_FOUND with Platform ID labeled Vendor: Mesa run:
apt-get remove mesa-opencl-icd