jsteube
2f36fb5b44
Remove convert tracker from README.md
6 years ago
jsteube
1d95825e5f
Add -m 14600 unit test
6 years ago
Jens Steube
299c8b0f6a
Merge pull request #1922 from 0xbsec/modes_unit_tests_6
...
Add unit tests for multiple modules
6 years ago
jsteube
aacd2e2e77
Add -m 13600 unit test
6 years ago
jsteube
be4b813a47
Add -m 13500 unit test
6 years ago
jsteube
72a65a4c3e
Add -m 13400 unit test
6 years ago
mhasbini
825c977ca4
Add unit tests for multiple modules
...
13800, 13900, 14400, 14700, 14800, 14900, 15000, 15100 & 15200
6 years ago
jsteube
f36549cf75
Add -m 13300 unit test
6 years ago
jsteube
eccd93a200
Add -m 13200 unit test
6 years ago
jsteube
eb4f5d82d1
Add -m 11900 unit test
6 years ago
jsteube
d81b794aec
Support naming VC modes using -m with test.sh
6 years ago
jsteube
0e9f445030
Add -m 15400 unit test
6 years ago
jsteube
b8e5daa582
Add -m 12900 unit test
6 years ago
jsteube
b805c73351
Add -m 12800 unit test
6 years ago
jsteube
f7b95aed8b
Add -m 10700 unit test
6 years ago
jsteube
72377c1954
Fix -m 10600 max password length in pure kernel mode
6 years ago
jsteube
b8ea0ad0a1
Add -m 10600 unit test
6 years ago
jsteube
89f2ea1bec
Do not use next if we mean return
6 years ago
jsteube
1c7e6d0eaf
Add -m 10500 unit test
6 years ago
jsteube
b8134ba920
Add -m 10400 unit test
6 years ago
jsteube
07fa13b695
Add -m 10300 unit test
6 years ago
jsteube
942acb266e
Update -m 12000 module and unit test for longer salts
6 years ago
jsteube
7cb5e77f16
Add -m 10200 unit test
6 years ago
jsteube
792aa56893
Add -m 10100 unit test
6 years ago
jsteube
b30495b901
Update constraints for new unit tests
6 years ago
mhasbini
95b8c98980
Add unit tests for multiple modules
...
11700, 11750, 11760, 11800, 11850, 11860, 12001, 12100, 12200, 12300, 12600 & 12700
6 years ago
jsteube
b0bffaf5eb
Add -m 10000 unit test
6 years ago
jsteube
78d8c1583f
Add -m 9900 unit test
6 years ago
jsteube
c648bdbc0e
Add -m 9800 unit test
6 years ago
jsteube
36550d475a
Add -m 9700 unit test
6 years ago
jsteube
7d361c7215
Add -m 9600 unit test
6 years ago
jsteube
1cecf8ff16
Add -m 9500 unit test
6 years ago
jsteube
fe8a0e5bca
Add -m 9400 unit test
6 years ago
jsteube
69cee1291a
Add -m 9300 unit test
6 years ago
jsteube
1bfbfd7063
Add -m 9200 unit test
6 years ago
jsteube
aa21c10283
Add -m 9100 unit test
6 years ago
jsteube
a560b45705
Remove optimized settings for 10900 and 11300
6 years ago
mhasbini
1049cc8016
Add unit tests for multiple modules:
...
10900, 11000, 11100, 11200, 11300 & 11400
6 years ago
jsteube
71a071ebdb
Add -m 8900 unit test
6 years ago
jsteube
da8cffe12e
Add -m 8700 unit test
6 years ago
jsteube
55f1b14f92
Add -m 8600 unit test
6 years ago
jsteube
ac5bcd89fa
Add -m 8500 unit test
6 years ago
jsteube
a677920fd8
Add -m 8400 unit test
6 years ago
jsteube
ed3a743453
Add -m 8300 unit test
6 years ago
jsteube
7be1f9cfba
Add -m 8200 unit test
6 years ago
jsteube
f2d85e0793
Add -m 8100 unit test
6 years ago
jsteube
afd15a241a
Add -m 8000 unit test
6 years ago
jsteube
700d82c868
Add -m 7900 unit test
6 years ago
jsteube
cbe0019461
Add -m 7700, 7701, 7800, 7801 unit tests
6 years ago
jsteube
c4602a2255
Replace -m 1800 und and -m 7400 unit test code with system code
6 years ago
jsteube
5c9544bca5
Make sure the salts are unique in unit tests, otherwise -m 6800 will fail
6 years ago
jsteube
f4e43da456
Fix whirlpool final() handling
6 years ago
jsteube
f2e2967eec
Fixed more constraints in unit tests
6 years ago
jsteube
44b15049e7
Mode 2400 and 2410 do not have pure kernel
6 years ago
jsteube
687fe5403c
Blake2b has no pure kernel mode
6 years ago
jsteube
ba803a79ae
Fix several constraints of raw modes
6 years ago
jsteube
9a4426169c
Improve test.pl password selection
6 years ago
jsteube
6c215ad015
Fix minimum password length in -m 16000 unit test
6 years ago
jsteube
db18966093
Update max combinator length in unit test -m 3800
6 years ago
jsteube
76bd9d105f
Add -m 7400 unit test
6 years ago
jsteube
179194a576
Add -m 7300 unit test
6 years ago
jsteube
6a387bf704
Add -m 7200 unit test
6 years ago
Jens Steube
0a77d089b3
Merge pull request #1918 from 0xbsec/modes_unit_tests_3
...
Add unit tests for multiple modules:
6 years ago
mhasbini
e085177e58
Add unit tests for multiple modules:
...
15500, 15600, 15700, 16000, 16100, 16200, 16300, 16400, 16500, 16600 & 16700
6 years ago
jsteube
e0cc7eac67
Add -m 7000 unit test
6 years ago
jsteube
0cb3d83b5e
Add -m 6800 unit test
6 years ago
jsteube
2bed7f0ff6
Add -m 6700 unit test
6 years ago
jsteube
f4eb95f8ee
Merge branch 'hash-mode-plugin' of https://github.com/hashcat/hashcat into hash-mode-plugin
6 years ago
jsteube
4f947bd40a
Add -m 6600 unit test
6 years ago
Jens Steube
65a143140a
Merge pull request #1917 from philsmd/hash-mode-plugin-test-m-fix
...
tests: fixed problem with -m 0 or -m 0-10 with new hash type range code
6 years ago
philsmd
071f6de9cb
tests: fixed problem with -m 0 or -m 0-10 with new hash type range code
6 years ago
philsmd
3f66838187
tests: fixed a new macOS compatiblity issue (sort/sed)
6 years ago
philsmd
cd98523b9c
tests: added hash mode range for -m option (-m x-y)
6 years ago
jsteube
6e8c4f5577
Fix minimum salt length in -m 18100 unit test
6 years ago
jsteube
20b8139808
Mode 6900 does not support empty passwords
6 years ago
jsteube
38761eb873
Add -m 6900 unit test
6 years ago
jsteube
4768b848b4
Add -m 18300 unit test
6 years ago
jsteube
d98e989a40
Add -m 16900 unit test
6 years ago
jsteube
0d7d1219f5
Add -m 4800 unit test
6 years ago
jsteube
c52854ebb7
Add -m 1731 unit test
6 years ago
jsteube
9310b534f4
A few fixes on unit tests
6 years ago
mhasbini
7148aa6706
Add unit tests for several modes:
...
4900, 5300, 5400, 5700, 5800, 6000, 6100, 6400 & 6500
6 years ago
mhasbini
592303b075
Add unit tests for modes: 3710, 3711, 4521 & 4522
6 years ago
mhasbini
e71fba037f
Add unit tests for several modes:
...
1750, 1760, 2100, 2410, 2611, 2612, 2711, 2811 & 3100
6 years ago
jsteube
e571b890e9
Fixed length check for raw PBKDF2 modules
6 years ago
jsteube
af634750f2
Fix Joomla salt length
6 years ago
mhasbini
dec7e25a63
Add -m 1722 unit test
6 years ago
mhasbini
7c67346bfc
Add unit tests for -m 1421 -m 1441 -m 1450 -m 1460 -m 1711
6 years ago
mhasbini
c3f7c30eea
Remove debug lines from -m 1411 unit test
6 years ago
jsteube
b9365b8961
Disable combinator constraint in -m 1100
6 years ago
mhasbini
dabbc521cb
Update -m 1100 unit test constraints
6 years ago
mhasbini
99c14b4d5f
Add -m 1411 unit test
6 years ago
mhasbini
54cfc60c57
Add -m 1100 unit test
6 years ago
mhasbini
3df9a862f3
Add -m 124 unit test
6 years ago
mhasbini
76ec0268a7
Add unit test for -m 1410 -m 1420 -m ...
...
-m 1440 -m 1710 -m 1720 -m 1730 -m 1740 -m 4300 -m 4400 -m 4500 -m 4520 -m 4700
6 years ago
mhasbini
be4ab7320b
Add -m 2600 unit test
6 years ago
mhasbini
438b74da56
Add -m 4010 & -m 4110 unit tests
6 years ago
mhasbini
08118bedcc
Add unit test for -m 3800 and -m 3910
6 years ago
jsteube
c9e796fcf0
Add some more modules converted
6 years ago
jsteube
f53b846cb7
Add some VeraCrypt boot-mode test header
6 years ago
mhasbini
bd39edc8a2
Add unit test for -m 18100
6 years ago
mhasbini
f142651f15
Fix salt encoding
6 years ago
mhasbini
86d7f0a95b
Add -m 11500 module & unit test
6 years ago
jsteube
fa5d122fa0
Add unit test for -m 5500
6 years ago
jsteube
e1e1ac5341
Add module and unit test for -m 13000
6 years ago
jsteube
b729fe04b7
Add module and unit test for -m 11600
6 years ago
Jens Steube
280cc63369
Merge branch 'hash-mode-plugin' into m17600_m18000_modes
6 years ago
mhasbini
c2fdf6172d
Add module and unit test for -m 18000
...
Add -m 17600
6 years ago
mhasbini
48b710e73e
Add module and unit test for -m 17900
...
Add -m 17500
6 years ago
jsteube
83229acd6b
Add module and unit test for hash-mode 7100
6 years ago
jsteube
c67287e754
Add module and unit test for hash-mode 15000
6 years ago
jsteube
fc90bfc00c
Add module and unit test for hash-mode 15300
6 years ago
jsteube
67627607be
Add module and unit test for hash-mode 18200
6 years ago
jsteube
81c3edede3
Add module and unit test for hash-mode 13100
6 years ago
Jens Steube
17fdf8754d
Merge pull request #1885 from 0xbsec/m17400_m17800_modes
...
Add module and unit test for -m 17800 (& -m 17400 module)
6 years ago
mhasbini
2f89c47ee1
Add module and unit test for -m 17800
...
Add -m 17400
6 years ago
jsteube
4951816a30
Add module and unit test for hash-mode 7500
6 years ago
jsteube
fcebe9fadb
Add module and unit test for hash-mode 1800
6 years ago
jsteube
748a1aac22
Add module and unit test for hash-mode 12000
6 years ago
mhasbini
5497154a89
Add module and unit test for hash-mode 17700
6 years ago
jsteube
8ad3333d2a
Add module and unit test for hash-mode 3200
6 years ago
jsteube
de690abfa6
Add unit test modules 1600, 6300
6 years ago
mhasbini
3de0b294a0
Add 17300, 17400, 17500 & 17600 module unit tests
6 years ago
jsteube
0bec0cfb89
Add -m 3000 module and unit test
6 years ago
jsteube
f859fbea66
Add -m 16800 module and unit test
6 years ago
jsteube
355ae342f7
Add -m 2501 module
6 years ago
jsteube
06a5e736b9
Add -m 500 unit test
6 years ago
jsteube
6a39617949
Add -m 600 unit test
6 years ago
jsteube
4550f2f771
Add -m 500 unit test
6 years ago
jsteube
73966d29e7
Add -m 400 unit test
6 years ago
jsteube
da413b4eaa
Add -m 5100 module
6 years ago
jsteube
02bdf8dda3
Add unit test modules for -m 14000 and -m 14100
6 years ago
jsteube
2c47c03e26
the idea of having guaranteed mixed password and salt lengths is not working.
...
fixed size password (as in DES) will always produce length 8 but only the first would get accepted.
the same logic basically also applies if the range is less than 8.
6 years ago
jsteube
036e4eba2c
Use -rdynamic instead of including sources of depencies for module compilation
6 years ago
Jens Steube
e0a630d5a5
Merge pull request #1864 from matrix/hash-mode-plugin-2400
...
Add Cisco-PIX MD5 module
6 years ago
jsteube
2e61d9d0b8
Authenticated hashes (HMAC) use separate buffers for password and salt, therefore no combination constraints required
6 years ago
Jens Steube
e08cca8eee
Merge pull request #1863 from s3inlc/test-plugin-150_160
...
Added test modules for mode 150 and 160
6 years ago
Jens Steube
d2dfc75d11
Merge pull request #1862 from matrix/hash-mode-plugin-md4
...
Add MD4 module
6 years ago
Jens Steube
1f398f7626
Merge pull request #1861 from s3inlc/test-plugin-133_140_141
...
Added test modules for mode 133, 140 and 141
6 years ago
Jens Steube
0f4eac3339
Merge pull request #1859 from s3inlc/test-plugin-130_131_132
...
Added test modules for mode 130, 131 and 132
6 years ago
Sein Coray
2638052daa
Fixed spacing
6 years ago
Sein Coray
a1fa4aa12f
Fixed spacing
6 years ago
jsteube
31822a9bea
Fix spacing
6 years ago
Jens Steube
ebd4fcbbc2
Merge pull request #1856 from s3inlc/test-plugin-121_122_125
...
Added test modules for mode 121, 122 and 125
6 years ago
Jens Steube
0394df1faf
Merge pull request #1855 from matrix/hash-mode-plugin-sha384
...
Add SHA384 module
6 years ago
Gabriele Gristina
6fb999a505
Add Cisco-PIX MD5 module
6 years ago
Sein Coray
f16f04ac17
Added test modules for mode 150 and 160
6 years ago
Gabriele Gristina
6fc74a2bdb
Add MD4 module
6 years ago
Sein Coray
4d1c53b3e5
Added test modules for mode 133, 140 and 141
6 years ago
Sein Coray
e12ce123c9
Added test modules for mode 130, 131 and 132
6 years ago
Sein Coray
3b629e9c12
Added test modules for mode 121, 122 and 125
6 years ago
Gabriele Gristina
2068f88371
Add SHA384 module
6 years ago
Gabriele Gristina
aa15ae9fb5
Add SHA224 module
6 years ago
Gabriele Gristina
9f6a27e8b6
Add SHA256 module
6 years ago
jsteube
105c0ce0cb
Add unit test for SHA512
6 years ago
Jens Steube
fb938970d8
Merge pull request #1844 from s3inlc/test-plugin-101_111_112
...
Added test modules for mode 101, 111 and 112
6 years ago
Sein Coray
7b033a58ae
Fixed test module constraints
6 years ago
Sein Coray
c959d1bb34
Added test modules for mode 101, 111 and 112
6 years ago
jsteube
958d89872a
Remove old code
6 years ago
jsteube
55ff8fe729
Guarantee to have used the minimum and maximum length of both password and salt to be used at least once
6 years ago
jsteube
620bd693c5
Guarantee output of 8 entries in single mode in test.pl
6 years ago
jsteube
0baf8fc2f9
Fix constraints in -m 30 and -m 40 and return array in -m 40
6 years ago
jsteube
9ee247c6f8
Fix password length for optimized mode in constraints for hash-mode 22: 55 - (1 + 20 + 1)
6 years ago
Jens Steube
3516fd70a4
Merge pull request #1843 from s3inlc/test-plugin-22_30_40
...
Added test modules for mode 22, 30 and 40
6 years ago
Sein Coray
a4b7a052b8
Added test modules for mode 22, 30 and 40
6 years ago
Sein Coray
50cac0a43b
Changed regex to read hash modes from test modules
6 years ago
jsteube
8613e2fc81
test.sh fix packaged hash types
6 years ago
jsteube
3b43bd6d03
Automatically fill HASH_TYPES in test.sh
6 years ago
jsteube
ac0560fd4a
Make use of module_constraints more easy and fix some modes
6 years ago
jsteube
eeff037365
Fix test.sh in non-optimized mode
6 years ago
jsteube
f721f23d39
Update test modules to max password length 255 not 256
6 years ago
jsteube
92828910fe
Added test_module for -m 300
6 years ago
jsteube
14cda9b33c
Added test_module for -m 200
6 years ago
jsteube
9b572d3faa
Add remaining updates for test.sh
6 years ago
jsteube
925c089035
test.sh -a 6 fixes
6 years ago
jsteube
813977e419
test.sh first changes
6 years ago
jsteube
bcbaef3853
Fix maximum password and salt length in -m 23
6 years ago
jsteube
e137794555
Fix random_number() and -m 12 contraints
6 years ago
jsteube
e8029cdc5c
Generate more reasonable pw and salt length in test.pl mode single
6 years ago
jsteube
062e539b02
Workaround old salt length problem
6 years ago
jsteube
22da2407e9
Make sure word length in test.pl single mode only increases or stays equal to previous one
6 years ago
jsteube
10a7c5df3d
Improve test.pl functionality a bit
6 years ago
jsteube
fcaa7d5336
Fix test_modules
6 years ago
jsteube
2afb4e0f36
Fix test.pl single mode if password is '0'
6 years ago
jsteube
7538e82b72
Bring back comparison of hashlist in crackfile
6 years ago
jsteube
97fc147aec
Do not try passwords > length 31 in optimized mode, because this works only in -a 3 mode
6 years ago
Jens Steube
5717fcd1a6
Update test_modules and test.pl to respect valid password and salt length ranges per hash mode
6 years ago
Jens Steube
b20591fb89
Merge pull request #1840 from s3inlc/test-plugin-50_60
...
Added test modules for mode 50 and 60
6 years ago
Jens Steube
ec96c5128f
Merge pull request #1839 from s3inlc/test-plugin-20_21_23
...
Added test modules for mode 20, 21 and 23
6 years ago
Sein Coray
c15b095088
Added test modules for mode 50 and 60
6 years ago
Sein Coray
b3c29c9412
Added test modules for mode 20, 21 and 23
6 years ago
Jens Steube
1091feb85d
Merge pull request #1838 from s3inlc/test-plugin-10_12
...
Added test modules for mode 10 and 12
6 years ago
Sein Coray
f476ccc548
added new test module for mode 10 and 12
6 years ago
Jens Steube
146acbd79f
Merge pull request #1837 from s3inlc/test-plugin-18500
...
Added new test module for mode 18500
6 years ago
jsteube
8bb28837ef
Limit single mode to 31 in general as in old test.pl
6 years ago
Sein Coray
b09ccbfbb0
Added new test module for mode 18500
6 years ago
R. Yushaev
6365672c34
Add module_preprocess_hashlist hook for tests
...
Some algorithms have ambiguous hashes (e.g. case-insensetive usernames
in Net-NTLMv2 hashes). This optional function allows test modules to
unify the hashlist before the verification process starts.
Also update readme and minor code formatting.
6 years ago
jsteube
7396ce3273
Remove copy/paste left over
6 years ago
jsteube
864bd3451e
Add test module for -m 1500
6 years ago
R. Yushaev
9f1749dce3
Add test modules and helper functions
...
Modularize mode 5600, add random_ helper functions, update readme.
6 years ago
jsteube
ae53dd3b85
Update other modules just for consistency
6 years ago
jsteube
73af860f43
Add functionality in test.pl to allow empty hash returns. This is required to enable hash-mode depending password length checks. NTLM supports just 27 characters in optimized mode, but single mode would produce 32, resulting in a non found password
6 years ago
jsteube
c5fb8ab2e8
Fix use of test.pl from test.sh
6 years ago
jsteube
c0e83dc471
Some minor test.pl fixes, added m01000.pm
6 years ago
R. Yushaev
444d11a74b
Add test modules
...
Add tests for modes 0, 100, 110, 120, 18400, 18600. Update readme.
6 years ago
R. Yushaev
a92ab33ad5
Add modularized test.pl
6 years ago
R. Yushaev
d0478e4481
Rename test.pl to legacy_test.pl
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
R. Yushaev
875d6eb516
Fix selftest for hash-mode 18400
6 years ago
Jens Steube
478fd2c8cf
Merge pull request #1815 from s3inlc/test-compatibility
...
Changed cat -A to cat -vet in test.sh
6 years ago
Sein Coray
997a6cce87
Changed cat -A to cat -vet in test.sh
6 years ago
Sein Coray
a70a0513bf
Added hash mode 18500 sha1(md5(md5($pass)))
...
closes hashcat/hashcat#1652
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
Jens Steube
72319875d8
Update version to 5.1.0
6 years ago
R. Yushaev
baf47d409e
Add Camellia support for VeraCrypt kernels
...
Adds suport for the Japanese cipher Camellia with 256-bit keys as used
by VeraCrypt.
- Add Camellia header decryption checks to all VeraCrypt kernels
- Add test containers for remaining cipher combinations
6 years ago
Jens Steube
8fb93a7685
Add new layouts folder to binary package script
6 years ago
R. Yushaev
8b04be0e93
Add Kuznyechik support for VeraCrypt kernels
...
Adds support for the Russian cipher specified in GOST R 34.12-2015, also
known as Kuznyechik (Grasshopper).
- Add Kuznyechik header decryption checks to all VeraCrypt kernels
- Add test containers for available Kuznyechik cipher combinations
6 years ago
Jens Steube
1a8c712452
Fix typo in test.pl
6 years ago
Jens Steube
2635331de3
Unify some global handling in test.pl
6 years ago
jsteube
63aae4d670
Fix missing perl modules in install_modules.sh
6 years ago
jsteube
b1d3e2d403
Add some missing perl modules to install_modules.sh
6 years ago
R. Yushaev
0134f5f018
Clean up test suite scripts
...
The test scripts have grown to be quite big (over 15000 lines) and
are hard to navigate. There are multiple if branches with over
40 conditional checks chained together. This commit solves some of
those issues.
- Unite big repetetive if conditions into clean array lookups
- Move 'install help' commands to a separate shell script
- Adjust array lookup in test.sh to behave more intuitive
- Add comments at key points to simplify navigation
- Code formatting
6 years ago
Jens Steube
a4200ba167
Added hash-mode 18300 (Apple File System)
...
Fixes https://github.com/hashcat/hashcat/issues/1686
6 years ago
RAN1
4e558e0fd8
Update code generator function names
6 years ago
Jens Steube
2aff01b20e
Hardware Monitor: Renamed --gpu-temp-abort to --hwmon-temp-abort
...
Hardware Monitor: Renamed --gpu-temp-disable to --hwmon-disable
Fixed invalid warnings about throttling in case --hwmon-disable was used
Fixes https://github.com/hashcat/hashcat/issues/1757
6 years ago
R. Yushaev
34aa899a05
Add RIPEMD-160 test containers for VeraCrypt modes
...
- Tests: Add hash-mode 13711 (VeraCrypt PBKDF2-HMAC-RIPEMD160 + XTS 512 bit)
- Tests: Add hash-mode 13712 (VeraCrypt PBKDF2-HMAC-RIPEMD160 + XTS 1024 bit)
- Tests: Add hash-mode 13713 (VeraCrypt PBKDF2-HMAC-RIPEMD160 + XTS 1536 bit)
6 years ago
R. Yushaev
5eaee33094
Add test containers for VeraCrypt modes
...
There were testing containers for TrueCrypt hash modes (62XY),
but none for the VeraCrypt ones (137XY). This commit adds test
cases for all currently attackable hash/cipher combinations,
except RIPEMD-160 and those with boot-mode.
RIPEMD-160 is considered deprecated in VeraCrypt since 2015.
- Tests: Add hash-mode 13721 (VeraCrypt PBKDF2-HMAC-SHA512 + XTS 512 bit)
- Tests: Add hash-mode 13722 (VeraCrypt PBKDF2-HMAC-SHA512 + XTS 1024 bit)
- Tests: Add hash-mode 13723 (VeraCrypt PBKDF2-HMAC-SHA512 + XTS 1536 bit)
- Tests: Add hash-mode 13731 (VeraCrypt PBKDF2-HMAC-Whirlpool + XTS 512 bit)
- Tests: Add hash-mode 13732 (VeraCrypt PBKDF2-HMAC-Whirlpool + XTS 1024 bit)
- Tests: Add hash-mode 13733 (VeraCrypt PBKDF2-HMAC-Whirlpool + XTS 1536 bit)
- Tests: Add hash-mode 13751 (VeraCrypt PBKDF2-HMAC-SHA256 + XTS 512 bit)
- Tests: Add hash-mode 13752 (VeraCrypt PBKDF2-HMAC-SHA256 + XTS 1024 bit)
- Tests: Add hash-mode 13753 (VeraCrypt PBKDF2-HMAC-SHA256 + XTS 1536 bit)
- Tests: Add hash-mode 13771 (VeraCrypt PBKDF2-HMAC-Streebog-512 + XTS 512 bit)
- Tests: Add hash-mode 13772 (VeraCrypt PBKDF2-HMAC-Streebog-512 + XTS 1024 bit)
- Tests: Add hash-mode 13773 (VeraCrypt PBKDF2-HMAC-Streebog-512 + XTS 1536 bit)
6 years ago
R. Yushaev
47bd838e25
Add VeraCrypt Streebog support
...
VeraCrypt added the possibility to use Streebog-512 as hashing algorithm
for the key derivation. This commit adds the necessary VeraCrypt kernels
as well as additional HMAC-Streebog kernels.
- Add hash-mode 13771: VeraCrypt PBKDF2-HMAC-Streebog-512 + XTS 512 bit
- Add hash-mode 13772: VeraCrypt PBKDF2-HMAC-Streebog-512 + XTS 1024 bit
- Add hash-mode 13773: VeraCrypt PBKDF2-HMAC-Streebog-512 + XTS 1536 bit
- Add hash-mode 11750: HMAC-Streebog-256 (key = $pass), big-endian
- Add hash-mode 11760: HMAC-Streebog-256 (key = $salt), big-endian
- Add hash-mode 11860: HMAC-Streebog-512 (key = $salt), big-endian
- Add test suite for hash-modes 11750, 11760 and 11860
- Improve pure Streebog kernels
6 years ago
Royce Williams
6053f473eb
trailing whitespace
6 years ago
R. Yushaev
a8eb611b1c
Add HMAC-Streebog-512 (pure kernels)
...
Implement HMAC based on GOST 34.11-2012 Streebog-512 as well as a test
case for it. Both the PyGOST + hmac python module and the VeraCrypt HMAC
for Streebog-512 were used as references. The kernels expect the digests
to be in big-endian order according to the RFC examples for Streebog.
Fix two bugs from commit 224315dd62
.
- Add hash-mode 11850: HMAC-Streebog-512 (key = $pass), big-endian
- Add test case for hash-mode 11850
- Bugfix for a3-pure Streebog kernels (modes 11700 and 11800)
- Rename a few Streebog constants in interface.h
6 years ago
Arseniy Sharoglazov
ee873da300
Added hash-modes 18200 (Kerberos 5 AS-REP etype 23)
6 years ago
R. Yushaev
224315dd62
Add pure kernels and tests for Streebog hashes
...
Complete Streebog support with pure kernels that allow for passwords
longer than 64 characters. Provide generic inc_hash_streebog files
for future Streebog-based hash modes (HMAC, PBKDF2, VeraCrypt).
Include streebog support in the test suite. For this, python module
PyGOST is needed. Also add clarification to hash mode description
stating that Streebog hashes are expected in big-endian byte order.
There are several implementations, including PyGOST, which default
to little-endian byte order, while the RFC examples are big-endian.
- Add pure kernels for hash-mode 11700 (Streebog-256)
- Add pure kernels for hash-mode 11800 (Streebog-512)
- Tests: Add hash-modes 11700 (Streebog-256) and 11800 (Streebog-512)
6 years ago
Jens Steube
dc39deba0f
Update version to 5.0.0
6 years ago
unix-ninja
3705ebfbf6
Remove extra whitespace in test.pl
6 years ago
unix-ninja
4cb93ba9bf
Add 18100 to test.sh
6 years ago
unix-ninja
db4ec8ed2c
Fix formatting to comply with hashcat coding guidelines
6 years ago
unix-ninja
3c3b05d1e5
Resolve conflicts
6 years ago
unix-ninja
6cda8f7077
Change TOTP index from 17300 to 18100
6 years ago
unix-ninja
1ecc5e5559
Add TOTP to test.pl
6 years ago
R. Yushaev
5c87720acc
Add SHA3 and Keccak
...
The previous hash-mode 5000 covered Keccak-256 only. FIPS changed one
padding byte while adopting Keccak as the SHA3 standard, which gives us
different digests. Now we have separate kernels for SHA3 and Keccak.
- Added hash-mode 17300 = SHA3-224
- Added hash-mode 17400 = SHA3-256
- Added hash-mode 17500 = SHA3-384
- Added hash-mode 17600 = SHA3-512
- Added hash-mode 17700 = Keccak-224
- Added hash-mode 17800 = Keccak-256
- Added hash-mode 17900 = Keccak-384
- Added hash-mode 18000 = Keccak-512
- Removed hash-mode 5000 = SHA-3 (Keccak)
6 years ago
jsteube
4963357fac
Update to v4.2.1
6 years ago
philsmd
883336089e
test: fixed verify code for -m 16600 = Electrum Wallet
6 years ago
Michael Sprecher
3a321c8dce
Added hash-mode 16900 = Ansible Vault
6 years ago
jsteube
88ebca40b8
Added hash-mode 16800 = WPA-PMKID-PBKDF2
...
Added hash-mode 16801 = WPA-PMKID-PMK
Renamed lot's of existing WPA related variables to WPA-EAPOL in order to distinguish them with WPA-PMKID variables
Renamed WPA/WPA2 to WPA-EAPOL-PBKDF2
Renamed WPA/WPA2 PMK to WPA-EAPOL-PMK
6 years ago
jsteube
81f909e229
Prepare for v4.2.0 release
6 years ago
jsteube
c28fdf7f44
Added hash-mode 16700 = FileVault 2
6 years ago
jsteube
215063d0fc
Fix some formating for -m 7701 and -m 7801 in test.pl
6 years ago
Mathieu Geli
48283cf473
Add tests for 7701/7801
7 years ago
jsteube
83f07febfc
Initial v4.1.1 deverloper mode commit
7 years ago
jsteube
c99de3c22a
Fix missing function export in test.pl
7 years ago