1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-08-02 03:48:16 +00:00
Commit Graph

1257 Commits

Author SHA1 Message Date
Jens Steube
686c2ac078
Merge pull request #4199 from matrix/resurrect_PR_2561
Added hash-mode: BestCrypt v4 Volume Encryption
2025-05-19 13:57:14 +02:00
Jens Steube
6782d78898 Rename -m 4500x to -m 3350x 2025-05-18 21:07:44 +02:00
Technion
4e71fb00d6 This python script presents a syntax error when executed:
vmwarevmx2hashcat.py:17: SyntaxWarning: invalid escape sequence '\)'
  ks_re = '.+phrase/(.*?)/pass2key=(.*?):cipher=(.*?):rounds=(.*?):salt=(.*?),(.*?),(.*?)\)'

This fixes that error.
2025-05-16 19:54:17 +10:00
luke
5535077722 Update test module for m33100 plugin 2025-05-13 10:45:28 +07:00
Gabriele Gristina
ff6185e9b4 Added hash-modes: RC4 40-bit DropN, RC4 72-bit DropN, RC4 104-bit DropN 2025-05-06 20:44:50 +02:00
c0rs
31b50bff7d Delete old module files 2025-05-06 12:44:12 +03:00
c0rs
72b181c1db Fixed code issues and renamed modules 2025-05-06 12:34:52 +03:00
Gabriele Gristina
24fa627f2f Added hash-mode: BestCrypt v4 Volume Encryption 2025-04-27 20:57:43 +02:00
Gabriele Gristina
af6afc06ea add test unit for 20730 (sha256(sha256($pass.$salt))) 2025-04-26 13:15:28 +02:00
Gabriele Gristina
12bc11482b add test unit for 33300 (HMAC-BLAKE2s-256) 2025-04-26 13:07:08 +02:00
luke
7f2df87cc1 rename 32710 to 33100 2025-04-25 11:28:04 +07:00
Gabriele Gristina
fcfd7b00ba Added hash-mode: md5($salt1.$pass.$salt2) 2025-04-24 21:26:05 +02:00
luke
faecf1e034 Added hash-mode: md5($salt.md5($pass).$salt) 2025-04-23 08:48:01 +07:00
Tobias Wiersema
8867a884e4 Add module 30601 for bcrypt-sha256 v2
Module implements hashing according to version 2 of passlib's
bcrypt-sha256. Code is based on modules 30600, 3200, and 28300.

Version 1 of the hash could also be added to this, but the format of the
generated hashes differs significantly in length, because of the
increased verbosity of the new format.

Example hash:
$bcrypt-sha256$v=2,t=2b,r=12$n79VH.0Q2TMWmt3Oqt9uku$Kq4Noyk3094Y2QlB8NdRT8SvGiI4ft2

Reference:
https://passlib.readthedocs.io/en/stable/lib/passlib.hash.bcrypt_sha256.html
2025-02-27 14:57:12 +01:00
holly-o
a8e0c8b213
Update apfs2hashcat.py
Remove hex version of known UUIDs
2025-02-21 16:06:29 +00:00
holly-o
7509c6f70a
Add apfs2hashcat.py 2025-02-21 16:03:42 +00:00
unix-ninja
faa680fbab Add gitea2hashcat.py 2025-02-15 22:30:05 -05:00
Romke van Dijk
4395d14678 Adding keybag2hashcat 2024-12-22 19:30:35 +01:00
Stig Palmquist
ebf2c154c2
Fix problems with Mojolicious "paWlpaWl" module
This commit fixes issues with the 16501 module for Mojolicious cookies.

- Fix parsing of message: The base64 encoded message has '=' characters
  replaced with '-' meaning that three such characters can be encountered
  at the end of the message. This commit sets a fixed size for the
  message and doesnt use a `sep` to parse it.

- Update self-test with real-world mojolicious cookie.

- Update the test module to reflect what's actually happening when
  Mojolicious generates a signed cookie.
2024-11-21 18:04:31 +01:00
Gabriele Gristina
3a3453c9dd Added hash-mode: md5(md5(md5($pass.$salt1)).$salt2) 2024-11-03 03:26:57 +01:00
Jakub Kramarz
0700efa015 Fixed padding format in Mojolicious session cookies 2024-10-31 09:16:10 +01:00
PenguinKeeper7
677560fb47 Add PBKDF1-SHA1 / m32900
Satisfy https://github.com/hashcat/hashcat/issues/4089
2024-10-17 22:53:02 +01:00
Jakub Kramarz
844f2a92d2 Add support for Mojolicious session cookies 2024-10-10 18:44:32 +02:00
Matt Weir
6264e6412d Updated radmin3_to_hashcat.pl to support multiple users
I tried to keep much of the hash extraction code the same. The main changes are it detects the file encoding to deal with ASCII vs. UTF16-LE, it strips out any header info in the registry dump, and then it breaks up the registry for each radmin3 user so that it can then loop through them to generate the hash.
2024-09-18 22:07:32 -04:00
holly-o
cbc21cf767
Update tools/bitlocker2hashcat.py
Co-authored-by: kgolawski <konrad.golawski@gmail.com>
2024-09-13 15:08:31 +01:00
holly-o
7c1688a266
Update tools/bitlocker2hashcat.py
Co-authored-by: kgolawski <konrad.golawski@gmail.com>
2024-09-13 15:07:01 +01:00
holly-o
55ca7fb27b
Add bitlocker2hashcat.py
For generating hashes for mode 22100. Hashcat supports modes $bitlocker$0$ and $bitlocker$1$ and therefore this script will output hashes that relate to a VMK protected by a user password only. Script created since bitlocker2john takes an extremely long time to run and sometimes fails to output a hash, or outputs incorrect information. Script created using information at https://github.com/libyal/libbde/blob/main/documentation/BitLocker%20Drive%20Encryption%20(BDE)%20format.asciidoc#encryption_methods
and tested on Windows hard drives and USB sticks.
2024-09-13 11:19:27 +01:00
Dylan Evans
1aeeced038 Create tools/shiro1-to-hashcat.py 2024-07-04 13:37:23 -04:00
Dylan Evans
99b5fa1338 Create m12150.pm 2024-06-17 20:22:41 -04:00
PenguinKeeper7
4cb22387b3 Added hash-mode: md5(sha1(md5($pass)))
See: https://github.com/hashcat/hashcat/issues/3974
2024-03-29 03:05:33 +00:00
its5Q
9a14c99bb1 Update metamask2hashcat to use new format and add test vault JSON 2024-02-24 16:42:08 +10:00
its5Q
b90fe9f228 Merge branch 'master' of https://github.com/its5Q/hashcat 2024-02-23 06:22:48 +10:00
its5Q
d725b4b928 Switch to using TOKEN_ATTR_OPTIONAL_ROUNDS for Metamask hashmodes 2024-02-23 06:22:27 +10:00
its5Q
55406d8342
Cleaner JSON key handling in metamask2hashcat
Co-authored-by: kgolawski <konrad.golawski@gmail.com>
2024-02-22 22:48:00 +10:00
its5Q
205e7f6e71 Update metamask2hashcat help string 2024-02-22 03:40:36 +10:00
its5Q
c4bb788ad5 Add hashmodes 26620 and 26630 with dynamic iteration count 2024-02-22 03:39:05 +10:00
Konrad Goławski
bd538bb755 Tool veracrypt2hashcat.py code cleanup 2024-02-08 16:07:15 +01:00
c0rs
cd74101a04 RACF KDFAES module 2024-01-30 00:20:41 +03:00
jsteube
32853374b9 Fix some file modes 2023-09-18 07:19:23 +00:00
Jens Steube
42f2286d16
Merge pull request #3742 from hans-vh/kremlin
Add support for Kremlin Encrypt (-m 32700)
2023-09-08 15:28:20 +02:00
Jens Steube
cc9ed0e24b
Merge pull request #3845 from philsmd/26610_verify_fix
verify test fix for -m 26610 = MetaMask Wallet (short)
2023-09-05 08:19:08 +02:00
Jens Steube
4d31e4d6ce
Merge pull request #3846 from philsmd/31900_verify_fix
verify test fix for -m 31900 = MetaMask Mobile Wallet
2023-09-04 15:31:33 +02:00
Jens Steube
8a3fa5c7d9
Merge pull request #3847 from philsmd/32100_verify_fix
verify fix for -m 32100=Kerberos 5,etype 17,AS-REP
2023-09-03 20:18:42 +02:00
Jens Steube
0dcd2a757b
Merge pull request #3848 from philsmd/32200_verify_fix
verify fix for -m 32200=Kerberos 5, etype 18, AS-REP
2023-09-02 20:00:25 +02:00
Jens Steube
9842041dd4
Merge pull request #3849 from philsmd/tests_module_deps
unit tests Crypt::Digest::BLAKE2s_256 dependency
2023-09-01 20:56:51 +02:00
red
61944481b9
Update m31900.pm
adapt mode's unit-test for longer CT sections
2023-08-29 21:50:12 +02:00
red
2cc49d2e87
Update metamask2hashcat.py
increase CT-length
2023-08-29 21:43:11 +02:00
Jens Steube
c2de4961a3
Merge pull request #3843 from philsmd/30700_verify_fix
verify test fix for -m 30700 = Anope IRC Services
2023-08-29 13:45:46 +02:00
Jens Steube
5752ad9ab6
Merge pull request #3842 from philsmd/3730_verify_fix
verify test fix for -m 3730 = md5($s1.uc(md5($s2.$p)))
2023-08-28 11:05:24 +02:00
Jens Steube
20682e55b1
Merge pull request #3841 from philsmd/6800_verify_fix
verify test fix for -m 6800 = LastPass sniffed
2023-08-26 22:06:08 +02:00
philsmd
212a7f3c6e
unit tests update perl module dependencies 2023-08-19 12:13:11 +02:00
philsmd
d462e61e55
verify fix for -m 32200=Kerberos 5,etype 18,AS-REP 2023-08-19 12:09:59 +02:00
philsmd
5b6eecd253
verify fix for -m 32100=Kerberos 5,etype 17,AS-REP 2023-08-19 12:05:49 +02:00
philsmd
b2fc157624
verify test fix for -m 31900 = MetaMask Mobile Wallet 2023-08-19 12:00:29 +02:00
philsmd
dd77925cdd
verify test fix for -m 2661- = MetaMask Wallet (short) 2023-08-19 11:54:49 +02:00
philsmd
9807494f46
verify test fix for -m 30700 = Anope IRC Services 2023-08-19 11:50:10 +02:00
philsmd
1dcc0e2868
verify test fix for -m 3730 = md5($s1.uc(md5($s2.$p))) 2023-08-19 11:45:58 +02:00
philsmd
b71a2d09f2
verify test fix for -m 6800 = LastPass sniffed 2023-08-19 11:40:05 +02:00
philsmd
8743246641
verify test fix for -m 13400/-m 29700 2023-08-19 11:34:57 +02:00
jsteube
c2065d158c Renamed hash-mode 6150 to 32600 2023-08-03 20:55:47 +00:00
Jens Steube
92e9247995
Merge pull request #3813 from PenguinKeeper7/CubeCart
Added hash-mode: CubeCart (whirlpool($salt.$pass.$salt))
2023-08-02 22:39:26 +02:00
PenguinKeeper7
abe6fd76c4 Added hash-mode: CubeCart (whirlpool($salt.$pass.$salt)) 2023-07-28 18:43:21 +01:00
justpretending
b2f14f2f5d Fix some typos 2023-07-27 23:11:55 +07:00
jsteube
20294ef883 Move test scripts for 17040 to tools/gpg_tests, similar to what we do with TC/VC.
Call script from main folder: tools/gpg_tests/example17040.sh
2023-07-20 20:03:58 +00:00
jsteube
e61442da9c Fix file permissions for bisq2hashcat.py 2023-07-13 16:32:48 +00:00
Gabriele Gristina
567ceefaf0 Added hash-mode: sha512(sha512_bin($pass).$salt) 2023-07-01 23:49:48 +02:00
Jens Steube
1200bab046
Merge pull request #3776 from thatux/gpg-cast5
Add GPG (CAST5 (SHA-1($pass)))
2023-06-30 19:47:13 +02:00
Gabriele Gristina
b6ae3d867e Added hash-mode: md5(sha1($salt.$pass)) 2023-06-27 02:58:20 +02:00
Jens Steube
f5ec183552
Merge pull request #3773 from matrix/algo_2630
Added hash-mode: md5(md5($pass.$salt))
2023-06-26 20:04:40 +02:00
Your Name
b4c12ee628 add test hashes 2023-06-26 13:36:35 +02:00
Gabriele Gristina
c31d8d2b95 Added hash-mode: md5(md5($pass.$salt)) 2023-06-24 03:25:00 +02:00
Gabriele Gristina
40f087923f Added hash-mode: md5(sha1($pass.$salt)) 2023-06-24 00:21:33 +02:00
Jens Steube
2d60359827
Merge pull request #3766 from matrix/algo_RSA_NetWitness
Added hash-mode: RSA Security Analytics / NetWitness (sha256)
2023-06-19 19:42:15 +02:00
Jens Steube
82cf3b63b9
Merge pull request #3764 from matrix/algo_21310
Added hash-mode: md5($salt1.sha1($salt2.$pass))
2023-06-17 16:57:49 +02:00
Gabriele Gristina
e506823772 Added hash-mode: RSA Security Analytics / NetWitness (sha256) 2023-06-17 14:41:17 +02:00
Gabriele Gristina
19a36e73a2 Added hash-mode: md5($salt1.sha1($salt2.$pass)) 2023-06-15 19:01:52 +02:00
Gabriele Gristina
ec13e6123a Added hash-mode: sha512(sha512($pass).$salt) 2023-06-14 22:51:39 +02:00
Jens Steube
3bd8d38402
Merge pull request #3753 from matrix/algo_empireCMS_AdminPassword
Added hash-mode: Empire CMS (Admin password)
2023-06-08 12:47:14 +02:00
Jens Steube
e6314a812f
Merge pull request #3745 from matrix/fix_file_permissions
Fix file permissions for 32100/32200
2023-06-05 10:29:21 +02:00
jsteube
c4462c9de4 Fix missing interpreter in m21400.pm 2023-06-04 12:06:42 +00:00
Gabriele Gristina
53dbc07029 Added hash-mode: Empire CMS (Admin password) 2023-06-03 03:08:29 +02:00
Jens Steube
e39bd75e24
Merge pull request #3740 from matrix/fix_2410_pwMax_limits
Fixed maximum password length in module/test_module of hash-mode 2410
2023-06-02 14:30:45 +02:00
Jens Steube
82d9de8b30
Merge pull request #3739 from matrix/fix_2400_pwMax_limit
Fixed maximum password length in module/test_module of hash-mode 2400
2023-06-01 18:54:32 +02:00
Jens Steube
d3f7c5132c
Merge pull request #3732 from matrix/fix_modules_constraints_NOSALT
Unit Test: removes salt constraints if no salt is used
2023-05-26 17:06:57 +02:00
Gabriele Gristina
1c3ea8506c Fix file permissions for 32100/32200 2023-05-25 22:39:08 +02:00
Jens Steube
0253f50679
Merge pull request #3730 from matrix/algo_sspr
Added support for NetIQ SSPR hashes + Adobe AEM
2023-05-24 10:21:23 +02:00
jsteube
5dcc9a5d8b Rename hash-modes 33100, 33200 to 32100, 32200 2023-05-23 12:31:54 +00:00
Jens Steube
9433d0b61e
Merge pull request #3729 from MWR-CyberSec/add-aes-asrep-plugins
Added plugins for AES128 and AES256 AS-REPs
2023-05-23 14:25:09 +02:00
Hans
6013c9ddf0
Add Kremlin parser 2023-05-23 10:31:17 +02:00
Gabriele Gristina
b8ea00642e Fixed maximum password length in module/test_module of hash-mode 2410 2023-05-22 01:38:44 +02:00
Gabriele Gristina
82f94593a0 Fixed maximum password length in module/test_module of hash-mode 2400 2023-05-21 22:58:09 +02:00
Gabriele Gristina
a0732495fa add missing md4_hex import in 31600 test module 2023-05-18 21:58:46 +02:00
Gabriele Gristina
423faea47d cleanup test.pl and implement module_get_random_password() in 31500/31600 test modules 2023-05-18 21:38:14 +02:00
Gabriele Gristina
b865c55ab4 Unit Test: removes salt constraints if no salt is used 2023-05-16 21:40:44 +02:00
Gabriele Gristina
f126f3b19e Added support for NetIQ SSPR hashes + Adobe AEM 2023-05-16 20:35:40 +02:00
Christo Erasmus
33581b4155 Added plugins for AES128 and AES256 AS-REPs 2023-05-15 13:32:48 +02:00
Gabriele Gristina
8652720ca9 Unit tests: add test modules for hash-modes 31500 and 31600 and handle them in tools/test.pl 2023-05-11 01:19:59 +02:00
Jens Steube
bdedb609d0
Merge pull request #3709 from OutWrest/master
Added hash-mode: md5(md5(md5($pass)).$salt)
2023-05-09 17:58:40 +02:00
Gabriele Gristina
3109ebc2c7
Merge branch 'master' into fix_31400 2023-05-05 15:40:50 +02:00
Jens Steube
0534fd37fb
Merge pull request #3700 from matrix/fix_28200_testUnit
Fixed minimum password length in module of hash-mode 28200
2023-05-01 17:54:17 +02:00
Outwrest
7785d953dd Added hash-mode: md5(md5(md5()).) 2023-04-28 16:20:53 -05:00
Gabriele Gristina
ce2bd430e3 SecureCRT MasterPassphrase v2: update module, pure kernels and test unit. Add optimized kernels. 2023-04-27 18:16:07 +02:00
Jens Steube
eba1201f87
Merge branch 'master' into fix_grep_out-of-memory_workaround 2023-04-27 15:55:21 +02:00
Jens Steube
20456bfc72
Merge branch 'master' into fix_testModule_29800 2023-04-26 22:47:15 +02:00
Jens Steube
8ae790bfb5
Merge pull request #3687 from matrix/fix_26610
Fixed test module and cleanup implementation of MetaMask short (26610)
2023-04-25 22:14:14 +02:00
Gabriele Gristina
e09d07868b Fixed minimum password length in module of hash-mode 28200 2023-04-22 18:57:00 +02:00
Gabriele Gristina
4e56f4f25b Fixed bug in grep out-of-memory workaround on Unit Test 2023-04-21 23:15:25 +02:00
Gabriele Gristina
38f3b77a3a Fixed minimum password length in module of hash-mode 29800 2023-04-18 20:13:39 +02:00
Gabriele Gristina
5439b5c198 Fixed test module and cleanup implementation of MetaMask short (26610) 2023-04-16 15:25:31 +02:00
Gabriele Gristina
1d4d84d19c Added hash-mode: MetaMask Mobile Wallet, updated extraction tool 2023-04-15 18:32:10 +02:00
philsmd
cb827fcd32
fix trailing spaces 2023-04-11 15:52:34 +02:00
jsteube
234e6cf49f Add support for 12 byte IV in -m 31800 2023-04-07 06:00:54 +00:00
jsteube
1c6c650931 Update unit test for -m 31800 to match reference description for extraction tool 2023-04-04 11:36:34 +00:00
jsteube
b782d5f795 Unit test for -m 31800. Working, but not final. On hold until extraction tool is updated 2023-04-03 20:35:23 +00:00
jsteube
dc51a1a976 Renumber -m 31500 to -m 31700 2023-04-01 09:00:55 +00:00
jsteube
19e20c7d09 Add unit-test for -m 31500 2023-03-30 18:24:57 +00:00
philsmd
361789506c
fixes #3653 test.sh parsing hashes with spaces 2023-03-25 11:18:26 +01:00
jsteube
04e7f84daf Remove OPTS_TYPE_HASH_COPY from -m 31400 2023-03-23 18:20:06 +00:00
Yaakov Saxon
6b28169c66 31400 securecrt module 2023-03-15 16:25:35 -04:00
jsteube
5446570a4f Unit-test for new hash-mode -m 31300 SNTP-MS 2023-03-02 19:03:23 +00:00
jsteube
a5d94c1f0d Added hash-mode: Veeam VBK 2023-03-01 11:35:37 +00:00
Jens Steube
ce934be975
Merge pull request #3628 from thatux/m26600_short_data
Implement metamask 26610 short data
2023-02-28 10:12:00 +01:00
Your Name
95642af34b remove print-statement, not needed as 26600 and 26610 have different hash signatures 2023-02-27 15:34:05 +01:00
Your Name
2b80abde6d add comments on possible improvements 2023-02-27 15:32:59 +01:00
jsteube
52fa024c1b Fix correct byte pattern and salt length in unit-test for -m 31200 2023-02-27 11:52:10 +00:00
jsteube
f36f90e898 Add missing unicode conversion to unit test for new plugin 31200 2023-02-27 09:25:03 +00:00
Your Name
721235fc02 added note to the test of 26600 that the data generation is artificial 2023-02-26 13:43:30 +01:00
Your Name
c5e860eb31 add perl test for 26610 2023-02-26 13:41:13 +01:00
Your Name
5208447e72 change hash-signature for 26610 (incompatible with 26600), remove debug print statements in attacks, add comments, add reference data 2023-02-26 13:31:38 +01:00
jsteube
866aaf02ce Prepare unit-test for -m 31200 2023-02-25 23:22:23 +00:00
jsteube
3daa14b341 Fix file permissions in build script which produce binary release package 2023-02-16 07:36:12 +00:00
bacqube2
a3b4162e5f Rename module 35000 : 31000 2023-02-13 16:40:35 +01:00
Louka
d592e5dbcc remove home made tests and add test_modules/m35000.pm 2023-02-10 12:55:51 +01:00
jsteube
f940c7f073 tools/benchmark_deep.pl use benchmark_mask from module if defined 2023-01-11 22:34:15 +00:00
philsmd
3ef69f2919
added -m 3090x = Bitcoin raw private key 2023-01-04 15:52:48 +01:00
hops
7edda7c82f Added hash-mode: Anope IRC Services (enc_sha256) 2022-12-14 19:30:11 +01:00
jsteube
8a81f6143a Add missung unit-test for -m 7350 and kernel name fix 2022-12-07 18:42:57 +00:00
Jens Steube
570750a84d
Merge pull request #3521 from RLStrug/fix-25200
Corrected issue for module 25200 (SNMPv3 HMAC-SHA1-96)
2022-12-02 21:13:44 +01:00
Jens Steube
f954b400d7
Merge pull request #3519 from RLStrug/fix-25100
Corrected issue for module 25100 (SNMPv3 HMAC-MD5-96)
2022-12-01 18:17:46 +01:00
Jens Steube
38cc7225ae
Merge pull request #3517 from RLStrug/fix-25000
Corrected issue for module 25000 (SNMPv3 HMAC-MD5-96/HMAC-SHA1-96)
2022-12-01 18:17:34 +01:00
philsmd
b2c2fc86b4
fix whitespace 2022-11-30 16:05:05 +01:00
laika
e69dc3ff31 Corrected issue for module 25200 (SNMPv3 HMAC-SHA1-96) Password length should not be restricted to a minimum length 2022-11-28 00:08:45 +01:00
laika
f546fa2915 Corrected issue for module 25100 (SNMPv3 HMAC-MD5-96)\nPassword length should not be restricted to a minimum length 2022-11-28 00:01:27 +01:00
laika
6528f85c89 Corrected issue for module 25000 (SNMPv3 HMAC-MD5-96/HMAC-SHA1-96). Password length should not be restricted to a minimum length 2022-11-27 23:51:28 +01:00
Jens Steube
80ba8ca18e Rename -m 25850 to 30600 and add missing unit-test 2022-11-23 10:37:12 +01:00
Jens Steube
8a82c75a99 macOS 13.0 fixed many issues in the OpenCL API. The module_unstable_warning() functions in many hash modes can then be removed 2022-11-20 12:21:41 +01:00
Jens Steube
346e945045
Merge branch 'master' into ripemd160-hmac 2022-11-19 14:24:23 +01:00
piwvvo
0bd3fa4fe4 added HMAC-RIPEMD160 2022-11-14 20:18:35 +01:00
piwvvo
f5c53a7e77 added mode 30500 2022-11-14 18:19:41 +01:00
Jens Steube
29a3ea2583
Merge pull request #3494 from ventaquil/feature/exodus-cleanup
Tool `exodus2hashcat.py` code cleanup
2022-11-06 17:29:28 +01:00