1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-08-04 12:56:00 +00:00
Commit Graph

737 Commits

Author SHA1 Message Date
Jens Steube
0c2ed0d199 Update plugins that benefit from an artificially limited register count (NVIDIA).
Update default hash settings to 64MiB:3:4 for Argon2 in -m 70000, following RFC 9106 recommendations.
Add option OPTS_TYPE_THREAD_MULTI_DISABLE: allows plugin developers to disable scaling the password candidate batch size based on device thread count. This can be useful for super slow hash algorithms that utilize threads differently, e.g., when the algorithm allows parallelization. Note: thread count for the device can still be set normally.
Add options OPTI_TYPE_SLOW_HASH_DIMY_INIT/LOOP/COMP: enable 2D launches for slow hash init/loop/comp kernel with dimensions X and Y. The Y value must be set via salt->salt_dimy attribute.
Change autotune kernel-loops start value to the lowest multiple of the target hash iteration count, if kernel_loops_min permits.
Fixed a bug in autotune where kernel_threads_max was not respected during initial init and loop-prepare kernel runs.
2025-06-29 14:39:14 +02:00
Gabriele Gristina
db82714d3f
Merge remote-tracking branch 'upstream/master' into issue_3652_v2 2025-06-26 22:05:53 +02:00
Gabriele Gristina
a5e472c12e
Merge remote-tracking branch 'upstream/master' into issue_4191 2025-06-26 21:43:40 +02:00
Gabriele Gristina
a3afca56b8
Merge remote-tracking branch 'upstream/master' into ripemd320 2025-06-26 21:37:40 +02:00
Jens Steube
e134564a73 Increase default iteration count per kernel invocation from 1024 to 2048
Add support for lower iteration counts per kernel invocation than the default, enabling TMTO for low scrypt configurations, such as N=1024
Use TMTO 2 if it reaches 4 times the device processor count, instead of TMTO 1 always
Improve performance for low scrypt configurations (hash-mode 9300)
Fix unit test for 15700 with correct scrypt configurations
Disable CPU over subscription for SCRYPT based algorithms
2025-06-15 21:14:40 +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
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
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
ed71e41ae1 The Assimilation Bridge (Scrypt-Yescrypt GPU-CPU hybrid plugin -m 70200) 2025-06-01 07:10:00 +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
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
b293b47ad7
Merge pull request #4196 from matrix/test_unit_33300
add test unit for 33300 (HMAC-BLAKE2s-256)
2025-05-26 20:18:17 +02:00
Jens Steube
f70022b898
Merge pull request #4197 from matrix/test_unit_20730
add test unit for 20730 (sha256(sha256($pass.$salt)))
2025-05-22 07:38:57 +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
luke
5535077722 Update test module for m33100 plugin 2025-05-13 10:45:28 +07: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
c0rs
31b50bff7d Delete old module files 2025-05-06 12:44:12 +03:00
c0rs
72b181c1db Fixed code issues and renamed modules 2025-05-06 12:34:52 +03:00
Gabriele Gristina
24fa627f2f Added hash-mode: BestCrypt v4 Volume Encryption 2025-04-27 20:57:43 +02:00
Gabriele Gristina
af6afc06ea add test unit for 20730 (sha256(sha256($pass.$salt))) 2025-04-26 13:15:28 +02:00
Gabriele Gristina
12bc11482b add test unit for 33300 (HMAC-BLAKE2s-256) 2025-04-26 13:07:08 +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
luke
faecf1e034 Added hash-mode: md5($salt.md5($pass).$salt) 2025-04-23 08:48:01 +07:00
Tobias Wiersema
8867a884e4 Add module 30601 for bcrypt-sha256 v2
Module implements hashing according to version 2 of passlib's
bcrypt-sha256. Code is based on modules 30600, 3200, and 28300.

Version 1 of the hash could also be added to this, but the format of the
generated hashes differs significantly in length, because of the
increased verbosity of the new format.

Example hash:
$bcrypt-sha256$v=2,t=2b,r=12$n79VH.0Q2TMWmt3Oqt9uku$Kq4Noyk3094Y2QlB8NdRT8SvGiI4ft2

Reference:
https://passlib.readthedocs.io/en/stable/lib/passlib.hash.bcrypt_sha256.html
2025-02-27 14:57:12 +01:00
Stig Palmquist
ebf2c154c2
Fix problems with Mojolicious "paWlpaWl" module
This commit fixes issues with the 16501 module for Mojolicious cookies.

- Fix parsing of message: The base64 encoded message has '=' characters
  replaced with '-' meaning that three such characters can be encountered
  at the end of the message. This commit sets a fixed size for the
  message and doesnt use a `sep` to parse it.

- Update self-test with real-world mojolicious cookie.

- Update the test module to reflect what's actually happening when
  Mojolicious generates a signed cookie.
2024-11-21 18:04:31 +01:00
qasikfwn
f4da726cec Fix m90030 test module 2024-11-12 12:02:36 +11:00
qasikfwn
9428f288e2 Create m90030 test module 2024-11-12 11:29:10 +11:00
qasikfwn
fff0b5ade2 Create mode for murmurhash64a with zero seed 2024-11-08 10:15:33 +11:00
Gabriele Gristina
3a3453c9dd Added hash-mode: md5(md5(md5($pass.$salt1)).$salt2) 2024-11-03 03:26:57 +01:00
Jakub Kramarz
0700efa015 Fixed padding format in Mojolicious session cookies 2024-10-31 09:16:10 +01:00
qasikfwn
5c876b4352 Use max of 256 for pure pw len 2024-10-28 13:25:37 +11:00
qasikfwn
dff52c41af Adjust perl module constraints 2024-10-23 22:29:30 +11:00
qasikfwn
77c0a9ad33 Fix perl module to use 16 char salts 2024-10-23 22:17:18 +11:00
PenguinKeeper7
677560fb47 Add PBKDF1-SHA1 / m32900
Satisfy https://github.com/hashcat/hashcat/issues/4089
2024-10-17 22:53:02 +01:00
Jakub Kramarz
844f2a92d2 Add support for Mojolicious session cookies 2024-10-10 18:44:32 +02:00
Dylan Evans
99b5fa1338 Create m12150.pm 2024-06-17 20:22:41 -04:00
PenguinKeeper7
4cb22387b3 Added hash-mode: md5(sha1(md5($pass)))
See: https://github.com/hashcat/hashcat/issues/3974
2024-03-29 03:05:33 +00:00
qasikfwn
e307b2e1e9 Perl module verify works now 2024-03-22 16:44:32 +11:00
qasikfwn
30bd857730 WIP Module and test 2024-02-24 14:18:54 +11:00
c0rs
cd74101a04 RACF KDFAES module 2024-01-30 00:20:41 +03:00
Jens Steube
cc9ed0e24b
Merge pull request #3845 from philsmd/26610_verify_fix
verify test fix for -m 26610 = MetaMask Wallet (short)
2023-09-05 08:19:08 +02:00
Jens Steube
4d31e4d6ce
Merge pull request #3846 from philsmd/31900_verify_fix
verify test fix for -m 31900 = MetaMask Mobile Wallet
2023-09-04 15:31:33 +02:00
Jens Steube
8a3fa5c7d9
Merge pull request #3847 from philsmd/32100_verify_fix
verify fix for -m 32100=Kerberos 5,etype 17,AS-REP
2023-09-03 20:18:42 +02:00
Jens Steube
0dcd2a757b
Merge pull request #3848 from philsmd/32200_verify_fix
verify fix for -m 32200=Kerberos 5, etype 18, AS-REP
2023-09-02 20:00:25 +02:00
red
61944481b9
Update m31900.pm
adapt mode's unit-test for longer CT sections
2023-08-29 21:50:12 +02:00
Jens Steube
c2de4961a3
Merge pull request #3843 from philsmd/30700_verify_fix
verify test fix for -m 30700 = Anope IRC Services
2023-08-29 13:45:46 +02:00
Jens Steube
5752ad9ab6
Merge pull request #3842 from philsmd/3730_verify_fix
verify test fix for -m 3730 = md5($s1.uc(md5($s2.$p)))
2023-08-28 11:05:24 +02:00
Jens Steube
20682e55b1
Merge pull request #3841 from philsmd/6800_verify_fix
verify test fix for -m 6800 = LastPass sniffed
2023-08-26 22:06:08 +02:00
philsmd
d462e61e55
verify fix for -m 32200=Kerberos 5,etype 18,AS-REP 2023-08-19 12:09:59 +02:00
philsmd
5b6eecd253
verify fix for -m 32100=Kerberos 5,etype 17,AS-REP 2023-08-19 12:05:49 +02:00
philsmd
b2fc157624
verify test fix for -m 31900 = MetaMask Mobile Wallet 2023-08-19 12:00:29 +02:00
philsmd
dd77925cdd
verify test fix for -m 2661- = MetaMask Wallet (short) 2023-08-19 11:54:49 +02:00
philsmd
9807494f46
verify test fix for -m 30700 = Anope IRC Services 2023-08-19 11:50:10 +02:00
philsmd
1dcc0e2868
verify test fix for -m 3730 = md5($s1.uc(md5($s2.$p))) 2023-08-19 11:45:58 +02:00
philsmd
b71a2d09f2
verify test fix for -m 6800 = LastPass sniffed 2023-08-19 11:40:05 +02:00
philsmd
8743246641
verify test fix for -m 13400/-m 29700 2023-08-19 11:34:57 +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
Gabriele Gristina
567ceefaf0 Added hash-mode: sha512(sha512_bin($pass).$salt) 2023-07-01 23:49:48 +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
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
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
Gabriele Gristina
19a36e73a2 Added hash-mode: md5($salt1.sha1($salt2.$pass)) 2023-06-15 19:01:52 +02:00
Gabriele Gristina
ec13e6123a Added hash-mode: sha512(sha512($pass).$salt) 2023-06-14 22:51:39 +02:00
Jens Steube
3bd8d38402
Merge pull request #3753 from matrix/algo_empireCMS_AdminPassword
Added hash-mode: Empire CMS (Admin password)
2023-06-08 12:47:14 +02:00
Jens Steube
e6314a812f
Merge pull request #3745 from matrix/fix_file_permissions
Fix file permissions for 32100/32200
2023-06-05 10:29:21 +02:00
jsteube
c4462c9de4 Fix missing interpreter in m21400.pm 2023-06-04 12:06:42 +00:00
Gabriele Gristina
53dbc07029 Added hash-mode: Empire CMS (Admin password) 2023-06-03 03:08:29 +02:00
Jens Steube
e39bd75e24
Merge pull request #3740 from matrix/fix_2410_pwMax_limits
Fixed maximum password length in module/test_module of hash-mode 2410
2023-06-02 14:30:45 +02:00
Jens Steube
82d9de8b30
Merge pull request #3739 from matrix/fix_2400_pwMax_limit
Fixed maximum password length in module/test_module of hash-mode 2400
2023-06-01 18:54:32 +02:00
Jens Steube
d3f7c5132c
Merge pull request #3732 from matrix/fix_modules_constraints_NOSALT
Unit Test: removes salt constraints if no salt is used
2023-05-26 17:06:57 +02:00
Gabriele Gristina
1c3ea8506c Fix file permissions for 32100/32200 2023-05-25 22:39:08 +02:00
Jens Steube
0253f50679
Merge pull request #3730 from matrix/algo_sspr
Added support for NetIQ SSPR hashes + Adobe AEM
2023-05-24 10:21:23 +02:00
jsteube
5dcc9a5d8b Rename hash-modes 33100, 33200 to 32100, 32200 2023-05-23 12:31:54 +00:00
Jens Steube
9433d0b61e
Merge pull request #3729 from MWR-CyberSec/add-aes-asrep-plugins
Added plugins for AES128 and AES256 AS-REPs
2023-05-23 14:25:09 +02:00
Gabriele Gristina
b8ea00642e Fixed maximum password length in module/test_module of hash-mode 2410 2023-05-22 01:38:44 +02:00
Gabriele Gristina
82f94593a0 Fixed maximum password length in module/test_module of hash-mode 2400 2023-05-21 22:58:09 +02:00
Gabriele Gristina
a0732495fa add missing md4_hex import in 31600 test module 2023-05-18 21:58:46 +02:00
Gabriele Gristina
423faea47d cleanup test.pl and implement module_get_random_password() in 31500/31600 test modules 2023-05-18 21:38:14 +02:00
Gabriele Gristina
b865c55ab4 Unit Test: removes salt constraints if no salt is used 2023-05-16 21:40:44 +02:00
Gabriele Gristina
f126f3b19e Added support for NetIQ SSPR hashes + Adobe AEM 2023-05-16 20:35:40 +02:00
Christo Erasmus
33581b4155 Added plugins for AES128 and AES256 AS-REPs 2023-05-15 13:32:48 +02:00
Gabriele Gristina
8652720ca9 Unit tests: add test modules for hash-modes 31500 and 31600 and handle them in tools/test.pl 2023-05-11 01:19:59 +02:00
Jens Steube
bdedb609d0
Merge pull request #3709 from OutWrest/master
Added hash-mode: md5(md5(md5($pass)).$salt)
2023-05-09 17:58:40 +02:00
Gabriele Gristina
3109ebc2c7
Merge branch 'master' into fix_31400 2023-05-05 15:40:50 +02:00
Jens Steube
0534fd37fb
Merge pull request #3700 from matrix/fix_28200_testUnit
Fixed minimum password length in module of hash-mode 28200
2023-05-01 17:54:17 +02:00
Outwrest
7785d953dd Added hash-mode: md5(md5(md5()).) 2023-04-28 16:20:53 -05:00
Gabriele Gristina
ce2bd430e3 SecureCRT MasterPassphrase v2: update module, pure kernels and test unit. Add optimized kernels. 2023-04-27 18:16:07 +02:00