[GH-ISSUE #719] Implement oldoffice OpenCL format #361

Closed
opened 2026-10-14 03:03:03 +07:00 by bsakaguchi · 9 comments
Owner

Originally created by @amheydari on GitHub (Aug 19, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/719

Originally assigned to: @magnumripper on GitHub.

Originally created by @amheydari on GitHub (Aug 19, 2014). Original GitHub issue: https://github.com/openwall/john/issues/719 Originally assigned to: @magnumripper on GitHub.
bsakaguchi 2026-10-14 03:03:03 +07:00
Author
Owner

@kholia commented on GitHub (Aug 19, 2014):

Isn't RC4 heavily involved in oldoffice formats (I forgot the details)?

<!-- gh-comment-id:52626069 --> @kholia commented on GitHub (Aug 19, 2014): Isn't RC4 heavily involved in oldoffice formats (I forgot the details)?
Author
Owner

@magnumripper commented on GitHub (Aug 19, 2014):

Yeah it is. And GPUs sucks at RC4 due to scattered memory access but we do have it in eg. krb5pa-md5-opencl. It would be very easy to implement but I'm not likely to do it anytime soon.

<!-- gh-comment-id:52667968 --> @magnumripper commented on GitHub (Aug 19, 2014): Yeah it is. And GPUs sucks at RC4 due to scattered memory access but we do have it in eg. krb5pa-md5-opencl. It would be very easy to implement but I'm not likely to do it anytime soon.
Author
Owner

@magnumripper commented on GitHub (Sep 10, 2014):

Atom has managed to get ~65Mp/s on Tahiti for this format, which is really awesome compared to my experiments some time ago with a 40-bit RC4 brute forcer.

65Mp/s is within reasonable speeds for JtR core so now I feel inclined to try to match it 😎

Each "password" is 6 blocks of MD5 and 32 bytes of RC4 decryption with a 16-byte key.

<!-- gh-comment-id:55158875 --> @magnumripper commented on GitHub (Sep 10, 2014): Atom has managed to get ~65Mp/s on Tahiti for this format, which is really awesome compared to my experiments some time ago with a 40-bit RC4 brute forcer. 65Mp/s is within reasonable speeds for JtR core so now I feel inclined to try to match it :sunglasses: Each "password" is 6 blocks of MD5 and 32 bytes of RC4 decryption with a 16-byte key.
Author
Owner

@magnumripper commented on GitHub (Nov 24, 2014):

First version committed. It's not really fast yet but a good speedup from CPU.

<!-- gh-comment-id:64266193 --> @magnumripper commented on GitHub (Nov 24, 2014): First version committed. It's not really fast yet but a good speedup from CPU.
Author
Owner

@magnumripper commented on GitHub (Nov 25, 2014):

It's not really fast yet but a good speedup from CPU.

Hmm, that's not true 😢 The results are inflated from meet-in-the-middle handling. This format is totally useless until I find out a way to speed up the RC4 significantly.

<!-- gh-comment-id:64294808 --> @magnumripper commented on GitHub (Nov 25, 2014): > It's not really fast yet but a good speedup from CPU. Hmm, that's not true :cry: The results are inflated from meet-in-the-middle handling. This format is totally useless until I find out a way to speed up the RC4 significantly.
Author
Owner

@magnumripper commented on GitHub (Dec 4, 2014):

Since 2eefc91 we have a fast RC4! It's now transfer bound - I believe it's otherwise fairly close to Hashcat speeds. This is now a shared header (opencl_rc4.h) so krb5pa-md5-opencl got a major boost too.

<!-- gh-comment-id:65696405 --> @magnumripper commented on GitHub (Dec 4, 2014): Since 2eefc91 we have a fast RC4! It's now transfer bound - I believe it's otherwise fairly close to Hashcat speeds. This is now a shared header (opencl_rc4.h) so krb5pa-md5-opencl got a major boost too.
Author
Owner

@frank-dittrich commented on GitHub (Dec 5, 2014):

So, with (partial) mask genreration on GPU, you would be able tu fully utilize the GPU without an I/O bottleneck, right?

<!-- gh-comment-id:65728226 --> @frank-dittrich commented on GitHub (Dec 5, 2014): So, with (partial) mask genreration on GPU, you would be able tu fully utilize the GPU without an I/O bottleneck, right?
Author
Owner

@magnumripper commented on GitHub (Dec 5, 2014):

Yes. And with full support for encodings.

<!-- gh-comment-id:65728803 --> @magnumripper commented on GitHub (Dec 5, 2014): Yes. And with full support for encodings.
Author
Owner

@kholia commented on GitHub (Dec 5, 2014):

@magnumripper you rock 👍

Keep up the good work.

<!-- gh-comment-id:65764737 --> @kholia commented on GitHub (Dec 5, 2014): @magnumripper you rock :+1: Keep up the good work.
bsakaguchi changed title from [GH-ISSUE #719] Implement oldoffice OpenCL format to [GH-ISSUE #719] Implement oldoffice OpenCL format 2026-10-14 04:19:20 +07:00
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#361
No description provided.