mirror of
https://github.com/openwall/john.git
synced 2026-12-03 18:45:21 +07:00
[GH-ISSUE #2334] Add support for cracking brainwallets #1561
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#1561
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 (Nov 14, 2016).
Original GitHub issue: https://github.com/openwall/john/issues/2334
Originally assigned to: @kholia on GitHub.
From Luis Rocha:
http://www.openwall.com/lists/john-users/2016/11/11/6
https://www.youtube.com/watch?v=foil0hzl4Pg
http://fc16.ifca.ai/preproceedings/36_Vasek.pdf
https://github.com/ryancdotorg/brainflayer
@PracaGrande commented on GitHub (Nov 18, 2016):
Further references:
http://www.nicolascourtois.com/bitcoin/paycoin_BrainWallet3br.pdf
GPU implementation of ECC computation : http://eecm.cr.yp.to/pc109-20090901.pdf
@kholia commented on GitHub (Jun 21, 2017):
Walkthrough from Luis Rocha himself -> https://countuponsecurity.com/2016/11/20/blockchain-brainwallet-cracking/
@kholia commented on GitHub (Jul 15, 2018):
Resources for generating brain wallets (there are a bunch of them with different algorithms),
https://brainwalletx.github.io/
https://www.bitaddress.org - SHA256(passphrase)
@solardiz commented on GitHub (Oct 15, 2018):
Also relevant is the discussion with Ryan, the author of Brainflayer, here: https://en.bitcoin.it/wiki/User_talk:Ryanc
In particular: "The same system that can do 10 warpwallet keys per second can do about 600k traditional brainwallet keys per second. The reason for this is that it's not just sha256 vs scrypt+pbkdf2 - the public key generation step must be taken into account and it is much, much slower than sha256."
So if we speed up SHA-256 or/and scrypt (e.g., with our SIMD code or in OpenCL), we're still limited by performance of "the public key generation step" as well.
Brainflayer supports different KDFs with the
-toption:If we're to work on this issue, we'd need to decide which KDFs to implement.
@prodnet commented on GitHub (Oct 18, 2018):
You omitted voluntarily the options ? :
@prodnet commented on GitHub (Oct 18, 2018):
Yes, It would be a very good idea if the -t options from Brainflayer can be implemented
@solardiz commented on GitHub (Oct 18, 2018):
IIRC, the list of Brainflayer
-toptions that I copied in here came from its README.md on its GitHub page. I did not omit any options on purpose.We currently have no intent to actually work on this issue anyway. My update was just in context of an internal discussion prompted by a user's re-request for this feature. It's just to keep things written down in case we revisit this issue later.
@prodnet commented on GitHub (Oct 18, 2018):
Why has this implementation not been done, given that it has been requested many times?
@solardiz commented on GitHub (Oct 18, 2018):
It hasn't been requested many times - I only recall two. If yours is separate, then three, but I don't know if you're the same or a different person than the one who has been pinging several JtR developers individually about this earlier this month and was suspiciously insistent. Other reasons why we haven't approached this task and currently have no intent to are both ethical and technical. The ethical aspects surrounding this functionality are non-trivial - there are reasons both for and against having this in JtR. The technical aspects are not trivial either - we may speed up the KDF portion, but for SHA-256 it's pretty fast anyway, and Brainflayer presumably spends more time on "the public key generation step" instead. Optimizing that step isn't something the particular JtR developer who could have worked on this issue would work on. With the effort we'd realistically put into this, we'd probably end up with speeds just slightly better than Brainflayer's, and also leverage JtR's OpenMP and
--forksupport, and perhaps more importantly its built-in cracking modes (generation of candidate passwords). That could be fine. But like I said, upon recent discussion we currently have no intent to proceed.@kholia commented on GitHub (Oct 18, 2018):
I strongly agree with @solardiz here. I am also OK with closing this issue with WONTFIX label.