hashcat Forum
m02500_aux1nullGBE): error: failed in Gen backend. - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: m02500_aux1nullGBE): error: failed in Gen backend. (/thread-8781.html)



m02500_aux1nullGBE): error: failed in Gen backend. - deco9876 - 11-21-2019

Hello guys and gals. I'm tearing my hair out trying to get hashcat up and running on my bootable usb drive. I have included the command I am trying to run, also the same command with --force as well as the output in both cases...please help me! I am fairly new to linux, but I am very keen to learn. I have read through the faq's and they seem to suggest that I don't need to use my GPU but on the home page of this website (hashcat.net) their are recommended requirements for both Intel GPU and CPU. I am running The-Distribution-Which-Does-Not-Handle-OpenCL-Well (The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali)) rolling on my usb on a windows 7 hp elitebook 8750. It has an i5 core processor and 8G of RAM. Output follows:
_____________________________________________________________________________________________
Without --force
--------------------
root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali)):~# hashcat -m 2500 -a 3 -i --increment-min 8 --increment-max 10 /root/Downloads/24880_1572835516.hccapx ?a?a?a?a?a?a?a?a?a?a
hashcat (v5.1.0) starting...

* Device #1: Intel's OpenCL runtime (GPU only) is currently broken.
            We are waiting for updated OpenCL drivers from Intel.
            You can use --force to override, but do not report related errors.
* Device #2: Not a native Intel OpenCL runtime. Expect massive speed loss.
            You can use --force to override, but do not report related errors.
No devices found/left.

Started: Wed Nov 20 19:26:21 2019
Stopped: Wed Nov 20 19:26:21 2019

_____________________________________________________________________________________________
With --force
----------------
root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali)):~# hashcat -m 2500 -a 3 -i --increment-min 8 --increment-max 10 /root/Downloads/24880_1572835516.hccapx ?a?a?a?a?a?a?a?a?a?a --force
hashcat (v5.1.0) starting...

OpenCL Platform #1: Intel
=========================
* Device #1: Intel(R) HD Graphics IvyBridge M GT2, 1422/1897 MB allocatable, 16MCU

OpenCL Platform #2: The pocl project
====================================
* Device #2: pthread-Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz, skipped.

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

Applicable optimizers:
* Zero-Byte
* Single-Hash
* Single-Salt
* Brute-Force
* Slow-Hash-SIMD-LOOP

Minimum password length supported by kernel: 8
Maximum password length supported by kernel: 63

Watchdog: Hardware monitoring interface not found on your system.
Watchdog: Temperature abort trigger disabled.

* Device #1: build_opts '-cl-std=CL1.2 -I OpenCL -I /usr/share/hashcat/OpenCL -D LOCAL_MEM_TYPE=1 -D VENDOR_ID=4 -D CUDA_ARCH=0 -D AMD_ROCM=0 -D VECT_SIZE=1 -D DEVICE_TYPE=4 -D DGST_R0=0 -D DGST_R1=1 -D DGST_R2=2 -D DGST_R3=3 -D DGST_ELEM=4 -D KERN_TYPE=2500 -D _unroll'
* Device #1: Kernel m02500-pure.8e78a544.kernel not found in cache! Building may take a while...
clBuildProgram(): CL_BUILD_PROGRAM_FAILURE

m02500_aux1nullGBE): error: failed in Gen backend.

* Device #1: Kernel /usr/share/hashcat/OpenCL/m02500-pure.cl build failed - proceeding without this device.

Started: Wed Nov 20 19:05:57 2019
Stopped: Wed Nov 20 19:06:42 2019

_____________________________________________________________________________________________
clinfo output
-----------------
root@The-Distribution-Which-Does-Not-Handle-OpenCL-Well (Kali):~# clinfo
Number of platforms                              2
  Platform Name                                  Intel Gen OCL Driver
  Platform Vendor                                Intel
  Platform Version                                OpenCL 1.2 beignet 1.3
  Platform Profile                                FULL_PROFILE
  Platform Extensions                            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_byte_addressable_store cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_subgroups cl_intel_subgroups_short cl_khr_gl_sharing
  Platform Extensions function suffix            Intel

  Platform Name                                  Portable Computing Language
  Platform Vendor                                The pocl project
  Platform Version                                OpenCL 1.2 pocl 1.3 None+Asserts, LLVM 8.0.1, SPIR, SLEEF, POCL_DEBUG
  Platform Profile                                FULL_PROFILE
  Platform Extensions                            cl_khr_icd
  Platform Extensions function suffix            POCL

  Platform Name                                  Intel Gen OCL Driver
Number of devices                                1
  Device Name                                    Intel(R) HD Graphics IvyBridge M GT2
  Device Vendor                                  Intel
  Device Vendor ID                                0x8086
  Device Version                                  OpenCL 1.2 beignet 1.3
  Driver Version                                  1.3
  Device OpenCL C Version                        OpenCL C 1.2 beignet 1.3
  Device Type                                    GPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                              16
  Max clock frequency                            1000MHz
  Device Partition                                (core)
    Max number of sub-devices                    1
    Supported partition types                    None, None, None
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                            512x512x512
  Max work group size                            512
  Preferred work group size multiple              16
  Preferred / native vector sizes               
    char                                                16 / 8     
    short                                                8 / 8     
    int                                                  4 / 4     
    long                                                2 / 2     
    half                                                0 / 8        (n/a)
    float                                                4 / 4     
    double                                              0 / 2        (n/a)
  Half-precision Floating-point support          (n/a)
  Single-precision Floating-point support        (core)
    Denormals                                    No
    Infinity and NANs                            Yes
    Round to nearest                              Yes
    Round to zero                                No
    Round to infinity                            No
    IEEE754-2008 fused multiply-add              No
    Support is emulated in software              No
    Correctly-rounded divide and sqrt operations  No
  Double-precision Floating-point support        (n/a)
  Address bits                                    32, Little-Endian
  Global memory size                              1989148672 (1.853GiB)
  Error Correction support                        No
  Max memory allocation                          1491075072 (1.389GiB)
  Unified memory for Host and Device              Yes
  Minimum alignment for any data type            128 bytes
  Alignment of base address                      1024 bits (128 bytes)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        8192 (8KiB)
  Global Memory cache line size                  64 bytes
  Image support                                  Yes
    Max number of samplers per kernel            16
    Max size for 1D images from buffer            65536 pixels
    Max 1D or 2D image array size                2048 images
    Base address alignment for 2D image buffers  4096 bytes
    Pitch alignment for 2D image buffers          1 pixels
    Max 2D image size                            8192x8192 pixels
    Max 3D image size                            8192x8192x2048 pixels
    Max number of read image args                128
    Max number of write image args                8
  Local memory type                              Local
  Local memory size                              65536 (64KiB)
  Max number of constant args                    8
  Max constant buffer size                        134217728 (128MiB)
  Max size of kernel argument                    1024
  Queue properties                               
    Out-of-order execution                        No
    Profiling                                    Yes
  Prefer user sync for interop                    Yes
  Profiling timer resolution                      80ns
  Execution capabilities                         
    Run OpenCL kernels                            Yes
    Run native kernels                            Yes
    SPIR versions                                1.2
  printf() buffer size                            1048576 (1024KiB)
  Built-in kernels                                __cl_copy_region_align4;__cl_copy_region_align16;__cl_cpy_region_unalign_same_offset;__cl_copy_region_unalign_dst_offset;__cl_copy_region_unalign_src_offset;__cl_copy_buffer_rect;__cl_copy_image_1d_to_1d;__cl_copy_image_2d_to_2d;__cl_copy_image_3d_to_2d;__cl_copy_image_2d_to_3d;__cl_copy_image_3d_to_3d;__cl_copy_image_2d_to_buffer;__cl_copy_image_3d_to_buffer;__cl_copy_buffer_to_image_2d;__cl_copy_buffer_to_image_3d;__cl_fill_region_unalign;__cl_fill_region_align2;__cl_fill_region_align4;__cl_fill_region_align8_2;__cl_fill_region_align8_4;__cl_fill_region_align8_8;__cl_fill_region_align8_16;__cl_fill_region_align128;__cl_fill_image_1d;__cl_fill_image_1d_array;__cl_fill_image_2d;__cl_fill_image_2d_array;__cl_fill_image_3d;block_motion_estimate_intel;
  Device Extensions                              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_byte_addressable_store cl_khr_3d_image_writes cl_khr_image2d_from_buffer cl_khr_depth_images cl_khr_spir cl_khr_icd cl_intel_accelerator cl_intel_subgroups cl_intel_subgroups_short cl_khr_gl_sharing cl_intel_motion_estimation

  Platform Name                                  Portable Computing Language
Number of devices                                1
  Device Name                                    pthread-Intel(R) Core(TM) i5-3360M CPU @ 2.80GHz
  Device Vendor                                  GenuineIntel
  Device Vendor ID                                0x6c636f70
  Device Version                                  OpenCL 1.2 pocl HSTR: pthread-i686-pc-linux-gnu-i686
  Driver Version                                  1.3
  Device OpenCL C Version                        OpenCL C 1.2 pocl
  Device Type                                    CPU
  Device Profile                                  FULL_PROFILE
  Device Available                                Yes
  Compiler Available                              Yes
  Linker Available                                Yes
  Max compute units                              4
  Max clock frequency                            3500MHz
  Device Partition                                (core)
    Max number of sub-devices                    4
    Supported partition types                    equally, by counts
    Supported affinity domains                    (n/a)
  Max work item dimensions                        3
  Max work item sizes                            4096x4096x4096
  Max work group size                            4096
  Preferred work group size multiple              8
  Preferred / native vector sizes               
    char                                                16 / 16     
    short                                              16 / 16     
    int                                                  8 / 8     
    long                                                4 / 4     
    half                                                0 / 0        (n/a)
    float                                                8 / 8     
    double                                              4 / 4        (cl_khr_fp64)
  Half-precision Floating-point support          (n/a)
  Single-precision Floating-point support        (core)
    Denormals                                    No
    Infinity and NANs                            Yes
    Round to nearest                              Yes
    Round to zero                                No
    Round to infinity                            No
    IEEE754-2008 fused multiply-add              No
    Support is emulated in software              No
    Correctly-rounded divide and sqrt operations  No
  Double-precision Floating-point support        (cl_khr_fp64)
    Denormals                                    Yes
    Infinity and NANs                            Yes
    Round to nearest                              Yes
    Round to zero                                Yes
    Round to infinity                            Yes
    IEEE754-2008 fused multiply-add              Yes
    Support is emulated in software              No
  Address bits                                    32, Little-Endian
  Global memory size                              4294967295 (4GiB)
  Error Correction support                        No
  Max memory allocation                          1073741824 (1024MiB)
  Unified memory for Host and Device              Yes
  Minimum alignment for any data type            128 bytes
  Alignment of base address                      1024 bits (128 bytes)
  Global Memory cache type                        Read/Write
  Global Memory cache size                        3145728 (3MiB)
  Global Memory cache line size                  64 bytes
  Image support                                  Yes
    Max number of samplers per kernel            16
    Max size for 1D images from buffer            67108864 pixels
    Max 1D or 2D image array size                2048 images
    Max 2D image size                            8192x8192 pixels
    Max 3D image size                            2048x2048x2048 pixels
    Max number of read image args                128
    Max number of write image args                128
  Local memory type                              Global
  Local memory size                              2097152 (2MiB)
  Max number of constant args                    8
  Max constant buffer size                        2097152 (2MiB)
  Max size of kernel argument                    1024
  Queue properties                               
    Out-of-order execution                        No
    Profiling                                    Yes
  Prefer user sync for interop                    Yes
  Profiling timer resolution                      1ns
  Execution capabilities                         
    Run OpenCL kernels                            Yes
    Run native kernels                            Yes
    SPIR versions                                1.2
  printf() buffer size                            16777216 (16MiB)
  Built-in kernels                                (n/a)
  Device Extensions                              cl_khr_byte_addressable_store 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_3d_image_writes cl_khr_spir cl_khr_fp64 cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_fp64


NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Intel Gen OCL Driver
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)  Success [Intel]
  clCreateContext(NULL, ...) [default]            Success [Intel]
  clCreateContext(NULL, ...) [other]              Success [POCL]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT)  Success (1)
    Platform Name                                Intel Gen OCL Driver
    Device Name                                  Intel(R) HD Graphics IvyBridge M GT2
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                Intel Gen OCL Driver
    Device Name                                  Intel(R) HD Graphics IvyBridge M GT2
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (1)
    Platform Name                                Intel Gen OCL Driver
    Device Name                                  Intel(R) HD Graphics IvyBridge M GT2

ICD loader properties
  ICD loader Name                                OpenCL ICD Loader
  ICD loader Vendor                              OCL Icd free software
  ICD loader Version                              2.2.12
  ICD loader Profile                              OpenCL 2.2


This is all the output I think is relevant. I would appreciate any useful comments, help or pointing out of my faults. As I said above I am keen to learn but I don't know where I am going wrong. PLEASE HELP ME!!!!


RE: m02500_aux1nullGBE): error: failed in Gen backend. - slyexe - 11-21-2019

Good luck cracking WPA2 on that laptop. All I have to say.

Session..........: hashcat
Status...........: Running
Hash.Type........: WPA-PMKID-PBKDF2
Hash.Target......: example.16800
Time.Started.....: Wed Nov 20 20:59:48 2019 (0 secs)
Time.Estimated...: Next Big Bang (> 10 years)
Guess.Mask.......: ?a?a?a?a?a?a?a?a [8]
Guess.Queue......: 1/3 (33.33%)
Speed.#1.........:  261.0 kH/s (6.93ms) @ Accel:64 Loops:32 Thr:256 Vec:1
Recovered........: 0/1 (0.00%) Digests, 0/1 (0.00%) Salts
Progress.........: 0/59707838816015625 (0.00%)
Rejected.........: 0/0 (0.00%)
Restore.Point....: 0/69833729609375 (0.00%)
Restore.Sub.#1...: Salt:0 Amplifier:0-1 Iteration:576-608
Candidates.#1....: sarierin -> s`fperin
Hardware.Mon.#1..: Temp: 35c Fan: 23% Util: 82% Core:1759MHz Mem:4104MHz Bus:16


RE: m02500_aux1nullGBE): error: failed in Gen backend. - undeath - 11-21-2019

you should remove pocl and install the intel opencl cpu runtime


RE: m02500_aux1nullGBE): error: failed in Gen backend. - deco9876 - 11-22-2019

(11-21-2019, 07:57 PM)undeath Wrote: you should remove pocl and install the intel opencl cpu runtime


Thank you undeath for your advice. i will  have to look into how to remove the pocl.


RE: m02500_aux1nullGBE): error: failed in Gen backend. - deco9876 - 11-22-2019

(11-21-2019, 05:02 AM)slyexe Wrote: Good luck cracking WPA2 on that laptop. All I have to say.

Session..........: hashcat
Status...........: Running
Hash.Type........: WPA-PMKID-PBKDF2
Hash.Target......: example.16800
Time.Started.....: Wed Nov 20 20:59:48 2019 (0 secs)
Time.Estimated...: Next Big Bang (> 10 years)
Guess.Mask.......: ?a?a?a?a?a?a?a?a [8]
Guess.Queue......: 1/3 (33.33%)
Speed.#1.........:  261.0 kH/s (6.93ms) @ Accel:64 Loops:32 Thr:256 Vec:1
Recovered........: 0/1 (0.00%) Digests, 0/1 (0.00%) Salts
Progress.........: 0/59707838816015625 (0.00%)
Rejected.........: 0/0 (0.00%)
Restore.Point....: 0/69833729609375 (0.00%)
Restore.Sub.#1...: Salt:0 Amplifier:0-1 Iteration:576-608
Candidates.#1....: sarierin -> s`fperin
Hardware.Mon.#1..: Temp: 35c Fan: 23% Util: 82% Core:1759MHz Mem:4104MHz Bus:16

Thank you too slyexe. this is just an example of the wpa cracking I could run. I have lots of other rules and wordlists I could use to help slim down the amount of time it will take to crack my wpa psk. The command I gave in the example was just for illustrative purposes. I appreciate your warning though. Hypothetically, if I did want to run the example command, what type of GPU/CPU combination would you recommend to get down to a reasonable time...lets say under a month.


RE: m02500_aux1nullGBE): error: failed in Gen backend. - slyexe - 11-23-2019

I rarely run anything over a day attempting anything with WPA2. There's plenty of resources online regarding default router passwords, keygens, generic passwords, and several other factors that you can look up before even attempting to start attacking WPA2.

Just look up ISP's information and lots of time they'll have router labels which include the PSK for your baseline. Searching used markets (ebay) for the same router can always give pictures of the labels too which will give you examples of what the default passwords will be. Most commonly people tend to use phone numbers so creating a 6 digit brute force attack literally takes me 5 seconds since we only have 1 areacode. Theres lots of details I could go into but these are just some of my strategies which give good results and shorten attacks by a huge margin. 

Here's our forum post regarding default passwords for routers.

Lastly, a bunch of precise short attacks are smarter than 1 long attack.


RE: m02500_aux1nullGBE): error: failed in Gen backend. - deco9876 - 11-23-2019

(11-23-2019, 02:24 AM)slyexe Wrote: I rarely run anything over a day attempting anything with WPA2. There's plenty of resources online regarding default router passwords, keygens, generic passwords, and several other factors that you can look up before even attempting to start attacking WPA2.

Just look up ISP's information and lots of time they'll have router labels which include the PSK for your baseline. Searching used markets (ebay) for the same router can always give pictures of the labels too which will give you examples of what the default passwords will be. Most commonly people tend to use phone numbers so creating a 6 digit brute force attack literally takes me 5 seconds since we only have 1 areacode. Theres lots of details I could go into but these are just some of my strategies which give good results and shorten attacks by a huge margin. 

Here's our forum post regarding default passwords for routers.

Lastly, a bunch of precise short attacks are smarter than 1 long attack.

Thanks again slyexe. All very sound advice. Regarding my setup, do I definitely need to uninstall or purge pocl? Then do I need to Install Intel OpenCL runtime? If so can you help me with specific commands for this? The Intel website is VERY complicated and mostly brings the user around in circles to a page with a diagram of a quad CPU chip with a Graphics card below it. I don't know which opencl to install or where to find it. On the Intel site there is something called SDK for opencl applications. To confuse matters even more there is something called Intel media server studio


RE: m02500_aux1nullGBE): error: failed in Gen backend. - undeath - 11-23-2019

I'm not entirely sure about whether you need to remove pocl, but I'd recommend to anyway. Here are the intel opencl runtime install intstructions: https://github.com/intel/compute-runtime/blob/master/documentation/Neo_in_distributions.md