hashcat Forum
Freebsd 12/Ryzen 7 1700/ RX580 - 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: Freebsd 12/Ryzen 7 1700/ RX580 (/thread-8019.html)



Freebsd 12/Ryzen 7 1700/ RX580 - pestalent1 - 12-17-2018

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


RE: Freebsd 12/Ryzen 7 1700/ RX580 - undeath - 12-17-2018

pocl and hashcat don't work together well. If possible try to install rocm. I'm not sure if rocm works on FreeBSD.


RE: Freebsd 12/Ryzen 7 1700/ RX580 - pestalent1 - 12-17-2018

(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.


RE: Freebsd 12/Ryzen 7 1700/ RX580 - slyexe - 12-18-2018

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----