mirror of
https://github.com/openwall/john.git
synced 2026-12-03 20:43:49 +07:00
[GH-ISSUE #1814] Blockchain v1 not cracking #1208
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#1208
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 (Oct 11, 2015).
Original GitHub issue: https://github.com/openwall/john/issues/1814
Originally assigned to: @kholia on GitHub.
Version 2 wallets crack fine but version 1 does not...
here is an example v1 wallet and password.
http://clicknupload.com/n7b2u5y4lmg3
Password: btcr-test-password
@kost123 commented on GitHub (Oct 14, 2015):
Anybody know who the guy is who made the blockchain config?
@magnumripper commented on GitHub (Oct 14, 2015):
What do you mean with "config"?
@kost123 commented on GitHub (Oct 14, 2015):
The blockchain module that decrypts.. I don't know what to call it.
@magnumripper commented on GitHub (Oct 14, 2015):
Are you talking about the blockchain format in JtR? It's written by @kholia
@kholia commented on GitHub (Oct 14, 2015):
@ljx34 how did you generate / get this file?
I can't import it using the https://blockchain.info site (by using the "Import Wallet" option).
@kost123 commented on GitHub (Oct 14, 2015):
@kholia I just tried importing it and it worked fine...
EDIT: Hmm... this wallet has a second password on it for editing security info... maybe thats the reason.. I need to find a v1 wallet to try without, could be my bad.
@kost123 commented on GitHub (Oct 20, 2015):
@kholia I have confirmed it is not working... here is a wallet with a single password.
http://clicknupload.com/otrfc91fpzoc
Password: yueliaoli888
@kost123 commented on GitHub (Oct 21, 2015):
From blockchains site:
...................
Encryption
Single Pass - By default all wallets are stored by AES encrypting the entire JSON payload with the users password which is then encoded as base64. A 16 byte iv is prepended to the wallet file used for PBKDF2 key stretching. The exact AES specifications are n rounds of PBKDF2 (Default 10 if not specified), Block Mode CBC ISO10126 padding.
var crypted = Crypto.AES.encrypt(json, password);
..........................
Is JTR trying to use 10round of PBKDF2 by default? or 1?
Should be 10 right?
@magnumripper commented on GitHub (Oct 21, 2015):
Yes, our code seems to fall-back to 10.
@magnumripper commented on GitHub (Oct 21, 2015):
@kholia this is a false-negative bug. At the very least we have to reject unsupported hashes in valid().
@kost123 commented on GitHub (Oct 21, 2015):
EDIT: Nvm, took a look at the code and it's a bit above me :3
@magnumripper commented on GitHub (Oct 21, 2015):
It's this part of
get_salt()@magnumripper commented on GitHub (Oct 21, 2015):
Here's the output from blockchain2john for that wallet:
It says 704 iterations if I understand it correctly.
@kholia commented on GitHub (Oct 21, 2015):
@magnumripper 704 is the data length, the code comes from my early days ;)
I can't maintain this format - I have too less free time these days.
@ljx34 the code is super easy to understand - submit patches please :-)
@kost123 commented on GitHub (Oct 24, 2015):
I found this.. it may help... it's from a python blockchain cracker that find v0, v1 and v2 wallets
############### Blockchain ###############
@kost123 commented on GitHub (Oct 27, 2015):
This can be closed as I'm not sure what you did, but you changed blockchain2john.py and now it is cracking the hashes with --base64 option, which is odd seen as I thought it was decrypting with that beforehand, I only just noticed because I thought you would close the issue when fixed.
@magnumripper commented on GitHub (Oct 27, 2015):
Cool!