1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-24 23:48:39 +00:00
Commit Graph

2796 Commits

Author SHA1 Message Date
Your Name
2b5d5e93ea Merge branch 'master' into correct-m25400-m26610-plaintextcheck 2023-03-08 21:06:15 +01:00
Your Name
db9debdd19 resolve merge conflicts with master 2023-03-08 21:06:11 +01:00
Your Name
70885319f3 m26610 now also checking second block of plaintext, moved AES_GCM_decrypt to seperate function 2023-03-08 00:50:40 +01:00
Your Name
b035c6e408 m26610 second block of AES-GCM also decrypting 2023-03-08 00:15:51 +01:00
Your Name
6bc86d06b1 remove debug printfs, added changes.txt 2023-03-07 23:50:49 +01:00
Your Name
45b803988c 25400 working with 32 bytes plaintext check 2023-03-07 23:38:09 +01:00
jsteube
d5a74b2536 Add new function is_valid_printable_32() to check if 32 bit integer consist only of printable characters and update -m 26610 as example use case 2023-03-07 21:43:44 +00:00
Your Name
b01f4e5c2e corrected ASCII plaintext check from >=20 to >=0x20 2023-03-07 21:53:11 +01:00
jsteube
51084ad6ad Fix out-of-boundary write in -m 17020 2023-03-05 17:39:59 +00:00
jsteube
5236f3bd73 Add optimized kernel for new hash-mode 31300 MS SNTP 2023-03-03 10:33:35 +00:00
jsteube
ad3dca2a90 Module and Pure kernels for new hash-mode -m 31300 SNTP-MS 2023-03-02 20:07:24 +00:00
jsteube
f7103f5116 Added hash-mode: GPG (AES-128/AES-256 (SHA-256($pass))) 2023-03-02 09:33:27 +00:00
jsteube
a5d94c1f0d Added hash-mode: Veeam VBK 2023-03-01 11:35:37 +00:00
Jens Steube
ce934be975
Merge pull request #3628 from thatux/m26600_short_data
Implement metamask 26610 short data
2023-02-28 10:12:00 +01:00
Your Name
2b80abde6d add comments on possible improvements 2023-02-27 15:32:59 +01:00
Your Name
dbe99851ec added comments on speeding up the attack by reducing the ciphertext buffersize 2023-02-26 13:52:23 +01:00
Your Name
5208447e72 change hash-signature for 26610 (incompatible with 26600), remove debug print statements in attacks, add comments, add reference data 2023-02-26 13:31:38 +01:00
jsteube
d08f3cf7f6 Fix SM3 DGST_POS ordering 2023-02-26 08:49:08 +00:00
Your Name
248c4afc09 test hash works 2023-02-25 00:51:14 +01:00
jsteube
ea6173b307 Optimize SM3 for use on platforms that support native bitselect() 2023-02-24 21:56:55 +00:00
Zgzorx
6102347ab0 First performance optimization for SM3 hash on a0 and a1 optimized kernels 2023-02-22 11:44:42 +01:00
jsteube
9acfc26d81 First performance optimization for SM3 hash 2023-02-21 15:44:21 +00:00
Zgzorx
20c6a70b59 Rename SM3 module : m31100 2023-02-20 14:41:22 +01:00
Zgzorx
c85d817192
Merge branch 'hashcat:master' into sm3 2023-02-20 13:59:07 +01:00
jsteube
4fe37f5445 Fix -m 31000 some formatting and missing cracks in optimized mode -a 1 and -a 3 if password length > 32 2023-02-19 21:41:15 +00:00
loukabvn
a3ab8a2181 Correct some errors from copy-pastes 2023-02-17 18:58:42 +01:00
loukabvn
180dcb5769 Cleaning files and change DGST_Ri after tests 2023-02-17 17:41:42 +01:00
Zgzorx
be65cca4b4 Cleaned files for PR 2023-02-17 16:11:30 +01:00
Zgzorx
67a4f699de a3-optimized functionnal 2023-02-17 15:48:00 +01:00
Zgzorx
1a00a391f0 First a3-optimized draft 2023-02-17 15:14:10 +01:00
loukabvn
73500a7512 Fix a0-optimized and add a1-optimized for SM3 2023-02-17 14:05:11 +01:00
loukabvn
b11b4b1b1b Fixing inc_hash_sm3.h and add a0-optimized draft 2023-02-16 17:19:35 +01:00
loukabvn
29e8766fa3 update inc_hash_sm3, comment and make code clearer 2023-02-16 15:22:43 +01:00
Zgzorx
68c95c056d Using update_swap 2023-02-16 12:02:36 +01:00
Zgzorx
9c6b533efd Added sm3 a1 and a3 pure first draft 2023-02-16 11:03:10 +01:00
loukabvn
2bc70388d3 Creation of branch SM3 and adding files for basic implementation 2023-02-16 10:38:11 +01:00
Zgzorx
008faee326
Merge branch 'hashcat:master' into blake 2023-02-14 11:48:07 +01:00
jsteube
9ec6392c92 Fix untested byte range coverage in UTF8 to UTF16 converter 2023-02-14 09:46:28 +00:00
bacqube2
0e7fdd3c55 Fixing bad vconv32_t usage 2023-02-14 10:21:16 +01:00
bacqube2
a3b4162e5f Rename module 35000 : 31000 2023-02-13 16:40:35 +01:00
Zgzorx
6fcc8177cc
Merge branch 'hashcat:master' into blake 2023-02-13 16:25:41 +01:00
Jens Steube
57953bec7c Backport changes to md4_update_vector_utf16le() in -m 1000 to -m 30, -m 40 and -m 70 2023-02-11 15:59:45 +01:00
Jens Steube
730b1cd5cc Update UTF8 to UTF16 conversion to match RFC 3629 2023-02-10 23:28:23 +01:00
Louka
816a246c76 add blake2s a1-optimized 2023-02-09 17:23:00 +01:00
bacqube2
c80ac0b73f Merge remote-tracking branch 'origin/master' into blake 2023-02-09 17:01:14 +01:00
Louka
4770498960 add blake2s a0-optimized and a1-pure 2023-02-09 16:46:34 +01:00
bacqube2
e6a3389326 m35000_a3-optimized 2023-02-09 16:45:53 +01:00
bacqube2
bd8ebc365b Suppression prtinf et ajout m35000_a3-optimized 2023-02-09 16:26:07 +01:00
jsteube
19b3ca87bc Backport changes to md4_update_vector_utf16le() in -m 1000 to -m 1100 and -m 5500 2023-02-09 15:18:58 +00:00
bacqube2
82f799950a m35000_a3-pure commit initial 2023-02-09 15:49:06 +01:00
Louka
468ba9d92b blake2s 2023-02-09 13:11:54 +01:00
bacqube2
bd0f058357 Premiere correction des fonctions de traitement 2023-02-08 14:04:12 +01:00
bacqube2
6176ec3264 Ajout de printf pour tracer l'execution des fonctions 2023-02-08 13:23:11 +01:00
bacqube2
5475e882a7 Ajout de printf pour tracer l'execution des fonctions 2023-02-08 12:57:17 +01:00
bacqube2
1e79857ed0 Changement des valeurs de test pour debug + affichage des valeurs de rounds 2023-02-08 11:50:31 +01:00
jsteube
86f3e1f5b8 Fix UTF8 to UTF16 conversion in -m 1000 -a 3 kernels for non SIMD compute devices 2023-02-07 22:24:44 +00:00
Benoit
e3d47f0ea8 Correction de nom d'une fonction 2023-02-07 13:22:07 +01:00
Louka
d78cb92eb8 tests 2023-02-06 17:11:37 +01:00
Louka
12821a968b Finishing inc_hash_blake2s and starting to write kernels 2023-02-06 15:27:07 +01:00
bacqube2
33762965f6 modify to S 2023-02-02 14:53:04 +01:00
bacqube2
a59cf4ebcf modify to S 2023-02-02 13:33:32 +01:00
bacqube2
30d9509878 Creation blake2s inc files 2023-02-02 13:22:03 +01:00
jsteube
6ee2658104 Prefix more macros to avoid collisions in other existing libraries 2023-01-30 14:41:12 +00:00
jsteube
98d721cf69 Prepare rename macros in kernel files from _MACRO to MACRO 2023-01-18 15:34:49 +00:00
jsteube
f1ff925b6e Prepare rename macros in header files from _MACRO to MACRO 2023-01-17 19:25:40 +00:00
Sein Coray
69807fb2fe removed check which aborted on empty passwords for mode 10700 2023-01-09 09:00:26 +01:00
Jens Steube
cd8bff1682
Merge pull request #3561 from philsmd/3090x_btc_prv_key
fixes #3487: added -m 3090x = Bitcoin raw private key
2023-01-06 16:49:00 +01:00
philsmd
c6b40a40bf
fix whitespace in -m 30700 = Anope IRC Services 2023-01-04 15:55:13 +01:00
philsmd
3ef69f2919
added -m 3090x = Bitcoin raw private key 2023-01-04 15:52:48 +01:00
Jens Steube
5989de470b
Merge pull request #3549 from s3inlc/pkzip-fix
Remove check which may lead to false negatives on pkzip in rare cases
2022-12-25 23:26:05 +01:00
sein
3d70379c39 removed check for 00 bits for compressed hashes as it may be valid for certain zips 2022-12-22 22:32:12 +01:00
magnum
2e10d591b9 Fix a bug causing -m172xx (pkzip) to fail on data sizes > 32 KB
We need a correct total_out size so a separate variable is introduced
to maintain the window buffer.

Closes #3434 (see #3546).
2022-12-21 18:31:53 +01:00
Jens Steube
6bd5e6f03f
Merge pull request #3543 from matrix/base58_errors
fix base58 build errors
2022-12-21 15:44:55 +01:00
Jens Steube
a82cf950bd
Merge pull request #3542 from matrix/m28000_errors
fix kernel 28000 a3 build warnings/errors
2022-12-20 22:45:11 +01:00
Jens Steube
4c90d371ec
Merge pull request #3541 from matrix/m27900_errors
fix kernel 27900 a3 build warnings/errors
2022-12-19 23:05:34 +01:00
Jens Steube
0d186be7e8
Merge pull request #3540 from matrix/m23800_errors
fix kernel 23800 pure build errors
2022-12-18 23:15:05 +01:00
Gabriele Gristina
0d93a00fdf fix base58 build errors 2022-12-17 10:41:50 +01:00
Gabriele Gristina
e82d006bf4 fix kernel 28000 a3 build warnings/errors 2022-12-17 10:09:24 +01:00
Gabriele Gristina
8b4b8c31a0 fix kernel 27900 a3 build warnings/errors 2022-12-17 10:07:18 +01:00
Gabriele Gristina
758a6fe0de fix kernel 23800 pure build errors 2022-12-17 10:04:01 +01:00
Gabriele Gristina
b320da0a2d fix kernel 11500 a3 build warnings/errors 2022-12-17 00:39:50 +01:00
Jens Steube
2431201007
Merge pull request #3536 from hops/anope-sha256
Added hash-mode: Anope IRC Services (enc_sha256)
2022-12-15 19:41:10 +01:00
hops
9f823dc564 -m 30700: set the IV outside of the loop 2022-12-14 21:27:29 +01:00
hops
7edda7c82f Added hash-mode: Anope IRC Services (enc_sha256) 2022-12-14 19:30:11 +01:00
jsteube
57fe66dd10 Precompute byteswap for salt in -m 28200 2022-12-13 22:43:47 +00:00
jsteube
3035f4c24f Precompute byteswap for salt in -m 21300 2022-12-12 19:47:22 +00:00
Jens Steube
06af574dbd
Merge pull request #3531 from matrix/metal_compatibility
Allow using Metal < 300 with --force
2022-12-11 22:50:23 +01:00
Jens Steube
d73b0985f7
Merge pull request #3530 from matrix/metal_module_3730_fix
Fix module 3730, Metal build errors
2022-12-10 19:18:19 +01:00
jsteube
2cf71125f4 Add missing -a 1 kernels for -m 7350 2022-12-08 21:34:44 +00:00
Gabriele Gristina
fdd3fae7a5 Fix module 3730, Metal build errors 2022-12-08 17:40:41 +01:00
Gabriele Gristina
0f63294b8a Allow using Metal < 300 with --force 2022-12-08 17:37:50 +01:00
jsteube
8a81f6143a Add missung unit-test for -m 7350 and kernel name fix 2022-12-07 18:42:57 +00:00
Jens Steube
d008c5cb11
Merge pull request #3522 from rjancewicz/rjancewicz/m07350-rakp-hmac-md5
IPMI v2 RAKP HMAC MD5
2022-12-06 20:32:30 +01:00
Jens Steube
453ec4e7d9 DEScrypt Kernel (1500): Improved performance from 950MH/s to 2200MH/s (RX6900XT) on HIP backend by workaround invalid compile time optimizer 2022-12-03 16:48:44 +01:00
philsmd
b2c2fc86b4
fix whitespace 2022-11-30 16:05:05 +01:00
Russell Jancewicz
cd407b7af8 minor change to minimize the number of xor instructions 2022-11-27 20:29:42 -05:00
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