mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #2895] Add support for MAC verification in BitLocker formats #1836
Labels
No labels
bug
core branch
documentation
enhancement
enhancement
fixed - pending verify
fuzz bug
good first issue
invalid
invalid
maintenance/cleanup
new cracking mode
new format
new tool
non-trivial
notes/external issues
portability
question
RFC / discussion
testing
WONTFIX
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
openwall/john#1836
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @kholia on GitHub (Nov 17, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2895
Links,
github.com/e-ago/bitcracker@5268e0d7c8github.com/e-ago/bitcracker@b28c8e6fdcgithub.com/e-ago/bitcracker@30ee62bb35Maybe @e-ago will submit a PR soon? :-)
This MAC check discovery is a solid improvement over existing verification techniques. Great work!
@e-ago How much is the speed difference between the new MAC verification method and the older "strict check" method? Would it be possible to make the MAC verification method the default option?
@e-ago commented on GitHub (Nov 20, 2017):
Thank you :) Yes I will release the MAC check soon.
The MAC verification is definitely slower than the current fast VMK check. Considering my CUDA implementation, on a GPU Tesla K80 performance decreased from 385 p/s to 340 p/s, therefore is better to use the MAC verification only if the input wordlist is a sequence of false positives.
Is it possible to add an option only for the BitLocker format ( like -m on my repo, https://github.com/e-ago/bitcracker#false-positives ) to enable the MAC verification?
@kholia commented on GitHub (Nov 20, 2017):
The BitLocker hashes currently start with string
$bitlocker$0$16$. Note the$0$field. We can increment this field to1to tell the format (i.e. the cracking code) that MAC verification needs to be done. If this field is0, then the old behavior is retained.The
bitlocker2john.cutility can then be extended to generate two kinds of output hashes (ones with$0$and others with$1$) depending on the user's choice.I hope that this is clear.
@kholia commented on GitHub (Nov 20, 2017):
@e-ago If you can explain to me the process of MAC verification at a high-level (e.g. take SHA1 checksum of decrypted data, and compare with XYZ), then I believe I can make the necessary changes to the
bitlocker2john.cutility and the CPU format.@e-ago commented on GitHub (Nov 30, 2017):
@kholia before opening the pull request about the MAC verification I need to sync with you on the hash format: as you said we can use the
0field according to the attack mode.In my BitCracker repository, in a couple of weeks I should be able to release an additional attack mode to the recovery key and I would like to define with you the format numbers, something like:
0-> User Password, fast attack1-> User Password, additional MAC verification2-> Recovery keyIs that ok for you?
@kholia commented on GitHub (Nov 30, 2017):
Sure, that sounds great. I am glad that we added this field earlier.