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:
elenago 2017-09-20 13:54:28 +02:00
parent 1bf9509787
commit 7b0bc27dbb
2 changed files with 4 additions and 0 deletions

View File

@ -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)
)
{

View File

@ -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