oclHashcat-plus + Ubuntu Desktop 12.04 + AMD Radeon 7600M
#1
Hi guys,

First off, and as this is my first post, thanks for Hashcat - what a tool! I work in infosec and use it pretty much, on every pentest.

Now, up until 8am this morning, I had a different laptop running a Nvidia GT 650 card and used optirun to run hashcat, worked fine. Then that laptop dissapeared.......long story!

Anyway, I now have a different laptop, a dell vostro with an AMD Radeon 7600 series - can i get hashcat working,,,,no!

The furthest ive got is this error:

mac [ ~/Tools/oclHashcat-plus-0.14 ]$ ./oclHashcat-plus64.bin -m 2500 /tmp/WPACAPTURE-01.CAP.HCCAP ~/Tools/Wordlists/rockyou.txt
ERROR: clGetDeviceIDs() -1

Now, I had a similar error to that before and it was due to a kernel not being found in the hashcat path, so i downloaded a new 7zip, from http://hashcat.net/files/oclHashcat-plus-0.14.7z and extracted with 7zip x oclHashcat-plus-0.14.7z, to make sure all kernels were there and in the correct path.....No dice!

So some output:

mac [ ~/Tools/oclHashcat-plus-0.14 ]$ clinfo

Number of platforms: 1
Platform Profile: FULL_PROFILE
Platform Version: OpenCL 1.2 AMD-APP (1084.2)
Platform Name: AMD Accelerated Parallel Processing
Platform Vendor: Advanced Micro Devices, Inc.
Platform Extensions: cl_khr_icd cl_amd_event_callback cl_amd_offline_devices


Platform Name: AMD Accelerated Parallel Processing
Number of devices: 1
Device Type: CL_DEVICE_TYPE_CPU
Device ID: 4098
Board name:
Max compute units: 4
Max work items dimensions: 3
Max work items[0]: 1024
Max work items[1]: 1024
Max work items[2]: 1024
Max work group size: 1024
Preferred vector width char: 16
Preferred vector width short: 8
Preferred vector width int: 4
Preferred vector width long: 2
Preferred vector width float: 8
Preferred vector width double: 4
Native vector width char: 16
Native vector width short: 8
Native vector width int: 4
Native vector width long: 2
Native vector width float: 8
Native vector width double: 4
Max clock frequency: 2501Mhz
Address bits: 64
Max memory allocation: 2147483648
Image support: Yes
Max number of images read arguments: 128
Max number of images write arguments: 8
Max image 2D width: 8192
Max image 2D height: 8192
Max image 3D width: 2048
Max image 3D height: 2048
Max image 3D depth: 2048
Max samplers within kernel: 16
Max size of kernel argument: 4096
Alignment (bits) of base address: 1024
Minimum alignment (bytes) for any datatype: 128
Single precision floating point capability
Denorms: Yes
Quiet NaNs: Yes
Round to nearest even: Yes
Round to zero: Yes
Round to +ve and infinity: Yes
IEEE754-2008 fused multiply-add: Yes
Cache type: Read/Write
Cache line size: 64
Cache size: 32768
Global memory size: 8243982336
Constant buffer size: 65536
Max number of constant args: 8
Local memory type: Global
Local memory size: 32768
Kernel Preferred work group size multiple: 1
Error correction support: 0
Unified memory for Host and Device: 1
Profiling timer resolution: 1
Device endianess: Little
Available: Yes
Compiler available: Yes
Execution capabilities:
Execute OpenCL kernels: Yes
Execute native function: Yes
Queue properties:
Out-of-Order: No
Profiling : Yes
Platform ID: 0x00007f0f3a411e00
Name: Intel(R) Core(TM) i5-3210M CPU @ 2.50GHz
Vendor: GenuineIntel
Device OpenCL C version: OpenCL C 1.2
Driver version: 1084.2 (sse2,avx)
Profile: FULL_PROFILE
Version: OpenCL 1.2 AMD-APP (1084.2)
Extensions: cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_ext_device_fission cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_popcnt

mac [ ~/Tools/oclHashcat-plus-0.14 ]$ dpkg-query --list | grep fglrx*

ii fglrx-amdcccle-experimental-9 2:9.010-0ubuntu0.3 Catalyst Control Center for the AMD graphics accelerators
ii fglrx-experimental-9 2:9.010-0ubuntu0.3 Experimental AMD binary Xorg driver and kernel module

mac [ ~/Tools/oclHashcat-plus-0.14 ]$ lspci | grep "VGA"

00:02.0 VGA compatible controller: Intel Corporation Ivy Bridge Graphics Controller (rev 09)
01:00.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI Thames XT/GL [Radeon HD 7600M Series]

mac [ ~/Tools/oclHashcat-plus-0.14 ]$ fglrxinfo

X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 154 (GLX)
Minor opcode of failed request: 19 (X_GLXQueryServerString)
Serial number of failed request: 12
Current serial number in output stream: 12


Now, this is the second attempt at getting this working. The first time, I went to amd and downloaded the catalyst driver and unpacked, chmod'd and executed. The gui popped up and i clicked on through. I then restarted ubuntu, as prompted, and ended up with a low graphics environment and basically borked the system. I managed to revert back to my previous xorg.conf, following the gui instructions; but it totally screwed up unity and I could barely get a shell to fix things. It left the whole laptop a bit unstable, so I reinstalled and with the output above, this is where I am now.

This time, ive installed the restricted driver from Ubuntu System Settings > Additional Drivers - i suspect this is what the problem is, but don't have the time to rebuild this laptop again, if the catalys install borks everything again. Big Grin

I know this isnt really a hashcat problem, its to do with X and the catalyst driver; however ubuntu forums tend to lean towards the gaming side of things, which isnt what i want. No disrespect meant!

So, has anyone else attempted to do what im doing?

I want to use my onboard VGA adapter to power X (normal ubuntu stuff) and the Radeon for hashcat only, like I did with bumblebee/optirun and my old nvidia card.

Any help would be greatly appreciated, its been about 16 hours since my old laptop ....dissapeared and im now really tired and need a little guidance.

P.S - Keep up the good work with hashcat, it's so much better than john ;-)

Good night!

T


Messages In This Thread
oclHashcat-plus + Ubuntu Desktop 12.04 + AMD Radeon 7600M - by redf00t - 06-21-2013, 01:49 AM