1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-13 19:28:56 +00:00
Commit Graph

1034 Commits

Author SHA1 Message Date
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
Gabriele Gristina
a43e239db8 move to 27400, fix unit test 2021-08-10 16:35:15 +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
70f1e16a0d Improved error message in case a module is using outdated function structure
Fixed module of hash-mode 27300 missing entry for module_extra_tuningdb_block()
2021-08-05 14:32: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
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
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
3c1542b0b1
Merge branch 'master' into fix_15300_bof 2021-08-03 08:43:24 +02:00
Jens Steube
1ee1a2278a
Merge branch 'master' into fix_15900_bof 2021-08-03 08:42:41 +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
Michael Kruger
5c9be6c855 Add extra_tuningdb_block, test mod_constrants [-1,-1] 2021-08-02 14:43:22 +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
7f16921d8b
Merge pull request #2916 from philsmd/7zip_long_data
Increase buffer sizes for -m 11600 = 7-Zip
2021-08-02 10:33:53 +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
483a62cb7c Add test module, update name of hash mode 27100 2021-08-01 21:31:06 -04:00
therealartifex
dc662c354e Update hash-mode number 2021-08-01 21:09:56 -04:00
Jens Steube
20a7b9f992 Tuning-Database: Add new module function module_extra_tuningdb_block() to extend hashcat.hctune content from a plugin
See src/modules/module_08900.c as an example
2021-08-01 16:25:37 +02:00
Jens Steube
9e077575c6
Merge branch 'master' into fix_24700_bof 2021-08-01 10:31:37 +02:00
Jens Steube
a440a4dee5
Merge branch 'master' into fix_25500_bof 2021-08-01 10:27:23 +02:00
Jens Steube
d4997d1255 Added support for auto-tuning --kernel-threads (-T) on startup 2021-07-31 16:49:39 +02:00
Gabriele Gristina
89234a5c7c Fixed buffer overflow in Stargazer Stellar Wallet XLM module 2021-07-31 16:18:29 +02:00
Gabriele Gristina
4869e2a9d1 Fixed buffer overflow in Stuffit5 module 2021-07-31 15:52:44 +02:00
Gabriele Gristina
a847a4c84b Fixed multiple buffer overflow in DPAPI masterkey file v2 module 2021-07-31 14:38:14 +02:00
Gabriele Gristina
ca896f89bc Fixed multiple buffer overflow in DPAPI masterkey file v1 module 2021-07-31 14:34:36 +02:00
therealartifex
6d4dbffda1 Moved the addition of static dashes to the kernel 2021-07-30 17:13:01 -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
92dfa7e137 Increase buffer sizes for -m 11600 = 7-Zip 2021-07-30 15:29:47 +02:00
philsmd
51adbbbe53 fix buffer sizes for -m 13600 = WinZip 2021-07-30 15:23:33 +02:00
Jens Steube
03ed06849a
Merge branch 'HIP44' into master 2021-07-29 11:00:28 +02:00
Jens Steube
a4299b74af Memory Management: Refactored the code responsible for limiting kernel accel in order to avoid out of -host- memory situations 2021-07-28 20:50:05 +02:00
Jens Steube
ae39fa0979
Merge pull request #2908 from hashcat/master
Backports
2021-07-28 07:55:11 +02:00
Jens Steube
25f1c12e3c SCRYPT Kernels: Add more optimized values for some new NV/AMD GPUs and new semi-automated derivation process description
Blowfish Kernels: Backport optimizations reducing bank conflicts from bcrypt to Password Safe v2 and Open Document Format (ODF) 1.1
2021-07-28 07:51:27 +02:00
pelle
00c9c2ed1b Added GPG module and kernel. 2021-07-27 20:46:33 +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
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
e15fe3461e add missing pw_min() to snmpv3 md5/sha1 modules 2021-07-26 19:38:53 +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
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
72e307fbce
Merge pull request #2901 from hashcat/master
Backport changes
2021-07-25 10:57:39 +02:00
Jens Steube
83badbeaf1 Backport native threads strategy from Kerberos to Office and PDF 2021-07-25 10:56:29 +02:00
Jens Steube
84a4058edf
Merge pull request #2900 from hashcat/master
Backport changes
2021-07-25 10:34:05 +02:00
Jens Steube
44dbedd21a Use improved native threads derivation for RC4 based hash-modes 2021-07-25 10:32:58 +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
5e0f7ecf00
Merge pull request #2889 from matrix/snmpv3_sha1
Added hash-mode: SNMPv3 HMAC-SHA1-96
2021-07-24 11:56:46 +02:00
Gabriele Gristina
4fb44f826c updated module_25200.c as requested in the review 2021-07-24 10:57:06 +02:00
Jens Steube
3f6c5a0042 Update module_unstable_warning() for -m 172xx on HIP 2021-07-23 21:09:55 +02:00
Gabriele Gristina
b00e3e5e59 add missing hex_encode() in module_hash_encode() 2021-07-22 19:53:41 +02:00
Gabriele Gristina
6d83a69f7d using hex_encode/hex_decode + small fixes 2021-07-22 19:10:34 +02:00
Jens Steube
c990e252d3 Added option --multiply-accel-disable (short: -M) to disable multiply the kernel-accel with the multiprocessor count automatism 2021-07-21 15:47:05 +02:00
Gabriele Gristina
7ea5da51a8 Added hash-mode: SNMPv3 HMAC-SHA1-96 2021-07-20 22:24:35 +02:00
Jens Steube
7c5fe5e233 Slow Kernels: Set some of the slowest kernels to OPTS_TYPE_MP_MULTI_DISABLE 2021-07-20 12:47:40 +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
141b59b80e
Merge pull request #2883 from hashcat/HIP
Merge HIP branch into master
2021-07-16 19:54:00 +02:00
Jens Steube
2e929e692e Backport update module_unstable_warning() for -m 21800 on HIP 2021-07-15 21:26:07 +02:00
Gabriele Gristina
eaedfb3f8a fix 26700 2021-07-15 19:58:11 +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
11295e4679 Fix missing OPTI_TYPE_USES_BITS_64 in several modules 2021-07-14 17:01:46 +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
9c134833a6 Update module_unstable_warning() for -m 19600 and -m 19700 2021-07-14 08:26:12 +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
Your Name
b24ca10087 pdf edit password m25400 can now also use the user-password as salt 2021-07-12 23:17:33 +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
4cbf7900b6 Remove unused code in -m 26300 2021-07-08 06:25:35 +02:00
Jens Steube
4535695e0a Update some module_unstable_warning() on macOS after the workaround that was added before 2021-07-07 10:36:52 +02:00
Jens Steube
17a47e390c Merge branch 'master' of https://github.com/hashcat/hashcat 2021-07-06 13:06:28 +02:00
Jens Steube
a3178391c2 Fixed missing option to automatically disable kernel cache in -m 25600 and -m 25800 2021-07-06 13:05:49 +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
Gabriele Gristina
6ce1c78f6d fix CT_MAX_LEN_BASE64 define 2021-07-05 13:21:10 +02:00
Jens Steube
a2f883396b Java Object hashCode: Add OPTS_TYPE_SUGGEST_KG as a default option 2021-07-05 09:25:06 +02:00
Gabriele Gristina
7371cbebe7 add min/max data length limits to MetaMask Wallet 2021-07-04 20:14:25 +02:00
Gabriele Gristina
2d149164d2 cleanup module_26600.c 2021-07-04 15:50:52 +02:00
Gabriele Gristina
f571329c4f Added hash-mode: MetaMask Wallet 2021-07-04 15:47:52 +02:00
Jens Steube
7366c47447 Added hash-mode: iPhone passcode (UID key + System Keybag) 2021-07-03 19:03:06 +02:00
Jens Steube
3c899ec528 Potfile: Disable potfile for hash-mode 99999 2021-07-03 14:22:14 +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
Royce Williams
e24b82cc4e minor diffs from comparing with example hashes wiki 2021-06-27 14:38:36 -08: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
5194beb6f2
Merge pull request #2847 from philsmd/patch-3
fixes #2839: change example pass for FortiGate256
2021-06-25 07:57:23 +02:00
Jens Steube
9ecff406de Add unstable warning for -m 22400 on CPU on macOS 2021-06-23 20:04:17 +02:00
philsmd
88fe0add04
fixes #2839: change example pass for FortiGate256 2021-06-22 10:29:24 +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
5a5ec0c5db Added hash-mode: VeraCrypt PBKDF2-HMAC-Streebog-512 + boot-mode 2021-06-21 13:40:46 +02:00
philsmd
5fb6fc50c2
-m 24800 = Umbraco HMAC-SHA1 is not salted 2021-06-19 11:00:03 +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
eddd11441f
Merge pull request #2664 from matrix/hash-mode-26000
Added hash-mode 26000 - OpenEdge Progress Encode
2021-06-12 18:22:09 +02:00
Gabriele Gristina
02b2ca41c5 add unit-test and set pw_max to 16 for ProgressEncode 2021-06-12 16:51:47 +02:00
Jens Steube
ee7fca82f5 Scrypt Kernels: Re-enable scrypt based kernels to use kernel cache 2021-06-12 11:42:19 +02:00
Jens Steube
ebeb003552 Unit-Tests: Added missing unit-test for Stargazer Stellar Wallet XLM 2021-06-10 09:02:26 +02:00
Jens Steube
796beba2bf
Merge branch 'master' into hash-mode-26000 2021-06-09 13:20:35 +02:00
Jens Steube
0602562574 Modules: Changed hash category of Python passlib from HASH_CATEGORY_GENERIC_KDF to HASH_CATEGORY_FRAMEWORK 2021-06-09 13:19:33 +02:00