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

2432 Commits

Author SHA1 Message Date
Jens Steube
5c6501444a Kernels: Add standalone true UTF8 to UTF16 converter kernel that runs after amplifier. Use OPTS_TYPE_POST_AMP_UTF16LE from plugin 2021-05-20 14:34:24 +02:00
Jens Steube
9028938998 Rename -m 3202 to -m 25800 2021-05-18 19:25:47 +02:00
Jens Steube
9bb45b4f4d
Merge branch 'master' into bcryptsha1 2021-05-18 19:20:28 +02:00
Jens Steube
aa7c579736 Added hash-mode: MurmurHash 2021-05-18 10:58:13 +02:00
Jens Steube
307cb63661
Merge pull request #2695 from matrix/cryptoapi
Added Linux Kernel Crypto API (2.4) KPA
2021-05-17 23:41:10 +02:00
Jens Steube
751d3a6454 Rename -m 3201 to -m 25600 2021-05-17 13:23:50 +02:00
Jens Steube
ae2580a542
Merge pull request #2637 from matrix/bcryptmd5
Added hash-mode 3201 - bcrypt(md5(pass)) / bcryptmd5
2021-05-17 13:17:25 +02:00
Jens Steube
bb402b784a Update module_unstable_warning for benchmark short selection on macOS for CPU and GPU; Allow use of GPU without --force testwise 2021-05-10 14:36:41 +02:00
Jens Steube
78a053800f Remove module_unstable_warning() entries for AMD (legacy) driver after workaround with zero check on context length is in use 2021-05-09 10:33:05 +00:00
Jens Steube
9bf0f36d0a Get rid of MAYBE_VOLATILE for context position by replacing it with zero length check 2021-05-09 11:43:32 +02:00
Jens Steube
e4dab0f1bf OpenCL Runtime: Workaround JiT compiler segfault on legacy AMDGPU driver compiling RAR3 OpenCL kernel 2021-05-09 07:38:22 +00:00
Jens Steube
9813811493 Remove truncation of buffer in hc_enc_next() to workaround AMD JiT compiler (legacy) issue 2021-05-08 16:38:48 +02:00
Gabriele Gristina
e30febc8b8 cryptoapi opts (2) and test unit 2021-05-08 02:06:05 +02:00
Gabriele Gristina
17a83a50af cryptoapi opts (1) 2021-05-06 23:24:46 +02:00
Jens Steube
a02b2ccd5f Fix type of address space of pointer in sha512_hmac_init_global_utf16le_swap() 2021-05-01 14:43:10 +02:00
Jens Steube
0439f0c4a1 Refactor UTF8 to UTF16 conversion from fixed size to a dynamic size using a context struct. This allows handle buffer sizes of arbitrary length for conversion 2021-05-01 12:49:43 +02:00
Jens Steube
f8ea1d5e78 Improve performance of test_any_8th_bit() by manually unrolling a few first steps 2021-04-30 17:22:31 +02:00
Jens Steube
b7dffd9259 Improve performance for UTF8->UTF16 conversion
Reverted d343e2c4a0 and ee26805138
Adds a test to decide whatever conversion technique to use. If all UTF8 characters are 7 bit, there's no need for regular conversion and we can stick to naive conversion.
2021-04-30 16:55:30 +02:00
Jens Steube
736290151d
Merge pull request #2638 from matrix/20710_fix
Fixed hash-mode 20710: removed unused code and fixed module_constraints
2021-04-29 16:08:00 +02:00
Jens Steube
17b9fcb925 Fix unicode conversion in -m 24800 2021-04-26 09:24:06 +02:00
Jens Steube
1879cbefd2 Fixed vector datatype support in -m 21100 only -P mode and only -a 3 mode were affected 2021-04-25 21:25:28 +02:00
Jens Steube
092e838cf4 Fixed buffer overflow in -m 4710 in -P mode and only in single hash mode if salt length was larger than 32 byte 2021-04-25 20:50:59 +02:00
Jens Steube
7a5f3610ca Fixed buffer overflow in -m 1800 in -O mode which is optimized to handle only password candidates up to length 15 2021-04-25 17:46:03 +02:00
Jens Steube
146a5237b5 Improved SCRYPT performance and updated hashcat.hctune 2021-04-24 14:01:13 +02:00
Jens Steube
1dac869cb7 Removed unnecessary swaps in SCRYPT based algorithms 2021-04-23 20:55:13 +02:00
Jens Steube
6c54314c2d Update -a 3 kernels to make use of new parameter salt_repeat 2021-04-22 19:42:49 +02:00
Jens Steube
2b069a94fd Reduce some register allocation in SCRYPT based kernels to improve speed on GPU with low resources 2021-04-22 00:26:09 +02:00
Jens Steube
15f35fa68c Scrypt Kernels: Reduced kernel wait times by making it a true split kernel where iteration count = N value 2021-04-21 15:59:14 +02:00
Jens Steube
62fc3601bb Wrap atomic functions with hc_ prefix to have better platform control 2021-04-20 17:47:44 +02:00
Jens Steube
73cc3170f4 Fixed both false negative and false positive result in -m 3000 in -a 3 (affected only NVIDIA GPU) 2021-04-20 17:14:13 +02:00
Jens Steube
4ddbd7e047 Fix false positives in -m 3000 in -a 3 mode 2021-04-20 11:14:28 +02:00
Jens Steube
5e9adac1c2 Update module_unstable_warning() results after Crypt::CBC has been fixed 2021-04-19 07:51:26 +02:00
Jens Steube
dc79983bc9 Fix out-of-boundary reads in -m 24800 pure kernels 2021-04-18 15:19:14 +02:00
Jens Steube
ee7d8ef0e7 Added new hash-modes Mozilla key3.db and key4.db 2021-04-17 21:24:27 +02:00
Jens Steube
90bb28fcc7
Merge branch 'master' into 24300-mode 2021-04-15 17:55:07 +02:00
Jens Steube
bd3c5795f5
Merge pull request #2583 from philsmd/telegram_desktop_modern
Added -m 24500 = Telegram Desktop >= v2.1.14 (PBKDF2-HMAC-SHA512)
2021-04-15 17:20:07 +02:00
Jens Steube
ee26805138 In UTF8 to UTF16 conversion, reserve enough room to handle very long UTF8 inputs 2021-04-12 14:44:56 +02:00
Robert Gützkow
ada829fa20
Fix the processing for constant salt
KNX IP Secure uses a constant salt, which require the use of `OPTS_TYPE_DEEP_COMP_KERNEL`. This commit adds the required options and adjusts the indexing of the esalt accordingly. The attempt at an optimized kernel has been removed as requested in the PR feedback. Additionally, minor formatting improvements have been made.
2021-04-12 09:48:38 +02:00
Robert Gützkow
364338a0c9
Merge remote-tracking branch 'origin/master' into knx-ip-secure 2021-04-11 14:36:54 +02:00
Robert Gützkow
c7aaf07b41
Optimizations for m25900 2021-04-11 14:13:47 +02:00
Jens Steube
d343e2c4a0 Added support for true UTF8 to UTF16 conversion in kernel crypto library 2021-04-11 11:53:47 +02:00
Jens Steube
97cce89bb8
Merge pull request #2739 from thatux/pdf-edit-25400
Added attack mode 25400
2021-04-10 10:51:39 +02:00
Your Name
4b24e91610 now we can crack the hash direct from pdf2john.pl, no need to alter it ourselves anymore 2021-04-10 00:07:00 +02:00
Jens Steube
55e3952815 - Computed invalid J0 buffer if IV's != length 12
- Computed invalid GCM hash in AES_GCM_ghash(). Last 15 byte logic was partially incorrect. Worked for length % 16 = 8, but not length % 16 = 5
- Get rid of all byte swaps
2021-04-09 16:35:32 +02:00
Jens Steube
57213e6c6c Add AES_GCM_GHASH_GLOBAL() to allow using encrypted data directly from GPU memory to avoid reserving registers 2021-04-08 13:19:27 +02:00
Jens Steube
9979394745
Merge branch 'master' into mongodb-scram 2021-04-06 13:52:13 +02:00
Jens Steube
71a8f97294 Optimize GCM code to use only u32 data types, make it CUDA compatible and remove some branches 2021-04-05 17:59:42 +02:00
Jens Steube
1ba1fa6e58
Merge branch 'master' into full-aes-gcm-and-hash-mode-27000 2021-04-05 17:51:43 +02:00
Robert Gützkow
9a4a8d942e
Plugin for KNX IP Secure's device authentication code 2021-04-03 19:07:06 +02:00
Jens Steube
c3c315b170
Merge pull request #2706 from bernardladenthin/master
Refactoring to improve usage in external programs.
2021-04-02 11:05:54 +02:00
Jens Steube
9ee1977ac7 Rename -m 29700 to 25300 2021-04-02 11:05:00 +02:00
Jens Steube
2537de1fd4
Merge pull request #2700 from matrix/office-2016-sheetprot
Added hash-mode: MS Office 2016 - SheetProtection
2021-04-02 11:02:17 +02:00
Your Name
d52f9c2cad Added attack mode 25400 which cracks a pdf edit password. It's largely duplicate code of 10500. Based on https://hashcat.net/forum/thread-6233.html 2021-04-01 22:20:54 +02:00
Jens Steube
b3bfaf8e1e Rename -m 29800 to -m 24700 and other small changes 2021-04-01 11:14:18 +02:00
Jens Steube
9ce063d4b6
Merge pull request #2702 from matrix/stuffit5
Added hash-mode: Stuffit5
2021-04-01 11:08:27 +02:00
Jens Steube
42dfa6b543 Add optimized -m 24800 kernels 2021-03-31 11:05:22 +02:00
Jens Steube
ea4fdcd7dd
Merge pull request #2703 from lordneon/master
Added hash-mode 24800 - Umbraco HMAC-SHA1
2021-03-31 11:03:41 +02:00
Jens Steube
9e474e1e83 Add support for modulus operator in vector data types 2021-03-30 21:43:27 +02:00
Jens Steube
de19c31dee Remove lookup table for speed, add vector datatype support for CPU and unit-test script for -m 24900 2021-03-27 14:08:22 +01:00
Jens Steube
98ee8c4168
Merge pull request #2723 from Chick3nman/master
Added hash-mode 24900 - Dahua Authentication MD5
2021-03-27 14:04:42 +01:00
Jens Steube
524cb20703 Add additional support for SQLCipher v3 and hashes SHA1 and SHA256 and a unit-test 2021-03-26 11:36:41 +01:00
Jens Steube
71766dab43
Merge pull request #2596 from trounce1/24600
Added -m 24600 = SQLCipher
2021-03-26 11:22:04 +01:00
Chick3nman
677a61c7fc Added Dahua Authentication MD5, optimized kernels only. Collision rate is high, no need for Pure kernel/longer plaintexts. 2021-03-07 17:28:42 -06:00
Bernard Ladenthin
b85ffd63fb Refactoring: Extract transform_public, point_mul_xy and set_precomputed_basepoint_g. Add constants and documentation. 2021-02-08 23:02:47 +01:00
lordneon
c83204c708 Added hashmode m24800 for Umbaraco hashes 2021-02-05 12:21:07 +00:00
Gabriele Gristina
6cf3a89ac3 Added hash-mode: Stuffit5 2021-02-04 01:10:32 +01:00
Gabriele Gristina
f0dec6fe64 Added hash-mode: MS Office 2016 - SheetProtection 2021-02-02 19:34:06 +01:00
Gabriele Gristina
f8eeaf0f18 trying to fix issues with cuda backend 2021-01-23 10:36:38 +01:00
Gabriele Gristina
dd93cc7132 trying to fix issues with cuda backend 2021-01-23 10:27:20 +01:00
Gabriele Gristina
fe088595cd Added swizzle optimization and OPTI_TYPE_SLOW_HASH_SIMD_LOOP 2020-12-26 07:18:29 +01:00
Gabriele Gristina
92bfe11671 Added AES_GCM_ALT1 and fix opencl compiler warnings 2020-12-26 07:07:56 +01:00
Gabriele Gristina
54df7d53ea Added full AES-GCM cipher & hash-mode 27000 - Stargazer Stellar Wallet XLM 2020-12-25 04:50:18 +01:00
Gabriele Gristina
8b7e83b72f Added hash-mode 26000 - OpenEdge Progress Encode 2020-12-22 20:30:17 +01:00
Gabriele Gristina
99b5aa8f60 Added hash-mode 25100 - SNMPv3 HMAC-MD5-96 2020-12-22 07:02:19 +01:00
Gabriele Gristina
48b3cb055f Added hash-mode 10820 - sha384(salt.pass) 2020-12-17 05:39:04 +01:00
Gabriele Gristina
7496ec2d44 Added hash-mode 10810 - sha384(pass.salt) 2020-12-17 04:45:33 +01:00
Gabriele Gristina
c6f98ec4da Added hash-mode 10840 - sha384(salt.utf16le(pass)) 2020-12-17 03:41:16 +01:00
Gabriele Gristina
9d8e695a3c Added hash-mode 10830 - sha384(utf16le(pass).salt) 2020-12-17 01:48:48 +01:00
Gabriele Gristina
14030f3090 Added hash-mode 10870 - sha384(utf16le(pass)) 2020-12-17 00:53:47 +01:00
Gabriele Gristina
dbd4b33f95 Added hash-mode 1770 - sha512(utf16le(pass)) 2020-12-16 23:43:31 +01:00
Gabriele Gristina
e902697b22 Added hash-mode 1470 - sha256(utf16le(pass)) 2020-12-16 22:22:20 +01:00
Gabriele Gristina
930e39c324 Added hash-mode 70 - md5(utf16le(pass)) 2020-12-16 22:09:22 +01:00
Gabriele Gristina
61afbc7ff9 Added hash-mode 170 - sha1(utf16le(pass)) 2020-12-16 21:49:49 +01:00
Gabriele Gristina
12c0962e51 Added bcrypt(sha1(pass)) // bcryptsha1 2020-12-11 17:35:18 +01:00
Gabriele Gristina
ba82dd235c fixed kernel, added test module 2020-12-11 14:24:36 +01:00
Gabriele Gristina
967eff530d cleanup 2020-12-10 02:43:49 +01:00
Gabriele Gristina
f46c23d792 add comments to unused code, fixed test file 2020-12-10 02:34:09 +01:00
Gabriele Gristina
2097d67cd5 Added hash-mode bcrypt(md5(pass)) / bcryptmd5 2020-12-10 02:16:33 +01:00
Bernard Ladenthin
19f4b44840 Refactoring: Extract convert_to_window_naf and add some documentation. 2020-11-17 21:33:51 +01:00
Michael Kruger
f2d40df22f
Delete m05510_a3-optimized.cl
Mistake, optimized a3 5510 does not work yet
2020-11-07 11:29:07 +02:00
Michael Kruger
83dba45c85 5510/5510 Addition of a3. Remove half DES optimisation from a3 2020-11-07 10:38:02 +02:00
Michael Kruger
611c73d294 NetNTLM bypass NT 2020-11-06 23:28:05 +02:00
TROUNCE
1b83076d80
Add files via upload 2020-10-29 10:51:13 +00:00
TROUNCE
969fe51733
Add files via upload 2020-10-26 23:05:23 +00:00
TROUNCE
9646f8c4e6
Add files via upload 2020-10-26 00:04:58 +00:00
TROUNCE
de137b96ee
Add files via upload 2020-10-25 22:57:44 +00:00
TROUNCE
1088000739
Add files via upload 2020-10-24 20:59:27 +01:00
TROUNCE
4f21a06c58
Add files via upload 2020-10-24 20:37:57 +01:00
TROUNCE
5edd8e5f66
Add files via upload 2020-10-24 19:49:52 +01:00
TROUNCE
5395f9809f
Add files via upload 2020-10-24 19:38:46 +01:00
TROUNCE
06e55a3694
Add files via upload 2020-10-24 16:23:38 +01:00
TROUNCE
47ac3e75e1
Add files via upload 2020-10-23 22:22:40 +01:00
TROUNCE
43e07b7a54
Add files via upload 2020-10-20 19:44:52 +01:00
philsmd
038235f90f
Added -m 24500 = Telegram Desktop >= v2.1.14 (PBKDF2-HMAC-SHA512) 2020-10-16 10:41:58 +02:00
Jens Steube
fb219e0a69 Added hash-mode: PKCS#8 Private Keys 2020-10-09 10:35:27 +02:00
Jens Steube
a8506e6691 Fix broken support for fast hashes in optimized mask attack mode due to changes caused from -a 9 addition 2020-10-08 13:57:15 +02:00
Jens Steube
ad7fc1a3fe
Merge pull request #2564 from philsmd/master
minor: fix indentation issue in -m 17900 = Keccak-384
2020-10-05 12:31:58 +02:00
philsmd
1734b3da1b
Added mongodb-scram ServerKey (-m 24100 for SHA1, -m 24200 for SHA256) 2020-10-04 16:42:19 +02:00
philsmd
8f1aeeed9d
Fixes a buffer problem in -m 23900 if pw_len is larger than expected 2020-10-04 09:59:24 +02:00
philsmd
6df94320cb
minor: fix indentation issue in -m 17900 = Keccak-384 2020-10-02 09:27:25 +02:00
Jens Steube
0db82afa0e Update -m 23900 from PR to work with updated variable names caused from -a 9 2020-09-30 14:07:03 +02:00
Jens Steube
45ad7f9fe4
Merge pull request #2559 from philsmd/bestcrypt_v3_volume_encryption
Added -m 23900 = BestCrypt v3 Volume Encryption
2020-09-30 14:06:17 +02:00
Jens Steube
04d5e5a119 New Attack-Mode: Association Attack. Like JtR's single mode. Very early
stage. See hashcat Forum for detailed writeup.
2020-09-29 15:56:32 +02:00
philsmd
8350d4fa3c Added -m 23900 = BestCrypt v3 Volume Encryption 2020-09-26 16:38:51 +02:00
philsmd
5c615ad7bb
minor: use correct buffer size for AES decryption 2020-09-26 16:13:52 +02:00
Jens Steube
eedd3b1434
Merge pull request #2536 from cfreal/master
Implement sha1(sha1($pass).$salt) kernel.
2020-09-11 13:16:25 +02:00
Jens Steube
05e95f7a2c Fix copy/paste error in -m 23800 2020-09-10 21:34:18 +02:00
Jens Steube
357742d70a RAR3 Kernels: Improved loop code, improving performance by 23% 2020-09-10 21:25:19 +02:00
cfreal
919cb8f38e Fixed reference to 04500 instead of 04510 2020-09-08 12:19:45 +02:00
cfreal
64efcbd645 Fixed references to 04720, which is now 04510 2020-09-08 12:19:07 +02:00
philsmd
3cc828ce0a
Added -m 23700/23800 = RAR3-p cracking 2020-09-08 10:51:15 +02:00
cfreal
04a87d73c2 Changed mode from 4720 to 4510 2020-09-05 20:11:09 +02:00
cfreal
58f02c7119 Implement sha1(sha1($pass).$salt) kernel. 2020-08-28 11:36:08 +02:00
Jens Steube
142d086507
Merge branch 'master' into master 2020-08-17 09:58:07 +02:00
Jens Steube
b737bcf7ab
Merge branch 'master' into 23400_bitwarden 2020-08-15 18:39:23 +02:00
Jens Steube
30949c1578 Fixed unexpected non-unique salts in multi-hash cracking in Bitcoin/Litecoin wallet.dat module which lead to false negatives 2020-08-15 17:00:55 +02:00
philsmd
3627840bbc
AxCrypt 2: only copy/use as little data as required 2020-08-15 12:14:45 +02:00
philsmd
00ba7168fe
fixes #2510: Added -m 23500/23600 = AxCrypt 2 AES-128/256 2020-08-14 16:18:29 +02:00
philsmd
79e5c60fef
fixes #2505: added -m 23400 = Bitwarden 2020-08-13 10:25:56 +02:00
philsmd
0b06034d01 fixes #546: added -m 23300 = Apple iWork cracking 2020-08-12 11:05:35 +02:00
Jens Steube
36480b99c1 Remove unused esalt declaration in -m 12500 2020-08-04 14:49:22 +02:00
Jens Steube
e00cae4c5c Update support for RSA/DSA/EC/OPENSSH Private Keys 2020-08-03 16:57:23 +02:00
Jens Steube
152fefe65f
Merge pull request #2363 from mpalmer/pkcs1
Module to decrypt PEM-encoded encrypted private keys (#74)
2020-08-03 16:54:06 +02:00
Jens Steube
ade00c412b Add code to inc_common.cl to do PKCS padding checks as well as (naive) ASN.1 detection 2020-07-30 14:51:04 +02:00
philsmd
9bd77536c2
improved speed of -m 21200 by using pre-computed SHA1 hash 2020-07-26 18:00:09 +02:00
Jens Steube
5f7b70bc42
Merge pull request #2408 from mpalmer/vector-element
SIMD: add VECTOR_ELEMENT macro
2020-07-23 14:24:04 +02:00
Jens Steube
4658e470a2 OpenCL Kernels: Added datatypes to literals of some 64 bit kernel constants 2020-07-22 14:06:58 +02:00
Jens Steube
70ba719169 OpenCL Kernels: Added datatypes to literals of enum costants 2020-07-22 12:34:00 +02:00
Jens Steube
7cba225715 Added hash-mode: XMPP SCRAM 2020-07-17 14:27:00 +02:00
Jens Steube
e141742944
Merge branch 'master' into m23100_apple_keychain 2020-07-01 13:01:16 +02:00
Jens Steube
ab4a1783df
Merge branch 'master' into master 2020-07-01 12:50:44 +02:00
Jens Steube
19d210cb8a
Merge pull request #2469 from philsmd/m20900_del_whitespace
remove extra spaces in -m 20900
2020-07-01 09:30:22 +02:00
Jens Steube
9ce625464e Fixed uninitialized value in bitsliced DES kernel (BF mode only) leading to false negatives 2020-06-30 13:28:23 +02:00
philsmd
bb4ce6d458
keychain: remove useless comment in kernel 2020-06-25 17:48:36 +02:00
philsmd
630bb5b811
fixes #2457: added -m 23100 = Apple Keychain 2020-06-25 17:36:43 +02:00
philsmd
2f34ad7943
remove extra newline in blake2b include file 2020-06-25 17:05:32 +02:00
philsmd
71a9eb2276
remove extra spaces in -m 20900 2020-06-24 23:57:00 +02:00
philsmd
bd9304724c
fixes #1298: add pure kernels for -m 600 = BLAKE2b-512 2020-06-24 23:41:58 +02:00
philsmd
b05703aeb7
fix some further kernel declarations 2020-06-15 14:58:34 +02:00
Jens Steube
9dffc69089
Merge pull request #2448 from philsmd/refactor_cosmetic_fix
cosmetic: minor code style fixes
2020-06-15 10:01:31 +02:00
Jens Steube
5c3a3137b0
Merge pull request #2447 from philsmd/master
rule engine: add zero-length check for rule 'z'
2020-06-15 10:01:20 +02:00
Jens Steube
78d72bbcfe Fix kernel declarations in optimized -m 2000 kernels 2020-06-13 19:39:54 +02:00
philsmd
e59f61e8cf
cosmetic: minor code style fixes 2020-06-13 11:19:00 +02:00
philsmd
1e2bc78fd0
rule engine: add zero-length check for rule 'z' 2020-06-13 11:06:05 +02:00
Jens Steube
e00f3e9636 Add optimized fake kernels for -m 2000 to enable hashcat to respect user decision to use pure or optimized password candidate generators in --stdout mode 2020-06-12 08:57:59 +02:00
Jens Steube
27df7429ce Fix current password length check in y/Y rules in pure kernel mode 2020-06-12 08:56:03 +02:00
Jens Steube
9ea8b3424d
Merge branch 'master' into pkcs1 2020-06-10 10:51:43 +02:00
Jens Steube
c0753f361c Removed branches in replace_dot_by_len() function of optimized -m 8300 kernels 2020-06-09 10:47:18 +02:00
Jens Steube
69bdd5012c
Merge pull request #2420 from philsmd/dnssecDotReplaceByLen
fixes #2365: NSEC3 dot replace and empty salt/domain fix
2020-06-09 10:45:02 +02:00
Matt Palmer
70441138ed Renumber PEM module to 22900
Also took the liberty of removing old PKCS1 naming everywhere,
so as to prevent future confusion.
2020-06-08 13:36:39 +10:00
philsmd
df5564eee2
cosmetic: make pure kernel of rar3-hp easier to read 2020-06-05 08:59:20 +02:00
Jens Steube
3a9929bd3d
Merge pull request #2419 from philsmd/rarHpPureFix
fixes #2390: RAR3-hp cracking w/ pass > 28 (pure kernel) + tests added
2020-06-04 10:06:29 +02:00
Jens Steube
f6322dccd5
Merge branch 'master' into pkcs1 2020-06-04 09:44:01 +02:00
Jens Steube
8ed1ae63db
Merge pull request #2406 from philsmd/patch-1
-m 21000 = BitShares fix for different vector width
2020-06-02 12:37:56 +02:00
philsmd
5df743cb85
fixes #2410: added -m 2300x = SecureZIP 2020-05-31 10:36:41 +02:00
philsmd
ea6eab29f8
added OpenCL kernel code for AES-192 2020-05-31 10:30:19 +02:00
philsmd
f382d24dcf
fixes #2365: NSEC3 dot replace and empty salt/domain fix 2020-05-25 11:30:45 +02:00
philsmd
edfe21b902
fixes #2390: RAR3-hp cracking w/ pass > 28 (pure kernel) + tests added 2020-05-25 11:08:33 +02:00
Matt Palmer
2d83149a54 Module to decrypt PEM-encoded encrypted private keys (#74)
Supports a variety of common PKCS#1 ciphers, with fast kernels in all
available colours, shapes, and sizes.
2020-05-19 23:58:09 +10:00
Matt Palmer
f2c69ecfe5 Add md5_update_vector_from_scalar
This is similar in concept to *_init_v_f_s, except that all
contexts in the vector are updated from the same scalar
array of data.
2020-05-19 23:52:16 +10:00
Matt Palmer
86906e28b7 SIMD: add VECTOR_ELEMENT macro
Useful in cirumstances where you want to work with individual elements
of a vector, typically after you've done some vector-compatible operations
(mass-hashing, for example) but now need to do some non-vector-friendly
work (like executing most decryption algorithms).
2020-05-19 14:32:01 +10:00
philsmd
5190441dfd
-m 21000 = BitShares fix for different vector width 2020-05-18 10:37:58 +02:00
Jens Steube
d34381680d
Merge pull request #2389 from philsmd/multibit_22500_fix
fixes possible off-by-one verification problem with -m 22500 = MultiBit Classic
2020-05-08 11:41:54 +02:00
philsmd
e15e0e7b71
fixes possible off-by-one verification problem with -m 22500 = MultiBit Classic 2020-05-08 11:11:47 +02:00
philsmd
b7e5216cf1
fixes #2383: added -m 22700 = MultiBit HD (scrypt) 2020-05-08 10:57:32 +02:00
philsmd
688d904aa0
Added -m 22600 = Telegram Desktop App Passcode (PBKDF2-HMAC-SHA1) 2020-04-08 14:31:47 +02:00
Jens Steube
3c1ddc8149 Revert "Precompute some constants to improve performance of -m 780x SAP kernels"
This reverts commit b1bb47c1ae.
2020-04-02 14:55:04 +02:00
Jens Steube
b89bb84e1d Revert "Fix -m 7800 and -m 7801 on CPU"
This reverts commit 9f9ed78ca7.
2020-04-02 14:54:35 +02:00
philsmd
53d2e45795
fixes #2341: electrum 4/5 mod_512 () infinite loop fix 2020-03-31 11:01:47 +02:00
Jens Steube
ddb641b843 Add option to force disable real SHM access to be used from within the module 2020-03-20 16:20:22 +01:00
Jens Steube
9421b99a6f
Merge pull request #2332 from philsmd/master
fixes #2067: 40-bit oldoffice false positive problem
2020-03-20 08:30:38 +01:00
Jens Steube
24094793da Workaround for -m 22100 on NVIDIA 2020-03-18 16:13:57 +01:00
philsmd
2bc126ac96
fixes #2067: 40-bit oldoffice false positive problem 2020-03-16 16:30:35 +01:00
Jens Steube
b1d5f92c2d Do not use __local keyword in -m 5500 for devices without real shared memory 2020-03-06 15:48:01 +01:00
Jens Steube
fd06e407cf Remove #undef _unroll because _unroll is no longer the default 2020-03-06 13:44:07 +01:00
Jens Steube
fa4b521d48 Add unpack_v8x_from_v32 for vector datatypes, update -m 200 2020-03-06 13:31:32 +01:00
Jens Steube
9f9ed78ca7 Fix -m 7800 and -m 7801 on CPU 2020-03-04 15:19:55 +01:00
Jens Steube
b6feddd81f Unroll some of the code in the candidate generators 2020-03-04 13:30:09 +01:00
Jens Steube
e5889c21fb Fix invalid call to check_header_1536() in -m 13722 2020-03-04 11:18:52 +01:00
Jens Steube
61fe90bacb Use oldschool SHA1 kernel for CPU it's slightly faster 2020-03-03 12:36:55 +01:00
Jens Steube
b4bac70bd6 Remove inline keyword in DECLSPEC for CPU 2020-03-03 08:52:26 +01:00
Jens Steube
e53bff0fb0 Reenable bitselect() and rotate() on Intel SDK 2020-03-02 16:07:13 +01:00
Jens Steube
c258aa4111 Reenable SIMD mode for -m 13600 2020-03-02 15:00:52 +01:00
Jens Steube
717f3e7825 Unroll BLAKE2B_ROUND in -m 600 2020-03-01 09:42:55 +01:00
Jens Steube
ed893e86fb Move esalt buffer in -m 7300 to shared memory to slightly improve performance 2020-02-23 16:30:29 +01:00
Jens Steube
4c2ef5993a Set -m 7000 to OPTS_TYPE_PT_GENERATE_BE mode to slightly improve performance 2020-02-23 15:21:34 +01:00
Jens Steube
fdde629d42 Backport -m 8700 optimization to -m 8600 2020-02-22 22:53:16 +01:00
Jens Steube
48fd7d039f Optimize access to s_lotus_magic_table[] in -m 8700 2020-02-22 20:40:47 +01:00
Jens Steube
caa34924bf More optimizations in -m 15300 and -m 15900 2020-02-22 10:18:09 +01:00
Jens Steube
09b8a30da2 Small optimizations in -m 15300 and -m 15900 2020-02-22 09:11:04 +01:00
Jens Steube
669619c1a7 Fixed out-of-boundary write to decrypted[] in DPAPI masterkey file v1 kernel 2020-02-22 08:42:36 +01:00
Jens Steube
f96e35649d Change bitsliced kernels from 3d to 2d invocation mode for slightly better performance 2020-02-22 07:59:58 +01:00
Jens Steube
6b8f0da8e9 Fix VECT_SIZE > 1 in OpenCL/m14100_a3-pure.cl 2020-02-21 15:23:16 +01:00
Jens Steube
cd20e43667 Precompute some steps in 3des to improve cracking performance 2020-02-21 15:10:27 +01:00
Jens Steube
398e06878d Fix streebog512_g() in vector datatype mode 2020-02-20 16:42:12 +01:00
Jens Steube
ee4168d8fc Fix missing s_sbob_sl64[] initialization in -m 1377x kernels 2020-02-20 16:23:48 +01:00
Jens Steube
5512deef2e Remove old code in m13721_loop() 2020-02-20 16:11:40 +01:00
Jens Steube
d9473358ef Add support for OPTS_TYPE_LOOP_EXTENDED kernel for special cases like VeraCrypt 2020-02-20 16:00:21 +01:00
Jens Steube
b1bb47c1ae Precompute some constants to improve performance of -m 780x SAP kernels 2020-02-20 13:52:12 +01:00
Jens Steube
1449e239c2 Optimize some -m 780x code in kernels 2020-02-20 11:01:56 +01:00
Jens Steube
c90d83c3eb Prepare for UNROLL whitelisting 2020-02-15 12:44:12 +01:00
Jens Steube
c9fdb34698 Do not use V_BFE_U32 with latest rocm version 2020-02-13 13:24:20 +01:00
Jens Steube
5f57ab35b6 Rewrite MT[X][256] constants to MTX[256] constants in whirlpool hash 2020-02-12 16:51:19 +01:00
Jens Steube
193b4a38c7 Replace arrays in inc_hash_whirlpool.cl with scalar variables 2020-02-12 15:58:57 +01:00
Jens Steube
1de08570b3 Unroll whirlpool transform and get rid of shared memory access to s_RC[] 2020-02-11 16:32:51 +01:00
Jens Steube
7aed6fdb54 mini optimization for -m 740x optimized kernel 2020-02-11 14:22:38 +01:00
Jens Steube
f5527bb937 Fix mangle_dupeword_times() in OpenCL/inc_rp.cl 2020-02-11 12:23:51 +01:00
Jens Steube
a74cbe3461 Fixed out-of-boundary read in pure kernel rule engine rule 'p' if parameter is set to 2 or higher 2020-02-10 16:32:34 +01:00
Jens Steube
9607b8c734 Fix -m 7400 optimized kernel for passwords length > 12 if salt length > 16 2020-02-10 14:40:51 +01:00
Jens Steube
d76965348d Small optimization for sha256crypt and add support for salt length up to 20 2020-02-10 11:10:57 +01:00
philsmd
b51273fb0b
Fixes #1538: Added -m 22500 = MultiBit Classic .key (MD5) 2020-02-06 20:25:14 +01:00
Jens Steube
dbfd8d949e Small code optimization -m 6500 2020-02-05 09:54:05 +01:00
Jens Steube
59677cd4b8 Small optimization in -m 16600 2020-02-04 21:54:09 +01:00
Jens Steube
050f6b0e30 Remove some useless code in -m 12400 2020-02-04 15:38:01 +01:00
Jens Steube
95f3230bcf Small speedup for -m 12500 (RAR3-hp) in optimized mode 2020-02-04 15:19:53 +01:00
Jens Steube
6c96a5d9f7 Small speedup for -m 7900 (Drupal) 2020-02-04 14:35:59 +01:00
Jens Steube
d325158e65 Fix functions used in m12500-pure.cl 2020-02-04 12:55:02 +01:00
Jens Steube
045348ac73 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-02-04 12:45:16 +01:00
Jens Steube
02466bf404 Add pure kernel for rar3-hp to support passwords with more than 20 characters 2020-02-04 12:44:54 +01:00
Jens Steube
525f8af200 Add v8x_from_v64_x to inc_common.cl 2020-02-03 15:51:08 +01:00
Jens Steube
633327d8b7 Rewrite Whirlpool hash with 64 bit instructions 2020-02-03 15:24:38 +01:00
Jens Steube
146ca73ff9 Workaround NVIDIA cubin error 'misaligned address' in -m 6100 2020-02-03 12:49:05 +01:00
Jens Steube
fb7bb04587 Do not use dynamic shared memory if dynamic_local_mem_size is a multiple of local_mem_size 2020-02-02 11:15:37 +01:00
Jens Steube
aef53f7e10 OpenCL Runtime: Allow the kernel to access post-48k shared memory region on CUDA. Requires both module and kernel preparation 2020-02-01 14:27:42 +01:00
Jens Steube
1fc37c25f9 OpenCL Kernels: Moved "gpu_decompress", "gpu_memset" and "gpu_atinit" into new OpenCL/shared.cl in order to reduce compile time 2020-02-01 09:00:48 +01:00
Jens Steube
7d9461f8b9 Add -m 11600 optimized kernel 2020-01-26 18:38:47 +01:00
Jens Steube
3561e7b8d7 Add special ROCM detection in OpenCL/inc_vendor.h 2020-01-25 12:09:39 +01:00
Jens Steube
3a5544a554 Help some compiler with 64 bit constants 2020-01-21 22:09:56 +01:00
Jens Steube
cf4cee2f2f Update selection of API to make use of bitselect and rotate 2020-01-20 09:20:12 +01:00
Jens Steube
4b16631710 Do REAL_SHM check in -m 9100 2020-01-16 19:20:57 +01:00
Jens Steube
c58a889aa6 Small performance boost in -m 22400 2020-01-16 15:00:19 +01:00
philsmd
4887cc47b8
Fixes #2267: added support for -m 22400 = AES Crypt (SHA256) 2020-01-16 12:15:17 +01:00
Jens Steube
da7a13afcb Fix some formating 2020-01-15 20:33:26 +01:00
Jens Steube
ce9b9ef015 Fix compiler warnings in -m 18700 pure mode 2020-01-15 10:22:28 +01:00
philsmd
3353a6fb5d
Added -m 22300 = sha256($salt.$pass.$salt) 2020-01-15 09:16:05 +01:00
Jens Steube
53105abeb4 Added hash-mode: Citrix NetScaler (SHA512) 2020-01-14 17:15:34 +01:00
Jens Steube
9824e6e91b Update unstable warnings for Intel GPU on macOSX 10.15 2020-01-14 13:29:02 +01:00
Jens Steube
cef13008dc Fix some bugs in -m 10800, -m 15400 and -m 18700 in --backend-vector-width mode > 1 2020-01-14 09:57:07 +01:00
Jens Steube
89f9ef45b6 Whitelist some OpenCL specific functions 2020-01-12 13:32:02 +01:00
Jens Steube
0378a01422 Fix more rocm compiler warning 2020-01-12 11:22:26 +01:00