[GH-ISSUE #456] Format lotus85 seriously broken #176

Closed
opened 2026-10-14 02:55:23 +07:00 by bsakaguchi · 2 comments
Owner

Originally created by @frank-dittrich on GitHub (Jan 5, 2014).
Original GitHub issue: https://github.com/openwall/john/issues/456

Originally assigned to: @kholia on GitHub.

To check how bad the situation is, I added FMT_NOT_EXACT to the format definition, so that john continues cracking when a password is fond.

Then I created a file containing the 2 test hashes of lotus85 and the 5 test hashes of oracle11 (since lotus85 accepts the oracle11 hashes as valid):

oracle11-0:5FDAB69F543563582BA57894FE1C1361FB8ED57B903603F2C52ED1B4D642
oracle11-1:450F957ECBE075D2FA009BA822A9E28709FBC3DA82B44D284DDABEC14C42
oracle11-2:3437FF72BD69E3FB4D10C750B92B8FB90B155E26227B9AB62D94F54E5951
oracle11-3:61CE616647A4F7980AFD7C7245261AF25E0AFE9C9763FCF0D54DA667D4E6
oracle11-4:B9E7556F53500C8C78A58F50F24439D79962DE68117654B6700CE7CC71CF
lotus85-0:0040B2B17C344C236953F955B28E4865014034D1F664489D7F42B35FB6928A94DCFFEF7750CE029F94C83A582A80B4662D49B3FA45816143
lotus85-1:CBCFC612FAE3154316223787C7CD29AD39BEDF4288FCDE310B32FD809C75F5FDC521667D5F6E7A047766F0E60952F7891593FFAF45AD0C15

Then I ran

$ ./john --wordlist=password.lst lotus85.pw --pot=lotus85.pot
...
24808g 0:00:00:02 DONE (2014-01-05 04:19) 10003g/s 1429p/s 10008c/s 10008C/s chacha..sss


$ wc -l lotus85.pot lotus85.pw password.lst 
  24808 lotus85.pot
      7 lotus85.pw
   3559 password.lst
  28374 total

So, we have 7 hashes, 3559 passwords, and 24808 successfull cracks.
This means, close to 100 % of the password candidates are valid passwords.

I doubt that this is the case with real lotus85 passwords.

Otherwise you'd have a hard time to produce authentication failures.

Originally created by @frank-dittrich on GitHub (Jan 5, 2014). Original GitHub issue: https://github.com/openwall/john/issues/456 Originally assigned to: @kholia on GitHub. To check how bad the situation is, I added FMT_NOT_EXACT to the format definition, so that john continues cracking when a password is fond. Then I created a file containing the 2 test hashes of lotus85 and the 5 test hashes of oracle11 (since lotus85 accepts the oracle11 hashes as valid): ``` oracle11-0:5FDAB69F543563582BA57894FE1C1361FB8ED57B903603F2C52ED1B4D642 oracle11-1:450F957ECBE075D2FA009BA822A9E28709FBC3DA82B44D284DDABEC14C42 oracle11-2:3437FF72BD69E3FB4D10C750B92B8FB90B155E26227B9AB62D94F54E5951 oracle11-3:61CE616647A4F7980AFD7C7245261AF25E0AFE9C9763FCF0D54DA667D4E6 oracle11-4:B9E7556F53500C8C78A58F50F24439D79962DE68117654B6700CE7CC71CF lotus85-0:0040B2B17C344C236953F955B28E4865014034D1F664489D7F42B35FB6928A94DCFFEF7750CE029F94C83A582A80B4662D49B3FA45816143 lotus85-1:CBCFC612FAE3154316223787C7CD29AD39BEDF4288FCDE310B32FD809C75F5FDC521667D5F6E7A047766F0E60952F7891593FFAF45AD0C15 ``` Then I ran ``` $ ./john --wordlist=password.lst lotus85.pw --pot=lotus85.pot ... 24808g 0:00:00:02 DONE (2014-01-05 04:19) 10003g/s 1429p/s 10008c/s 10008C/s chacha..sss $ wc -l lotus85.pot lotus85.pw password.lst 24808 lotus85.pot 7 lotus85.pw 3559 password.lst 28374 total ``` So, we have 7 hashes, 3559 passwords, and 24808 successfull cracks. This means, close to 100 % of the password candidates are valid passwords. I doubt that this is the case with real lotus85 passwords. Otherwise you'd have a hard time to produce authentication failures.
bsakaguchi 2026-10-14 02:55:23 +07:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

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

This seem to a bug introduced by @kholia - the original version in 55f8f38 has another flaw which makes it only capable of properly attacking one hash at a time (others will get false negatives) but otherwise it works fine, no false positives and does crack correct passwords.

<!-- gh-comment-id:31604079 --> @magnumripper commented on GitHub (Jan 5, 2014): This seem to a bug introduced by @kholia - the original version in 55f8f38 has another flaw which makes it only capable of properly attacking one hash at a time (others will get false negatives) but otherwise it works fine, no false positives and does crack correct passwords.
Author
Owner

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

Also, the original version does improperly load oracle11 hashes, but it does not emit any false positives from them.

<!-- gh-comment-id:31604134 --> @magnumripper commented on GitHub (Jan 5, 2014): Also, the original version does improperly load oracle11 hashes, but it does not emit any false positives from them.
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#176
No description provided.