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

3810 Commits

Author SHA1 Message Date
Jens Steube
33d95348f5 Update patch 2021-04-28 09:48:33 +02:00
Jens Steube
057de100d9
Merge pull request #2645 from n8x0b7T/master
Improve vocablulary
2021-04-27 20:03:07 +02:00
Jens Steube
2d44626ab2
Merge pull request #2650 from matrix/fix_osx_Makefile_warnings
Fixed build warnings on OSX
2021-04-27 20:02:21 +02:00
Jens Steube
9a87d5aa01 Fixed out-of-boundary reads in case user activates -S for fast but pure hashes in -a 1 or -a 3 mode 2021-04-27 19:55:30 +02:00
Jens Steube
0ba77fe761 Kernel Development: Kernel cache is disabled automatically in casehashcat is compiled with DEBUG=1
See https://github.com/hashcat/hashcat/issues/2750
2021-04-26 09:51:50 +02:00
Jens Steube
db57497e8f Prevent unit test of -m 3000 to generate zero hash. This confuses test.sh validator 2021-04-26 09:32:19 +02:00
Jens Steube
9c8509e101 Update module_unstable_warning() on latest Intel OpenCL runtime 2021-04-26 09:25:57 +02:00
Jens Steube
07ed10a77e
Merge pull request #2768 from Chick3nman/master
Fix typo in potfile remove message
2021-04-25 08:16:18 +02:00
epixoip
6ff51e1070 Workaround for NVML and WSL2 shim 2021-04-24 22:17:05 -05:00
Jens Steube
1dac869cb7 Removed unnecessary swaps in SCRYPT based algorithms 2021-04-23 20:55:13 +02:00
Jens Steube
81a76e363b Fixed tuning database search if a device was not assigned an alias it couldn't be found in general 2021-04-23 20:53:48 +02:00
Chick3nman
793dff4d53 Fix typo in warning message 2021-04-22 14:27:01 -05: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
56f47cabe2 Fixed race condition in potfile check during removal of empty hashes 2021-04-21 09:22:00 +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
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
49ffdcef1b NVIDIA start to prefix the device names, make tuning database search aware.
Update hashcat.hctune and add optimized SCRYPT values for RTX2080Ti.
2021-04-16 21:48:16 +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
Jens Steube
ff96015f53 Add OPTS_TYPE_NATIVE_THREADS for use by plugin developer to enforce native thread count (useful for scrypt) 2021-04-14 15:22:30 +02:00
Jens Steube
67d189e10a Update calculation of EXTRA_SPACE in backend.c and add upper and lower hard limit 2021-04-13 12:02:52 +02:00
Jens Steube
51e8661070 Update calculation of EXTRA_SPACE in backend.c to make it depending from kernel-accel 2021-04-13 11:47:37 +02:00
Jens Steube
9033975efd Allow plugins to disable the multiplication of the kernel-accel value with the multiprocessor count of the compute device. Will be used later. 2021-04-13 11:26:17 +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
e591b0039b Fixed invalid handling of outfile folder entries for -m 22000 2021-04-11 14:05:55 +02:00
Jens Steube
a0eae9050c OpenCL Runtime: Workaround JiT compiler deadlock on NVIDIA driver >= 465.89 2021-04-11 13:35:40 +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
8cfc2dacb5
Merge pull request #2586 from llamasoft/patch-1
Improve warning message wording
2021-04-09 19:16:28 +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
6663fe4161
Merge pull request #2744 from davidbolvansky/hash_show
Machine readable mode for show hash feature
2021-04-05 12:59:04 +02:00
Jens Steube
3c199bfa1b
Merge pull request #2693 from matrix/out_of_host_memory
[backend.c] skipping devices instead of stop with error
2021-04-05 12:58:47 +02:00
Dávid Bolvanský
430b8b17c1 Machine readable mode for show hash feature 2021-04-04 15:11:07 +02:00
Jens Steube
f05ea114a9
Merge pull request #2668 from RealEnder/master
Correct check for gz header.
2021-04-04 12:44:53 +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
6daea9c7c1 Fix compiler warning from new --hash-info section 2021-04-03 13:40:06 +02:00
Jens Steube
d53913f444
Merge pull request #2672 from matrix/example2info
Replaced --example-hashes with --hash-info
2021-04-03 13:25:51 +02:00
Jens Steube
1976118b83
Merge pull request #2677 from RAN1/darwin_version
Makefile: Check Darwin major version instead of macOS minor version
2021-04-03 13:19:37 +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
Chick3nman
9b6235a5fc
Downgrade Kernel Exec Timeout Warning
Kernel times of >450ms are very uncommon and this warning is not a blocking, downgrading it to advice to allow for it to be hidden along with other advice messages.
2021-04-01 20:01:44 -05: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
429b06a425
Merge pull request #2721 from h3xx/fix-typo
Fix typo
2021-03-30 20:40:46 +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
Dan Church
d9cd42d577
Fix typo 2021-03-03 10:26:39 -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
fda0d668e5 use skip also with first checks of backend_session_begin() 2021-01-23 18:51:25 +01:00
Gabriele Gristina
4c2605f7f2 switch to skip instead return -1 for all checks, moved cuda counter update to the end of loop 2021-01-23 18:37:47 +01:00
Gabriele Gristina
f4dbd46b71 trying skip devices instead of return -1 2021-01-23 13:54:46 +01:00
RAN1
8f871db328 Makefile: Check Darwin major version instead of macOS minor version 2021-01-07 19:03:59 -05:00
Gabriele Gristina
82af37b93a Added salt type and slow hash info 2020-12-30 19:16:57 +01:00
Gabriele Gristina
77e328d659 Removed option --example-hashes, now is an alias of --hash-info 2020-12-29 07:56:20 +01:00
Gabriele Gristina
3ed1f0d840 Added new option: --hash-info 2020-12-29 04:58:58 +01:00
Alex Stanev
7252091d3b Correct check for gz header.
gzip format is described in rfc1952.
From there, first 2 bytes (0x1f8b) are header;
next is Compression method (0x08 for deflate, this is the general used method);
and 4th byte is Flags. Some compression tools don't set this and we can't process the gzips.
zlib plays well in this cases, so we can just drop the check for the 4th byte.
2020-12-26 22:49:05 +02: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
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
99a3c47b5f Fix build warning on OSX 2020-12-16 22:26:59 +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
Slattz
e5f2a877a5 Fix --keep-guessing mode
New cracked passwords would not be outputted at all.
Broken by 04d5e5a119
2020-12-16 16:48:53 +00:00
JandJ101
74523ef74b Improve vocablulary 2020-12-15 20:17:02 -05: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
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
Konrad Goławski
44ceb819fa Declare phony targets 2020-10-23 19:27:12 +02:00
Marcus T
5919641285
Improve warning message wording
The comments earlier in the file indicate an optimized kernel may be listed as unavailable either because A) it doesn't exist or B) provides no benefit.
This updates the warning message to make that more clear.
2020-10-21 16:23:38 -04:00
TROUNCE
57fac8ab0f
Add files via upload 2020-10-20 19:44:19 +01:00
Marcus T
ee3b5da25b
Improve warning message wording
The current warning message makes it sound like the optimized kernel exists but isn't being used.  This rewording makes it clear that the optimized kernel simply doesn't exist.
2020-10-20 13:56:39 -04: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
Jens Steube
57bef8abc9 Display possible NVIDIA CUDA/RTC library loading error message only in case a NVIDIA device was found using OpenCL 2020-09-06 13:29:32 +02:00
Jens Steube
111f39eeb2 OpenCL Runtime: Switched default OpenCL device type on macOS from GPU to CPU. Use -D 2 to enable GPU devices. 2020-09-05 23:20:59 +02:00
cfreal
04a87d73c2 Changed mode from 4720 to 4510 2020-09-05 20:11:09 +02:00
Jens Steube
343d3bc0aa CUDA Backend: Give detailed warning if either the NVIDIA CUDA or the NVIDIA RTC library cannot be initialized
CUDA Backend: Do not warn about missing CUDA SDK installation if --backend-ignore-cuda is used
2020-09-05 15:46:28 +02:00
Jens Steube
176bbd3fb7 Documentation: Added 3rd party licenses to docs/license_libs 2020-09-04 22:58:12 +02:00
Jens Steube
1ba80a6c1e Fixed copy/paste error leading to invalid reassembled passwords added with a1b5af4433 2020-09-03 06:48:07 +02:00
Jens Steube
6a419d068c CUDA Backend: Use blocking events to avoid 100% CPU core usage (per GPU) 2020-08-31 13:35:57 +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
a1b5af4433 Fixed password reassembling for cracked hashes on host for slow hashes in optimized mode that are longer than 32 characters 2020-08-30 15:45:40 +02:00
Jens Steube
62a7ae4075 Increase EXTRA_SPACE to leave some room for free device memory 2020-08-29 20:01:39 +02:00
Jens Steube
3ebf4c5f9f Merge branch 'master' of https://github.com/hashcat/hashcat 2020-08-29 16:12:37 +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
Jens Steube
45108468c9
Merge pull request #2531 from philsmd/clear_prompt
fixes #2518: call clear_prompt () more often to avoid misaligned prompt
2020-08-27 09:33:40 +02:00
philsmd
ee5bce1c3e
fixes #2518: call clear_prompt () more often to avoid misaligned prompt 2020-08-26 12:14:26 +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