jsteube
13097fefc7
reorder functions for better overview
6 years ago
jsteube
194fd7e6d1
Fix some invalid code sections caused from conversion
6 years ago
jsteube
977199698f
Move some macros from .h to .cl sources
6 years ago
jsteube
e80b1838e8
Rename some functions in inc_common.cl to avoid conflicts with bitops.c
6 years ago
jsteube
adeeaee84a
Replace __kernel, __constant, __global and __local qualifiers with macro for better control
6 years ago
jsteube
340d2ae7d3
Add headers for OpenCL include files
6 years ago
jsteube
0413314ae4
Fix missing include in amp_a0
6 years ago
jsteube
c9d60c079f
Prepare OpenCL kernels for non-static compilation
6 years ago
jsteube
5f5468be6f
Add missing DECLSPEC in OpenCL rule functions
6 years ago
jsteube
c1d5d2ff45
Improve grouping of include calls as a preparation
6 years ago
jsteube
305a044ec6
Remove some old function headers
6 years ago
jsteube
7d4bea41a0
Get rid of OpenCL/inc_hash_constants.h and OpenCL/inc_hash_functions.cl
6 years ago
jsteube
59ecdbd319
Add volatile to inline assembly instructions, it has no influence on cracking performance but compile time reduces
6 years ago
Jens Steube
af129d32da
Merge pull request #1941 from s3inlc/master
...
Added hash mode 19500
6 years ago
Sein Coray
836c91c8c2
Merge branch 'master' of https://github.com/s3inlc/hashcat
6 years ago
Sein Coray
17083b8f56
applied requested final changes
6 years ago
jsteube
e0f875463f
Fix HAS_VBFE use on AMDGPU driver
6 years ago
jsteube
5ef67a8ab7
Apply previous blowfish optimization for -m 3200 also on -m 9000 and -m 18600
6 years ago
Sein Coray
1143cef606
Merge branch 'master' into master
6 years ago
Sein Coray
7321b03102
Updated mode 19500 based on comments
6 years ago
jsteube
5ecbcde945
Cracking bcrypt: Use a feedback from the OpenCL runtime to dynamically find out optimal thread count
6 years ago
jsteube
9a70655f34
No more need for rcon[] in AES
6 years ago
jsteube
7cb510f1ce
More manually unrolled cipher code
6 years ago
jsteube
a063e9ef62
Remove automatic unrolling on some ciphers and replace with manually unrolled code
6 years ago
jsteube
70d1343d57
Fix variables s_Ch and s_Cl in whirlpool hashes in non REAL_SHM mode
6 years ago
jsteube
970e5f3518
Fix -m 6100 in optimized mode for use with REAL_SHM
6 years ago
jsteube
218322f630
Support for inline VeraCrypt PIM Brute-Force
6 years ago
Fist0urs
afb010870a
Add hash modes 19600 (krb5tgs enctype 17) and 19700 (krb5tgs enctype 18)
6 years ago
jsteube
26d7602bbd
No longer need reqd_work_group_size() in OpenCL kernels since modules taken care of this using threads_min and threads_max
6 years ago
jsteube
85452e12be
Fix inc_cipher_des.cl for vector use
6 years ago
jsteube
84d6b8ecc1
Add function prototypes in OpenCL kernels to make some compilers happy
6 years ago
jsteube
ce32d57f9b
Make use of inc_cipher_des.cl in -m 3100
6 years ago
jsteube
27610008cb
Testwise disable aligned constants
6 years ago
jsteube
aeb570ca8b
Add inc_cipher_des.cl and make use of SHM_TYPE
6 years ago
jsteube
8c47a947a1
Fix some includes in -m 14600
6 years ago
Jens Steube
bc8ffadccc
Remove more occurances of netntlm_t in Whirlpool kernel
6 years ago
Jens Steube
07b8cafcad
Fix datatypes in -m 14600
6 years ago
Jens Steube
d64529ed47
Fix kernel header in -m 14900
6 years ago
Jens Steube
fda04609cd
Fix datatypes in -m 14600
6 years ago
Jens Steube
898000b7aa
Fix datatypes in -m 12400
6 years ago
Jens Steube
09b8bfc3a5
Fix datatypes in -m 10700
6 years ago
Jens Steube
7932d8c91f
Fix datatypes in -m 64xx and -m 137xx
6 years ago
Jens Steube
34850df1c0
Fix datatypes in -m 2501 and -m 16801
6 years ago
Jens Steube
74abff44d9
Move remaining module specific typedefs and structures from inc_types.cl to kernels
6 years ago
Jens Steube
30681e5151
Move remaining module specific typedefs and structures from inc_types.cl to kernels
6 years ago
Jens Steube
4bce25dd9d
Move remaining module specific typedefs and structures from inc_types.cl to kernels
6 years ago
Jens Steube
cace799187
Move more no unrolling exceptions from inc_vendor.cl to specific modules
6 years ago
Sein Coray
ee97d18af9
Added hash mode 19500
6 years ago
Sein Coray
deacf3a2b9
fix constant name for sha224
6 years ago
jsteube
eb07d2108c
Fixed cracking of NetNTLMv1 passwords in mask-attack mode if mask > length 16 (optimized kernels only)
6 years ago
jsteube
8d6a69b2a9
Fix salt array for -m 19300 in -a 3 mode if SIMD is used
6 years ago
jsteube
a9bafb7edb
Add more valid plaintext pattern for -m 12700/15200
6 years ago
jsteube
dc9279c95c
New Strategy: Instead of using volatile, mark the mode as unstable. Remove all volatiles
6 years ago
jsteube
7c1120b784
Migrate unroll handling for -m 15900 from OpenCL/inc_vendor.cl to module_jit_build_options()
6 years ago
jsteube
ed7765d8fd
Manually unroll aes128_InvertKey and aes256_InvertKey to workaround some JiT compiler errors
6 years ago
jsteube
0fce6b663b
Testwise remove all hardcoded volatiles from cipher includes
6 years ago
jsteube
1714382daa
Migrate unroll handling for -m 14100 from OpenCL/inc_vendor.cl to module_jit_build_options()
6 years ago
jsteube
b0a83b28d1
Migrate unroll handling for -m 12300 from OpenCL/inc_vendor.cl to module_jit_build_options()
6 years ago
jsteube
1937b67595
Migrate unroll handling for -m 8200 from OpenCL/inc_vendor.cl to module_jit_build_options()
6 years ago
jsteube
fee37ac4c3
Migrate unroll handling for -m 8000 from OpenCL/inc_vendor.cl to module_jit_build_options()
6 years ago
jsteube
f92ebc6586
Fix -m 15200 and -m 12700 search string in kernel
6 years ago
jsteube
0b1169e523
My Wallet: Added additional plaintext pattern used in newer versions
6 years ago
jsteube
93760dab34
Fix -m 8100 in pure kernel mode for password length 256
6 years ago
jsteube
88a051629c
Support module specific JiT compiler build options
6 years ago
jsteube
a5743c5572
Fix invalid kernel declaration in optimized Whirlpool kernel
6 years ago
jsteube
4359418918
OpenCL Runtime: Not using amd_bytealign (amd_bitalign is fine) on AMDGPU driver drastically reduces JiT segfaults
6 years ago
jsteube
e1fe3e755b
Optimize some switch_buffer_* functions for generic OpenCL devices (CPU, various OSX, ...)
6 years ago
jsteube
23917455ef
Added hash-mode 19300 sha1(..)
6 years ago
jsteube
87c24200da
Added QNX /etc/shadow hash cracking support
...
- Added hash-mode 19000 QNX /etc/shadow (MD5)
- Added hash-mode 19100 QNX /etc/shadow (SHA256)
- Added hash-mode 19200 QNX /etc/shadow (SHA512)
Implements #35
6 years ago
jsteube
5da1e4b872
Fixed maximum password length limit which was announced as 256 but actually was 255
6 years ago
jsteube
b1a056f1b0
Add hc_lop_0x96 as template for eventual later use
6 years ago
jsteube
540b405e3a
Replace IS_ROCM with HAS_VPERM and HAS_VADD3
6 years ago
jsteube
2c0c82c8af
OpenCL Runtime: Workaround JiT compiler error on AMDGPU driver compiling WPA-EAPOL-PBKDF2 OpenCL kernel
6 years ago
jsteube
69c3ea2d27
Fixed invalid transfer from __constant to __local memory in -m 9100
6 years ago
jsteube
be365acef8
Remove some optimization in -m 18700 which ROCM doesn't like
6 years ago
jsteube
d0d4ce9f8c
Added hash-mode 18800 Blockchain, My Wallet, Second Password (SHA256)
6 years ago
jsteube
684256022e
Small fix for -m 18900
6 years ago
jsteube
29fedf2c41
Added hash-mode 18900 Android Backup
6 years ago
jsteube
3dd0a7140d
Respect combs_mode in -a 1/6/7 attack in -m 18700
6 years ago
jsteube
a0fba5fb11
Improve -m 18700 cracking speed
6 years ago
jsteube
b4d52e412b
Rename -m 18700 to Java Object hashCode()
6 years ago
jsteube
51eb9ebff7
Added hash-mode 18700 DJB 32
6 years ago
jsteube
9fc193ce47
Bitcoin Wallet: Be more user friendly by allowing a larger data range for ckey and public_key
6 years ago
jsteube
63fac132e3
Fix cracking streebog 256/512 hmac cracking with password length > 64
6 years ago
jsteube
f4e43da456
Fix whirlpool final() handling
6 years ago
jsteube
158b93832c
Fixed cracking of Cisco-PIX and Cisco-ASA MD5 passwords in mask-attack mode if mask > length 16
6 years ago
jsteube
dd293f7a93
Fixed -m 600 in -a 3 mode for passwords > 16
6 years ago
jsteube
e571b890e9
Fixed length check for raw PBKDF2 modules
6 years ago
jsteube
c16a3feabc
Add -m 16500 module
6 years ago
jsteube
57da64533c
Add missing kernel in -m 1100 -a 3 -O mode
6 years ago
jsteube
3d203af066
Add module for -m 5700 and -m 5800
6 years ago
jsteube
0bd244c051
Undef some macros to avoid collisions
6 years ago
jsteube
c88a837196
Rename d_scryptVX_buf to d_extraX_buf
6 years ago
R. Yushaev
393916c0bf
Allow cracking non-unique salts for Office 2013
...
With hash-mode 9600 (MS Office 2013) there can be multiple hashes with
the same salt but with different encryption verifiers in esalt_bufs.
This commit adds the functionality to execute _comp kernels for
different hashes after deriving their common key once.
Fixes #1826
6 years ago
R. Yushaev
b5a7e967c1
Add support for Open Document Format 1.1
...
Contains a kernel for the ODF 1.1 encryption implemented in OpenOffice.
The algorithm uses a SHA-1 checksum, a PBKDF2-HMAC-SHA1 key derivation
with 1024 iterations and Blowfish-CFB encryption.
Valid hashes can be extracted with the libreoffice2john.py script,
available from the John the Ripper Jumbo repository at
https://github.com/magnumripper/JohnTheRipper/blob/bleeding-jumbo/run/libreoffice2john.py
You have to remove the filename suffix at the end of the hash before
passing it to hashcat. Also see 'hashcat -m18600 --example-hashes'.
You can leave the filename prefix if you use the --username option to
process those hashes.
- Add hash-mode 18600 (Open Document Format (ODF) 1.1 (SHA-1, Blowfish))
- Tests: add hash-mode 18600 (Open Document Format (ODF) 1.1 (SHA-1, Blowfish))
6 years ago
Sein Coray
a70a0513bf
Added hash mode 18500 sha1(md5(md5($pass)))
...
closes hashcat/hashcat#1652
6 years ago
Jens Steube
15ece0902f
Merge pull request #1804 from Naufragous/odf-cracking
...
Add support for Open Document Format 1.2
6 years ago
Jens Steube
9d213147e8
Merge pull request #1805 from mcovalt/electrum_salt_type_2
...
Electrum Salt-Type 2
6 years ago
R. Yushaev
6a5b0c821e
Add support for Open Document Format 1.2
...
Contains a kernel for the latest ODF 1.2 encryption implemented in
LibreOffice. The algorithm uses a SHA-256 checksum, a PBKDF2-HMAC-SHA1
key derivation with 100000 iterations and key stretching and AES-CBC
encryption.
Valid hashes can be extracted with the libreoffice2john.py script,
available from the John the Ripper Jumbo repository at
https://github.com/magnumripper/JohnTheRipper/blob/bleeding-jumbo/run/libreoffice2john.py
You have to remove the filename suffix at the end of the hash before
passing it to hashcat. Also see 'hashcat -m18400 --example-hashes'.
You can leave the filename prefix if you use the --username option to
process those hashes.
- Add hash-mode 18400 (Open Document Format (ODF) 1.2 (SHA-256, AES))
- Tests: add hash-mode 18400 (Open Document Format (ODF) 1.2 (SHA-256, AES))
6 years ago
Matt Covalt
bb9328f48b
Add salt type 2 support for optimized functions
6 years ago