Freebsd 12/Ryzen 7 1700/ RX580
#1
I hope someone can help,
I've installed hascat (5.0.0,1) on my Freebsd 12 box with a Ryzen 7 1700 and RX580. I've also installed clover (18.1.8), pocl (0.14) and ocl-icd (2.2.12) for my OpenCL. When I execute:

Code:
hashcat -m 16800 pmkid_newrion_00-00-00-54-3E-A6_2018-12-16T09-16-53.16800 -a 0 --kernel-accel=1 -w 4 --force 'american-english'

hashcat (v4.2.1) starting...

amdgpu_device_initialize: amdgpu_get_auth (1) failed (-1)
amdgpu: amdgpu_device_initialize failed.
do_winsys_init: DRM version is 3.10.0 but this driver is only compatible with 2.12.0 (kernel 3.2) or later.
clGetDeviceIDs(): CL_DEVICE_NOT_FOUND

clGetDeviceIDs(): CL_DEVICE_NOT_FOUND

OpenCL Platform #1: The pocl project
====================================
* Device #1: AMD Ryzen 7 1700 Eight-Core Processor, 32768/34714 MB allocatable, 16MCU

OpenCL Platform #2: Mesa, skipped or no OpenCL compatible devices found.

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

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

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

Watchdog: Temperature abort trigger disabled.

Dictionary cache built:
* Filename..: american-english
* Passwords.: 102401
* Bytes.....: 972398
* Keyspace..: 102401
* Runtime...: 0 secs

[s]tatus [p]ause [b]ypass [c]heckpoint [q]uit => Bus error
root@vmbsd:/mnt/bhyve/Hash #
 [/b]


Is there a error on my part, or is Freebsd OpenCl just not up to snuff?


When I installed hashcat ,it said if OpenCL was unavailable to use hashcat-Legacy. I installed hashcat-legacy. I cannot figure out how to start it, I tried:

Code:
root@vmbsd:/mnt/bhyve/Hash # hashcat-legacy

hashcat-legacy: Command not found.


I can start hashcat from this directory, what am I missing??

Thanks
#2
pocl and hashcat don't work together well. If possible try to install rocm. I'm not sure if rocm works on FreeBSD.
#3
(12-17-2018, 02:01 PM)undeath Wrote: pocl and hashcat don't work together well. If possible try to install rocm. I'm not sure if rocm works on FreeBSD.
 Thanks, looks like rocm has not made it to FreeBSD yet. Could you give me a heads up or a link on how to start hascat-legacy, I seem to only be able to find info about the newer versions.
#4
Hashcat Legacy will not support PMKIDs so you will need to fallback to hccaps which have a potential of failing.
You will need to use aircrack to convert your capture files.

aircrack-ng -J HCCAP_FILE CAP_FILE.CAP

https://hashcat.net/files/hashcat-2.00.7z

extract the 7z.
cd hashcat-2.00
./hashcat-cli64.bin -m 2500 -a 0 xxx.hccap wordlist.txt

I'd also check if version 3.xx may work which atleast makes use of hccapx but still no PMKIDs

https://hashcat.net/ ---scroll to the verrrrry bottom----