19

I've lost the password to one of my wallets (it's a small one, don't worry). I was sure I remembered the password ... but evidently I don't.

Is there a program that I can use to brute-force my password, given hints?

Meaning, suppose that I remember that my password was "abc", but in fact maybe it's "Abc" or "Abc0". I would give the cracker program the string "abc" as a hint, and it would try a lot of permutations on it until it finds the real password.

Does such a cracker program currently exist? (Reliable sources please, hopefully open source)

Vojtěch Strnad
  • 5,623
  • 1
  • 8
  • 31
ripper234
  • 26,452
  • 30
  • 111
  • 246
  • To clarify, are you asking about the Satoshi client? I have a 'mywallet' that I instantly forgot the password to, but I believe it's empty. – Chris Moore Mar 29 '12 at 08:45
  • 1
    @ChrisMoore - yeah, Satoshi/standard client. – ripper234 Mar 29 '12 at 09:33
  • 1
    If you don't want the password to exist anywhere outside your brain, you should use a spaced repetition software to memorize it. (Ideally the software should be able to check your input against a stored hash, and used on a computer permanently disconnected from the internet) – Meni Rosenfeld Mar 29 '12 at 10:45
  • 3
    @MeniRosenfeld and what does this have to do with this question? – o0'. Mar 29 '12 at 12:19
  • 3
    @Lohoris: That it proposes alternative solutions to its premise. I am under the impression that this is acceptable use for comments. – Meni Rosenfeld Mar 29 '12 at 12:57
  • 3
    I had to google "spaced repetition". Found http://en.wikipedia.org/wiki/Spaced_repetition and thought a link here might be useful. – Chris Moore Mar 29 '12 at 16:24
  • 3
    @Meni: At this point, the password does not exist anywhere outside his brain (and possibly no longer inside, either) :-) – Thilo Mar 30 '12 at 04:27
  • 1
    @Thilo: Yes, but this circumstance can be prevented for the future, in theory at least. – Meni Rosenfeld Mar 30 '12 at 07:15
  • 4
    FYI - luckily enough, the password _was_ indeed stored on my Keepass. I just named the entry "wallet" and not "bitcoin", so when I searched for it it didn't come up. But the question is still relevant. – ripper234 Apr 02 '12 at 16:52
  • 1
    Yeah! +1 for KeePass! – Stephen Gornick Apr 03 '12 at 19:07
  • Yup, question is still relevant. Here's another unfortunate story: http://www.reddit.com/r/Bitcoin/comments/rqymz/forgot_my_walletdat_password_how_to_fix – Stephen Gornick Apr 03 '12 at 19:07

3 Answers3

8

Revalin made available a sript that you can try running:

There may not yet be anything else, but you'ld probably find someone willing to write one if you offered to send your wallet along with what you think the pass phrase might be and ask only for a fraction of the wallet's bitcoins back once cracked.

Stephen Gornick
  • 26,990
  • 12
  • 67
  • 141
7

Another alternative is btcrecover, available on GitHub here. From the Tutorial:

btcrecover is a free and open source multithreaded wallet password recovery tool with support for Armory, Bitcoin Core (a.k.a. Bitcoin-Qt), MultiBit (Classic and HD), Electrum (1.x and 2.x), mSIGNA (CoinVault), Hive for OS X, Blockchain.info (v1 and v2 wallet formats, both main and second passwords), Bither, and Bitcoin & KNC Wallets for Android. It is designed for the case where you already know most of your password, but need assistance in trying different possible combinations.

It also supports seed recovery for deterministic wallets:

seedrecover.py is a Bitcoin seed recovery tool which can take a seed with one or more mistakes in it, and recover the correct seed if not too many mistakes have been made.

Full disclosure: I am the developer of btcrecover.

Christopher Gurnee
  • 2,493
  • 15
  • 22
5

You should try walletrecoveryservices.com since that appears to do just what you want. (brute forces bitcoin wallet recovery if you forget your password, without being able to steal your bitcoins)

user5977
  • 59
  • 1
  • 1
  • For a free badge, read the "About" page near the search bar. Thanks and Welcome to StackExchange! – Devyn Collier Johnson Jul 16 '13 at 10:57
  • You might want to add some links to testimonials to this answer. I have heard good things about this service but it's a good idea to be sure about it before handing over your wallet. – D.H. Jan 04 '14 at 20:33