1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-26 09:58:16 +00:00
Commit Graph

2700 Commits

Author SHA1 Message Date
Russell Jancewicz
f0023229b6 initial rakp-hmac-md5 optmized kernels - pure kernels fall back on copes of m00050 (hmac md5) 2022-11-27 20:29:42 -05:00
Jens Steube
db9455be04 Avoid macro name collision in sha384/sha512 includes 2022-11-27 17:02:49 +01:00
Jens Steube
a7dbd73612 Add Radeon Pro W5700X to more scrypt based hash-modes and fix some metal issues 2022-11-26 13:32:33 +01:00
Jens Steube
80ba8ca18e Rename -m 25850 to 30600 and add missing unit-test 2022-11-23 10:37:12 +01:00
Thomas WACHE
01938c374c Merge remote-tracking branch 'origin/master' into bcrypt_sha256 2022-11-21 10:39:28 +01:00
Thomas WACHE
e159b459a4 Added bcrypt_sha256
This is the hash format used by Rocket.Chat
2022-11-21 10:36:01 +01:00
Jens Steube
346e945045
Merge branch 'master' into ripemd160-hmac 2022-11-19 14:24:23 +01:00
Mr Dromedary
1ed5d7d6d8 Support for GPG keys with SHA-512 as s2k digest algorithm 2022-11-16 15:49:06 +01:00
Jens Steube
66b22fa644 Add support for Metal > 300 and reject support for older version 2022-11-16 14:26:54 +01:00
piwvvo
0bd3fa4fe4 added HMAC-RIPEMD160 2022-11-14 20:18:35 +01:00
piwvvo
f5c53a7e77 added mode 30500 2022-11-14 18:19:41 +01:00
jsteube
3c3a42737a Help jit compilers to optimize -m 10100 main round 2022-11-13 07:30:12 +00:00
Jens Steube
d0e8e27cf1 Fix function declaration of blake2b_init_vector_from_scalar() to use on Apple Metal 2022-11-10 22:32:42 +01:00
Jens Steube
ac98130fef Fix double use of macro HC_INLINE 2022-11-08 19:05:18 +01:00
Jens Steube
f6537a2964 Use inline static on HIP for some hash-modes which benefit from it 2022-11-07 15:35:46 +01:00
jsteube
02698b1c77 Rename -m 1412 to -m 30420, add unit test and optimized kernels 2022-11-03 20:03:20 +00:00
jsteube
cb49bf8ac1 Add pure kernels for -m 11500 2022-10-31 09:45:09 +00:00
jsteube
9dda830647 Add pure kernels for -m 27900 2022-10-30 12:23:02 +00:00
Jens Steube
8e6351cf77
Merge pull request #3482 from davidrozen76/master
Add hash-mode 3730 - Dahua NVR/DVR - md5($salt1.strtoupper(md5($salt2…
2022-10-28 21:41:03 +02:00
jsteube
ff3d9a66d6 Add pure kernels for -m 28000 2022-10-27 06:42:05 +00:00
Pikachu
c81596511c Removed hash-mode 3730 optimized kernel support
Optimized kernels requires handling on data larger than the block size of the underlaying primitive, thus more work is to be done to support optimized kernels.
2022-10-26 19:58:00 +03:00
jsteube
baa3744689 Fixed false negative in updated -m 299xx plugins due to invalid handling of decrypted data.
Fixed #3490
2022-10-26 06:06:08 +00:00
Jens Steube
1f0fb154a5
Merge pull request #3485 from Lars-Saetaberget/lastpass_iv
Add support for non-zero IV to lastpass (-m 6800)
2022-10-24 18:19:46 +02:00
davidrozen76
c8907ebb63
Merge branch 'master' into master 2022-10-23 15:01:12 +03:00
Pikachu
2abe512634 Removed unnecessary changes made to inc_common.h and made the proper adjustments in the OpenCL kernels to inflict the changes 2022-10-23 14:58:15 +03:00
Pikachu
2a19e0c0bd Removed unnecessary parsing of salt2 in pure kernels 2022-10-23 08:08:33 +03:00
Lars Sætaberget
f40dc401bc Add IV support to lastpass (-m 6800)
If you are from the past and need the old functionality, just use zeroes for the IV.

For instance, the old example hash would then become:
82dbb8ccc9c7ead8c38a92a6b5740f94:500:pmix@trash-mail.com:00000000000000000000000000000000
2022-10-21 14:37:24 +02:00
jsteube
2e684efeb7 Update -m 299xx modules to test for 56 bit instead of 32 bit 2022-10-20 15:08:19 +00:00
Pikachu
1a1baf45ac Update inc_common.h
Fixed indentation.
2022-10-20 16:52:34 +03:00
Pikachu
76b6569b84 Update inc_common.h
Fixed indentation.
2022-10-20 16:51:10 +03:00
Pikachu
b5420b40bd Fixed pure kernel on attack mode 0 for hash 3730
Concatenated $salt1 instead of $salt2 to $pass, rendering single hashes uncrackable.
2022-10-20 16:29:20 +03:00
Pikachu
9944e964d6 Add hash-mode 3730 - Dahua NVR/DVR - md5($salt1.strtoupper(md5($salt2.$pass)))
Pure kernel on attack mode 0 doesn't crack when only a single hash is present in the hashfile (otherwise ok) - self-test fails as well.
2022-10-20 12:57:48 +03:00
jsteube
ed3d8f260c Add kernel for -m 29940 2022-10-17 11:11:18 +00:00
jsteube
a6a93c0bcf Add kernel for -m 29930 2022-10-15 10:01:49 +00:00
jsteube
abe47e5fc6 Add kernel for -m 29920 2022-10-13 14:02:18 +00:00
jsteube
04266834db Improve some sanity checks in module for -m 29910 2022-10-11 18:46:02 +00:00
jsteube
932613b316 Add kernel for -m 29910 2022-10-10 08:39:21 +00:00
Banaanhangwagen
7848a1426d
Create m29800-pure.cl 2022-09-16 16:22:27 +02:00
Jens Steube
7ca2627bc2 Added hash-mode: KeePass 1 (AES/Twofish) and KeePass 2 (AES) - keyfile only mode 2022-08-21 18:02:35 +02:00
Jens Steube
a500543729
Merge branch 'master' into 29600_no_hash_copy 2022-08-05 11:03:42 +02:00
philsmd
cccb4fdaf4
no need for OPTS_TYPE_HASH_COPY in -m 29600 2022-07-30 11:58:40 +02:00
philsmd
0822930471
fix length of salt_buf for -m 29600 2022-07-30 11:54:50 +02:00
Konrad Goławski
f7ba563a28 TrueCrypt modules code cleanup 2022-07-25 15:53:51 +02:00
Konrad Goławski
2bd1861a83 New LUKS modules code cleanup 2022-07-22 18:49:02 +02:00
Tom S
23a5059743 fixed development func names (Sorry folks xD!) 2022-07-19 08:30:09 +01:00
Tom S
b0d99924e5 m29600, terra crypto wallet 2022-07-18 17:08:38 +01:00
Jens Steube
aa5becf1ad
Merge pull request #3379 from ventaquil/code-cleanup-pkcs8
24410/24420 modules cleanup
2022-07-17 15:59:30 +02:00
Konrad Goławski
8564be20eb 24410/24420 modules cleanup 2022-07-13 01:37:59 +02:00
Jens Steube
93427cab23
Merge pull request #3352 from philsmd/bitcoin_compat_address
Add -m 28505/28506, Bitcoin WIF, P2SH(P2WPKH)/compat address
2022-07-08 20:42:07 +02:00
Jens Steube
44be5967c9
Merge pull request #3355 from philsmd/murmur1_refactor
refactor -m 25700 = MurmurHash
2022-07-06 17:40:56 +02:00
Jens Steube
b4df5a61f1
Merge pull request #3342 from philsmd/murmur3_refactor
refactor/simplify code of MurmurHash3
2022-07-04 22:05:52 +02:00
philsmd
9f524afb28 refactor -m 25700 = MurmurHash 2022-07-02 11:53:53 +02:00
philsmd
caeffebbe0 Add -m 28505/28506, Bitcoin WIF, P2SH(P2WPKH)/compat address 2022-06-29 18:15:48 +02:00
philsmd
321d606b8e fix whitespace in -m 4410 kernel 2022-06-29 17:27:19 +02:00
Jens Steube
124e1fd40a
Merge pull request #3341 from philsmd/mul_mod128
fixes #3337: rename function mul_mod to mul_mod128 for BigNum lib
2022-06-26 17:14:48 +02:00
Konrad Goławski
ddb2d6e61a New LUKS v1 modules 2022-06-25 13:54:20 +02:00
philsmd
597e0bbe72 refactor/simplify code of MurmurHash3 2022-06-25 11:47:59 +02:00
philsmd
9cfb2abc97 rename function mul_mod to mul_mod128 for BigNum lib 2022-06-25 11:41:59 +02:00
piwvvo
6d941307ce added md5(sha1($pass).$salt) 2022-06-18 18:11:00 +02:00
Jens Steube
c53c28ed3a
Merge pull request #3302 from ventaquil/veracrypt-strings
VeraCrypt strings
2022-06-16 19:41:33 +02:00
Jens Steube
629c5e3169
Merge branch 'master' into hashcat_p2pkh 2022-06-14 15:14:52 +02:00
philsmd
754038ad16
fixes #3090 closes #3091: Added -m 2850x = Bitcoin WIF/P2PKH private key cracking 2022-06-11 11:44:05 +02:00
philsmd
4870a4b247
fixes vector bug in -m 27800 = MurmurHash 3 with -a 3 2022-06-11 11:27:25 +02:00
Jens Steube
15a0ad5903
Merge pull request #3314 from philsmd/29000_no_vector
use sha1_update_utf16beN () also in -m 29000
2022-06-10 18:06:25 +02:00
philsmd
469d2d1f0e
use sha1_update_utf16beN () also in -m 29000 2022-06-08 15:50:23 +02:00
philsmd
7c1fdfa84d
GID_CNT wasn't checked in some kernel functions 2022-06-08 15:33:25 +02:00
Konrad Goławski
fa78439181 VeraCrypt modules changes 2022-06-07 22:27:26 +02:00
Jens Steube
f4e1bdf675
Merge pull request #3293 from ventaquil/truecrypt-strings
TrueCrypt strings
2022-06-07 16:09:53 +02:00
Jens Steube
f930577382
Merge pull request #3309 from philsmd/radmin3_fix_private_local_conv
radmin3: fix private/local type problem
2022-06-06 19:14:49 +02:00
Jens Steube
6886a70692
Merge pull request #3308 from philsmd/radmin3_use_sha1_update_utf16beN
radmin3: use make_utf16beN_S () and sha1_update_utf16beN ()
2022-06-05 19:36:52 +02:00
philsmd
f80eb1ee13
radmin3: fix private/local type problem 2022-06-04 11:51:35 +02:00
philsmd
4241900ec4
radmin3: use make_utf16beN_S () and sha1_update_utf16beN () 2022-06-04 11:17:16 +02:00
philsmd
4ec7b83ddb
add make_utf16beN_S () and sha1_update_utf16beN () 2022-06-04 11:11:40 +02:00
Konrad Goławski
1c531780c1 TrueCrypt modules changes 2022-06-03 13:19:06 +02:00
Jens Steube
e94cc0f64e Fix SIMD use in -m 29100 on CPU 2022-06-02 20:33:18 +02:00
Jens Steube
af5edb06cc Fix SIMD use in -m 29000 on CPU 2022-06-01 12:55:24 +02:00
Jens Steube
b5839644a8
Merge pull request #3300 from philsmd/radmin3_fix_pre
radmin3: use hexadecimal instead of .incbin
2022-05-31 13:02:28 +02:00
Jens Steube
4a7337ba46
Merge pull request #3299 from philsmd/radmin3_fix_datalen_comment
radmin 3: update comment about PRECOMP_DATALEN size
2022-05-31 13:01:46 +02:00
philsmd
ff53873791
radmin3: use hexadecimal instead of .incbin 2022-05-30 18:00:06 +02:00
philsmd
c5e5d63c98
radmin 3: update comment about PRECOMP_DATALEN size 2022-05-30 17:07:07 +02:00
philsmd
79aad28519 radmin 3: remove whitespace, add credits to tests 2022-05-30 16:59:30 +02:00
Jens Steube
e0713889a0 Remove optimized kernels for -m 29200 since they are not faster than pure kernels (due to RSA bottleneck) 2022-05-30 16:43:02 +02:00
Jens Steube
907f0996b1
Merge pull request #3295 from piwvvo/master
Added Radmin3
2022-05-29 19:27:19 +02:00
piwvvo
acfd1a0773 fix -a3 2022-05-28 16:14:27 +02:00
piwvvo
b0ceb41e4a added Radmin3 2022-05-28 15:56:29 +02:00
philsmd
c5bf89a4c3
code style fixes for secp256k1 lib 2022-05-28 11:42:53 +02:00
Jens Steube
9b6c316c35
Merge pull request #3288 from tweqx/master
Add BLAKE2b-512($salt.$pass) and BLAKE2b-512($pass.$salt)
2022-05-26 20:11:33 +02:00
tweqx
42c4c1d72f In the a3 610 kernel single function, apply correctly the last two characters of the salt 2022-05-25 22:59:38 +02:00
tweqx
ebcf5bfe20 Partially revert 9ce30defc: apply salt in the a3 610 multi kernel 2022-05-25 20:43:32 +02:00
philsmd
592c3414b0
fix -m 29100 = Flask -a 0 rule problem 2022-05-24 15:27:26 +02:00
Jens Steube
5581665977 Rename -m 29500 to -m 29100 2022-05-23 15:46:24 +02:00
Jens Steube
2e8ba6ba2c Improve cracking performance of -m 29500 by writing directly into hmac buffers 2022-05-22 18:55:56 +02:00
tweqx
9ce30defcb Don't apply the salt in the a3 BLAKE2b($pass.$salt) optimized OpenCL code 2022-05-21 19:32:39 +02:00
tweqx
0a5575cde5 Add BLAKE2b-512($salt.$pass) and BLAKE2b-512($pass.$salt) 2022-05-21 15:09:05 +02:00
Jens Steube
446d82d8ea Fix -m 29500 in -a 1 mode multihash 2022-05-19 17:27:07 +02:00
Tom Stokes
bd890f3a82
CL upload
renamed to 29500
2022-05-17 09:19:15 +01:00
Jens Steube
e703f88f2e Rename -m 9902 to -m 29000 2022-05-09 16:50:11 +02:00
piwvvo
1ecfb8899f Added sha1($salt.sha1($username.':'.$pass, true)) 2022-05-07 02:09:27 +02:00
Tom Dohrmann
864fee3674 fix DES (14000) for more 16 or more passwords 2022-05-03 21:40:41 +02:00
philsmd
209b3960c7
remove extra leading space in inc_ecc_secp256k1.cl 2022-05-02 15:33:04 +02:00
Jens Steube
78a1048670 Fixed false negative on hash-types 8900, 15700, 22700, 27700 and 28200 if using the HIP backend 2022-04-17 11:47:33 +02:00
Jens Steube
2f4003cded Synchronize SCRYPT code for -m 28200 with -m 8900 as source 2022-04-15 20:33:11 +02:00
Jens Steube
8e532e6162 Fix sha512_hmac_init_global_utf16le_swap(); hmac doesn't have password length 2022-03-31 12:58:01 +02:00
Jens Steube
7b24986096 Add important checks for pw_len == -1 to avoid out of boundary read/writes 2022-03-31 11:45:58 +02:00
Jens Steube
753994bfe0 Fixed password reassembling function reporting an incorrect candidate in some cases when the correct candidate has zero length 2022-03-30 20:52:47 +02:00
Jens Steube
ab300310a0 Improve support for enc_len and aad_len in AES_GCM_GHASH to actually allow 32 bit value (before was only 29 bit) 2022-03-17 09:02:11 +01:00
philsmd
1b770fdea7
fix maximum password length in -O -m 10700 = PDF 2022-03-13 12:59:55 +01:00
Jens Steube
e5b64a29d1 Fix the length positioning of the AAD string used by AES GCM. The implementation was not working at all due to this bug, but also this feature is not used in any kernel so far and thus did not pop up. 2022-03-11 15:29:20 +01:00
Jens Steube
14f78d9910 Improve -m 28400 perfomance slightly because we know the password input is always larger than the maximum supported so we can get rid of the E[] expanding function 2022-03-10 13:15:17 +01:00
Jens Steube
2b89c69cc4
Merge pull request #3202 from Greexter/bitwarden-fix
Added parameter for second PBKDF2 iteration count for -m 23400, fixes #3033
2022-03-09 13:15:39 +01:00
Jens Steube
c94a26b382
Merge pull request #3196 from matrix/Amazon_AWS4-HMAC-SHA256
Added hash-mode: Amazon AWS4-HMAC-SHA256
2022-03-07 16:15:05 +01:00
Jakub
2a5ee51530
Merge branch 'master' into bitwarden-fix 2022-03-06 13:41:32 +01:00
Gabriele Gristina
6f45285919 DPAPI masterkey file v2 (context 3) 2022-03-06 00:55:47 +01:00
Gabriele Gristina
d5c545804b Added hash-mode: DPAPI masterkey file v1 (context 3) 2022-03-06 00:50:46 +01:00
Gabriele Gristina
fe96e26eff Prepare for DPAPI masterkey Context 3 2022-03-06 00:47:14 +01:00
Gabriele Gristina
0d282bbfb3 Added hash-mode: Kerberos 5, etype 18, DB 2022-03-05 12:59:38 +01:00
Gabriele Gristina
580afa985d Added hash-mode: Kerberos 5, etype 17, DB 2022-03-05 12:59:14 +01:00
Jens Steube
96715f7c09
Merge pull request #3197 from matrix/13100_format
Added support to use "John the Ripper" hash format with hash-type 13100
2022-03-04 22:37:26 +01:00
Lars Sætaberget
918b4cf7da Added kernel, module and unit-test for hash-mode 28400: bcryptsha512 2022-03-02 12:32:01 +01:00
Gabriele Gristina
7d636eeef9
Merge branch 'master' into 13100_format 2022-03-01 01:59:44 +01:00
Jakub
0147826870
Merge branch 'master' into bitwarden-fix 2022-03-01 00:29:44 +01:00
Jakub Štrom
2d79bc1a22 remove esalt param 2022-03-01 00:25:06 +01:00
Jakub Štrom
5154807c4e Remove esalt param 2022-03-01 00:01:43 +01:00
Jakub Štrom
9b66c01535 Add parameter for second iteration count 2022-02-28 23:16:12 +01:00
Jakub Štrom
74af4eced6 update module version 2022-02-28 21:47:59 +01:00
Jens Steube
95405ddc2a
Merge pull request #3200 from matrix/18200_format
Added support to use 'John the Ripper' hash format with hash-type 18200
2022-02-28 16:50:39 +01:00
Jakub Štrom
67ba1f2112 add new version fix 2022-02-27 23:29:15 +01:00
Jens Steube
c1df53b47c
Merge pull request #3175 from matrix/metal_vectors_21200
Added missing code to get vectors work with Metal on hash-type 21200
2022-02-27 22:07:30 +01:00
Gabriele Gristina
7e16335999 Added support to use 'John the Ripper' hash format with hash-type 18200 2022-02-27 12:15:17 +01:00
Jens Steube
5df0adc113
Merge pull request #3174 from matrix/metal_vectors_20900
Added missing code to get vectors work with Metal on hash-type 20900
2022-02-26 20:23:06 +01:00
Jens Steube
6618818746
Merge pull request #3173 from matrix/metal_vectors_20710
Added missing code to get vectors work with Metal on hash-type 20710
2022-02-26 20:22:58 +01:00
Gabriele Gristina
ca9656e983 Updated krb5tgs struct on 13100 kernels 2022-02-26 19:39:23 +01:00
Jens Steube
4ed01c2299
Merge pull request #3172 from matrix/metal_vectors_4710
Added missing code to get vectors work with Metal on hash-type 4710
2022-02-25 13:24:34 +01:00
Jens Steube
c356af5831
Merge pull request #3171 from matrix/metal_vectors_4510
Added missing code to get vectors work with Metal on hash-type 4510
2022-02-25 13:24:08 +01:00
Gabriele Gristina
98ce2496d5 Amazon AWS4-HMAC-SHA256 2022-02-23 22:20:18 +01:00
Gabriele Gristina
2d9302f879 Added missing code to get vectors work with Metal on hash-type 21200 2022-02-13 17:47:58 +01:00
Gabriele Gristina
35c7518e21 Added missing code to get vectors work with Metal on hash-type 20900 2022-02-13 17:45:50 +01:00
Gabriele Gristina
d4226059c0 Added missing code to get vectors work with Metal on hash-type 20710 2022-02-13 17:42:44 +01:00
Gabriele Gristina
4070ed0ab5 Added missing code to get vectors work with Metal on hash-type 4710 2022-02-13 10:54:25 +01:00
Gabriele Gristina
5fc3d7550e Added missing code to get vectors work with Metal on hash-type 4510 2022-02-13 10:48:20 +01:00
Gabriele Gristina
ed96ff242e Added missing address space on hash-type 27800 2022-02-13 08:02:29 +01:00
Jens Steube
ae3eeb1713
Merge pull request #3166 from matrix/metal_vectors
Metal: added support for vectors up to 4
2022-02-11 17:55:33 +01:00
Gabriele Gristina
b3d3b31c3e Metal: added support for vectors up to 4 2022-02-10 21:53:08 +01:00
philsmd
251ecc3b0b
fixes #3029: cracking long salts in -m 4510/4710 2022-02-09 16:43:24 +01:00
Gabriele Gristina
b0c6738289 Rename STR() to M2S(), part 2 2022-02-07 13:31:22 +01:00
Jens Steube
be75e4b4ea Rename STR() to M2S() to avoid future collisions and move from kernel source to command line parameter 2022-02-07 09:57:08 +01:00
Gabriele Gristina
9d36245d51 Kernels: Set the default Address Space Qualifier for any pointer, refactored / updated KERN_ATTR macros and rc4 cipher functions, in order to support Apple Metal runtime 2022-02-04 19:54:00 +01:00
Gabriele Gristina
e8fc803cdd Updated includes on hash-type 28600 kernel source 2022-01-23 14:18:02 +01:00
Gabriele Gristina
2c0b4cd20a
Merge branch 'hashcat:master' into metal_prepare_kernelIncludes_v2 2022-01-22 21:06:02 +01:00
b0lek
b1e0434bd7 changed mode number to 28600 2022-01-20 19:31:09 +01:00