Jens Steube
4d2485db0f
Re-enable warmup on SCRYPT based algorithms for more accurate results.
...
Fix TMTO handling
2025-06-15 18:00:08 +02:00
Jens Steube
53186f0a7f
Added OpenCL/inc_hash_scrypt.cl and src/modules/scrypt_common.c with the goal to reduce code duplication in scrypt based plugins.
...
Updated all scrypt based plugins.
Added condition in OpenCL/inc_hash_scrypt.cl to use local memory in case of HIP platform for a 10% speed boost.
2025-06-14 18:07:50 +02:00
Jens Steube
8494116ded
Added support for WBB4 (Woltlab Burning Board) Plugin [bcrypt(bcrypt($pass))]
...
Thanks for the contribution! You know who you are.
2025-06-13 12:38:06 +02:00
Jens Steube
2e640c4e9f
Speed improvements for all QNX /etc/shadow
...
Speed improvements for all OpenSSH private key (by reducing max upported password length from 256 to 128)
2025-06-12 21:18:24 +02:00
Jens Steube
4e0a728f8f
Add HC_ATTR_SEQ as a workaround, since HIP no longer
...
supports compiler option --gpu-max-threads-per-block
2025-06-12 09:17:02 +02:00
Gabriele Gristina
2485c1fcb5
Module 33700: limit data len to 32 bytes, based on the extraction tool
2025-06-10 00:35:35 +02:00
Gabriele Gristina
86c8323ae2
Added hash-mode: Microsoft Online Account (PBKDF2-HMAC-SHA256 + AES256)
2025-06-08 21:39:29 +02:00
Jens Steube
ed6e967425
Add experimental SCRYPT N-parameter auto-discovery
...
Remove existing tuningdb entries due to salsa_r() core
refactor. Update tuningdb engine to prefer file entries,
when available, over automatic discovery.
Improve memory-free detection per device, default
--backend-device-keepfree is now set to 0.
Old brute-force OpenCL behavior can be restored using
--backend-device-keepfree 100.
2025-06-08 07:32:32 +02:00
Gabriele Gristina
23ab78f333
fix salsa_r() for Apple Metal
2025-06-07 02:29:44 +02:00
Jens Steube
c231b2ec5c
Refactored salsa_r() core code in all SCRYPT kernels
...
Fantastic results on AMD GPUs via HIP
Small improvements on NV GPUs as well
2025-06-06 21:49:49 +02:00
Jens Steube
e8052a004b
- Replace naive 32 bit rotate with funnelshift on CUDA/HIP
...
- Replace V_ALIGNBIT_B32 with funnelshift on HIP
- Improve RC4 performance by preventing inlineing
- Fix leftover code in yescrypt-platform.c
- Update docs/hashcat-assimilation-bridge-development.md
- Only initialize hwmon on host for virtualized backends
- Improve SCRYPT tunings on AMD RX6900XT
2025-06-02 11:50:08 +02:00
Jens Steube
73d817e74f
The Assimilation Bridge (Python plugins -m 72000 and -m 73000)
2025-06-02 10:15:34 +02:00
Jens Steube
b02b1b5033
- Add code to recognize Microsofts OpenCL D3D12 platform
...
- Skip memory-free detection on MS OpenCL platform to avoid crashes
- Improve salt usage of 70100/70200, use decoder/kernels from 8900
- Add REPLACE bridge type support (eg. BRIDGE_TYPE_REPLACE_LOOP)
- Switch 70000, 70100 and 70200 to BRIDGE_TYPE_REPLACE_LOOP
- Add synchronization barriers on d2h copy when using bridges
- Improve speed status display updates when using bridges
- Set AMD_DIRECT_DISPATCH=0 to reduce CPU burning loop on AMD backends
- Set benchmark/selftest hash on 70100/70200 to 16:8:1
2025-06-02 06:59:36 +02:00
Jens Steube
a2a9941475
The Assimilation Bridge (Scrypt-Jane GPU-CPU hybrid plugin -m 70100)
2025-05-31 12:24:44 +02:00
Jens Steube
dc50bdbc72
The Assimilation Bridge (Argon2id plugin -m 70000)
2025-05-30 11:21:40 +02:00
Jens Steube
bce5e1a332
Merge pull request #4188 from matrix/hc_decompress_rar_fp
...
Modules: Check UnpackSize to raise false positive with hc_decompress_rar
2025-05-27 19:45:49 +02:00
Gabriele Gristina
31a19b9acf
Added hash-modes: RIPEMD-320, HMAC-RIPEMD320 (key = $pass), HMAC-RIPEMD320 (key = $salt)
2025-05-26 20:28:13 +02:00
Jens Steube
3dca391770
Merge pull request #4182 from holly-o/blake2s_hmac
...
Add plugin for HMAC-BLAKE2s
2025-05-26 20:17:59 +02:00
Jens Steube
40365a32d0
Merge pull request #4195 from matrix/issue_4175
...
Improve ASN.1 check for RSA/DSA/EC/OpenSSH Private Keys modules (22911, 22921, 22931, 22941, 22951)
2025-05-24 16:29:26 +02:00
Jens Steube
a27fc23a14
Merge pull request #4110 from matrix/fix_AppleSilicon_swap64
...
Update PR #3735
2025-05-24 10:23:50 +02:00
Jens Steube
c9a4609c1f
Rename -m 20713 to -m 20730
2025-05-22 07:38:19 +02:00
Jens Steube
1b279abf36
Merge pull request #4184 from vikerup/module_27013
...
add module 20713 - sha256(sha256(pass+salt))
2025-05-22 07:33:47 +02:00
Jens Steube
686c2ac078
Merge pull request #4199 from matrix/resurrect_PR_2561
...
Added hash-mode: BestCrypt v4 Volume Encryption
2025-05-19 13:57:14 +02:00
Jens Steube
6782d78898
Rename -m 4500x to -m 3350x
2025-05-18 21:07:44 +02:00
Jens Steube
b9938f34d6
Merge pull request #4201 from matrix/RC4_KPA
...
Added hash-modes: RC4 40-bit DropN, RC4 72-bit DropN, RC4 104-bit DropN
2025-05-18 20:39:24 +02:00
Jens Steube
bac6243533
Add sha256_hmac_init_global_utf16le_swap() for later use
2025-05-12 11:22:16 +02:00
Gabriele Gristina
ff6185e9b4
Added hash-modes: RC4 40-bit DropN, RC4 72-bit DropN, RC4 104-bit DropN
2025-05-06 20:44:50 +02:00
holly-o
96cadf80c1
Removed local .DS_Store files
2025-04-28 08:29:56 +01:00
Gabriele Gristina
24fa627f2f
Added hash-mode: BestCrypt v4 Volume Encryption
2025-04-27 20:57:43 +02:00
Gabriele Gristina
6a6dd103f6
fix asn1_check_int_tag build failure with Apple Metal
2025-04-25 19:28:14 +02:00
Gabriele Gristina
cc9ae09b94
Improve ASN.1 check for RSA/DSA/EC/OpenSSH Private Keys modules (22911, 22921, 22931, 22941, 22951)
2025-04-25 19:13:33 +02:00
Gabriele Gristina
fb892e01a8
add workaround for false positives on 22931
2025-04-25 18:02:18 +02:00
luke
7f2df87cc1
rename 32710 to 33100
2025-04-25 11:28:04 +07:00
Gabriele Gristina
fcfd7b00ba
Added hash-mode: md5($salt1.$pass.$salt2)
2025-04-24 21:26:05 +02:00
Gabriele Gristina
21a471139a
avoid processing crc32 if the unpacked size is not the expected
2025-04-24 11:16:54 +02:00
luke
faecf1e034
Added hash-mode: md5($salt.md5($pass).$salt)
2025-04-23 08:48:01 +07:00
Andreas Vikerup
3268b58e24
add module 20713 - sha256(sha256(pass+salt))
2025-04-15 16:25:53 +02:00
holly-o
d2e9eacca8
Added OpenCL files for plugin 67890
2025-04-11 16:11:20 +01:00
sc00bz
ab77b8f5ba
Added support for multiple TOTP codes
2025-02-03 10:35:05 -06:00
PenguinKeeper7
dcfa17100e
Minor typo fix
2024-11-26 00:09:53 +00:00
PenguinKeeper7
3e10c363de
Check additional blocks for safety
2024-11-26 00:08:26 +00:00
Gabriele Gristina
3a3453c9dd
Added hash-mode: md5(md5(md5($pass.$salt1)).$salt2)
2024-11-03 03:26:57 +01:00
Gabriele Gristina
db814b5837
Update PR #3735
2024-10-31 18:29:23 +01:00
Gabriele Gristina
a80d68731e
Kernel: Renamed multiple defines in CAST cipher to fit expected naming convention of the C++ language standard
2024-10-31 18:04:58 +01:00
hashrepublic
bf338e0c12
fixed m21310_sxx
2024-10-29 14:22:29 +01:00
hashrepublic
cb99fcf73b
fixed mode m21310 OpenCL types
2024-10-29 07:27:11 +01:00
jsteube
6716447dfc
Add support for zero-length salts in Electrum $4 and $5
2024-04-20 17:35:45 +00:00
fse-a
47509b2954
Improve performance of scrypt-based algorithms by code reordering.
2024-02-15 15:17:29 +01:00
jsteube
9d1bbd8472
Add support for hash comparison checks to allow slight inaccuracies if so selected in the kernel
2023-11-23 15:19:02 +00:00
jsteube
f8bd133373
Add new function count_bits_32() in inc_common.cl
2023-11-22 03:36:28 +00:00
0x588
a196cfe01c
Update inc_hash_base58.cl
...
Fix the logic error in the loop
2023-11-08 17:08:58 +08:00
jsteube
79d73a7cf8
Fix CRLF in OpenCL/inc_cipher_cast.cl
2023-09-24 20:25:55 +00:00
PenguinKeeper7
4ea43742b9
Update inc_common.cl
2023-09-18 13:13:17 +01:00
Jens Steube
2801527d81
Merge pull request #3873 from piru/master
...
Raise Flask Session Cookie (-m 29100) max data length to 120 chars.
2023-09-16 15:54:39 +02:00
jsteube
5def8a3534
Rewrote -m 32700 kernel to use u32 datatype instead of u8
2023-09-14 06:28:19 +00:00
Jens Steube
a74270b120
Remove SHA1_TRANSFORM_SWAP modificaton in inc_hash_sha1.cl and use replacement of sha1_final in -m 32700 sources as replacement
2023-09-13 07:50:20 +00:00
Jens Steube
573423af97
Rewrite -m 32700 to use salt_iter and loop kernel as expected in slow hash modes
2023-09-12 07:10:31 +00:00
Harry Sintonen
8ae46f4487
Raise Flask Session Cookie (-m 29100) max data length to 120 chars.
2023-09-11 13:54:02 +03:00
Jens Steube
992fb9047c
Fix -m 32700 kernel compile for ROCM/HIP
2023-09-11 09:01:53 +00:00
Jens Steube
42f2286d16
Merge pull request #3742 from hans-vh/kremlin
...
Add support for Kremlin Encrypt (-m 32700)
2023-09-08 15:28:20 +02:00
jsteube
d4c9c4fae4
Make base64_encode_three_bytes_better() in -m 32500 more readable
2023-09-07 15:00:30 +00:00
red
0bc3bb3ada
Update m31900-pure.cl
...
extend comp to reduce false positives
2023-08-29 21:45:18 +02:00
Jens Steube
ede390c36a
Merge pull request #3839 from neheb/cas
...
fix some const-qual warnings
2023-08-24 13:51:28 +02:00
Jens Steube
3cd44e3868
Add missing OpenCL/inc_cipher_cast.cl and moved code from the .h to it
2023-08-22 07:10:06 +00:00
Rosen Penev
ae07d65f34
clang-tidy: remove useless casts
...
Now that const was fixed, pointless casts can be removed.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-08-20 21:10:34 -07:00
Rosen Penev
795674c939
fix some const-qual warnings
...
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2023-08-20 20:55:54 -07:00
Jens Steube
9c206b7c42
Fix missing AES_GCM_decrypt in inc_cipher_aes-gcm.cl
2023-08-19 20:46:39 +00:00
Jens Steube
f2a9198e05
Fix missing DECLSPEC in -m 32500
2023-08-17 06:34:53 +00:00
Hans
219b71c5ae
Move Kremlin Encrypt to mode 32700
2023-08-15 13:48:37 +02:00
Hans
9446a589b0
Move Kremlin Encrypt to mode 32600
2023-08-14 09:51:13 +02:00
Rosen Penev
01a8f77bf4
clang-tidy: use const pointer
...
Found with readability-non-const-parameter
2023-08-10 18:35:24 -07:00
Jens Steube
1259ea03bd
Merge branch 'master' into DCC2-NT
2023-08-07 18:02:57 +02:00
Jens Steube
446178c455
Merge branch 'master' into DCC-NT
2023-08-06 22:48:42 +02:00
jsteube
c2065d158c
Renamed hash-mode 6150 to 32600
2023-08-03 20:55:47 +00:00
Jens Steube
92e9247995
Merge pull request #3813 from PenguinKeeper7/CubeCart
...
Added hash-mode: CubeCart (whirlpool($salt.$pass.$salt))
2023-08-02 22:39:26 +02:00
PenguinKeeper7
abe6fd76c4
Added hash-mode: CubeCart (whirlpool($salt.$pass.$salt))
2023-07-28 18:43:21 +01:00
justpretending
b2f14f2f5d
Fix some typos
2023-07-27 23:11:55 +07:00
jsteube
f924ee801b
Update inc_cipher_cast.h to make use of hashcat multi-platform compatible rotl32_S() instead of rotate()
2023-07-23 06:37:00 +00:00
jsteube
7aca373752
Fix collision of scalar rotate() and simd rotate() in hash modes like 8900
2023-07-22 14:02:47 +00:00
jsteube
8b559ce563
Fix module_hash_encode() in hash-mode 32500
2023-07-08 18:21:40 +00:00
jsteube
b1afc4a9aa
Rename hash-mode 98765 to 32500 and add some missing memory initialization
2023-07-07 18:13:58 +00:00
Hans
7b4c2012b7
Move SHA1 code from kernel to inc_hash_sha1.cl
2023-07-07 14:56:39 +02:00
Jens Steube
4729342571
Merge pull request #3746 from JoeMcGeever/master
...
Plugin for issue #2994 - dogechain implementation
2023-07-06 15:38:52 +02:00
JoeMcGeever
10dc0df264
Updated hash format to be the same as the suggested @philsmd
2023-07-03 10:54:29 +01:00
Gabriele Gristina
567ceefaf0
Added hash-mode: sha512(sha512_bin($pass).$salt)
2023-07-01 23:49:48 +02:00
jsteube
ed4e209276
Change S-boxes in CAST5 from constant mem to shared mem
2023-07-01 19:46:45 +00:00
Jens Steube
1200bab046
Merge pull request #3776 from thatux/gpg-cast5
...
Add GPG (CAST5 (SHA-1($pass)))
2023-06-30 19:47:13 +02:00
Your Name
5927fea637
make it work with Apple Metal
2023-06-30 10:34:41 +02:00
Gabriele Gristina
b6ae3d867e
Added hash-mode: md5(sha1($salt.$pass))
2023-06-27 02:58:20 +02:00
Jens Steube
f5ec183552
Merge pull request #3773 from matrix/algo_2630
...
Added hash-mode: md5(md5($pass.$salt))
2023-06-26 20:04:40 +02:00
Your Name
cb2890c108
working m17040
2023-06-26 13:34:27 +02:00
Your Name
fae1994588
based m17040 of m17010
2023-06-26 11:50:53 +02:00
Gabriele Gristina
c31d8d2b95
Added hash-mode: md5(md5($pass.$salt))
2023-06-24 03:25:00 +02:00
Gabriele Gristina
40f087923f
Added hash-mode: md5(sha1($pass.$salt))
2023-06-24 00:21:33 +02:00
Jens Steube
2d60359827
Merge pull request #3766 from matrix/algo_RSA_NetWitness
...
Added hash-mode: RSA Security Analytics / NetWitness (sha256)
2023-06-19 19:42:15 +02:00
Jens Steube
58155986cf
Merge pull request #3765 from philsmd/master
...
fix trailing spaces
2023-06-18 16:19:40 +02:00
Jens Steube
82cf3b63b9
Merge pull request #3764 from matrix/algo_21310
...
Added hash-mode: md5($salt1.sha1($salt2.$pass))
2023-06-17 16:57:49 +02:00
Gabriele Gristina
e506823772
Added hash-mode: RSA Security Analytics / NetWitness (sha256)
2023-06-17 14:41:17 +02:00
philsmd
79869badf1
fix trailing spaces
2023-06-17 10:08:55 +02:00
Gabriele Gristina
19a36e73a2
Added hash-mode: md5($salt1.sha1($salt2.$pass))
2023-06-15 19:01:52 +02:00