[GH-ISSUE #2619] Support for MD5(MD5(SHA1(SHA1(MD5($pass))))) #1705

Open
opened 2026-10-15 04:22:55 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @mikzaq on GitHub (Jul 7, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2619

Support for MD5(MD5(SHA1(SHA1(MD5($pass))))).

Is there a way I can crack this type of hash? Is it already implemented?

Originally created by @mikzaq on GitHub (Jul 7, 2017). Original GitHub issue: https://github.com/openwall/john/issues/2619 Support for MD5(MD5(SHA1(SHA1(MD5($pass))))). Is there a way I can crack this type of hash? Is it already implemented?
Author
Owner

@solardiz commented on GitHub (Jul 7, 2017):

Thanks to JimF's work, you can literally put this specification on JtR command line and it just works:

$ ./john --test --format='dynamic=md5(md5(sha1(sha1(md5($p)))))'
Benchmarking: dynamic=md5(md5(sha1(sha1(md5($p))))) [128/128 AVX 4x1]... DONE
Raw: 2976K c/s real, 2976K c/s virtual

Perhaps we need to document this in some extremely prominent place, as a lot of people don't realize this functionality exists. Can we possibly reuse this issue as that documentation request, and only close it once we do have a sufficiently prominent mention/example of the feature?

<!-- gh-comment-id:313771801 --> @solardiz commented on GitHub (Jul 7, 2017): Thanks to JimF's work, you can literally put this specification on JtR command line and it just works: $ ./john --test --format='dynamic=md5(md5(sha1(sha1(md5($p)))))' Benchmarking: dynamic=md5(md5(sha1(sha1(md5($p))))) [128/128 AVX 4x1]... DONE Raw: 2976K c/s real, 2976K c/s virtual Perhaps we need to document this in some extremely prominent place, as a lot of people don't realize this functionality exists. Can we possibly reuse this issue as that documentation request, and only close it once we do have a sufficiently prominent mention/example of the feature?
Author
Owner

@kholia commented on GitHub (Jul 8, 2017):

I started documenting such dynamic compiler expressions in DYNAMIC_COMPILER_FORMATS.md document, but I suspect that it is neither a prominent nor an obvious place to look at.

<!-- gh-comment-id:313832760 --> @kholia commented on GitHub (Jul 8, 2017): I started documenting such dynamic compiler expressions in `DYNAMIC_COMPILER_FORMATS.md` document, but I suspect that it is neither a prominent nor an obvious place to look at.
Author
Owner

@kholia commented on GitHub (Jul 8, 2017):

@mikzaq Do you happen to know where this hashing scheme is used?

<!-- gh-comment-id:313833581 --> @kholia commented on GitHub (Jul 8, 2017): @mikzaq Do you happen to know where this hashing scheme is used?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openwall/john#1705
No description provided.