1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-12 17:58:40 +00:00
Commit Graph

1004 Commits

Author SHA1 Message Date
Jens Steube
0aba4cab6b
Merge pull request #2656 from matrix/hash-mode-10810
Added hash-mode 10810 - sha384(pass.salt)
2021-05-25 08:51:44 +02:00
Jens Steube
3faad47b48 Revert "Merge branch 'matrix-hash-mode-25100'"
This reverts commit a236b55cae, reversing
changes made to 1d965c3e78.
2021-05-23 10:18:51 +02:00
Jens Steube
87f3b2caaf Merge branch 'hash-mode-25100' of https://github.com/matrix/hashcat into matrix-hash-mode-25100 2021-05-23 09:58:42 +02:00
Jens Steube
0457016834 UTF8-to-UTF16: Replaced naive UTF8 to UTF16 conversion with true conversion for RAR3, AES Crypt and MultiBit HD (scrypt) 2021-05-22 10:37:51 +02:00
Jens Steube
0a6080505b AES Crypt Plugin: Replaced naive with true UTF8 to UTF16 conversion, reduced max password length to 128 and improved performance 2021-05-21 22:12:32 +02:00
Jens Steube
df8a773341 Restore maximum password length 128 for pure RAR3 kernels 2021-05-21 22:04:24 +02:00
Jens Steube
fd51086395 RAR3 Plugins: Replaced naive with true UTF8 to UTF16 conversion in optimized and pure kernels 2021-05-21 12:46:14 +02:00
Jens Steube
23bbe457a0 RAR3-hp Plugin: Replaced naive with true UTF8 to UTF16 conversion in optimized and pure kernel 2021-05-21 11:24:43 +02:00
realSnoopy
ea7f7909f4
update in module_13400.c
changed token.len_max[2] = 8; -> token.len_max[2] = 10;
max lenght of an u32 is 10,
use case: for manually user tuned keepass iterations above 99999999
see thread https://hashcat.net/forum/thread-10116-post-52700.html#pid52700
2021-05-19 19:31:27 +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
475716e81d Help autotuner to find more stable workload settings for -m 6900 by limiting kernel loops 2021-05-13 12:14:23 +02:00
Jens Steube
774b76efe2 Remove OPTS_TYPE_MP_MULTI_DISABLE from -m 3200 for better performance on NV GPU 2021-05-13 08:03:44 +02:00
Jens Steube
4ce60a6c61 Add module_unstable_warning() entry for -m 21800 using rocr drivers 2021-05-12 07:42:46 +02:00
Jens Steube
ec0d1309fe Avoid large buffer allocation on stack in -m 23700 and -m 23800 - it crashes on macOS 2021-05-12 00:17:41 +02:00
Jens Steube
4221bd151c Fixed unterminated salt buffer in -m 23400 module_hash_encode() in case salt was of length 256 2021-05-11 23:36:31 +02:00
Jens Steube
282eb75fe9 Update module_unstable_warning for benchmark long selection on macOS for CPU and GPU; Allow use of GPU without --force testwise 2021-05-10 19:57:56 +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
3d0e0d5c2d Add some device_local_mem_size checks relevant for devices with only 32k shared memory 2021-05-09 15:05:28 +00: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
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
ff72a8ed21 Remove module_unstable_warning() entries for AMD (legacy) driver after workaround inside UTF16 conversion function is in use 2021-05-08 15:55:32 +00:00
Gabriele Gristina
17a83a50af cryptoapi opts (1) 2021-05-06 23:24:46 +02:00
Jens Steube
f011f790e2 Revert accidential rename of module and unit test from -m 21501 to -m 25100 2021-05-05 22:57:16 +02:00
Jens Steube
32b40d5c53 Added command prompt [f]inish to instruct hashcat to finish the current attack and quit afterwards 2021-05-05 22:53:04 +02:00
Jens Steube
08ed77c15c
Merge branch 'master' into SolarWinds2 2021-05-05 10:12:16 +02:00
Jens Steube
00c87bbc6d
Merge pull request #2658 from matrix/SolarWinds_ServU
Added hash-mode 24 - SolarWinds Serv-U
2021-05-05 10:10:12 +02:00
Jens Steube
95489b0473 Update module_unstable_warning() for amdgpu-pro-20.50-1234664-ubuntu-20.04 (legacy) 2021-05-02 18:18:50 +00:00
Jens Steube
b4f86d2262 Update module_unstable_warning() for -m 21800 2021-05-02 12:32:17 +02:00
Jens Steube
bf2064df7f Update module_unstable_warning() for -m 172xx and -m 200xx 2021-05-02 08:19:16 +00:00
Jens Steube
9c8509e101 Update module_unstable_warning() on latest Intel OpenCL runtime 2021-04-26 09:25:57 +02:00
Jens Steube
1dac869cb7 Removed unnecessary swaps in SCRYPT based algorithms 2021-04-23 20:55:13 +02:00
Jens Steube
1e35b05979 Update unstable warning message in all modules based on latest AMD driver (rocr version) 2021-04-22 20:10:49 +02:00
Jens Steube
c444b42290 Add optimized unroll settings for SCRYPT hash-modes 2021-04-21 19:02:01 +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
8e47fdf8f5 Add 4 times single workitem extra buffer size to total extra buffer size to workaround single workitem buffer overflows 2021-04-19 10:27:51 +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
a834574daf Update module_unstable_warning() based on the latest available drivers:
- NVIDIA-Linux-x86_64-460.73.01
- amdgpu-pro-20.50-1234664-ubuntu-20.04 (rocr for new gpu, legacy for
old gpu)
- w_opencl_runtime_p_2021.2.0.616.exe

Not tested:

- Apple *
- l_opencl_p_18.1.0.015.tgz
- Intel GPU
- POCL

Update docs/license.txt
2021-04-18 14:41:44 +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
57a8923b81 Update complete SCRYPT workload tuning logic.
A detailed description will follow.
Set -m 8900 defaults to 16k:8:1 (default scrypt settings).
2021-04-16 20:17:53 +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
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
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
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
Jens Steube
1323ef3a82 Support loading hash from command line in -m 22000 and -m 22001
Fixes #2742
2021-04-04 11:38:02 +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
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
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
lordneon
b470ce8df2 Updated hashcategory for m24800 2021-02-05 12:54:54 +00: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
fe088595cd Added swizzle optimization and OPTI_TYPE_SLOW_HASH_SIMD_LOOP 2020-12-26 07:18:29 +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
aba6a3d47d Updated HASH_CATEGORY 2020-12-18 18:33:58 +01:00
Gabriele Gristina
9e2cfeac27 Added hash-mode 24 - SolarWinds Serv-U 2020-12-18 18:31:21 +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
65cc442c7f Fixed hash-mode 10830, HASH_CATEGORY 2020-12-17 03:46:34 +01:00
Gabriele Gristina
676cb23f26 Fixed hash-mode 10840, HASH_CATEGORY 2020-12-17 03:45:47 +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
3b34289c48 removed bcrypt password length limits 2020-12-11 16:40:19 +01:00
Gabriele Gristina
2097d67cd5 Added hash-mode bcrypt(md5(pass)) / bcryptmd5 2020-12-10 02:16:33 +01:00
Gabriele Gristina
6582939121 update signature and self-test hash 2020-12-03 20:56:36 +01:00
Gabriele Gristina
7895c45bf8 fix indentation 2020-12-01 02:46:09 +01:00
Gabriele Gristina
55f10f1751 Added hash-type 21501, SolarWinds Orion v2 2020-12-01 02:38:21 +01:00
Michael Kruger
611c73d294 NetNTLM bypass NT 2020-11-06 23:28:05 +02:00
TROUNCE
bf7b9c2d73
Add files via upload 2020-10-26 23:11:16 +00:00
TROUNCE
074b821a8c
Add files via upload 2020-10-26 23:06:54 +00:00
TROUNCE
e6f94fc1fd
Add files via upload 2020-10-26 23:05:54 +00:00
TROUNCE
a017ae130c
Add files via upload 2020-10-26 00:05:27 +00:00
TROUNCE
8c0d467638
Add files via upload 2020-10-25 22:58:18 +00:00
TROUNCE
0dff551161
Add files via upload 2020-10-24 19:39:49 +01:00
TROUNCE
677f259774
Add files via upload 2020-10-23 22:23:22 +01:00
TROUNCE
57fac8ab0f
Add files via upload 2020-10-20 19:44:19 +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
philsmd
1734b3da1b
Added mongodb-scram ServerKey (-m 24100 for SHA1, -m 24200 for SHA256) 2020-10-04 16:42:19 +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
Jens Steube
7be7ce3a31
Merge pull request #2548 from philsmd/7z_hook_init_term
Improved the hook's memory handling for -m 11600 = 7-Zip
2020-09-22 10:43:45 +02:00
Jens Steube
8207af471c Update module_init() to latest structure in -m 4510 2020-09-11 13:17:12 +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
philsmd
fa1cd70c81
Improved the hook's memory handling for -m 11600 = 7-Zip 2020-09-11 10:23:50 +02:00
Jens Steube
90fb4aadae Use only 128 threads for -m 12500, user can override using -T 2020-09-10 21:38:39 +02:00
Jens Steube
3cd7b1565b Add missing free in -m 23800 2020-09-09 09:00:35 +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
Jens Steube
fb448b6eb6 Fixed incorrect maximum password length support for -m 400 in optimized mode (reduced from 55 to 39) 2020-08-30 15:53:58 +02:00
Jens Steube
98aef2ae92 Module Structure: Add 3rd party library hook management functions. This also requires an update to all existing module_init() 2020-08-29 16:12:15 +02:00
cfreal
58f02c7119 Implement sha1(sha1($pass).$salt) kernel. 2020-08-28 11:36:08 +02:00
philsmd
eed7863af4
add OPTS_TYPE_SUGGEST_KG to -m 23100 = Apple Keychain 2020-08-26 12:05:57 +02:00
Jens Steube
142d086507
Merge branch 'master' into master 2020-08-17 09:58:07 +02:00
Jens Steube
56e8de15e4
Merge pull request #2522 from roycewilliams/master
fix case in 'OpenSSH'
2020-08-17 09:49:42 +02:00
magnum
89f84b64a3 -m 21200 bugfix: Array declared too small. We're using indeces 0..4 so it
has to be pc[5].
2020-08-16 21:19:59 +02:00
Jens Steube
b737bcf7ab
Merge branch 'master' into 23400_bitwarden 2020-08-15 18:39:23 +02:00
Royce Williams
7de74a08a2 fix case in 'OpenSSH' 2020-08-15 08:15:52 -08: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
Jens Steube
a72ba6faab Add OPTI_TYPE_SLOW_HASH_SIMD_INIT2 and OPTI_TYPE_SLOW_HASH_SIMD_LOOP2 2020-08-14 15:52:36 +02:00
Jens Steube
aa3f384858
Merge pull request #2513 from philsmd/master
fixes #546: added -m 23300 = Apple iWork cracking
2020-08-14 12:38:47 +02:00
philsmd
035df28c8a
use base64 encoded salt for -m 23400 (Bitwarden) 2020-08-13 14:55:59 +02:00
philsmd
79e5c60fef
fixes #2505: added -m 23400 = Bitwarden 2020-08-13 10:25:56 +02:00
philsmd
91e10abaea
fixes #2509: use AxCrypt 1 to avoid confusion for -m 13200/13300 2020-08-12 11:22:37 +02:00
philsmd
0b06034d01 fixes #546: added -m 23300 = Apple iWork cracking 2020-08-12 11:05:35 +02:00
Jens Steube
dc9a246893 Removed unstable warnings for AMD-GPU-PRO on -m 15300, 15700 and 21500 2020-08-05 14:52:13 +02:00
Jens Steube
cdd06d404a Add option OPTS_TYPE_SUGGEST_KG to all -m 229xx modules 2020-08-04 15:15:41 +02:00
Jens Steube
6259acc3ab Switch hash category for -m 15500 to HASH_CATEGORY_PRIVATE_KEY 2020-08-04 09:43:46 +02:00
Jens Steube
b8cbf94791 Add missing modules for -m 229xx 2020-08-03 18:21:26 +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
philsmd
9bd77536c2
improved speed of -m 21200 by using pre-computed SHA1 hash 2020-07-26 18:00:09 +02:00
Jens Steube
4a9f8a1e75 Fixed false negatives in hash-mode 10901 if hash-mode 9200, 10000, 10900 or 20300 was used to compile the kernel binary 2020-07-23 12:56:21 +02:00
Jens Steube
7cba225715 Added hash-mode: XMPP SCRAM 2020-07-17 14:27:00 +02:00
Jens Steube
b9f6777f1b OpenCL Runtime: Add some unstable warnings for some SHA512 based algorithms on AMD GPU on macOS 2020-07-15 11:27:46 +02:00
philsmd
9ec84ed6bd
fix pw_max w/ -O for -m 10600 2020-07-02 17:27:43 +02:00
Jens Steube
5d04e97adc Fixed maximum password length in modules of hash-modes 600, 7800, 7801 and 9900 2020-07-02 12:20:41 +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
philsmd
8c54727a8c
updates default pw_max length for blake2b 2020-06-27 12:48:36 +02:00
philsmd
480466a954
kerberos: do NOT use PWDUMP format with -m 7500/18200 2020-06-27 12:40:40 +02:00
philsmd
630bb5b811
fixes #2457: added -m 23100 = Apple Keychain 2020-06-25 17:36:43 +02:00
philsmd
bd9304724c
fixes #1298: add pure kernels for -m 600 = BLAKE2b-512 2020-06-24 23:41:58 +02:00
philsmd
e59f61e8cf
cosmetic: minor code style fixes 2020-06-13 11:19:00 +02:00
Jens Steube
9ea8b3424d
Merge branch 'master' into pkcs1 2020-06-10 10:51:43 +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
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
09b2bb0ad7 Fixed a buffer overflow in module_hash_decode() of -m 15500 2020-06-03 12:51:38 +02:00
Jens Steube
c51b6391c9
Merge pull request #2405 from philsmd/luks_hash_example_fix
luks: remove self-test example hash
2020-06-02 12:35:07 +02:00
Jens Steube
4aaec30ada
Merge pull request #2404 from philsmd/master
use our safe free () wrapper hcfree whenever possible
2020-06-02 12:34:19 +02:00
philsmd
416bdd8e47
SecureZIP: use hex_encode () / hex_decode () 2020-06-02 11:21:25 +02:00
philsmd
5df743cb85
fixes #2410: added -m 2300x = SecureZIP 2020-05-31 10:36:41 +02:00
Jens Steube
6c0dc7493e Fix modules where salt->salt_buf[] is used but salt->salt_len was not set 2020-05-29 11:19:49 +02:00
Jens Steube
84d3981e7b Add returncode PARSER_HAVE_ERRNO as a valid returncode from module_hash_binary_count() and module_hash_binary_parse() module hooks. You can use this in case fopen() fails and you want to transport back the original error from the OS 2020-05-27 15:23:02 +02:00
Matt Palmer
cff3fbda9b Provide benchmark esalt structure 2020-05-27 20:30:00 +10: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
Jens Steube
1dc3469f6e
Merge pull request #2372 from mpalmer/binary-parse-report-error
Allow module_hash_binary_parse to report a fatal error
2020-05-18 15:14:49 +02:00
philsmd
943c57ae5f
luks: remove self-test example hash 2020-05-14 19:27:39 +02:00
philsmd
d1c3274965
use our safe free () wrapper hcfree whenever possible 2020-05-14 19:21:59 +02:00
philsmd
b7e5216cf1
fixes #2383: added -m 22700 = MultiBit HD (scrypt) 2020-05-08 10:57:32 +02:00
Jens Steube
33579ae3db Add new option for modules OPTS_TYPE_SELF_TEST_DISABLE to disable self-test functionality from hash-mode directly 2020-05-08 10:18:17 +02:00
Jens Steube
d22a9a0978 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-04-30 12:58:46 +02:00
Matt Palmer
b4204d265d Allow module_hash_binary_parse to report a fatal error
If module_hash_binary_parse is completely unable to successfully parse out
any hashes, up until now the output has been

```
Hashfile 'foo': Success
```

which is less than helpful.

This patch allows (but does not require) m_h_binary_parse to report a useful
error response, by returning a negative value.  Modules which continue to
return '0 hashes' will get the same less-than-useful behaviour they always
hace.

I've also modified the LUKS module to report a useful error, as a proof of
concept.

Further expansions on this could include:

* Applying similar behaviour to module_hash_binary_count, so it too can
  report errors when trying to count hashes.  This would require more
  co-ordinated change, because m_h_binary_count already uses -1 to indicate
  a system error.

* Allow and encourage modules to print their own errors and warnings during
  parsing.  This would allow for situations where a single hash in a
  multi-hash file could be reported as malformed, without having to fail the
  whole parse.  However, implementing this would, I expect, require modules
  to have access to `hashcat_ctx`, which...  yeah.  Not so straightforward.
2020-04-23 12:05:41 +10:00
philsmd
688d904aa0
Added -m 22600 = Telegram Desktop App Passcode (PBKDF2-HMAC-SHA1) 2020-04-08 14:31:47 +02:00
Jens Steube
1797f3ffa4 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-04-02 15:16:26 +02:00
Jens Steube
2c94c003ce
Merge pull request #2353 from s3inlc/patch-separator
Patch all inconsistent separators in modules
2020-04-02 14:39:42 +02:00
Jens Steube
a45548d176
Merge pull request #2351 from s3inlc/patch-1
Fix constant separator when printing IPMI hashes
2020-04-02 14:39:24 +02:00
Jens Steube
26570cdb17 Disable some modules on AMDGPU-Pro driver 2020-04-01 15:10:52 +02:00
s3inlc
b9d251b76e fixing all inconsistent hash separators 2020-03-31 20:40:09 +02:00
Sein Coray
949b61a6bb
Fix constant separator when printing IPMI hashes 2020-03-31 17:37:46 +02:00
Jens Steube
e3e31adec3 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-03-31 14:41:35 +02:00
Jens Steube
10e986990b
Merge pull request #2349 from philsmd/hexSaltFix
fixes #2339: problem with --hex-salt fixed
2020-03-30 18:02:32 +02:00
philsmd
15eb70152f
fixes #2339: problem with --hex-salt fixed 2020-03-30 14:06:11 +02:00
philsmd
4f3165c6ea
make -m 21200 more generic (except all supported salt len) 2020-03-30 13:53:37 +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
82a024d9cb Merge branch 'master' of https://github.com/hashcat/hashcat 2020-03-20 16:09:41 +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
a6cf7caf4a Extend hashes in -m 7100 to be of length 128 or 256 2020-03-17 14:44:11 +01:00
Jens Steube
81cb508808 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-03-17 12:02:34 +01:00
philsmd
2bc126ac96
fixes #2067: 40-bit oldoffice false positive problem 2020-03-16 16:30:35 +01:00
Jens Steube
119344c084 Mark -m 13100 as unstable on Apple + Iris 2020-03-13 09:51:27 +01:00
Jens Steube
0b0cbab24b Merge branch 'master' of https://github.com/hashcat/hashcat 2020-03-08 15:16:53 +01:00
Jens Steube
5b58cba12e Use _unroll in -m 5500 for CPU 2020-03-06 14:34:41 +01:00
Jens Steube
2fdb7ded8b Update self-test hash for -m 1500 2020-03-06 14:09:38 +01:00
Jens Steube
fe12d2bcc6
Merge pull request #2322 from philsmd/master
solve $telegram$1 format conflict with JTR
2020-03-06 12:14:29 +01:00
philsmd
7f55f69d7f
solve telegram format conflict with jtr 2020-03-06 11:49:22 +01:00
Jens Steube
8a2a821c03 Allow unroll code in -m 18200 on NV GPU 2020-03-04 13:32:42 +01:00
Jens Steube
ef47811c9d Rename 23911 to 10901 and populate salt->salt_buf[] 2020-03-03 09:55:13 +01:00
Jens Steube
a18ba9fde6
Merge pull request #2320 from thesubtlety/389-ds
Add new module for 389-ds
2020-03-03 09:47:36 +01:00
thesubtlety
4fafca4747 Add new module for 389-ds 2020-03-02 19:12:47 -08:00
Jens Steube
c258aa4111 Reenable SIMD mode for -m 13600 2020-03-02 15:00:52 +01:00
Jens Steube
b627536c45 Fixed missing OPTS_TYPE_COPY_TMPS in -m 1374x and -m 1376x 2020-03-02 10:20:22 +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
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
3ce3ecedd9 Reenable VeraCrypt on ROCM 2020-02-20 16:09:41 +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
9957422191 Add tokenizer option TOKEN_ATTR_SEPARATOR_FARTHEST as an option to deal with hash formats where separator character could be part of the salt data itself and at the same time does not allow escape character logic to be applied. This can only work if it is guaranteed by the design of the hash format that the separator character does not occur after the position of the separator character. 2020-02-19 10:35:44 +01:00
Jens Steube
cd3ca53203 Update ROCM to use _unroll for mode -m 621x 2020-02-16 11:19:56 +01:00
Jens Steube
f946e321a9 Update unroll and unstable configuration for NVIDIA CUDA/OpenCL runtime after unroll whitelisting change 2020-02-15 16:17:05 +01:00
Jens Steube
193aa77cdf Update unroll and unstable configuration for ROCM OpenCL runtime after unroll whitelisting change 2020-02-15 16:09:37 +01:00
Jens Steube
87b151836d Update unroll and unstable configuration for AMD-GPU-PRO OpenCL runtime after unroll whitelisting change 2020-02-15 15:34:47 +01:00
Jens Steube
cc3cb66f12 Update unroll and unstable configuration for Intel OpenCL runtime after unroll whitelisting change 2020-02-15 14:39:26 +01:00
Jens Steube
9980389f34 Update unroll and unstable configuration for Apple OpenCL runtime after unroll whitelisting change 2020-02-15 13:58:42 +01:00
Jens Steube
c90d83c3eb Prepare for UNROLL whitelisting 2020-02-15 12:44:12 +01:00
Jens Steube
ec841fcd1c Add NO_UNROLL to -m 15900 2020-02-14 12:21:00 +01:00
Jens Steube
20fa2167af Add NO_UNROLL to -m 13800 2020-02-14 11:29:19 +01:00
Jens Steube
42e7fa1303 Fix buffer overflow in module_hash_encode() in hash-mode 13600 2020-02-13 13:59:32 +01:00
philsmd
b6f40c05d6 Added -m 7401 = MySQL $A$ (sha256crypt), closes #2305 2020-02-11 11:36:16 +01:00
Jens Steube
a06f5f6644 Add support for length 20 in module for -m 7400 2020-02-10 13:01:32 +01:00
Jens Steube
4ed18af14c Make VeraCrypt PIM configuration mechanism easier to read 2020-02-08 12:24:47 +01:00
philsmd
0c0912d4da
-m 22500: remove unnecessary comment 2020-02-06 21:29:50 +01:00
philsmd
b51273fb0b
Fixes #1538: Added -m 22500 = MultiBit Classic .key (MD5) 2020-02-06 20:25:14 +01:00
Jens Steube
4788c61dd2 Add OPTI_TYPE_REGISTER_LIMIT flag to enable register limiting in CUDA 2020-02-04 21:53:27 +01:00
Jens Steube
633327d8b7 Rewrite Whirlpool hash with 64 bit instructions 2020-02-03 15:24:38 +01:00
Jens Steube
1290b01b3e Fix KERN_TYPE in --stdout mode 2020-02-02 14:36:47 +01:00
Jens Steube
c40f474c2e Add special module option to indicate the kernel is using dynamic shared memory 2020-02-02 11:24:38 +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
cc4fd48ace Optimize hook buffer size to be copied 2020-01-26 20:31:38 +01:00
Jens Steube
46bba107fa Reduce max accel in -m 11600 since thread count was unlocked 2020-01-26 20:00:51 +01:00
Jens Steube
7d9461f8b9 Add -m 11600 optimized kernel 2020-01-26 18:38:47 +01:00
Jens Steube
424a6ee8e9 Fix endianess of MIC in -m 22000 and -m 22001 outfile format 2020-01-26 10:45:41 +01:00
Jens Steube
247d1a91a5 Merge branch 'master' of https://github.com/hashcat/hashcat 2020-01-25 11:26:56 +01:00
Jens Steube
42b3ef7b90 Mark -m 137xx as unstable on rocm 2020-01-25 11:26:34 +01:00
Jens Steube
c8f9bd7d64
Merge pull request #2292 from philsmd/master
Fixes #2255: new --outfile-format with support for timestamps
2020-01-24 19:54:24 +01:00
philsmd
ebd904a179
outfile: improved version of OUTFILE_FORMAT assignment 2020-01-24 18:43:13 +01:00
Jens Steube
ccacc508cb Reenabled support for Intel GPU OpenCL runtime (Beignet and NEO) because a workaround was found (force -cl-std=CL2.0) 2020-01-24 10:52:12 +01:00
H. L. Seger
c3ec4c458e Implement sha256($salt.sha256_bin($pass)) kernel 2020-01-23 12:00:00 +01:00
Jens Steube
42358dc2f0 Remove OPTS_TYPE_PT_NEVERCRACK leftover when merging PR from an older source base 2020-01-22 09:28:48 +01:00
Jens Steube
7797488a12 Add PMKID/MIC to cracked output line in -m 22000 and -m 22001 2020-01-19 18:12:16 +01:00
Jens Steube
616683df5c Use an easier example hash for -m 22001 2020-01-19 10:50:47 +01:00
Jens Steube
abd4b99fd9 Use an easier example hash for -m 22000 2020-01-18 15:29:06 +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
e72bd958ba Fix some formating 2020-01-15 20:27:08 +01:00
Jens Steube
ae03120981 Update HASH_NAME in -m 22301 2020-01-15 10:33:36 +01:00
philsmd
706727ad64
Fixed #1534: added -m 22301 = Telegram (SHA256) 2020-01-15 09:18:41 +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
40a9473070 Updated pure kernel unstable markers to amdgpu-pro-18.50-708488-ubuntu-18.04 2020-01-13 21:20:06 +01:00
Jens Steube
a24d5ef9fa Merge branch 'master' of https://github.com/hashcat/hashcat 2020-01-13 16:26:37 +01:00
Jens Steube
cc85d1bd97 Update salt limit in -m 1460 from 64 to 256 2020-01-13 16:26:22 +01:00
Jens Steube
8a905d19aa Updated optimized kernel unstable markers to amdgpu-pro-18.50-708488-ubuntu-18.04 2020-01-13 16:06:04 +01:00
Jens Steube
8039290cd0 Update -m 10700 unstable warning and disable JiT compiler optimization for AMD GPU PRO, too 2020-01-06 13:36:17 +01:00
Jens Steube
4bef41ed1b Update -m 10700 unstable warning and disable JiT compiler optimization in pure kernel mode 2020-01-06 13:24:47 +01:00
philsmd
b2c28289c8
PDF module: -m 10700 missing assignment of tmp_size 2020-01-04 14:08:30 +01:00
Jens Steube
8e0f976ccf Merge branch 'master' of https://github.com/hashcat/hashcat 2020-01-02 19:40:35 +01:00
Jens Steube
20ef9725ef Use * in potfile entries for -m 250x and -m 1680x 2020-01-02 19:40:18 +01:00
Jens Steube
09c0cfcc04 Set -u for -m 22100 to 4k with the idea to force -n value to go down to 1 2020-01-02 12:51:25 +01:00
Jens Steube
931e29d333 Another Bitlocker boost, reduce shared mem consumption to give some of them to the compiler for more efficient calculating of memory pointer addresses 2020-01-02 12:34:19 +01:00
Jens Steube
daaf5d365c Use * in potfile entries for -m 22000 and -m 22001 2020-01-02 10:41:22 +01:00
Jens Steube
311d363054 Store precomputed KE for -m 22100 in shared memory and lock the loops per kernel invocation to a fixed value 2020-01-01 20:48:55 +01:00
Jens Steube
49b6520ca8 Make thread selection for -m 22100 mode flexible 2020-01-01 10:49:39 +01:00
Jens Steube
e31e7690ed Add BitCracker optimization to precompute KE of second sha256_transform since input data is static 2020-01-01 10:49:04 +01:00
Jens Steube
7215d4e9c0 Limit Bitlocker threads to 256 2019-12-31 23:01:47 +01:00
Jens Steube
0f9ad6f974 Limit Bitlocker threads to 256 2019-12-31 22:54:50 +01:00
Jens Steube
50907c5fff Update Bitlocker minimum password length 4 2019-12-31 22:03:53 +01:00
Jens Steube
bc442ad821 Add Bitlocker minimum password length 8 restriction 2019-12-31 21:29:09 +01:00
philsmd
1c1ed72c65
fixes #1117: added -m 22100 = BitLocker 2019-12-31 18:42:13 +01:00
Jens Steube
6ed3003a30 Fix for -m 3000 loading hashes in pwdump format 2019-12-23 15:59:14 +01:00
Jens Steube
81903e95ee Fix EAPOL temporary buffer overflow in -m 22000 and -m 22001 2019-12-22 10:35:40 +01:00
Jens Steube
c9b4e796b0 Fix missing EOL in -m 22000 and -m 22001 2019-12-22 10:11:25 +01:00
Jens Steube
2cc4244e14 Initial -m 22001 support 2019-12-19 22:14:42 +01:00
Jens Steube
161775b1b6 Switch separator character in -m 22000 from ':' to '*' 2019-12-19 19:17:01 +01:00
Jens Steube
f2aedd3741 Add support to load hashes for hash-mode 2500 and 16800 format from hash-mode 22000 2019-12-16 19:35:00 +01:00
Jens Steube
784eeb257b Make use of message_pair and set default for nonce_error_corrections in -m 22000 2019-12-16 12:47:48 +01:00
Jens Steube
2a04354401 New mode 22000 WPA-PBKDF2-PMKID+EAPOL to replace -m 2500 and -m 16800. NOTE: missing support for message_pair and nonce_error_corrections handling 2019-12-15 21:09:04 +01:00
Jens Steube
40a5835927 In -m 12700 and -m 15200 decrypt 48 byte of data instead of just 16 byte 2019-12-13 13:19:58 +01:00
Jens Steube
8932c71ac2 Mark -m 17200, 17220, 17225 and 21800 as unstable on ROCM 2019-12-07 12:09:58 +01:00
philsmd
d07f002337 electrum 4/5: improve speed (rm hook) 2019-12-05 10:43:42 +01:00
Jens Steube
52e83c2292 Fix missing OPTS_TYPE_KEYBOARD_MAPPING in -m 624x 2019-12-03 11:26:33 +01:00
Jens Steube
9a2c4e3417 Fix invalid use of TOKEN_ATTR_VERIFY_DIGIT in -m 15500 2019-11-28 12:21:36 +01:00
Jens Steube
d18ff6fa3d Fix -m 21600 DGST_SIZE 2019-11-27 09:07:47 +01:00
Jens Steube
86d3f9e9c7 Fix -m 21600 default hash length 2019-11-27 09:03:17 +01:00
Jens Steube
a63aa679d3 Few changes to -m 21600 and move -m 124 and -m 10000 to pure Framework category 2019-11-26 17:16:18 +01:00
Jamie R
ce17418b27 add web2py pbkdf2-hmac-sha512 variant 2019-11-24 14:49:13 +00:00
Jens Steube
d315f61414 Fix -m 1800 speed on ROCM 2019-11-24 08:50:31 +01:00
Jens Steube
d518bd3903 Unlock all threads for -m 600 2019-11-23 13:26:40 +01:00
Jens Steube
13dcae6879 Fix -m 15400 selftest-pair, benchmark-mask and unit-test 2019-11-21 09:39:07 +01:00
Jens Steube
b618a72bd7 Update accel and thread modifiers for -m 21700 and -m 21800 2019-11-16 21:09:56 +01:00
Jens Steube
d0ad516422 Add some accel and thread limits to -m 21700 and -m 21800 for a smoother benchmark and checkpoint experience 2019-11-16 12:41:59 +01:00
philsmd
db91fe6981 Added -m 21700 = Electrum 4 and -m 21800 = Electrum 5 2019-11-16 10:48:52 +01:00
Jens Steube
08a74596c1 Add cry_salt_buf[] and cry_salt_len for easier readability in -m 11300 2019-11-15 13:06:45 +01:00