1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-09 14:13:07 +00:00
Commit Graph

1371 Commits

Author SHA1 Message Date
Gabriele Gristina
1d4d84d19c Added hash-mode: MetaMask Mobile Wallet, updated extraction tool 2023-04-15 18:32:10 +02:00
Gabriele Gristina
cf3ab8e2dc Handle signed/unsigned PDF permission P value for all PDF hash-modes 2023-04-11 21:17:25 +02:00
Gabriele Gristina
2adf735e51 Fixed bug in input_tokenizer when TOKEN_ATTR_FIXED_LENGTH is used and refactor modules 2023-04-11 19:34:01 +02:00
jsteube
6862c1102e Open Document Format: Added support for small documents with content length < 1024 2023-04-09 16:15:12 +00:00
jsteube
7a3a6d5d06 Added support for small documents with content length < 1024 in -m 18400 2023-04-08 20:29:54 +00:00
jsteube
234e6cf49f Add support for 12 byte IV in -m 31800 2023-04-07 06:00:54 +00:00
jsteube
3df97954c6 Add module and kernel for -m 31800 2023-04-05 14:23:27 +00:00
jsteube
dc51a1a976 Renumber -m 31500 to -m 31700 2023-04-01 09:00:55 +00:00
jsteube
949377686e Add module and pure kernels for -m 31500 2023-03-31 20:55:50 +00:00
Chick3nman
9b2aca0a38 Add Domain Cached Credentials 2 (DCC2), MS Cache 2, (NT), -m 31600 2023-03-23 21:09:55 -05:00
Chick3nman
20d3252863 Remove extra ; in OPTS_TYPE 2023-03-23 21:02:46 -05:00
Chick3nman
9a1c5286b9 Disable autodetect for specialist kernel. 2023-03-23 21:02:11 -05:00
Chick3nman
f862e3e30a Add module/kernel for Domain Cached Credentials (DCC), MS Cache (NT) 2023-03-23 20:58:48 -05:00
jsteube
04e7f84daf Remove OPTS_TYPE_HASH_COPY from -m 31400 2023-03-23 18:20:06 +00:00
jsteube
c8dd3d63e9 Add new category for application database and move new -m 31400 to it 2023-03-20 11:22:34 +00:00
jsteube
074411418f Fix -a 3 for -m 31400 in vector datatype mode 2023-03-18 23:16:01 +00:00
Yaakov Saxon
06b07d06e2 clarify purpose and applicable versions 2023-03-15 16:47:26 -04:00
Yaakov Saxon
6b28169c66 31400 securecrt module 2023-03-15 16:25:35 -04:00
jsteube
24d375073c Revert -m 26610 to check for 0x20-0x7e and allow DEEP_COMP kernel functionality 2023-03-13 10:00:16 +00:00
Your Name
45b803988c 25400 working with 32 bytes plaintext check 2023-03-07 23:38:09 +01:00
jsteube
4fe68b0d4f Fix missing const keyword in module_hash_encode() in -m 29600 2023-03-06 18:39:26 +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
dbe99851ec added comments on speeding up the attack by reducing the ciphertext buffersize 2023-02-26 13:52:23 +01:00
Your Name
90c6ead997 add real reference hash to 26600 2023-02-26 13:32:39 +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
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
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
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
2bc70388d3 Creation of branch SM3 and adding files for basic implementation 2023-02-16 10:38:11 +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
bacqube2
5381fced62 Old self-test values deleted 2023-02-09 17:15:26 +01:00
Louka
468ba9d92b blake2s 2023-02-09 13:11:54 +01:00
justpretending
9ad36f9167 Support $HEX[] in module 99999 (fixes #3613) 2023-02-09 18:55:08 +07:00
bacqube2
bd0f058357 Premiere correction des fonctions de traitement 2023-02-08 14:04:12 +01:00
bacqube2
1e79857ed0 Changement des valeurs de test pour debug + affichage des valeurs de rounds 2023-02-08 11:50:31 +01:00
Louka
e42aa771e2 First version of module for BLAKE2S-256 2023-02-02 13:26:41 +01:00
jsteube
b166bdcfac Allow longer digests in hash-mode 8900. They are not checked because there's no need to do so 2023-01-23 09:29:33 +00:00
Vermeulen, Job (J.M.)
b7e94e61e9 Support for longer scrypt hashes in module 8900 2023-01-19 20:48:01 +01:00
jsteube
25f388748d Use OPTS_TYPE_NATIVE_THREADS instead of a manual thread limit for -m 3090x 2023-01-14 20:07:54 +00:00
philsmd
160b8d2c2f
restrict threads/-T to 32 for -m 3090x 2023-01-10 12:22:35 +01:00
Sein Coray
3ad271b00e there can be PDF 104xx hashes which have V == 2 2023-01-09 11:10:45 +01:00
jsteube
d19882ff71 Set a maximum thread count for -m 30901 to 32 for performance reasons 2023-01-08 19:45:42 +00:00
philsmd
3ef69f2919
added -m 3090x = Bitcoin raw private key 2023-01-04 15:52:48 +01:00
sein
6e642121e7 allow up to 11 chars for the P value of PDFs 2022-12-22 19:08:42 +01:00
jsteube
1154272d6a Normalize initial out_buf line in encoder in -m 30700 2022-12-16 23:11:00 +00: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
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
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
072f467d6a Remove unroll for AMD GPU for -m 19000 and -m 21000 2022-12-05 08:51:39 +01:00
Jens Steube
fa4aad963c Remove unroll for AMD GPU for -m 1750 and -m 1760 2022-12-04 18:25:07 +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
Jens Steube
570750a84d
Merge pull request #3521 from RLStrug/fix-25200
Corrected issue for module 25200 (SNMPv3 HMAC-SHA1-96)
2022-12-02 21:13:44 +01:00
Jens Steube
f954b400d7
Merge pull request #3519 from RLStrug/fix-25100
Corrected issue for module 25100 (SNMPv3 HMAC-MD5-96)
2022-12-01 18:17:46 +01:00
Jens Steube
38cc7225ae
Merge pull request #3517 from RLStrug/fix-25000
Corrected issue for module 25000 (SNMPv3 HMAC-MD5-96/HMAC-SHA1-96)
2022-12-01 18:17:34 +01:00
philsmd
b2c2fc86b4
fix whitespace 2022-11-30 16:05:05 +01:00
Jens Steube
ace9ece437
Merge pull request #3514 from PenguinKeeper7/pkzip-collision-warning
Pkzip collision warning
2022-11-29 19:11:04 +01:00
Jens Steube
c8e92f1316 Limit maximum number of threads for scrypt based hash-modes to 32, no matter the hardware.
Fixes #3507
2022-11-28 17:45:58 +01: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
laika
e69dc3ff31 Corrected issue for module 25200 (SNMPv3 HMAC-SHA1-96) Password length should not be restricted to a minimum length 2022-11-28 00:08:45 +01:00
laika
f546fa2915 Corrected issue for module 25100 (SNMPv3 HMAC-MD5-96)\nPassword length should not be restricted to a minimum length 2022-11-28 00:01:27 +01:00
laika
6528f85c89 Corrected issue for module 25000 (SNMPv3 HMAC-MD5-96/HMAC-SHA1-96). Password length should not be restricted to a minimum length 2022-11-27 23:51:28 +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
Jens Steube
6e0ec16e35
Merge pull request #3513 from mephesto1337/bcrypt_sha256
Bcrypt sha256
2022-11-22 19:12:48 +01:00
Jens Steube
b3095acc8b
Merge pull request #3511 from rickvanderzwet/issue-3484-m14600-error-handling-on-container-without-payload
Fix m14600 confusing error message on container without payload data
2022-11-21 19:14:47 +01:00
PenguinKeeper7
0537794b50
Update module_17210.c 2022-11-21 11:51:14 +00:00
PenguinKeeper7
39700ad870
Update module_17210.c 2022-11-21 11:44:08 +00:00
PenguinKeeper7
fd3c0a7467
Update module_17210.c 2022-11-21 11:43:03 +00: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
8a82c75a99 macOS 13.0 fixed many issues in the OpenCL API. The module_unstable_warning() functions in many hash modes can then be removed 2022-11-20 12:21:41 +01:00
Jens Steube
346e945045
Merge branch 'master' into ripemd160-hmac 2022-11-19 14:24:23 +01:00
Rick van der Zwet
1b663b02fe Fix m14600 confusing error message on container without payload data
When multiple error messages are available, prioritize any parsing error
over PARSER_LUKS_KEY_DISABLED.

This takes priority since it  more meaningfull to report to user.
2022-11-17 20:59:09 +01:00
jsteube
c35d8ecfd4 Update hash category for hash-mode 170xx 2022-11-17 11:31:35 +00:00
Mr Dromedary
c3e852b287 Interface changed, add module_benchmark_charset 2022-11-16 16:06:44 +01:00
Mr Dromedary
1ed5d7d6d8 Support for GPG keys with SHA-512 as s2k digest algorithm 2022-11-16 15:49:06 +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
Jens Steube
1f4d8dd0fd Remove OPTS_TYPE_MAXIMUM_THREADS flag where no longer required by AMD HIP jit compiler 2022-11-14 17:41:22 +01:00
Jens Steube
653f34e9a2 Mark some hash-modes for Apple Metal as unstable 2022-11-12 19:16:31 +01:00
Jens Steube
6aa3e0882d Mark some hash-modes for Apple Metal as unstable 2022-11-12 10:47:58 +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
dloveall
73cd517c36
SHA2-256 DANE RFC7929/RFC8162 support
Add support for SHA2-256 DANE RFC7929/RFC8162 records. These records are the length of SHA2-224, but with the SHA2-256 IV. Code was started with module 1400 (SHA2-256) and modified based on module 1300 (SHA2-224).
2022-11-03 15:03:09 -04:00
Jens Steube
2a20731b00 Remove unroll flag for -m 1500 for HIP because ROCm 5.3 uses new PM and unroll has negative effect on it 2022-11-02 18:28:41 +01:00
Jens Steube
eaf3de164b Remove option "-flegacy-pass-manager" if HIP backend is used. Support was removed from LLVM 15. There's no alternative option available.
Fixes #3469
2022-11-01 19:36:03 +01: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
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
e34a9244f3
Merge pull request #3489 from Lars-Saetaberget/lastpass_bugfix
Fix bug in -m 6800 where not all hashes are checked if they have the same salt
2022-10-25 16:48:16 +02: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
Lars Sætaberget
b30e9ec4da Fix bug in -m 6800 where not all hashes are checked if they have the same salt 2022-10-24 09:26:38 +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
jsteube
409bbf101e Remove OPTS_TYPE_SUGGEST_KG from -m 299xx 2022-10-22 16:43:20 +00: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
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
3952453ae9 Add module for -m 29940 2022-10-16 18:20:52 +00:00
jsteube
98c039471f Add module for -m 29930 2022-10-14 19:25:25 +00:00
jsteube
0f7fc863d3 Add module for -m 29920 2022-10-12 13:34:07 +00:00
jsteube
04266834db Improve some sanity checks in module for -m 29910 2022-10-11 18:46:02 +00:00
jsteube
da4adf9882 Add module for -m 29910 2022-10-09 18:19:06 +00:00
jsteube
1cee512c09 Add missing module_pw_min() function for -m 29800
Fixes #3462
2022-09-26 09:05:36 +00:00
Banaanhangwagen
33a5ff2d40
Create module_29800.c 2022-09-16 16:24:04 +02:00
Konrad Goławski
3e2f8870a3 Fix improper strings comparision 2022-09-14 01:00:20 +02:00
ippsec
cec997e321 Change the token size from 2047 to 56. In the current kernel we only have 57 bytes worth of space 2022-09-06 14:58:11 -04:00
ippsec
1687fd80f4 Updated flask session max length for payload to be 2047 2022-09-05 11:26:34 -04:00
Jens Steube
289f6b7cbd Fix missing OPTS_TYPE_PT_ALWAYS_HEXIFY in -m 29700 which is later required for test.sh compatiblity 2022-08-29 20:35:10 +02:00
Jens Steube
f6275fb47b
Merge pull request #3421 from davidbolvansky/amd_driver_unstable_warnings
Remove unstable warnings for AMD GPU
2022-08-23 17:50:45 +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
Dávid Bolvanský
38f6bbcbdc Remove unstable warnings for AMD GPU 2022-08-18 22:22:01 +02:00
Jens Steube
c3e18f7fed Remove module_unstable_warning() entry for older AMD GPU for -m 1500 2022-08-17 18:41:50 +02:00
jsteube
05eff0d683 Fixed invalid handling of keyfiles in Keepass if transf_random_seed doesn't change 2022-08-14 18:15:06 +00:00
Jens Steube
78ee811fa9 Use -flegacy-pass-manager for -m 501, -m 1600 and -m 6300 on AMD HIP for massive speed improvement 2022-08-12 16:20:14 +02:00
Jens Steube
16d5beb1a6 Use -flegacy-pass-manager for -m 500 on AMD HIP for massive speed improvement 14.3MH/s -> 24.6MH/s 2022-08-11 17:43:18 +02:00
Jens Steube
3d898c5daf AMD Driver: Updated requirements for AMD Linux drivers to ROCm 5.2.1 or later due to new HIP interface 2022-08-10 19:19:34 +02:00
jsteube
c8350eb555 Added tunings/ folder in order to replace hashcat.hctune. Configuration files with *.hctune suffix are automatically load on startup 2022-08-08 11:09:04 +00:00
jsteube
51b1744805 Fix some format in -m 29600 2022-08-06 19:56:11 +00:00
Jens Steube
a500543729
Merge branch 'master' into 29600_no_hash_copy 2022-08-05 11:03:42 +02:00
Jens Steube
99be4f9fd8
Merge pull request #3409 from philsmd/29600_salt_arr_size
fix length of salt_buf for -m 29600
2022-08-04 09:41:01 +02:00
Jens Steube
c957861af7
Merge pull request #3408 from philsmd/29600_hex_salt
add OPTS_TYPE_ST_HEX to -m 29600 and restrict salt lengths
2022-08-03 17:13:25 +02:00
Jens Steube
3f20e50c86
Merge pull request #3406 from philsmd/29600_example_hash
updates example hash and password for -m 29600
2022-08-01 15:24:05 +02:00
Jens Steube
c36cc0b4ff
Merge pull request #3405 from philsmd/29600_name_readme_category
fixes #3404: fixed name/category/readme for -m 29600
2022-07-31 18:53:29 +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
philsmd
93c8f3cb7c
add OPTS_TYPE_ST_HEX to -m 29600 and restrict salt lengths 2022-07-30 11:48:57 +02:00
philsmd
891a348d99
updates example hash and password for -m 29600 2022-07-30 11:39:49 +02:00
philsmd
ccd754f220
fixes #3404: fixed name/category/readme for -m 29600 2022-07-30 11:35:50 +02:00
philsmd
0fc1b66d98
fix white space in -m 29600 = Terra Station Wallet 2022-07-30 11:22:38 +02:00
Konrad Goławski
f7ba563a28 TrueCrypt modules code cleanup 2022-07-25 15:53:51 +02:00
Konrad Goławski
74e2dad0d7 LUKS legacy module code cleanup 2022-07-22 18:49:02 +02:00
Konrad Goławski
2bd1861a83 New LUKS modules code cleanup 2022-07-22 18:49:02 +02:00
jsteube
ded6b14474 Fix missing new module_benchmark_charset() entry in -m 29600 2022-07-20 18:21:13 +00: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
Jens Steube
c13451d6d5
Merge pull request #3381 from philsmd/benchmark_custom_charset
change interface, add module_benchmark_charset ()
2022-07-15 17:19:23 +02:00