Package: hashcat Version: 3.30-1 Severity: important Dear Maintainer,
This appears to be related to bug #856932 except the bug is present on AMD/ATI hardware as well. I have installed all OpenCL packages I can find including dev packages to no avail. When attempting to run hashcat (hashcat -m 0 -a 0 -o cracked.txt target_hashes.txt rockyou.txt) as described in the example found on https://resources.infosecinstitute.com/hashcat-tutorial-beginners/#gref, I get an output indicating some sort of OpenCL related error (See attached file). Expected output was a file (cracked.txt) populated with decrypted passwords from the hashes given in target_hashes.txt. My programming skills are rather limited and this problem is beyond my ability to further diagnose or analyze. I do not know if this is a hashcat bug or an OpenCL bug. -- System Information: Debian Release: 9.5 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) Versions of packages hashcat depends on: ii hashcat-data 3.30-1 ii libc6 2.24-11+deb9u3 ii mesa-opencl-icd [opencl-icd] 13.0.6-1+b2 ii pocl-opencl-icd [opencl-icd] 0.13-8+b5 hashcat recommends no packages. hashcat suggests no packages. *** /home/jtc/Documents/hashcat fail.txt ***@**********:~/Downloads$ hashcat -m 0 -a 0 -o cracked.txt target_hashes.txt rockyou.txt hashcat (v3.30) starting... OpenCL Platform #1: Mesa ======================== * Device #1: AMD KAVERI (DRM 2.49.0 / 4.9.0-8-amd64, LLVM 3.9.1), 1427/2039 MB allocatable, 8MCU OpenCL Platform #2: The pocl project ==================================== * Device #2: pthread-AMD A10-7870K Radeon R7, 12 Compute Cores 4C+8G, skipped Hashes: 7 digests; 7 unique digests, 1 unique salts Bitmaps: 16 bits, 65536 entries, 0x0000ffff mask, 262144 bytes, 5/13 rotates Rules: 1 Applicable Optimizers: * Zero-Byte * Precompute-Init * Precompute-Merkle-Demgard * Meet-In-The-Middle * Early-Skip * Not-Salted * Not-Iterated * Single-Salt * Raw-Hash Watchdog: Hardware Monitoring Interface not found on your system Watchdog: Temperature abort trigger disabled Watchdog: Temperature retain trigger disabled * Device #1: build_opts '-I /usr/share/hashcat/OpenCL -D VENDOR_ID=16 -D CUDA_ARCH=0 -D VECT_SIZE=4 -D DEVICE_TYPE=4 -D DGST_R0=0 -D DGST_R1=3 -D DGST_R2=2 -D DGST_R3=1 -D DGST_ELEM=4 -D KERN_TYPE=0 -D _unroll -cl-std=CL1.2' * Device #1: Kernel m00000_a0.b395451b.kernel not found in cache! Building may take a while... clBuildProgram(): CL_BUILD_PROGRAM_FAILURE <unknown>:0:0: in function m00000_m04 void (%struct.pw_t addrspace(1)*, %struct.kernel_rule_t addrspace(1)*, %struct.comb_t addrspace(1)*, %struct.bf_t addrspace(1)*, i8 addrspace(1)*, i8 addrspace(1)*, i32 addrspace(1)*, i32 addrspace(1)*, i32 addrspace(1)*, i32 addrspace(1)*, i32 addrspace(1)*, i32 addrspace(1)*, i32 addrspace(1)*, i32 addrspace(1)*, %struct.plain_t addrspace(1)*, %struct.digest_t addrspace(1)*, i32 addrspace(1)*, %struct.salt_t addrspace(1)*, i8 addrspace(1)*, i32 addrspace(1)*, i32 addrspace(1)*, i32 addrspace(1)*, i32 addrspace(1)*, i32 addrspace(1)*, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32): unsupported initializer for address space * Device #1: Kernel /usr/share/hashcat/OpenCL/m00000_a0.cl build failure. Proceeding without this device.