mirror of
https://github.com/e-ago/bitcracker.git
synced 2025-10-27 07:29:18 +00:00
Additional VMK check compliant with BitLocker standard according to: http://jessekornblum.com/publications/di09.pdf and https://github.com/libyal/libbde
This commit is contained in:
parent
1bf9509787
commit
7b0bc27dbb
@ -1167,6 +1167,8 @@ __global__ void decrypt_vmk(int numStream, int tot_psw_kernel, int *found, unsig
|
||||
if (
|
||||
((vmkKey[0] ^ ((uint8_t) schedule4)) == 0x2c) &&
|
||||
((vmkKey[1] ^ ((uint8_t) (schedule4 >> 8))) == 0x00) &&
|
||||
((vmkKey[4] ^ ((uint8_t) schedule5)) == 0x01) &&
|
||||
((vmkKey[5] ^ ((uint8_t) (schedule5 >> 8))) == 0x00) &&
|
||||
((vmkKey[9] ^ ((uint8_t) (schedule6 >> 8))) == 0x20)
|
||||
)
|
||||
{
|
||||
|
||||
@ -1114,6 +1114,8 @@ __kernel void opencl_bitcracker_attack(int numPassword, __global unsigned char *
|
||||
if (
|
||||
((vmkKey[0] ^ ((unsigned char) schedule4)) == 0x2c) &&
|
||||
((vmkKey[1] ^ ((unsigned char) (schedule4 >> 8))) == 0x00) &&
|
||||
((vmkKey[4] ^ ((unsigned char) schedule5)) == 0x01) &&
|
||||
((vmkKey[5] ^ ((unsigned char) (schedule5 >> 8))) == 0x00) &&
|
||||
#if STRICT_CHECK == 1
|
||||
((vmkKey[8] ^ ((unsigned char) schedule6)) == 0x03) &&
|
||||
#else
|
||||
|
||||
Loading…
Reference in New Issue
Block a user