Skip to content

Instantly share code, notes, and snippets.

@mator
Last active August 14, 2023 09:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mator/319a8a3d1c2bcd2fb4ebfd96c78da941 to your computer and use it in GitHub Desktop.
Save mator/319a8a3d1c2bcd2fb4ebfd96c78da941 to your computer and use it in GitHub Desktop.
macbook pro, 16 inch 2023, Apple M2 Max + hashcat
see as well
https://gist.github.com/mator/783c6672158bd0d584b0a6c87f1d681c
running on macbook pro, 16" 2023, Apple M2 Max, Ventura 13.5
% brew install hashcat
...
% hashcat -I
hashcat (v6.2.6) starting in backend information mode
Metal Info:
===========
Metal.Version.: 306.7.5
Backend Device ID #1 (Alias: #2)
Type...........: GPU
Vendor.ID......: 2
Vendor.........: Apple
Name...........: Apple M2 Max
Processor(s)...: 38
Clock..........: N/A
Memory.Total...: 21845 MB (limited to 8192 MB allocatable in one block)
Memory.Free....: 10880 MB
Local.Memory...: 32 KB
Phys.Location..: built-in
Feature.Set....: macOS GPU Family 2 v1
Registry.ID....: 1136
Max.TX.Rate....: N/A
GPU.Properties.: headless 0, low-power 0, removable 0
OpenCL Info:
============
OpenCL Platform ID #1
Vendor..: Apple
Name....: Apple
Version.: OpenCL 1.2 (Jun 23 2023 20:24:12)
Backend Device ID #2 (Alias: #1)
Type...........: GPU
Vendor.ID......: 2
Vendor.........: Apple
Name...........: Apple M2 Max
Version........: OpenCL 1.2
Processor(s)...: 38
Clock..........: 1000
Memory.Total...: 21845 MB (limited to 2048 MB allocatable in one block)
Memory.Free....: 10880 MB
Local.Memory...: 32 KB
OpenCL.Version.: OpenCL C 1.2
Driver.Version.: 1.2 1.0
% mkdir -p ~/.cache/hashcat/kernels/
% hashcat -b -d 2
hashcat (v6.2.6) starting in benchmark mode
Benchmarking uses hand-optimized kernel code by default.
You can use it in your cracking session by setting the -O option.
Note: Using optimized kernel code limits the maximum supported password length.
To disable the optimized kernel code in benchmark mode, use the -w option.
* Device #2: Apple's OpenCL drivers (GPU) are known to be unreliable.
You have been warned.
METAL API (Metal 306.7.5)
=========================
* Device #1: Apple M2 Max, skipped
OpenCL API (OpenCL 1.2 (Jun 23 2023 20:24:12)) - Platform #1 [Apple]
====================================================================
* Device #2: Apple M2 Max, GPU, 10880/21845 MB (2048 MB allocatable), 38MCU
Benchmark relevant options:
===========================
* --backend-devices=2
* --optimized-kernel-enable
-------------------
* Hash-Mode 0 (MD5)
-------------------
Speed.#2.........: 17261.1 MH/s (1.76ms) @ Accel:512 Loops:1024 Thr:64 Vec:1
----------------------
* Hash-Mode 100 (SHA1)
----------------------
Speed.#2.........: 6976.4 MH/s (4.37ms) @ Accel:1024 Loops:1024 Thr:32 Vec:1
---------------------------
* Hash-Mode 1400 (SHA2-256)
---------------------------
Speed.#2.........: 2538.1 MH/s (12.04ms) @ Accel:256 Loops:1024 Thr:128 Vec:1
---------------------------
* Hash-Mode 1700 (SHA2-512)
---------------------------
Speed.#2.........: 4134.5 MH/s (7.37ms) @ Accel:128 Loops:1024 Thr:256 Vec:1
-------------------------------------------------------------
* Hash-Mode 22000 (WPA-PBKDF2-PMKID+EAPOL) [Iterations: 4095]
-------------------------------------------------------------
Speed.#2.........: 306.8 kH/s (24.30ms) @ Accel:512 Loops:1024 Thr:64 Vec:1
-----------------------
* Hash-Mode 1000 (NTLM)
-----------------------
Speed.#2.........: 29065.8 MH/s (1.03ms) @ Accel:256 Loops:1024 Thr:128 Vec:1
---------------------
* Hash-Mode 3000 (LM)
---------------------
Speed.#2.........: 2062.8 MH/s (14.81ms) @ Accel:1024 Loops:1024 Thr:32 Vec:1
--------------------------------------------
* Hash-Mode 5500 (NetNTLMv1 / NetNTLMv1+ESS)
--------------------------------------------
Speed.#2.........: 18442.9 MH/s (1.65ms) @ Accel:512 Loops:1024 Thr:64 Vec:1
----------------------------
* Hash-Mode 5600 (NetNTLMv2)
----------------------------
Speed.#2.........: 1252.2 MH/s (24.42ms) @ Accel:256 Loops:1024 Thr:128 Vec:1
--------------------------------------------------------
* Hash-Mode 1500 (descrypt, DES (Unix), Traditional DES)
--------------------------------------------------------
Speed.#2.........: 3414.7 MH/s (8.93ms) @ Accel:512 Loops:1024 Thr:64 Vec:1
------------------------------------------------------------------------------
* Hash-Mode 500 (md5crypt, MD5 (Unix), Cisco-IOS $1$ (MD5)) [Iterations: 1000]
------------------------------------------------------------------------------
Speed.#2.........: 7033.1 kH/s (4.11ms) @ Accel:512 Loops:1000 Thr:64 Vec:1
----------------------------------------------------------------
* Hash-Mode 3200 (bcrypt $2*$, Blowfish (Unix)) [Iterations: 32]
----------------------------------------------------------------
Speed.#2.........: 10414 H/s (87.95ms) @ Accel:128 Loops:32 Thr:8 Vec:1
--------------------------------------------------------------------
* Hash-Mode 1800 (sha512crypt $6$, SHA512 (Unix)) [Iterations: 5000]
--------------------------------------------------------------------
* Device #2: Skipping (hash-mode 1800)
This is due to a known OpenCL runtime and/or device driver issue (not a hashcat issue)
You can use --force to override, but do not report related errors.
--------------------------------------------------------
* Hash-Mode 7500 (Kerberos 5, etype 23, AS-REQ Pre-Auth)
--------------------------------------------------------
Speed.#2.........: 204.6 MH/s (74.72ms) @ Accel:1024 Loops:512 Thr:32 Vec:1
-------------------------------------------------
* Hash-Mode 13100 (Kerberos 5, etype 23, TGS-REP)
-------------------------------------------------
Speed.#2.........: 3263.9 MH/s (9.36ms) @ Accel:1024 Loops:1024 Thr:32 Vec:1
---------------------------------------------------------------------------------
* Hash-Mode 15300 (DPAPI masterkey file v1 (context 1 and 2)) [Iterations: 23999]
---------------------------------------------------------------------------------
Speed.#2.........: 54985 H/s (23.11ms) @ Accel:512 Loops:1024 Thr:64 Vec:1
---------------------------------------------------------------------------------
* Hash-Mode 15900 (DPAPI masterkey file v2 (context 1 and 2)) [Iterations: 12899]
---------------------------------------------------------------------------------
Speed.#2.........: 245.1 kH/s (4.60ms) @ Accel:128 Loops:1024 Thr:128 Vec:1
------------------------------------------------------------------
* Hash-Mode 7100 (macOS v10.8+ (PBKDF2-SHA512)) [Iterations: 1023]
------------------------------------------------------------------
Speed.#2.........: 8350.7 kH/s (1.44ms) @ Accel:512 Loops:1023 Thr:32 Vec:1
---------------------------------------------
* Hash-Mode 11600 (7-Zip) [Iterations: 16384]
---------------------------------------------
Speed.#2.........: 350.9 kH/s (21.03ms) @ Accel:1024 Loops:4096 Thr:32 Vec:1
------------------------------------------------
* Hash-Mode 12500 (RAR3-hp) [Iterations: 262144]
------------------------------------------------
Speed.#2.........: 33719 H/s (1.25ms) @ Accel:512 Loops:16384 Thr:64 Vec:1
--------------------------------------------
* Hash-Mode 13000 (RAR5) [Iterations: 32799]
--------------------------------------------
Speed.#2.........: 31536 H/s (29.34ms) @ Accel:1024 Loops:1024 Thr:32 Vec:1
--------------------------------------------------------------------------------
* Hash-Mode 6211 (TrueCrypt RIPEMD160 + XTS 512 bit (legacy)) [Iterations: 1999]
--------------------------------------------------------------------------------
* Device #2: Skipping (hash-mode 6211)
This is due to a known OpenCL runtime and/or device driver issue (not a hashcat issue)
You can use --force to override, but do not report related errors.
-----------------------------------------------------------------------------------
* Hash-Mode 13400 (KeePass 1 (AES/Twofish) and KeePass 2 (AES)) [Iterations: 24569]
-----------------------------------------------------------------------------------
Speed.#2.........: 86478 H/s (14.37ms) @ Accel:512 Loops:1024 Thr:64 Vec:1
----------------------------------------------------------------
* Hash-Mode 6800 (LastPass + LastPass sniffed) [Iterations: 499]
----------------------------------------------------------------
* Device #2: Skipping (hash-mode 6800)
This is due to a known OpenCL runtime and/or device driver issue (not a hashcat issue)
You can use --force to override, but do not report related errors.
--------------------------------------------------------------------
* Hash-Mode 11300 (Bitcoin/Litecoin wallet.dat) [Iterations: 200459]
--------------------------------------------------------------------
Speed.#2.........: 3144 H/s (48.45ms) @ Accel:512 Loops:1024 Thr:64 Vec:1
Started: Mon Aug 14 13:45:38 2023
Stopped: Mon Aug 14 13:54:57 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment