mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #2651] Ethereum pre-sale issue. #1717
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#1717
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 @kost123 on GitHub (Aug 3, 2017).
Original GitHub issue: https://github.com/openwall/john/issues/2651
When trying to crack ethereum presale wallets with CPU or OpenCL (same problem) sometimes it finishes too early. Bruteforce/mask seems to work OK but when using wordlists it doesn't.
I started a wordlist of 20 GB yesterday on GPU and its ETA was 11 hours, but it finished in 2.5 hours, I tried a smaller list of about 10k passwords on CPU and it finished at about 33%.
Temps are fine.
@kholia commented on GitHub (Aug 4, 2017):
How can I reproduce this problem locally? Describe all the steps involved in detail.
Which dictionary file were you using? Can you provide a sample hash which exhibits this problem?
Is the problem reproducible with the following (common) dictionary?
https://github.com/danielmiessler/SecLists/blob/master/Passwords/10k_most_common.txt
@kost123 commented on GitHub (Aug 4, 2017):
I used HashesOrg list from weakpass.com with some simple rules appending 1-4 and do nothing.
I can't provide a sample hash. But I was able to produce it with a smaller wordlist:
roflcopy1
roflcopy2
roflcopy3
roflcopy4
roflcopy5
roflcopy6
roflcopy7
roflcopy8
roflcopy9
roflcopy10
roflcopy11
roflcopy12
roflcopy13
roflcopy14
roflcopy15
roflcopy16
roflcopy17
roflcopy18
roflcopy19
roflcopy20
roflcopy21
roflcopy22
roflcopy23
roflcopy24
Use this with --rules:jumbo
It exits at 30% or so
I am spamming S for status as hard as I can here:
I'm not able to reproduce it on the list you sent me using basic rules, and it will take too long to use jumbo rules on it, but again I didn't use jumbo rules on HashesOrg list. Very odd, I was thinking it could have been skipping passwords but to skip 66%+ of passwords doesn't seem right.
@kholia commented on GitHub (Aug 4, 2017):
I was able to observe similar behavior with following steps,
Here is a sample hash for testing,
$ethereum$w*4ab35fcb5c3101af70d5b3bf22829af3dbd48813273b17566ee364285c7bcfb2d52611a58e54d3e6be27e458073304e71e356afc4c97da0143910308f30563fe*c4dfdaa5288b477d0ff25a260ef32a24282cc4e2*97b3d2c2c8106507b87744f0b12f73c2@magnumripper Your advice is needed here. I have no idea about what is going wrong here!
@kost123 commented on GitHub (Aug 4, 2017):
Ok so..
I'll switch to password* just to make it easier:
When trying
It stops at 30% mark ish.
When I scramble the passwords to this:
It makes it to 50%
some more..
100%
It is removing duplicates but not updating the % done? Is it possible that 66%+ of hashesorg is duplicates when used with rules? It certainly seems possible with these small lists.
Edit: It seems it happens on all hashtypes so you can change the title name if possible.
Edit2: even stranger behaviour when using a larger password list (same format as before) with --rules:Wordlist, it just jumps 10% then 23% then finishes.
Your wordlist you provided does not have this problem so I'm thinking this must just be some duplicate problem, "Wordlist" rule set must not contain many duplicates but has them in different parts. However jumbo uses Wordlist, Single, NT and OldOffice which must have ALOT of duplicates from the Wordlist set to finish really fast appearing to just stop, but you would think single has a whole lot more variations than Wordlist and HashesOrg would not create 70% duplicates in 4 append rules.
@ghost commented on GitHub (Aug 5, 2017):
Using:
I compared:
versus
Then, I checked that, e.g.
16 seconds * 7602 p/s, is the expected number of candidates.0g 0:00:00:16 DONE (2017-08-04 06:06) 0g/s 7602p/s 7602c/s 7602C/s psswrd1..psswrd6So, ETA was not updated fast enough. Other than this, reasonable results.
I tried a 386M wordlist and was able see ETA changing a lot. Have your checked how your 20GB wordlist behaves?
@kost123 commented on GitHub (Aug 5, 2017):
When you say not updated fast enough.. the output I posted above I tried on a list of about 10,000 passwords all of password1, password2.. etc format and it wasn't really a case of not being updated fast enough it was random jumps throughout, also why would the ETA not update fast enough for similar passwords but update fine on jumbled up ones?
My 20GB list which is really just a 4gb with some rules. I started and checked the status a few times, all of which was ok for the 10minutes I was checking, then I went to sleep and woke up and checked and it finished in 2.5hours instead of the 11-12hours it said when I started it.
@ghost commented on GitHub (Aug 5, 2017):
Ok, you are right to disbelieve me. What I thought was:
--rules=jumbohas a rule that deletes the last character; similarity becomes equality;Qstart rejecting all/every rule after # 7k (or 25%);stdoutandwcto confirm that things make sense;That said, I was confident things were ok, but I failed to make a prove that JtR is working properly and the issue remains open.
[1] Q query the memory and reject the word unless it has changed
PS:
Based on JtR internals: rule_number, rules_pass, rule_count, ...
@ghost commented on GitHub (Aug 5, 2017):
Qrule:difftold me both files are equal.Don't be upset with me, but, I am convinced things are ok.
@kost123 commented on GitHub (Aug 6, 2017):
Ofcourse I am not upset! I am only trying to find the end result of this :) It does appear by your work that everything is fine, so any patch to this would be purely cosmetic. I'm not sure exactly how it would be possible to predict rejects and update the % status properly. At least it puts my mind at ease that I am not wasting time :)
@kholia commented on GitHub (Aug 6, 2017):
Thanks for helping me out here @claudioandre 👍