-
Notifications
You must be signed in to change notification settings - Fork 2.2k
bitlocker2john code reworked #3293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Thanks! I will take a look at this soon. Do you have a new test disk image for testing this? |
Sure! Obviously this version correctly works with all the images in https://github.com/e-ago/bitcracker/tree/master/Images In this issue e-ago/bitcracker#4 we are discussing about different BDE formats (devices encrypted using an authentication method different from the user password one) |
It would be great to get a test disk image with a known password. Otherwise, it seems that there is no way to verify our implementation. We need to figure out the Windows version(s) which are able to generate such images. |
You’re right: as far as I know the volume has been encrypted with windows 7 enterprise N. Anyway the code in this PR does the same checks of the current bitlocker2john with an improved code (errors check, variables renamed, etc..). There is only one difference: in this new version the code tests two possibile aes offsets after the salt instead of a single one |
Next logical step -> Someone needs to grab a copy of that Windows version and create a sample BitLocker image from it. Verifying that the new code (and the crypto stuff within it) works is required, before we can advertise support for such types of BitLocker images. |
@e-ago Hey, were you able to create/find a working test image? Also see my last post. Thanks! |
Hi @kholia , I've asked to ejtaal to provide an image with a know recovery password but no answer for now. Unfortunately now I haven't a computer with TPM to create a test image by myself |
@e-ago I was able to test BitLocker on Windows 7 running in a VirtualBox VM without any TPM some years ago. From the internet -> Enable BitLocker Disk Encryption in VirtualBox Windows VM ->
So, just grab the ISO for the target Windows version and run it inside VirtualBox. Other hypervisors should work too, I guess. |
@e-ago I have one more suggestion. What does Please see the following links for more information on
I am curious to know if Thanks! |
The problem is that the user sent only the interesting part of the image, thus metadata formats may not be respected. Anyway I found a Windows 7 Enterprise N and I'll try to reproduce the test case. I'm going to remove the additional AES offset (67) so you can accept this PR. dislocker:
bdeinfo:
|
@e-ago Your plan sounds good. Please fix the following problems,
I see a bunch of whitespace errors and a typo in Also make sure that you are not mixing spaces and tabs. The |
The |
bitlocker2john code reworked: