1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-29 03:18:30 +00:00
Commit Graph

1041 Commits

Author SHA1 Message Date
philsmd
f1c19eaeca
add tests for -m 27800 = MurmurHash 3 2022-06-11 11:15:03 +02:00
philsmd
a0873e879b
fix -m 29100 unit test dependencies 2022-06-08 16:05:34 +02:00
philsmd
3429846eee
add unit tests for -m 29000 2022-06-08 15:44:14 +02:00
Konrad Goławski
b00ea483af New VeraCrypt modules 2022-06-07 23:01:03 +02:00
Jens Steube
f4e1bdf675
Merge pull request #3293 from ventaquil/truecrypt-strings
TrueCrypt strings
2022-06-07 16:09:53 +02:00
Konrad Goławski
1018cd7b28 New TrueCrypt modules 2022-06-06 18:00:26 +02:00
philsmd
d30e5c9c4a
make radmin3_to_hashcat.pl executable 2022-06-04 11:03:03 +02:00
philsmd
79aad28519 radmin 3: remove whitespace, add credits to tests 2022-05-30 16:59:30 +02:00
piwvvo
b0ceb41e4a added Radmin3 2022-05-28 15:56:29 +02:00
Jens Steube
7284f17f7d Limit password and salt length in unit test for -m 610 and -m 620 2022-05-27 17:34:08 +02:00
Jens Steube
9b6c316c35
Merge pull request #3288 from tweqx/master
Add BLAKE2b-512($salt.$pass) and BLAKE2b-512($pass.$salt)
2022-05-26 20:11:33 +02:00
tweqx
97a119da82 In the unit tests, convert the hexdigest to lowercase to match the behavior of 'module_hash_encode' 2022-05-23 16:53:50 +02:00
Jens Steube
5581665977 Rename -m 29500 to -m 29100 2022-05-23 15:46:24 +02:00
tweqx
fb065e6e8c
Merge branch 'hashcat:master' into master 2022-05-21 22:25:50 +02:00
Jens Steube
7c72430929
Merge pull request #3287 from philsmd/extraction_scripts_in_release
add our hash extraction scripts to release/beta
2022-05-21 15:26:08 +02:00
tweqx
0a5575cde5 Add BLAKE2b-512($salt.$pass) and BLAKE2b-512($pass.$salt) 2022-05-21 15:09:05 +02:00
philsmd
26f88e339d
add our hash extraction scripts to release/beta 2022-05-21 11:52:21 +02:00
philsmd
a6c21e7ffc
make our hash extraction scripts executable 2022-05-21 11:45:48 +02:00
Jens Steube
ed3b521855 Add unit-test for -m 29500 2022-05-18 16:33:33 +02:00
Jens Steube
2b89c69cc4
Merge pull request #3202 from Greexter/bitwarden-fix
Added parameter for second PBKDF2 iteration count for -m 23400, fixes #3033
2022-03-09 13:15:39 +01:00
Jens Steube
c94a26b382
Merge pull request #3196 from matrix/Amazon_AWS4-HMAC-SHA256
Added hash-mode: Amazon AWS4-HMAC-SHA256
2022-03-07 16:15:05 +01:00
Jakub
2a5ee51530
Merge branch 'master' into bitwarden-fix 2022-03-06 13:41:32 +01:00
Jakub Štrom
b3f1a0ebdf Improve anf fix bitwarden extract tool 2022-03-06 10:50:04 +01:00
Gabriele Gristina
6f45285919 DPAPI masterkey file v2 (context 3) 2022-03-06 00:55:47 +01:00
Gabriele Gristina
d5c545804b Added hash-mode: DPAPI masterkey file v1 (context 3) 2022-03-06 00:50:46 +01:00
Gabriele Gristina
fe96e26eff Prepare for DPAPI masterkey Context 3 2022-03-06 00:47:14 +01:00
Jakub Štrom
6db32cd992 Add Bitwarden extraction tool 2022-03-05 21:44:01 +01:00
Gabriele Gristina
0d282bbfb3 Added hash-mode: Kerberos 5, etype 18, DB 2022-03-05 12:59:38 +01:00
Gabriele Gristina
580afa985d Added hash-mode: Kerberos 5, etype 17, DB 2022-03-05 12:59:14 +01:00
Lars Sætaberget
918b4cf7da Added kernel, module and unit-test for hash-mode 28400: bcryptsha512 2022-03-02 12:32:01 +01:00
Jakub Štrom
7c29dff84c Update changes 2022-02-28 23:36:02 +01:00
Jakub Štrom
9b66c01535 Add parameter for second iteration count 2022-02-28 23:16:12 +01:00
Jakub Štrom
74af4eced6 update module version 2022-02-28 21:47:59 +01:00
Jakub Štrom
67ba1f2112 add new version fix 2022-02-27 23:29:15 +01:00
Gabriele Gristina
98ce2496d5 Amazon AWS4-HMAC-SHA256 2022-02-23 22:20:18 +01:00
Gabriele Gristina
21c02b2324 removed unused printf from 21420 test module 2022-02-13 19:03:24 +01:00
philsmd
251ecc3b0b
fixes #3029: cracking long salts in -m 4510/4710 2022-02-09 16:43:24 +01:00
philsmd
6ca37c5a94
tests: cleanup and module deps fix 2022-01-30 10:35:51 +01:00
Gabriele Gristina
d9c93cd3f3 Updated status code handling on test.sh (added autotune failure) 2022-01-23 00:15:05 +01:00
Jens Steube
e2eacb4dd3
Merge pull request #3138 from b0lek/PostgreSQL_SCRAM
Adding PostgreSQL SCRAM-SHA-256 hash mode - #3038
2022-01-21 17:42:15 +01:00
b0lek
b1e0434bd7 changed mode number to 28600 2022-01-20 19:31:09 +01:00
Jens Steube
88726a92b0
Merge branch 'master' into updated_testUnit_optSaltMax 2022-01-19 14:09:55 +01:00
Jens Steube
d565fb9c04
Merge branch 'master' into updated_TestUnit_handlingWiteSpaceInPath 2022-01-18 18:58:19 +01:00
philsmd
3c5b28e007
remove unnecessary perl modules from Exodus tests 2022-01-18 16:20:45 +01:00
b0lek
415e95ab38 Adding PostgreSQL SCRAM-SHA-256 hash mode 2022-01-17 19:51:20 +01:00
Gabriele Gristina
dc6d40c012 Fixed Unit Test false negative if there are spaces in the filesystem path to hashcat 2022-01-16 07:15:29 +01:00
Gabriele Gristina
54605b9254 Fixed Unit Test salt-max in case of optimized kernel, with hash-type 22 and 23 2022-01-15 16:27:15 +01:00
Gabriele Gristina
50a4d6b58d Fixed Unit Test early exit on luks test file download/extract failure 2022-01-14 18:28:08 +01:00
Gabriele Gristina
e0e8ce8165 Removed limitation with hash-type 18600 on linux 2022-01-13 13:24:23 +01:00
Gabriele Gristina
516f7588f1 Updated Unit Test 2022-01-12 09:19:52 +01:00
Gabriele Gristina
3fe9f86326 simplified regex 2022-01-10 02:06:19 +01:00
Gabriele Gristina
c48f044fb7 Fixed false negative on Unit Test with hash-type 25400 2022-01-10 01:50:32 +01:00
philsmd
c6318c4420
add Math::BigInt to install_modules.sh for tests 2022-01-06 11:20:07 +01:00
philsmd
b3c010cb40
remove module MIME::Base32 not used in unit tests 2022-01-06 11:15:20 +01:00
Jens Steube
8867da9122 Add missing unit test and docs entry for -m 21420 2021-12-30 09:04:26 +01:00
Gabriele Gristina
c014dc0c34 Updated test.sh 2021-12-28 16:38:38 +01:00
Jens Steube
625ce2bb7c Fix test.sh fix for M1 2021-12-27 15:03:33 +01:00
Gabriele Gristina
ea97241f84 added '-f' to test.sh help 2021-12-19 13:23:17 +01:00
Gabriele Gristina
1b68d333a8 Unit tests: Updated test.sh to set default device-type to CPU with Apple Intel, force pure kernel with Apple Silicon and add -f (--force) option 2021-12-18 02:27:27 +01:00
Jens Steube
7e9bad7519 Prepare TS3 plugin: test module 2021-12-16 16:07:59 +01:00
Jens Steube
bf865d8bff Added hash-mode: Exodus Desktop Wallet (scrypt) 2021-12-14 13:46:20 +01:00
philsmd
3e085f8db0
tests: get rid of wrong modules from -m 28100 2021-11-29 17:12:56 +01:00
Jens Steube
fe1d3f95bb hashcat 6.2.5 2021-11-21 16:39:01 +01:00
Jens Steube
d2ccd96da6 Added hash-mode: Windows Hello PIN/Password 2021-11-15 16:14:59 +01:00
Jens Steube
db3bc8eca2 Benchmark: Update benchmark_deep.pl with new hash modes added (also new hash modes which were added with v6.2.3) 2021-11-02 08:10:53 +01:00
Jens Steube
c08ad6f587
Merge pull request #3007 from philsmd/whitespace_fix
whitespace and code style fixes
2021-10-10 13:33:11 +02:00
Jens Steube
d6f8f3089a Added hash-mode: CRC64Jones 2021-10-09 11:43:04 +02:00
philsmd
5ef522ed8f
whitespace and code style fixes 2021-10-08 17:38:54 +02:00
Jens Steube
3f4dca13f9 Added missing unit-test for -m 27900 2021-10-02 09:57:40 +02:00
Jens Steube
d7c74d3ebb Fixed unit test initialization value for -m 11500 2021-10-01 20:16:47 +02:00
Jens Steube
db8de70ac8
Merge pull request #2988 from matrix/metamask_big
MetaMask: Increase the supported data len from 784b to 3136b and set pw-min to 8
2021-09-19 07:46:47 -04:00
Jens Steube
799bc0abe4 Prepare IV support in unit test for -m 11500 2021-09-15 14:20:15 +02:00
Jens Steube
540c0dde81
Merge pull request #2877 from thatux/25400_salt
improve 25400: recover both owner and user; add user password to hash; better test
2021-09-11 20:56:18 +02:00
Jens Steube
aea0071b58
Merge pull request #2965 from philsmd/master
fixes #2674: added -m 27700 = MultiBit Classic .wallet (scrypt)
2021-09-10 20:24:06 +02:00
Jens Steube
120326c117
Merge pull request #2966 from philsmd/27000_tests_fix
tests: fixes -m 27000 verify
2021-09-07 18:09:37 +02:00
philsmd
d1509d9272 tests: fixes -m 26900 verify 2021-09-06 20:08:48 +02:00
philsmd
21154dbad2 tests: fixes -m 27000 verify 2021-09-06 20:03:04 +02:00
philsmd
8db02091a1 fixes #2674: added -m 27700 = MultiBit Classic .wallet (scrypt) 2021-09-06 19:54:22 +02:00
Gabriele Gristina
694f0cd7c8 metamask: double the CT len again 2021-09-06 18:17:11 +02:00
Gabriele Gristina
6cbc614826 metamask: double the CT len, set pw_min to 8 2021-08-31 16:40:11 +02:00
Jens Steube
4aadb3a2f1 hashcat 6.2.4 2021-08-29 17:22:59 +02:00
Your Name
4b2c70bd82 make sure $u_pass is initialized 2021-08-20 11:54:39 +02:00
Your Name
db2e7d1391 m25400 can now recover both a owner-password and user-password (when set) based on a pdf's o-value
- added option to add the user-password to the pdf hash as an extra colum
- added pdf test files, both with and without a owner- and user-password

The main todo is to add a recovered user-password to back the hash that's written to the potfile.
Currently I'm printing a recovered password as "(user password=...) after the recovered owner-password.
Similair as the VC PIM is printed. However, this isn't most elegant.

A secondary todo is to verify a recovered user-password based on the u-value,
this could possibly simplify the check whether the recoverd password is a user-password or owner-password.
2021-08-20 10:16:14 +02:00
Jens Steube
2ca13fb450
Merge pull request #2884 from matrix/vbox
Added hash-modes: VirtualBox (PBKDF2-HMAC-SHA256 & AES-128-XTS/AES-256-XTS)
2021-08-14 08:48:20 +02:00
Gabriele Gristina
bbfc401ab8 add more checks in 27500/27600 module_verify_hash 2021-08-13 13:06:32 +02:00
Gabriele Gristina
9e37897f91 add metamask extraction tool 2021-08-12 18:48:44 +02:00
Gabriele Gristina
6ab2c13a0c vbox: add unit test, fix multihash 2021-08-12 17:36:20 +02:00
Gabriele Gristina
75d3d5503d merge master 2021-08-12 14:36:51 +02:00
Jens Steube
b386ab1c27
Merge pull request #2882 from matrix/vmware_vmx
Added hash-mode: VMware VMX (PBKDF2-HMAC-SHA1 + AES-256-CBC)
2021-08-12 08:32:38 +02:00
Gabriele Gristina
a43e239db8 move to 27400, fix unit test 2021-08-10 16:35:15 +02:00
therealartifex
8711072838 Fix errors and make recommended changes, set pw_max to 9 for opti kernel 2021-08-06 09:58:19 -04:00
therealartifex
0738820a89
Merge branch 'hashcat:master' into master 2021-08-05 09:29:41 -04:00
Jens Steube
63a0c5a1e1
Merge branch 'master' into snmpv3_sha512 2021-08-04 21:05:42 +02:00
Jens Steube
dde75f2763
Merge pull request #2904 from matrix/snmpv3_sha384
Added hash-mode: SNMPv3 HMAC-SHA384-256
2021-08-04 21:04:55 +02:00
therealartifex
ff55f31081 Update module, add a0 and a1 optimized kernels 2021-08-04 01:39:47 -04:00
therealartifex
afd3858f36
Merge branch 'hashcat:master' into master 2021-08-03 17:53:28 -04:00
therealartifex
a0c669b59f Update test module 2021-08-03 17:52:45 -04:00
Gabriele Gristina
81b54c3689 rename to 27300, reduced the amount of memory allocated in gpu for SNMPv3 HMAC-SHA512-384 2021-08-03 21:42:42 +02:00
Jens Steube
c2a79a4f9e
Merge pull request #2607 from Cablethief/master
Cracking NetNTLMv1/v2 using NT hashes
2021-08-03 08:37:12 +02:00
Michael Kruger
5c9be6c855 Add extra_tuningdb_block, test mod_constrants [-1,-1] 2021-08-02 14:43:22 +02:00
Michael Kruger
3bb25edb58 I was wrong, the 4th module_constraints is put back 2021-08-02 14:24:26 +02:00
Michael Kruger
2814f7f910 Made all module_constraints [32,32]. 2021-08-02 14:09:19 +02:00
Michael Kruger
30fe29b8a8 Allways pack in the tests. 2021-08-02 12:06:38 +02:00
Jens Steube
b2d1f42905 Fix self-test functionality if FIXED_LOCAL_SIZE_COMP is used
Fix -m 25700 datatype in -a 3 mode and maximum password length in pure kernel mode
Fix -m 12500, 23700 and 23800 if password is exactly length 128
2021-08-02 12:00:17 +02:00
therealartifex
483a62cb7c Add test module, update name of hash mode 27100 2021-08-01 21:31:06 -04:00
Jens Steube
d4997d1255 Added support for auto-tuning --kernel-threads (-T) on startup 2021-07-31 16:49:39 +02:00
Jens Steube
bb1ead3b01
Merge branch 'master' into snmpv3_sha256 2021-07-30 18:57:44 +02:00
Jens Steube
8801855b14
Merge branch 'master' into snmpv3_sha224 2021-07-30 18:56:20 +02:00
Jens Steube
d38d40c8ba Unlock all GPU threads for AMD GPUs if WaveFront size is 32 (basically new models)
Add new hash-modes to tools/benchmark_deep.pl
Fix MINGW issue on 64 bit constant in refactored kernel-accel limiting section
2021-07-29 10:49:44 +02:00
Jens Steube
a4299b74af Memory Management: Refactored the code responsible for limiting kernel accel in order to avoid out of -host- memory situations 2021-07-28 20:50:05 +02:00
Jens Steube
e5ac568afb
Merge pull request #2903 from matrix/snmpv3_mod
fix snmpv3 md5/sha1, tested with real hashes
2021-07-27 09:47:47 +02:00
Gabriele Gristina
357c23d7a1 Added hash-mode: SNMPv3 HMAC-SHA384-256 2021-07-27 05:17:26 +02:00
Gabriele Gristina
15b90c953e Added hash-mode: SNMPv3 HMAC-SHA512-384 2021-07-27 05:14:09 +02:00
Gabriele Gristina
d711c593de fix to crack real hashes 2021-07-26 23:00:33 +02:00
Gabriele Gristina
d62fa617fb fix to crack real hashes 2021-07-26 22:45:02 +02:00
Gabriele Gristina
c20ff01c39 using shared buffer between md5 and sha1 SNMPV3_TMP_ELEMS_OPT, fix to crack real hashes 2021-07-26 22:25:15 +02:00
Gabriele Gristina
45fce5d3a3 fix snmpv3 md5/sha1, tested with real hashes 2021-07-26 19:04:30 +02:00
Gabriele Gristina
58bb2b69b4 Added hash-mode: SNMPv3 HMAC-SHA256-192 2021-07-24 18:57:25 +02:00
Gabriele Gristina
7683ca19a3 Added hash-mode: SNMPv3 HMAC-SHA224-128 2021-07-24 18:36:10 +02:00
Gabriele Gristina
7c8d7f7831 Added hash-mode: SNMPv3 HMAC-MD5-96/HMAC-SHA1-96 2021-07-24 17:03:50 +02:00
Gabriele Gristina
4f10377703 Added hash-mode: SNMPv3 HMAC-MD5-96 2021-07-24 13:56:49 +02:00
Gabriele Gristina
7ea5da51a8 Added hash-mode: SNMPv3 HMAC-SHA1-96 2021-07-20 22:24:35 +02:00
Gabriele Gristina
977ceba046 Added hash-modes: VirtualBox (PBKDF2-HMAC-SHA256 & AES-128-XTS) and VirtualBox (PBKDF2-HMAC-SHA256 & AES-256-XTS) 2021-07-17 18:38:04 +02:00
Jens Steube
84082a952e hashcat 6.2.3 2021-07-16 22:41:52 +02:00
Michael Kruger
a6ae33b1cd Changed the test cases to expect the HEX 2021-07-16 15:38:42 +02:00
Jens Steube
45e65dd05a Backport more ROCm based optimizations to HIP 2021-07-15 23:34:27 +02:00
Gabriele Gristina
eaedfb3f8a fix 26700 2021-07-15 19:58:11 +02:00
Cablethief
32b4a2cfd5 Modded test, same issue about requireing a HEX input or HEX[] input 2021-07-15 16:50:26 +02:00
Cablethief
c2ceba4c9d Modded test, however unsure of how to specify only HEX input or not 2021-07-15 15:56:39 +02:00
Gabriele Gristina
50aeaa299d Added hash-mode: VMware VMX (PBKDF2-HMAC-SHA1 + AES-256-CBC) 2021-07-14 19:31:21 +02:00
Your Name
012c5b16cd m25400.pm take the user-password into account 2021-07-13 21:52:32 +02:00
Your Name
021f23cfad removed print statement 2021-07-12 22:31:45 +02:00
Your Name
c91b61e237 m25400.pm should no longer recalculate $u 2021-07-06 00:58:39 +02:00
Gabriele Gristina
7371cbebe7 add min/max data length limits to MetaMask Wallet 2021-07-04 20:14:25 +02:00
Gabriele Gristina
1a34eba9f4 cleanup m26600.pm 2021-07-04 15:52:25 +02:00
Gabriele Gristina
f571329c4f Added hash-mode: MetaMask Wallet 2021-07-04 15:47:52 +02:00
Jens Steube
7366c47447 Added hash-mode: iPhone passcode (UID key + System Keybag) 2021-07-03 19:03:06 +02:00
Your Name
0a2245959f Clarified the --help of test.pl: passthrough and potthrough generate a new salt on each invocation, and verify parses the salt. 2021-06-30 22:09:27 +02:00
Your Name
d22c599c98 added note in test.pl potthrough: it only works with unsalted hashes 2021-06-29 23:06:54 +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
philsmd
af95a63d40
fixes #2840: minor code style changes for OpenEdge tests 2021-06-22 10:40:24 +02:00
Jens Steube
f43ba9c8d6 minor whitespace fixes 2021-06-22 08:55:44 +02:00
Royce Williams
e4626dc471 Merge branch 'master' of https://github.com/roycewilliams/hashcat 2021-06-21 07:48:13 -08:00
Royce Williams
1e88990b46 minor whitespace fixes, per #2841 2021-06-21 07:47:22 -08:00
Jens Steube
5a5ec0c5db Added hash-mode: VeraCrypt PBKDF2-HMAC-Streebog-512 + boot-mode 2021-06-21 13:40:46 +02:00
Jens Steube
f9fab1cadf Tests: Changed tests for VeraCrypt from -a 0 to -a 3, because password extension is not available to all shells 2021-06-17 09:43:21 +02:00
Jens Steube
3ee77aa581 Prepare for v6.2.2 2021-06-12 18:38:23 +02:00
Jens Steube
eddd11441f
Merge pull request #2664 from matrix/hash-mode-26000
Added hash-mode 26000 - OpenEdge Progress Encode
2021-06-12 18:22:09 +02:00
Gabriele Gristina
42799fafb8 cleanup unit-test code 2021-06-12 17:10:36 +02:00
Gabriele Gristina
02b2ca41c5 add unit-test and set pw_max to 16 for ProgressEncode 2021-06-12 16:51:47 +02:00