mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #736] Implement Office ("oldoffice" format) meet-in-the-middle #376
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#376
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 @magnumripper on GitHub (Sep 9, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/736
Originally assigned to: @magnumripper on GitHub.
This just in:
http://hashcat.net/forum/thread-3665.html
@magnumripper commented on GitHub (Sep 9, 2014):
Done. We don't have a tool for finding the middle value yet, but we can use hashes including it, as found by oclHashcat (use a
*as separator).Actually the bottom line of all this is that this format is really FMT_NOT_EXACT and we'll find some matching password in 2^39 tries on average. That's about 75 hours (4 cores) even without using meet-in-the-middle or GPU. So I won't bother writing a "mitm finder" - it's sort of out of scope for JtR anyway.
@jfoug commented on GitHub (Sep 9, 2014):
It would not be that hard to do in JtR, but I am not 100% sure how much time it would save. Simply 2 formats (like LM and NT). First finds the internal key needed (the 40 bits), 2nd finds the key that generates those 40 bits.
@magnumripper commented on GitHub (Sep 9, 2014):
Like I just posted on Hashcat forums, I see no point in this meet-in-the-middle unless you're running FMT_NOT_EXACT and want to see several working candidates for a given document (ie. trying to spot the real password). For just finding any candidate, it's not faster (it can even be slower).
As soon as you start looking for candidate #2, it's a win. But that also means you could run normally until you find the first candidate - and then you do know the mitm hash for subsequent ones and can run in 2x speed for alternative ones.
@magnumripper commented on GitHub (Sep 9, 2014):
This might mean we could use another option. This format should (IMHO) not be FMT_NOT_EXACT unless you tell it to. So we could add a core option for flipping that flag, or we could write an alternative oldoffice format that is (always) FMT_NOT_EXACT but otherwise identical.
@magnumripper commented on GitHub (Sep 21, 2014):
I will try this out.
@magnumripper commented on GitHub (Sep 21, 2014):
This --keep-guessing option can also be used for testing or debugging any format, instead of deleting or trimming john.pot all the time before re-testing things.
@magnumripper commented on GitHub (Sep 21, 2014):
1ccdb9e9adds the --keep-guessing option.9b45e825adds basic logic for keeping the meet-in-the-middle value when --keep-guessing is in use.To do:
@magnumripper commented on GitHub (Sep 23, 2014):
67ffc29adds a source() that fills in the intermediate key for future use. It's disabled for now, we need a core change (#752) for dynamic salt [compare] size. Otherwise --show will not recognize the hash.@magnumripper commented on GitHub (Sep 23, 2014):
Note to self: I need to revert set_salt() to just copy the pointer because we actually have to change core's salt buffer when we find a meet-in-the-middle value. Otherwise it will be lost when running with more than one salt loaded.