1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-15 20:39:17 +00:00
Commit Graph

1150 Commits

Author SHA1 Message Date
Tom Stokes
1ed7fc2b5a
Delete module 90909.c
Accidentally let the old number slip in!
2022-05-17 09:46:07 +01:00
Tom Stokes
cc76841831
Category fix
changed from RAW_HASH to NETWORK_PROTOCOL
2022-05-17 09:22:25 +01:00
Tom Stokes
641461f372
Module file
renamed to 29500
2022-05-17 09:18:40 +01:00
philsmd
8bb3a1df04
RAdmin3 is not supported yet 2022-05-11 17:52:52 +02:00
Jens Steube
e703f88f2e Rename -m 9902 to -m 29000 2022-05-09 16:50:11 +02:00
piwvvo
1383b90c7a algo name fix 2022-05-07 02:28:00 +02:00
piwvvo
235f077276 algo name fix 2022-05-07 02:25:59 +02:00
piwvvo
1ecfb8899f Added sha1($salt.sha1($username.':'.$pass, true)) 2022-05-07 02:09:27 +02:00
Alan Neilan
c32bb36776
change to allow for non-hex salts in Authme (20711) 2022-05-03 15:17:33 -04:00
Jens Steube
39b768a620 Example entry for tuning table for SCRYPT for obscure device names used in older nvidia devices 2022-05-03 13:21:15 +02:00
Jens Steube
beb34c6f51 Backport SCRYPT optimization for 6900XT to 22700, 27700, 28200 2022-04-30 22:29:54 +02:00
Jens Steube
a5f0d3d57e Improve SCRYPT on 6900XT from 2464H/s to 3124H/s 2022-04-29 19:45:22 +02:00
rarecoil
49949c4e33 Roll forward scrypt tuning from #3265 to other scrypt-based hash types 2022-04-26 23:43:07 -07:00
Jens Steube
fe6ae53f25 Little tuning on AMD Vega 64 for SCRYPT, from 598H/s to 630H/s 2022-04-26 10:02:59 +02:00
rarecoil
6aa0d2082e Tune scrypt config for RTX 3090 Ti 2022-04-24 23:02:11 -07: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
6fce6fb3ff Update all existing modules to use the stock module marker 2022-04-08 14:11:50 +02:00
philsmd
a24d723d66
minor code style fixes 2022-03-31 19:19:16 +02:00
philsmd
15a4767ad2
minor: removes whitespace in -m 23400 = Bitwarden 2022-03-22 15:33:11 +01:00
Gabriele Gristina
4591071bc6 fix dpapimk_tmp_v1_t on module_15310.c 2022-03-11 13:34:33 +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
Jens Steube
317abecac9
Merge pull request #3203 from Lars-Saetaberget/25800_bugfix
Fix mask endianness for 25800
2022-03-03 18:59:42 +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
Lars Sætaberget
e71f3e519f Fix mask endianness for 25800 2022-03-02 11:03:14 +01:00
Jens Steube
4e2ad23081
Merge pull request #3198 from philsmd/philsmd-whitespace
code style fix: remove extra spaces in source code
2022-03-01 19:20:57 +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
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
Jakub Štrom
67ba1f2112 add new version fix 2022-02-27 23:29:15 +01:00
Gabriele Gristina
9615bf566b fix Cygwin build warnings 2022-02-27 14:39:28 +01:00
Gabriele Gristina
eb30a1c820 fix Cygwin build warnings 2022-02-27 14:26:34 +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
Gabriele Gristina
39912575b2 fix style 2022-02-27 12:12:22 +01:00
philsmd
87638caecd
remove extra spaces at line end in -m 25400 module 2022-02-27 10:21:12 +01:00
Gabriele Gristina
395d19513d fix sample formats 2022-02-26 21:19:52 +01:00
Gabriele Gristina
ca9656e983 Updated krb5tgs struct on 13100 kernels 2022-02-26 19:39:23 +01:00
Gabriele Gristina
8e00ef9a88 Added support to use 'John the Ripper' hash format with hash-type 13100 2022-02-26 19:14:20 +01:00
Gabriele Gristina
633698b2ee fix build warnings with gcc 2022-02-23 22:48:16 +01:00
Gabriele Gristina
98ce2496d5 Amazon AWS4-HMAC-SHA256 2022-02-23 22:20:18 +01:00
philsmd
9a96501a69
-m 28600 code style and formatting fixes 2022-02-20 11:52:02 +01:00
philsmd
912c46d958
-m 28600 remove extra spaces at end of lines 2022-02-20 11:34:48 +01:00
Chick3nman
09d7b49985 Disable autodetect for PDF Owner/User module as specialist 2022-02-15 09:09:43 -06:00
Chick3nman
88dbbad6b3 Disable autodetect for specialist kernels(Collider, PMK, NT, etc.) and deprecated kernels to aid users in launching attacks without an algorithm selected 2022-02-14 13:25:44 -06:00
philsmd
251ecc3b0b
fixes #3029: cracking long salts in -m 4510/4710 2022-02-09 16:43:24 +01:00
Gabriele Gristina
490702fcfa Backends: added Metal host-code 2022-02-05 22:48:16 +01:00
Gabriele Gristina
0525f434e8
Merge branch 'master' into updated_moduleUnstableWarnings_and_statusCodes 2022-01-22 18:52:57 +01:00
Jens Steube
d85f86373c
Merge pull request #3113 from matrix/apple_gpu_modules_native_threads
Set native_threads to 32 with Apple GPU's on multiple hash modules
2022-01-22 18:26:26 +01:00
Gabriele Gristina
a1ced24564 Fixed bug on benchmark engine, add some unstable warnings, updated negative status code 2022-01-22 12:10:09 +01:00
Gabriele Gristina
f38aff1497 Hash-Mode 13100: set native_threads to 32 with Apple GPU's 2022-01-21 20:01:58 +01:00
Gabriele Gristina
c061f02d27 Hash-Mode 10500: set native_threads to 32 with Apple GPU's 2022-01-21 20:01:04 +01:00
Gabriele Gristina
819cbe77b0 Hash-Mode 7500: set native_threads to 32 with Apple GPU's 2022-01-21 20:00:06 +01:00
Gabriele Gristina
0180b29390
Merge branch 'master' into apple_gpu_modules_native_threads 2022-01-20 21:52:58 +01:00
b0lek
b1e0434bd7 changed mode number to 28600 2022-01-20 19:31:09 +01:00
b0lek
415e95ab38 Adding PostgreSQL SCRAM-SHA-256 hash mode 2022-01-17 19:51:20 +01:00
Gabriele Gristina
c48f044fb7 Fixed false negative on Unit Test with hash-type 25400 2022-01-10 01:50:32 +01:00
Gabriele Gristina
5de942710d Hash-Mode 25400: set native_threads to 32 with Apple GPU's 2022-01-07 22:35:36 +01:00
Gabriele Gristina
feb0bbfb75 Hash-Mode 18200: set native_threads to 32 with Apple GPU's 2022-01-07 22:34:46 +01:00
Gabriele Gristina
ff74ad5a99 Hash-Mode 10420: set native_threads to 32 with Apple GPU's 2022-01-07 22:33:39 +01:00
Gabriele Gristina
bd8e7a2975 Hash-Mode 10410: set native_threads to 32 with Apple GPU's 2022-01-07 22:33:03 +01:00
Gabriele Gristina
bec4b2e601 Hash-Mode 10400: set native_threads to 32 with Apple GPU's 2022-01-07 22:32:17 +01:00
Gabriele Gristina
d4c264ebf1 Hash-Mode 9820: set native_threads to 32 with Apple GPU's 2022-01-07 22:31:03 +01:00
Gabriele Gristina
0471725d39 Hash-Mode 9810: set native_threads to 32 with Apple GPU's 2022-01-07 22:30:22 +01:00
Gabriele Gristina
54fd3f8973 Hash-Mode 9800: set native_threads to 32 with Apple GPU's 2022-01-07 22:29:36 +01:00
Gabriele Gristina
d7ddb425e5 Hash-Mode 9720: set native_threads to 32 with Apple GPU's 2022-01-07 22:28:35 +01:00
Gabriele Gristina
688038adc6 Hash-Mode 9710: set native_threads to 32 with Apple GPU's 2022-01-07 22:27:50 +01:00
Gabriele Gristina
2d2d745b3c Hash-Mode 9700: set native_threads to 32 with Apple GPU's 2022-01-07 22:26:55 +01:00
philsmd
57ad3becf1
minor: 19800/kerberos5 indentation fix 2022-01-06 11:28:05 +01:00
philsmd
a867af0933
minor: indentation fix 2022-01-06 11:26:20 +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
8c6ed65cd9
Update module_21420.c 2021-12-29 11:42:14 +01:00
Jens Steube
5015bc0d2e Module Parser: Renamed struct token_t to hc_token_t to avoid naming conflict with token_t on MacOS 2021-12-20 13:19:40 +01:00
Jens Steube
0d304b68f1 Added hash-mode: Teamspeak 3 (channel hash) 2021-12-19 10:33:06 +01:00
Jens Steube
ad48ef2a8c Merge branch 'master' of https://github.com/hashcat/hashcat 2021-12-18 17:51:36 +01:00
Jens Steube
c80ec44fdd Prepare TS3 plugin: parser module 2021-12-18 17:51:16 +01:00
Brandon Chalk
fc57a97a09 Fix JWT module to correctly return cracked hash
Fixes issue #3063
2021-12-16 20:05:32 -08:00
Jens Steube
bf865d8bff Added hash-mode: Exodus Desktop Wallet (scrypt) 2021-12-14 13:46:20 +01:00
Jens Steube
8b9fa631ce Fixed missing option flag OPTS_TYPE_SUGGEST_KG for hash-mode 11600 to inform the user about possible false positives in this mode 2021-12-11 16:32:45 +01:00
Jens Steube
d89409ae37 Update iteration count for -m 7401, see #3049 2021-12-03 17:51:05 +01:00
Jens Steube
040fb3b7eb
Merge pull request #3045 from hashcat/philsmd-patch-1
remove whitespace in -m 7100 = macOS
2021-12-01 14:32:04 +01:00
Jens Steube
632b6db5f9 Allow user to override nonce_error_corrections regardless of information from message_pair 2021-11-30 13:05:53 +01:00
philsmd
d67155d3d6
remove whitespace in -m 7100 = macOS 2021-11-29 17:00:45 +01:00
Jens Steube
964cff951f Fixed functional error when nonce-error-corrections that were set on the command line in hash-mode 22000/22001 were not accepted 2021-11-29 10:40:06 +01:00
Jens Steube
0d1fbf2bb7 Update module template for -m 250x and -m 1680x 2021-11-28 17:51:44 +01:00
Jens Steube
5b4ac09e91 User Options: Add new module function module_hash_decode_postprocess() to override hash specific configurations from command line 2021-11-28 13:58:27 +01:00
Jens Steube
98edc944e3 Remove OPTS_TYPE_MP_MULTI_DISABLE from -m 11300 for testing 2021-11-24 21:16:35 +01:00
Jens Steube
490ef6be74 Remove OPTS_TYPE_MP_MULTI_DISABLE from -m 3200 for testing 2021-11-23 18:01:14 +01:00
Jens Steube
9d06bcc980 Fix scrypt tuning for Vega64 on -m 22700 2021-11-16 22:54:33 +01:00
Jens Steube
d2ccd96da6 Added hash-mode: Windows Hello PIN/Password 2021-11-15 16:14:59 +01:00
Jens Steube
93ba57f183 Update more module with OPTS_TYPE_MAXIMUM_THREADS 2021-11-14 10:11:53 +01:00
Jens Steube
21f91c5bb8 Module Optimizaters: Added OPTS_TYPE_MAXIMUM_THREADS to deactivate the else branch route in the section to find -T before compilation
Set the new flag based on some testings with RX6900XT
2021-11-13 17:27:06 +01:00
Jarle Thorsen
ef83575c8f Increases the maximum value for s2k-count. The maximum s2k-count value is 65011712 according to the PGP spec. Increating this value fixes a salt iteration exception for hashes with non-default value for s2k-count. (Fix successfully tested with a hash with 62914560 s2k-count.) 2021-11-08 09:44:48 +01:00
Jens Steube
4bafdfc3e6
Merge pull request #3017 from Chick3nman/master
Add Signature matching for mac2john format
2021-11-05 13:21:39 +01:00
Jens Steube
b768f96228 Device Threads: The default maximum device thread number has been reduced from 1024 to 256, users can still overwrite with the -T option 2021-11-03 09:08:17 +01:00
Chick3nman
aeb4f7ef7f
Add Signature matching for mac2john format
Adds signature match for mac2john's $pbkdf2-hmac-sha512$ hash format
2021-11-02 04:59:44 -05: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
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
4a7e656ba7 Revert #3014 because it broke functionality, see https://github.com/openwall/john/issues/2809#issuecomment-952846956 2021-10-28 17:01:31 +02:00
Jens Steube
b8b61894df Fix segfault in updated parser for -m 19700. To reproduce one need to trigger hashcat hash-mode autodetection: ./hashcat /etc/shadow 2021-10-27 19:43:51 +02:00
Jens Steube
7e9e00a649 Some format fix for -m 19700 2021-10-26 14:02:46 +02:00
Jens Steube
8591c477ca Merge branch 'master' of https://github.com/hashcat/hashcat 2021-10-25 20:39:05 +02:00
Jens Steube
e5551c65ac Some format fix for -m 19700 2021-10-25 20:38:38 +02:00
Brouillamini
dcbadf3d68 Added Computer account decoding for -m 19700 2021-10-24 17:44:09 +02:00
Jens Steube
50fc474f25 Fix example hashcat password for -m 3000, which is actually in upper case, since LM does not support lower case characters 2021-10-18 16:38:15 +02:00
Jens Steube
707bff5c20 Backport nonce_error_corrections workaround from -m 22000 to -m 22001 2021-10-17 19:31:17 +02:00
Jens Steube
8f41c346ef Remove temporary workaround for wpa->message_pair in -m 22000 2021-10-16 08:45:56 +02:00
Jens Steube
6d24f18f8c Temporary workaround for #2987 2021-10-15 11:33:09 +02:00
Jens Steube
552e58f3a8 Synchronize -m 25400 hash name entries of module and readme.txt 2021-10-14 09:00:07 +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
philsmd
fde01b1d4b
change default pass for LM 2021-10-08 17:00:13 +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
a1ec246c8d Fix format string template in -m 27700 2021-09-10 20:34:42 +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
philsmd
afa2330e6a
fixes #2973: allow longer size fields for -m 11600 = 7-Zip 2021-09-10 17:47:09 +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
5503212b37 Fix CRLF line-endings in src/modules/module_17010.c 2021-09-04 18:33:16 +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
Gabriele Gristina
6cbc614826 metamask: double the CT len, set pw_min to 8 2021-08-31 16:40:11 +02:00
Jens Steube
f1a42a9b26 Fix hash category in -m 27200 2021-08-29 17:17:17 +02:00
Jens Steube
d845154507 Fix hash-name length in -m 27200 2021-08-23 19:58:43 +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
53aec89b09
Merge pull request #2931 from matrix/fix_snmp_sha384_sha512
fix OPTS_TYPE in SNMPv3 HMAC-SHA384-256 / HMAC-SHA512-384 modules
2021-08-14 09:18:47 +02:00
Gabriele Gristina
c538d5d7ba fix OPTS_TYPE in SNMPv3 HMAC-SHA384-256 / HMAC-SHA512-384 modules 2021-08-12 23:37:07 +02:00
Gabriele Gristina
6ab2c13a0c vbox: add unit test, fix multihash 2021-08-12 17:36:20 +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
9e9ed433e4
Update with newly added module functions 2021-08-12 08:24:38 +02:00
Jens Steube
37957bf702
Update some formatting, added signature constant, Update new module functions module_extra_tuningdb_block() and module_deprecated_notice(), replaced some hex decode and encoding with real hex_encode() and hex_decode() functions. 2021-08-11 10:55:36 +02:00
Jens Steube
caca54b0c6 Deprecated Plugins: Marked plugins 2500/2501 and 16800/16801 as deprecated 2021-08-10 18:14:21 +02:00
Jens Steube
01738fafa0 Deprecated Plugins: Add new module function module_deprecated_notice() to mark a plugin as deprecated and to return a free text user notice
Added option --deprecated-check-disable to enable deprecated plugins
2021-08-10 17:59:52 +02:00