1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-08-05 13:25:39 +00:00
Commit Graph

3055 Commits

Author SHA1 Message Date
Gabriele Gristina
d228e314ad
Fixed bugs in 34100 kernels on Apple Silicon 2025-07-30 23:41:04 +02:00
fse-a
b2c3d0f8d1 Added support for LUKS.
- Python extraction script that can generate a hash from a LUKS2 partition.
 - For now, argon2id as KDF, SHA-256 as hash mode and AES cipher are supported.
2025-07-30 13:52:41 +02:00
hashcat-bot
d5b4f58cc1
Merge pull request #4170 from Brets0150/master
Add module 32800 for Simpla CMS - md5($salt.$pass.md5($pass))
2025-07-29 18:47:04 +02:00
hashcat-bot
3974e65812
Merge pull request #4371 from matrix/3090x_20510_issues
Get rid of false positive on 3090x modules, updated test_edge.sh
2025-07-29 18:38:09 +02:00
Gabriele Gristina
61ed9f0078
Fixed bugs in 3090x kernels which produced false positives, Updated test_edge.sh, introducing clean_cache function and fix for 20510 module 2025-07-29 18:16:25 +02:00
Gabriele Gristina
d9dfc6da3a
Fixed bug in 34000 with Metal and OpenCL on Apple 2025-07-29 18:09:23 +02:00
root
64278babc0 Fixed a1 kernel error, Added perl test-unit. All unit tests passed. 2025-07-29 08:21:39 -07:00
root
47beaf4a6e Updated module number, added 1 & 3 pure Kernels. 2025-07-28 07:13:14 -07:00
Gabriele Gristina
2858f53ce7
Adding missing explicit address space qualifier into MurmurHash2 kernels to support Metal 2025-07-27 23:59:06 +02:00
Jens Steube
144b48ac87
Merge pull request #4354 from qasikfwn/master
Add hash modes: MurmurHash2 64A variants
2025-07-27 23:13:50 +02:00
qasikfwn
a0f6690945 Update modules, unit tests, optimized kernels to accept pw len up to 64 2025-07-27 14:52:31 +10:00
Jens Steube
d536d6e832 Fixed out-of-boundary read in hash-mode 30601 2025-07-26 10:21:12 +02:00
Jens Steube
a5bc4e7f71 Removed unsed macros in OpenCL/inc_vendor.h.
Re-enabled USE_BITSELECT for Intel GPUs.
Optimize vector version of hc_swap32() to allow using USE_SWIZZLE based technique on OpenCL in case USE_BITSELECT or USE_ROTATE is not set.
2025-07-25 10:57:13 +02:00
qasikfwn
35ff3047e4 Fix SIMD for 34200, 34201 a3 pure kernels 2025-07-25 14:11:01 +10:00
qasikfwn
4d27a0a6d8 Add pure kernels for 34211 2025-07-25 14:01:55 +10:00
Jens Steube
3344558396 Improved preferred thread size detection on Intel dGPU and workaround misleading reported compute unit count
Disabled Bitselect on OpenCL (no disadvantage on AMD/NV, but advantage on Intel)
2025-07-24 09:56:45 +02:00
qasikfwn
f583bbf574 Fix pw len variable names 2025-07-23 19:36:55 +10:00
qasikfwn
1bd68a5a80 Styling changes 2025-07-23 19:36:55 +10:00
qasikfwn
5b2a95800e Rename modes to 34200 2025-07-23 19:36:55 +10:00
qasikfwn
4b1a8f2623 More fixes 2025-07-23 19:36:55 +10:00
qasikfwn
9a2207c632
Merge branch 'hashcat:master' into master 2025-07-23 19:36:19 +10:00
Jens Steube
c2199a927b Fixed kernel-loops and kernel-threads and removed OPTS_TYPE_NATIVE_THREADS in all VeraCrypt Plugins (improved performance)
Removed module_jit_build_options() from Electrum Wallet (Salt-Type 1-3) Plugin (improved performance)
2025-07-22 23:38:22 +02:00
qasikfwn
3a8ff9c8d9
Merge branch 'hashcat:master' into master 2025-07-22 19:40:23 +10:00
qasikfwn
e37800d9bb Fix up modules for new hashcat updates 2025-07-22 19:38:28 +10:00
Jens Steube
e90b6c8e53 Removed ALIGN_PTR_1k() macro for SCRYPT. This has a major impact on NV GPUs performance, though the reason is unclear. Pages are already aligned, and the macro is called outside the main loop, so the impact should be minimal.
Always enabled funnelshift on NV GPUs, even on unsupported models, as it has a positive effect on performance.
2025-07-22 09:51:33 +02:00
Jens Steube
fcccd9f4ec Improve BitLocker -m 22100 performance by:
- Removing OPTI_TYPE_REGISTER_LIMIT
- Removing OPTS_TYPE_MP_MULTI_DISABLE
- Enabling REAL_SHM
- Fixing loop value to allow autotune to find better accel value
- Increasing minimum password length from 4 to 6
Fix compiler warning
Rename HASH_NAME for -m 31100
Reorder changes.txt (new hash modes only)
2025-07-21 22:00:01 +02:00
Jens Steube
e6ed9f5050 Revert to manually unrolled SHA256/224/512/384 transform() steps
This affects the inner core of nearly all kernels and thus impacts
almost all hash modes. The only functional change is that we now
manually unroll the individual steps of the transform() functions,
saving a small amount of constant memory.

In most cases, JIT compilers would likely detect the unused constant
buffer and remove it automatically, but this makes it explicit.

Tested on newer NVIDIA devices: no speed change observed.
Tested on older NVIDIA devices: visible speed increase.
Tested on AMD devices: visible speed increase across all tested GPUs.

Not yet tested: CPUs, Intel iGPUs, Intel dGPUs.
2025-07-21 16:18:26 +02:00
Gabriele Gristina
409c81f16c
remove inc_rp_common.cl include from kernels 2025-07-19 13:46:00 +02:00
Gabriele Gristina
360f91f218
Merge branch 'master' into rule_purgeclass 2025-07-19 11:44:16 +02:00
Jens Steube
bb27771c06 Fix -m 14200 when used in -D1 mode
Update -m 30601 module and kernel to latest hashcat base
2025-07-18 21:53:59 +02:00
Jens Steube
929af92b7d
Merge pull request #3907 from DCNick3/mega-password
Mode 33400: mega.nz password-protected link (PBKDF2-HMAC-SHA512)
2025-07-17 22:52:45 +02:00
hashcat-bot
15c906d455
Merge pull request #4092 from PenguinKeeper7/pbkdf1-sha1
Add PBKDF1-SHA1 / m32900
2025-07-16 21:43:16 +02:00
PenguinKeeper7
4fa0194c91 Convert to ATTACK_EXEC_OUTSIDE_KERNEL 2025-07-16 20:05:05 +01:00
hashcat-bot
b7f8f21452
Merge pull request #4164 from twier/module_30601_bcrypt_sha256
Add module 30601 for bcrypt-sha256 v2
2025-07-16 20:49:17 +02:00
hashcat-bot
6bedcc07d6
Update to latest hashcat base 2025-07-16 20:23:27 +02:00
hashcat-bot
ad796638ff
Merge branch 'master' into mega-password 2025-07-16 20:22:00 +02:00
Jens Steube
479eaca458 Renamed hash-mode 33400 to 14200 to make room for the 33400 PR, which predates the current one using that hash-mode.
Fixed an invalid return type in hc_bytealign_be() if used from the CUDA runtime.
2025-07-16 20:20:25 +02:00
Jens Steube
77b5c65e52 Fix hc_bytealign_be() declaration for CUDA: use u32x instead of u32
Add hc_uint4_t to SCRYPT to work-around Intel OpenCL alignment bug.
Align large buffers (V1-V4) manually to 1k-byte boundaries.
Replace uint4 xor operator with xor_uint4() function.
2025-07-16 12:43:11 +02:00
Jens Steube
dd02267bf2 Automatic downtune problem:
In the automatic downtune routine, hashcat prepares a fixed 512MiB host
buffer that is known to be allocated by the compute runtimes (CUDA, HIP,
OpenCL, Metal), and over which hashcat has no control.

However, hashcat still divides the maximum available host memory by the
active device count to automatically as a preparation to later downtune
the -n and -T parameters when memory is limited.

Hashcat reserves 512MiB per active device. With bridges, the active
devices become bridge units, which for modes 70000, 70100, and 70200
equals the CPU core count. On a 32-core CPU, this multiplies to 16GiB,
even though the memory is actually shared because of threading.
This leads to an overestimation of memory usage.

A simple fix is to divide the 512MiB buffer by the active device count.
This keeps the full 512MiB for a single GPU but avoids overestimating
memory usage with many virtual devices.

Fix code handling kernel-accel value in argon2_common.c for CPU,
which was accidentally removed during previous refactoring.

Set thread count to 1 for hash-mode 70000. Oversubscribing the CPU isn't
useful here. This allows to keep the wordlist count low, which is very
welcome for slow hashes like Argon2id.

Fix unit test for 20011/20012/20013 (DiskCryptor) by adding setuptools
to install_modules.sh and replacing AES.MODE_XTS with python_AES.MODE_XTS.

Fix false negative for kernel 32800, which only occurred if all
conditions were true: multihash, -a 3, optimized mode, and password
length between 16 and 31.

Fix Python package name in BUILD_WSL.md command line example.
2025-07-16 08:38:02 +02:00
qasikfwn
670bcdd197 Merge remote-tracking branch 'upstream/master' 2025-07-15 20:39:48 +10:00
Jens Steube
a53e05c8f7 Update -m 33400 to latest hashcat base 2025-07-15 09:52:35 +02:00
hashcat-bot
b324177172
Merge pull request #3940 from c0rs/racf-kdfaes-support
Added plugin for RACF KDFAES hashes
2025-07-15 09:50:33 +02:00
Jens Steube
ef0c23f2fb Updated -m 32800 to latest hashcat base
Fixed -m 32800 false negative in -a 3 multihash cracking in optimized mode
2025-07-15 09:35:37 +02:00
hashcat-bot
29691c31d8
Merge pull request #3977 from PenguinKeeper7/md5sha1md5
Added hash-mode: md5(sha1(md5($pass)))
2025-07-15 09:19:43 +02:00
Jens Steube
24fcb3d656 Renamed -m 32800 to -m 21900 2025-07-15 09:18:51 +02:00
hashcat-bot
ca87b1008c
Merge pull request #3945 from ventaquil/code-cleanup-veracrypt
VeraCrypt code cleanup
2025-07-15 07:18:36 +02:00
Gabriele Gristina
0df324c7d8
Merge remote-tracking branch 'upstream/master' into rule_purgeclass 2025-07-15 02:42:40 +02:00
Gabriele Gristina
8f389bb205
Fix the same Apple Intel bug with Metal on inc_rp_optimized, this time on Apple Silicon 2025-07-15 02:06:35 +02:00
Gabriele Gristina
f39f7cc877
cleanup 2025-07-14 16:09:09 +02:00
Gabriele Gristina
4444aa9eea
Fix HC_INLINE_RP macro on inc_rp_optimized.h 2025-07-14 00:30:12 +02:00