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
Gabriele Gristina
2e4a136758
Refactored standard kernel includes in order to support Apple Metal runtime, updated backend, test units and status code
2022-01-18 22:52:14 +01:00
b0lek
415e95ab38
Adding PostgreSQL SCRAM-SHA-256 hash mode
2022-01-17 19:51:20 +01:00
Jens Steube
045ca5cb7a
Fixed method how OPTS_TYPE_AUX* kernels are called in association mode, for instance WPA/WPA2 kernels
2022-01-05 10:46:00 +01:00
Jens Steube
5abda19fa8
Fix missing pws_pos refactorization in inc_types.h
2022-01-05 09:33:24 +01:00
Jens Steube
0abdcb1ae5
Rename GID_MAX to GID_CNT to avoid naming conflict with existing macro
2022-01-04 22:57:26 +01:00
Jens Steube
668d2179cd
Kernels: Refactored standard kernel declaration to use a structure holding u32/u64 attributes to reduce the number of attributes
2022-01-04 18:07:18 +01:00
Jens Steube
6975cc0903
Merge pull request #2293 from seger672/m21420
...
Implement sha256($salt.sha256_bin($pass)) kernel
2021-12-29 11:43:33 +01:00
Jens Steube
0223913ad1
Update m21420_a0-pure.cl
2021-12-29 11:42:43 +01:00
Jens Steube
1f44c1c98f
Add -a0 and -a3 kernel for ha256($salt.sha256_bin($pass))
2021-12-29 00:00:49 +01:00
Gabriele Gristina
861e644057
OpenCL Backend: added workaround to make optimized kernels work on Apple Silicon
2021-12-24 17:30:49 +01:00
Jens Steube
cb7f99ef79
Renamed macro INLINE to HC_INLINE to avoid naming conflict with INLINE on MacOS
2021-12-24 16:40:43 +01:00
Jens Steube
0d304b68f1
Added hash-mode: Teamspeak 3 (channel hash)
2021-12-19 10:33:06 +01:00
Jens Steube
bf865d8bff
Added hash-mode: Exodus Desktop Wallet (scrypt)
2021-12-14 13:46:20 +01:00
Jens Steube
4dc98b334a
Fixed undefined function call to hc_byte_perm_S() in hash-mode 17010 on non-CUDA compute devices
2021-12-08 16:30:32 +01:00
Jens Steube
c01a2b1a9e
Prepare -m 17010 kernel to work on CPU, this is not a full fix
2021-12-07 19:09:39 +01:00
Jens Steube
0bf0414dc5
Prepare -m 17010 kernel to work on HIP, this is not a full fix
2021-12-06 17:05:23 +01:00
Jens Steube
3331c2fad9
Use hc_byte_perm_S only for NV compute device in -m 17010
2021-12-05 22:03:18 +01:00
Jens Steube
3310707eb4
Reduce false positive reports from -m 21800
2021-11-22 19:58:08 +01:00
Jens Steube
b86f30c940
Fix some function declarations in OpenCL/inc_zip_inflate.cl
2021-11-22 19:57:37 +01:00
Jens Steube
eb3b452ab9
Update -m 21800 entropy test
2021-11-20 23:07:38 +01:00
Jens Steube
23db32a117
Update -m 21800 entropy test
2021-11-19 13:10:52 +01:00
Jens Steube
eb4b9d8c99
Electrum Wallet: Added new entropy-based check to test whether the decryption was successful or not
2021-11-18 11:41:55 +01:00
Jens Steube
d2ccd96da6
Added hash-mode: Windows Hello PIN/Password
2021-11-15 16:14:59 +01:00
Jens Steube
4213f83336
Update some typos in modules which caused them to fail if used from benchmark_deep.pl
2021-11-02 09:28:44 +01:00
Jens Steube
518ddeb53a
Fix function declaration in -m 27800 kernel and some typos in MurMur based modules
2021-11-02 08:40:03 +01:00
Jens Steube
89cd5bd78b
Remove inline static keyword in inc_vendor.h for HIP platform since it's the default setting with HIP 4.4
2021-11-02 08:12:13 +01:00
Jens Steube
aee8e559c4
PDF Kernel (10700): Improved performance on AMD GPU by using shared memory for the scratch buffer and disable inlining to save spilling
...
Inspired by https://github.com/reger-men/hashcat/blob/6.2.4/OpenCL/m10700-optimized.cl
2021-10-31 10:05:58 +01:00
Jens Steube
1d33b57144
PDF 1.7 Kernel: Improved performance on AMD GPU by using shared memory for the scratch buffer
...
Inspired by https://github.com/reger-men/hashcat/blob/6.2.4/OpenCL/m10700-optimized.cl
2021-10-30 20:16:45 +02:00
Jens Steube
d85ca3a752
Switch CRC64Jones lookup table to shared memory for speed improvement
2021-10-29 11:50:37 +02:00
Jens Steube
851a129d79
Fix datatypes in inc_zip_inflate.cl
2021-10-23 20:54:49 +02:00
Jens Steube
139ace28a9
Fixed out-of-boundary reads in hash-mode 22400 (AES Crypt) kernel
2021-10-22 19:05:43 +02:00
Jens Steube
c08ad6f587
Merge pull request #3007 from philsmd/whitespace_fix
...
whitespace and code style fixes
2021-10-10 13:33:11 +02:00
Jens Steube
d6f8f3089a
Added hash-mode: CRC64Jones
2021-10-09 11:43:04 +02:00
philsmd
5ef522ed8f
whitespace and code style fixes
2021-10-08 17:38:54 +02:00
Jens Steube
d34616c423
Added hash-mode: CRC32C
2021-10-02 09:57:16 +02:00
Jens Steube
5e48f2a552
Fixed invalid handling of initialization value for -m 11500
2021-09-30 21:30:20 +02:00
Slattz
c717821f84
Add MurmurHash3 module
2021-09-27 21:07:23 +01:00
Jens Steube
db8de70ac8
Merge pull request #2988 from matrix/metamask_big
...
MetaMask: Increase the supported data len from 784b to 3136b and set pw-min to 8
2021-09-19 07:46:47 -04:00
Jens Steube
540c0dde81
Merge pull request #2877 from thatux/25400_salt
...
improve 25400: recover both owner and user; add user password to hash; better test
2021-09-11 20:56:18 +02:00
Jens Steube
aea0071b58
Merge pull request #2965 from philsmd/master
...
fixes #2674 : added -m 27700 = MultiBit Classic .wallet (scrypt)
2021-09-10 20:24:06 +02:00
magnum
2113b3bb7d
Avoid false positives in pkzip formats
...
After inflating data decrypted with an incorrect guess, you may get
Z_STREAM_END (weakly indicating a correct guess) although the output length
doesn't match the expected. If the CRC-32 randomly match as well, we had
a false positive before these tests were added. Crazy yes, but I did
see it happen!
2021-09-08 15:01:45 +02:00
philsmd
8db02091a1
fixes #2674 : added -m 27700 = MultiBit Classic .wallet (scrypt)
2021-09-06 19:54:22 +02:00
Gabriele Gristina
694f0cd7c8
metamask: double the CT len again
2021-09-06 18:17:11 +02:00
Jens Steube
76facb56cf
Replace sha1_update_swap() with sha1_update()
...
Move hc_bytealign_be_S() to kernel
Remove invalid use of NEW_SIMD_CODE
Replace hc_bytealign_be_S() with hc_bytealign_le_S()
Change zero strategy in memzero_le_S()
2021-09-04 18:32:00 +02:00
Jens Steube
af40ec0640
Merge pull request #2907 from fse-a/GPG
...
Added GPG module and kernel
2021-09-04 18:27:54 +02:00
hops
ab164ddba2
Fix HAS_VPERM check in make-/undo_utf16* functions
2021-09-02 11:37:09 +02:00
Gabriele Gristina
6cbc614826
metamask: double the CT len, set pw_min to 8
2021-08-31 16:40:11 +02:00
Your Name
db2e7d1391
m25400 can now recover both a owner-password and user-password (when set) based on a pdf's o-value
...
- added option to add the user-password to the pdf hash as an extra colum
- added pdf test files, both with and without a owner- and user-password
The main todo is to add a recovered user-password to back the hash that's written to the potfile.
Currently I'm printing a recovered password as "(user password=...) after the recovered owner-password.
Similair as the VC PIM is printed. However, this isn't most elegant.
A secondary todo is to verify a recovered user-password based on the u-value,
this could possibly simplify the check whether the recoverd password is a user-password or owner-password.
2021-08-20 10:16:14 +02:00
Jens Steube
9254603960
Fixed out-of-boundary read in PKZIP masterkey kernel if the password candidate has length zero.
...
Now that kernel threads are no longer fixed over the entire session, hardware_power and hardware_power_all
needs to be updated the same way as kernel_power and kernel_power_all for each call to inner2_loop().
2021-08-17 17:38:45 +02:00
Jens Steube
2ca13fb450
Merge pull request #2884 from matrix/vbox
...
Added hash-modes: VirtualBox (PBKDF2-HMAC-SHA256 & AES-128-XTS/AES-256-XTS)
2021-08-14 08:48:20 +02:00
Gabriele Gristina
bbfc401ab8
add more checks in 27500/27600 module_verify_hash
2021-08-13 13:06:32 +02:00
Jens Steube
1f22984313
The hc_bytealign_be_S() was merged too early, but is not yet used anywhere for this platform so we can remove it again.
2021-08-12 15:15:32 +02:00
Gabriele Gristina
38772397cd
fix kernels and modules
2021-08-12 14:43:34 +02:00
Gabriele Gristina
75d3d5503d
merge master
2021-08-12 14:36:51 +02:00
Gabriele Gristina
bd7aa3b364
move modules to 27500 and 27600
2021-08-12 14:33:28 +02:00
Jens Steube
b386ab1c27
Merge pull request #2882 from matrix/vmware_vmx
...
Added hash-mode: VMware VMX (PBKDF2-HMAC-SHA1 + AES-256-CBC)
2021-08-12 08:32:38 +02:00
Jens Steube
f72f2b0f09
Encoding: Truncate password candidates in UTF8 -> UTF16 conversion if it contains an invalid UTF8 byte sequence
2021-08-11 16:44:04 +02:00
Gabriele Gristina
a43e239db8
move to 27400, fix unit test
2021-08-10 16:35:15 +02:00
Jens Steube
4685f04e18
Update m27200_a0-optimized.cl
2021-08-09 18:08:33 +02:00
Jens Steube
3ab37875a0
Update m27200_a1-optimized.cl
2021-08-09 18:07:55 +02:00
therealartifex
8711072838
Fix errors and make recommended changes, set pw_max to 9 for opti kernel
2021-08-06 09:58:19 -04:00
therealartifex
4448ea0f58
Update based on review recommendations
2021-08-05 16:56:08 -04:00
therealartifex
9a7a9f66ef
Add attack mode -a3 optimized kernel
2021-08-05 11:45:17 -04:00
therealartifex
0738820a89
Merge branch 'hashcat:master' into master
2021-08-05 09:29:41 -04:00
Jens Steube
f9f3d5bbd8
Merge pull request #2924 from matrix/snmpv3_opts_if
...
with SNMPv3, follow optimized logic path with pw_len <= 64, update changes/readme entries
2021-08-04 21:06:11 +02:00
Jens Steube
63a0c5a1e1
Merge branch 'master' into snmpv3_sha512
2021-08-04 21:05:42 +02:00
Jens Steube
dde75f2763
Merge pull request #2904 from matrix/snmpv3_sha384
...
Added hash-mode: SNMPv3 HMAC-SHA384-256
2021-08-04 21:04:55 +02:00
Jens Steube
cb69e2d413
Added some HIP version checks, fall back to OpenCL automatically
...
Switched HIP version check from driverVersion to runtimeVersion
Fixed syntax check of HAS_VPERM macro in several kernel includes causing invalid error message for AMD GPUs on Windows
Updated AMD driver requirements
Updated docs/changes.txt with missing changes from previous commits
Fixed invalid vector data type in Murmur Hash in -a 3 mode
Fixed uninitialized variable warning in src/hashes.c
Fixed broken support for --generate-rules-func-min
2021-08-04 20:49:22 +02:00
therealartifex
ff55f31081
Update module, add a0 and a1 optimized kernels
2021-08-04 01:39:47 -04:00
therealartifex
afd3858f36
Merge branch 'hashcat:master' into master
2021-08-03 17:53:28 -04:00
therealartifex
d22bb0e712
Renumber to hash mode 27200
2021-08-03 17:50:21 -04:00
Gabriele Gristina
951ca699cf
with SNMPv3, follow optimized logic path with pw_len <= 64, update changes/readme entries
2021-08-03 22:02:50 +02:00
Gabriele Gristina
81b54c3689
rename to 27300, reduced the amount of memory allocated in gpu for SNMPv3 HMAC-SHA512-384
2021-08-03 21:42:42 +02:00
Gabriele Gristina
87f7bc59e3
reduced the amount of memory allocated in gpu for SNMPv3 HMAC-SHA384-256
2021-08-03 21:29:07 +02:00
Jens Steube
c2a79a4f9e
Merge pull request #2607 from Cablethief/master
...
Cracking NetNTLMv1/v2 using NT hashes
2021-08-03 08:37:12 +02:00
Jens Steube
3d4e2aec43
Work around segmentation fault in Intel JiT 2021.12.6.0.19_160000 compiling hc_enc_next()/hc_enc_next_global()
2021-08-03 08:34:37 +02:00
Michael Kruger
b9992cc119
naughty race condition return
2021-08-02 15:15:05 +02:00
Jens Steube
0810126145
Fix Blake2b in generic mode
2021-08-02 14:12:36 +02:00
Jens Steube
b2d1f42905
Fix self-test functionality if FIXED_LOCAL_SIZE_COMP is used
...
Fix -m 25700 datatype in -a 3 mode and maximum password length in pure kernel mode
Fix -m 12500, 23700 and 23800 if password is exactly length 128
2021-08-02 12:00:17 +02:00
Michael Kruger
3ba02f11ea
Expect Hex input, removed OPTS_TYPE_PT_ALWAYS_HEXIFY, added benchmark mask.
2021-08-02 11:40:14 +02:00
Jens Steube
2a1ee5d218
Merge pull request #2915 from philsmd/master
...
fix buffer sizes for -m 13600 = WinZip
2021-08-02 10:33:21 +02:00
therealartifex
dc662c354e
Update hash-mode number
2021-08-01 21:09:56 -04:00
Jens Steube
f4e52ca533
Add new rule function '3' to switch the case of the first letter after occurrence N of char X
2021-08-01 00:04:10 +02:00
therealartifex
6d4dbffda1
Moved the addition of static dashes to the kernel
2021-07-30 17:13:01 -04:00
therealartifex
c571fe4957
Merge branch 'master' of https://github.com/therealartifex/hashcat
2021-07-30 15:46:58 -04:00
therealartifex
8f7b7b9c14
change signature of kernel functions
2021-07-30 15:46:24 -04:00
therealartifex
1c9add307a
Merge branch 'hashcat:master' into master
2021-07-30 15:07:50 -04:00
Jens Steube
bb1ead3b01
Merge branch 'master' into snmpv3_sha256
2021-07-30 18:57:44 +02:00
Jens Steube
8801855b14
Merge branch 'master' into snmpv3_sha224
2021-07-30 18:56:20 +02:00
therealartifex
73104fafea
Update based on recommendations and examination of mode 19500
2021-07-30 10:40:21 -04:00
therealartifex
33ce4f9720
Add new hash-mode 28200 (SHA1DASH), used in Zynga, 8tracks, and avvo
2021-07-30 10:39:45 -04:00
philsmd
51adbbbe53
fix buffer sizes for -m 13600 = WinZip
2021-07-30 15:23:33 +02:00
pelle
00c9c2ed1b
Added GPG module and kernel.
2021-07-27 20:46:33 +02:00
Jens Steube
c9d79374a5
Add missing u64 vector datatypes mapping for OpenCL
...
Improve u64 usage in OpenCL/inc_zip_inflate.cl
2021-07-27 09:54:15 +02:00
Jens Steube
f6de3e61e0
Merge pull request #2906 from hashcat/master
...
Backports
2021-07-27 09:48:56 +02:00
Jens Steube
e5ac568afb
Merge pull request #2903 from matrix/snmpv3_mod
...
fix snmpv3 md5/sha1, tested with real hashes
2021-07-27 09:47:47 +02:00
Jens Steube
e627288c04
Merge pull request #2897 from matrix/snmpv3_md5_sha1
...
Added hash-mode: SNMPv3 HMAC-MD5-96/HMAC-SHA1-96
2021-07-27 09:47:11 +02:00
Jens Steube
fd2cb59d26
AMD GPUs: On Apple OpenCL platform, we ask for the preferred kernel thread size rather than hard-coding 32
...
ECC secp256k1: Removed the inline assembly code for AMD GPUs because the latest JIT compilers optimize it with the same efficiency
2021-07-27 09:37:31 +02:00
Gabriele Gristina
357c23d7a1
Added hash-mode: SNMPv3 HMAC-SHA384-256
2021-07-27 05:17:26 +02:00
Gabriele Gristina
15b90c953e
Added hash-mode: SNMPv3 HMAC-SHA512-384
2021-07-27 05:14:09 +02:00
Gabriele Gristina
d711c593de
fix to crack real hashes
2021-07-26 23:00:33 +02:00
Gabriele Gristina
d62fa617fb
fix to crack real hashes
2021-07-26 22:45:02 +02:00
Gabriele Gristina
c20ff01c39
using shared buffer between md5 and sha1 SNMPV3_TMP_ELEMS_OPT, fix to crack real hashes
2021-07-26 22:25:15 +02:00
Gabriele Gristina
45fce5d3a3
fix snmpv3 md5/sha1, tested with real hashes
2021-07-26 19:04:30 +02:00
Jens Steube
7f419c68af
Blowfish Kernels: Backport optimizations reducing bank conflicts from bcrypt to Password Safe v2 and Open Document Format (ODF) 1.1
2021-07-26 13:38:39 +02:00
Jens Steube
f3f6cfadb7
Password Safe v2: Backport optimizations reducing bank conflicts in bcrypt
2021-07-26 10:17:21 +02:00
Jens Steube
b66c093c17
Merge pull request #2902 from hashcat/master
...
Backports
2021-07-26 08:18:35 +02:00
Jens Steube
1e3bd2c8a0
AMD GPUs: Add inline assembly code for md5crypt/sha256crypt, PDF 1.7, 7-Zip, RAR3, Samsung Android and Windows Phone 8+
2021-07-26 07:59:12 +02:00
Jens Steube
84a4058edf
Merge pull request #2900 from hashcat/master
...
Backport changes
2021-07-25 10:34:05 +02:00
Gabriele Gristina
58bb2b69b4
Added hash-mode: SNMPv3 HMAC-SHA256-192
2021-07-24 18:57:25 +02:00
Gabriele Gristina
7683ca19a3
Added hash-mode: SNMPv3 HMAC-SHA224-128
2021-07-24 18:36:10 +02:00
Gabriele Gristina
7c8d7f7831
Added hash-mode: SNMPv3 HMAC-MD5-96/HMAC-SHA1-96
2021-07-24 17:03:50 +02:00
Gabriele Gristina
4f10377703
Added hash-mode: SNMPv3 HMAC-MD5-96
2021-07-24 13:56:49 +02:00
Jens Steube
3a31b669b5
Optimize and clean up -m 25200 code.
...
Speed on CPU: 1521 -> 2066 (35% faster)
Speed on GPU: 16610 -> 157754 (9.4 times faster)
Works for all password lengths
2021-07-24 11:58:36 +02:00
Jens Steube
3f6c5a0042
Update module_unstable_warning() for -m 172xx on HIP
2021-07-23 21:09:55 +02:00
Jens Steube
5ffcaa980d
HIP Backend: Added support to support HIP 4.4 and later, but added check to rule out older versions because they are incompatible
2021-07-23 16:04:34 +02:00
Gabriele Gristina
6d83a69f7d
using hex_encode/hex_decode + small fixes
2021-07-22 19:10:34 +02:00
Gabriele Gristina
db7cb16a3b
using sha1_hmac_update_global
2021-07-21 10:19:05 +02:00
Gabriele Gristina
7ea5da51a8
Added hash-mode: SNMPv3 HMAC-SHA1-96
2021-07-20 22:24:35 +02:00
Jens Steube
41156bb0a5
Improve PIM fix for use on macOS
2021-07-20 15:10:49 +02:00
Jens Steube
a026171fb3
Merge pull request #2879 from jtojanen/master
...
Implement gpu_bzero
2021-07-20 13:00:37 +02:00
Jens Steube
777512e862
Fixed false negative in all VeraCrypt hash-modes if both conditions are met: 1. use CPU for cracking and 2. PIM range was used
2021-07-20 11:31:31 +02:00
Jukka Ojanen
4c0f6dd263
Merge branch 'hashcat:master' into master
2021-07-20 12:00:41 +03:00
Jens Steube
92dc57df28
Revert adding make_u32x() for constants to crypto primitives, fails on OpenCL
2021-07-20 10:34:34 +02:00
Jens Steube
bdb7999f07
Switch HIP vector datatypes to OpenCL like ext_vector_type()
2021-07-19 20:24:30 +02:00
Jens Steube
9421e1f89d
Fixed datatype in function sha384_hmac_init_vector_128() that could come into effect if vector datatype was manually set
2021-07-19 15:58:38 +02:00
Jens Steube
0d8b4b74ad
More CUDA special backports to HIP
2021-07-18 22:56:22 +02:00
Jens Steube
257098a301
Get rid of hip/hip_runtime.h dependancy
2021-07-18 21:14:45 +02:00
Gabriele Gristina
977ceba046
Added hash-modes: VirtualBox (PBKDF2-HMAC-SHA256 & AES-128-XTS) and VirtualBox (PBKDF2-HMAC-SHA256 & AES-256-XTS)
2021-07-17 18:38:04 +02:00
Jens Steube
bd92589af1
Optimize BLAKE2B_ROUND() 64 bit rotates
2021-07-17 18:18:22 +02:00
Jens Steube
3becb253d3
Enable vector datatypes for HIP
2021-07-17 18:01:01 +02:00
Jukka Ojanen
a2a1d04bcf
Implement gpu_bzero
2021-07-17 19:00:10 +03:00
Gabriele Gristina
0b19c4a688
fix m26700_comp, cleanup changes.txt
2021-07-17 14:44:36 +02:00
Jens Steube
141b59b80e
Merge pull request #2883 from hashcat/HIP
...
Merge HIP branch into master
2021-07-16 19:54:00 +02:00
Michael Kruger
39e78702e0
Move gid check below SHM stuff to imitate m06232
2021-07-16 16:01:57 +02:00
Jens Steube
45e65dd05a
Backport more ROCm based optimizations to HIP
2021-07-15 23:34:27 +02:00
Gabriele Gristina
0f055d93ba
fix 26700 struct name
2021-07-15 20:59:54 +02:00
Cablethief
431f6ec80e
remove fast hash 27000
2021-07-15 16:43:48 +02:00
Jens Steube
4730cf6e79
WinZip Kernel: Increase supported data length from 8k to 16mb
2021-07-15 16:42:29 +02:00
Cablethief
02a9f3471b
27000 slow hash, same doubts as the first, but now with the shared mem concerns
2021-07-15 16:42:18 +02:00
Jens Steube
d130cc66b3
Optimize ISA code on HIP for V_ALIGNBIT_B32 using a different template for inline assembly
2021-07-15 09:57:41 +02:00
Gabriele Gristina
50aeaa299d
Added hash-mode: VMware VMX (PBKDF2-HMAC-SHA1 + AES-256-CBC)
2021-07-14 19:31:21 +02:00
Jens Steube
cf512faa53
Update large switch() cases in inc_common.cl and some inline assembly common functions for devices managed with HIP backend
2021-07-14 17:06:20 +02:00
Cablethief
a38b5b3e25
27100 Slow hash, have doubts on how to correctly set iterations
2021-07-14 14:58:26 +02:00
Jens Steube
4b68a8fb4f
Merge pull request #2878 from hashcat/master
...
Backports
2021-07-13 22:26:28 +02:00
Jens Steube
4e773f32b2
Fix variable declaration block level in -m 19600 and -m 19700
2021-07-13 22:22:53 +02:00
Jens Steube
7faf6859d6
Backport hand-optimized compiler settings in modules from ROCM to HIP
...
Backport DECLSPEC settings from ROCM to HIP
2021-07-13 20:45:01 +02:00
Jens Steube
674ca7d88f
Add GPU threads to kernel cache checksum because it has an influence on HIP offline compile options
...
Add V_ALIGNBIT_B32 inline assembly wrapper because HIP does not provide amd_bitalign()
2021-07-12 11:27:05 +02:00
Jens Steube
23c3c178bf
Limit max threads per block to 64 to enable offline compiler to make better use if available registers
...
Fix double free() for hip_event1/hip_event2 and hip_stream causes segfault
Replace hc_cuCtxSetCurrent() with hc_cuCtxPushCurrent() in order to align changes with HIP
Add vector datatype operators (if we decide to use them - currently unused)
2021-07-12 09:28:26 +02:00
Jens Steube
1ab56afb9e
Merge pull request #2874 from hashcat/master
...
Backports from master
2021-07-12 08:57:50 +02:00
Jens Steube
5d05c95a2f
Fix address space of crc32tab[] in -m 172xx
2021-07-12 08:56:10 +02:00
Jens Steube
20f7febd4c
Workaround too intensive optimization in -m 2000 using HIPRTC
2021-07-11 15:54:13 +02:00
Jens Steube
1b84a9e53b
Add missing backports from code base v6.2.2
...
Fix context to thread management
Fix missing code in selftest.c, autotune.c, hashes.c, dispatch.c and backend.c
Use IS_HIP depending code makes it easier for future optimization related to inline assembly calls - instead of using IS_CUDA || IS_HIP
See TODO markers for more optimizations / next steps
2021-07-11 12:38:59 +02:00
Jens Steube
a22f8149fc
Merge branch 'HIP' into hip
2021-07-10 21:34:09 +02:00
reger-men
ea7b74389f
First draft HIP Version
2021-07-09 03:50:40 +00:00
Jens Steube
95861aa5d7
Fix password address space in m25600_init kernel
2021-07-07 10:35:41 +02:00
Jens Steube
17a47e390c
Merge branch 'master' of https://github.com/hashcat/hashcat
2021-07-06 13:06:28 +02:00
Jens Steube
f602dd4e4f
Bcrypt-SHA1/MD5 Kernels: Get rid of local memory use for binary to hex conversion to avoid false negatives on several OpenCL runtimes
2021-07-06 12:53:38 +02:00
Jens Steube
29c971187a
Merge pull request #2863 from matrix/metamask
...
Added hash-mode: MetaMask Wallet
2021-07-06 09:49:19 +02:00
Jens Steube
4934e92cda
OpenCL Runtime: Workaround a problem of the AMD OpenCL GPU driver under macOS which results in false negatives due to changes in the kernel crypto library
2021-07-05 11:33:12 +02:00
Gabriele Gristina
7371cbebe7
add min/max data length limits to MetaMask Wallet
2021-07-04 20:14:25 +02:00
Gabriele Gristina
f571329c4f
Added hash-mode: MetaMask Wallet
2021-07-04 15:47:52 +02:00
Jens Steube
badc51f3e7
WPA Kernels: Increased performance by 3.5% for backend devices controlled by CUDA backend
2021-07-04 12:24:55 +02:00
Jens Steube
7366c47447
Added hash-mode: iPhone passcode (UID key + System Keybag)
2021-07-03 19:03:06 +02:00
Jens Steube
56c2243dfb
KeePass: Increase supported size for KeePass 1 databases from 300kB to 16MB
2021-06-30 13:16:03 +02:00
Jens Steube
909d5e64a5
Added hash-mode: AES-128/192/256-ECB NOKDF
...
This mode is probably very rare in real-life scenarios,
but it is a nice template for kernels which do
not use a KDF,
or use AES,
or simple fast hashes with lookup tables
or simple optimized kernels in general
2021-06-26 17:12:10 +02:00
Jens Steube
b2193e1af4
Add rc4_next_16_global() and fix address space of edata buffer in -m 13100 and -m18200
2021-06-23 08:36:17 +02:00
Jens Steube
f43ba9c8d6
minor whitespace fixes
2021-06-22 08:55:44 +02:00
Royce Williams
e4626dc471
Merge branch 'master' of https://github.com/roycewilliams/hashcat
2021-06-21 07:48:13 -08:00
Royce Williams
1e88990b46
minor whitespace fixes, per #2841
2021-06-21 07:47:22 -08:00
Jens Steube
05125eb67c
LM: Workaround JiT compiler bug in -m 3000 on NV leading to false negatives with large amount of hashes
2021-06-18 23:48:39 +02:00
Jens Steube
62397283c1
VeraCrypt: Increase password length support for non-boot volumes from 64 to 128.
...
See https://github.com/hashcat/hashcat/issues/2616 for details.
2021-06-17 09:45:30 +02:00
Jens Steube
8548af5e79
Fixed false negative in hash-mode 15900 (DPAPI masterkey file v2) if password was longer than 64 characters.
...
Bug was also present in SHA512 based TC and VC kernels, but had no effect because maximum password length is 64.
2021-06-16 12:13:04 +02:00