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

2327 Commits

Author SHA1 Message Date
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
f3f6cfadb7 Password Safe v2: Backport optimizations reducing bank conflicts in bcrypt 2021-07-26 10:17:21 +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
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
Gabriele Gristina
6d83a69f7d using hex_encode/hex_decode + small fixes 2021-07-22 19:10:34 +02:00
Gabriele Gristina
db7cb16a3b using sha1_hmac_update_global 2021-07-21 10:19:05 +02:00
Gabriele Gristina
7ea5da51a8 Added hash-mode: SNMPv3 HMAC-SHA1-96 2021-07-20 22:24:35 +02:00
Jens Steube
41156bb0a5 Improve PIM fix for use on macOS 2021-07-20 15:10:49 +02:00
Jens Steube
a026171fb3
Merge pull request #2879 from jtojanen/master
Implement gpu_bzero
2021-07-20 13:00:37 +02:00
Jens Steube
777512e862 Fixed false negative in all VeraCrypt hash-modes if both conditions are met: 1. use CPU for cracking and 2. PIM range was used 2021-07-20 11:31:31 +02:00
Jukka Ojanen
4c0f6dd263
Merge branch 'hashcat:master' into master 2021-07-20 12:00:41 +03:00
Jens Steube
92dc57df28 Revert adding make_u32x() for constants to crypto primitives, fails on OpenCL 2021-07-20 10:34:34 +02:00
Jens Steube
bdb7999f07 Switch HIP vector datatypes to OpenCL like ext_vector_type() 2021-07-19 20:24:30 +02:00
Jens Steube
9421e1f89d Fixed datatype in function sha384_hmac_init_vector_128() that could come into effect if vector datatype was manually set 2021-07-19 15:58:38 +02:00
Jens Steube
0d8b4b74ad More CUDA special backports to HIP 2021-07-18 22:56:22 +02:00
Jens Steube
257098a301 Get rid of hip/hip_runtime.h dependancy 2021-07-18 21:14:45 +02:00
Jens Steube
bd92589af1 Optimize BLAKE2B_ROUND() 64 bit rotates 2021-07-17 18:18:22 +02:00
Jens Steube
3becb253d3 Enable vector datatypes for HIP 2021-07-17 18:01:01 +02:00
Jukka Ojanen
a2a1d04bcf Implement gpu_bzero 2021-07-17 19:00:10 +03: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
45e65dd05a Backport more ROCm based optimizations to HIP 2021-07-15 23:34:27 +02:00
Jens Steube
4730cf6e79 WinZip Kernel: Increase supported data length from 8k to 16mb 2021-07-15 16:42:29 +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
Jens Steube
cf512faa53 Update large switch() cases in inc_common.cl and some inline assembly common functions for devices managed with HIP backend 2021-07-14 17:06:20 +02:00
Jens Steube
4b68a8fb4f
Merge pull request #2878 from hashcat/master
Backports
2021-07-13 22:26:28 +02:00
Jens Steube
4e773f32b2 Fix variable declaration block level in -m 19600 and -m 19700 2021-07-13 22:22:53 +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
Jens Steube
674ca7d88f Add GPU threads to kernel cache checksum because it has an influence on HIP offline compile options
Add V_ALIGNBIT_B32 inline assembly wrapper because HIP does not provide amd_bitalign()
2021-07-12 11:27:05 +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
1ab56afb9e
Merge pull request #2874 from hashcat/master
Backports from master
2021-07-12 08:57:50 +02:00
Jens Steube
5d05c95a2f Fix address space of crc32tab[] in -m 172xx 2021-07-12 08:56:10 +02:00
Jens Steube
20f7febd4c Workaround too intensive optimization in -m 2000 using HIPRTC 2021-07-11 15:54:13 +02:00
Jens Steube
1b84a9e53b Add missing backports from code base v6.2.2
Fix context to thread management
Fix missing code in selftest.c, autotune.c, hashes.c, dispatch.c and backend.c
Use IS_HIP depending code makes it easier for future optimization related to inline assembly calls - instead of using IS_CUDA || IS_HIP
See TODO markers for more optimizations / next steps
2021-07-11 12:38:59 +02:00
Jens Steube
a22f8149fc
Merge branch 'HIP' into hip 2021-07-10 21:34:09 +02:00
reger-men
ea7b74389f First draft HIP Version 2021-07-09 03:50:40 +00:00
Jens Steube
95861aa5d7 Fix password address space in m25600_init kernel 2021-07-07 10:35:41 +02:00
Jens Steube
17a47e390c Merge branch 'master' of https://github.com/hashcat/hashcat 2021-07-06 13:06:28 +02:00
Jens Steube
f602dd4e4f Bcrypt-SHA1/MD5 Kernels: Get rid of local memory use for binary to hex conversion to avoid false negatives on several OpenCL runtimes 2021-07-06 12:53:38 +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
Jens Steube
4934e92cda OpenCL Runtime: Workaround a problem of the AMD OpenCL GPU driver under macOS which results in false negatives due to changes in the kernel crypto library 2021-07-05 11:33:12 +02:00
Gabriele Gristina
7371cbebe7 add min/max data length limits to MetaMask Wallet 2021-07-04 20:14:25 +02:00
Gabriele Gristina
f571329c4f Added hash-mode: MetaMask Wallet 2021-07-04 15:47:52 +02:00
Jens Steube
badc51f3e7 WPA Kernels: Increased performance by 3.5% for backend devices controlled by CUDA backend 2021-07-04 12:24:55 +02:00
Jens Steube
7366c47447 Added hash-mode: iPhone passcode (UID key + System Keybag) 2021-07-03 19:03:06 +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
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
b2193e1af4 Add rc4_next_16_global() and fix address space of edata buffer in -m 13100 and -m18200 2021-06-23 08:36:17 +02:00
Jens Steube
f43ba9c8d6 minor whitespace fixes 2021-06-22 08:55:44 +02:00