Author

Topic: I lost my password to an electrum wallet (Read 344 times)

legendary
Activity: 3472
Merit: 10611
November 02, 2020, 01:36:05 AM
#23
What do you mean by saying bottlenecks? I don't get it? I can't think of a more productive way to do it. First take all the possible combinations, and then run a program that checks every line.
1. you are working with strings, they are inherently slower than integers (or bits to be more exact).
2. that also means you have to keep converting back and forth between strings and bytes when creating checksum while also having to normalize the text with Electrum defined algorithm
3. printing the result whether to UI or to file is also an extremely slow process (that is why your UI hangs when the number of words is higher than 4-5).
4. you don't have to produce ALL possible combinations, it can be reduced by 94% if you validate checksum! (about 6% are correct in BIP39 and i believe it is the close to same value for Electrum).

Quote
About that, on BIP39 I've noticed that it doesn't matter the checksum. Whatever seed you'll submit on electrum it will take it.
it should matter, if your checksum is invalid then this line will return false (an invalid seed phrase).
same with BIP39, if your SHA256 checksum is invalid it will be rejected (reference implementation).
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
November 02, 2020, 01:26:08 AM
#22
this is not how brute force supposed to work. you have to think about removing all the bottlenecks and optimizing the algorithm as much as you can instead of adding more bottlenecks. right now your work with "strings" and "printing them" are two huge bottlenecks that slow down anything you want to do.
What do you mean by saying bottlenecks? I don't get it? I can't think of a more productive way to do it. First take all the possible combinations, and then run a program that checks every line.

there is also another step that you are missing which is checking the correctness of the checksum of each seed phrase before moving on to trying to create private keys.
About that, on BIP39 I've noticed that it doesn't matter the checksum. Whatever seed you'll submit on electrum it will take it.
legendary
Activity: 3472
Merit: 10611
November 02, 2020, 12:52:31 AM
#21
I need a bitcoin developer to confirm me if there's a way to convert the array of strings, which are the seeds, to private keys and then start checking if there funds on each address.
this is not how brute force supposed to work. you have to think about removing all the bottlenecks and optimizing the algorithm as much as you can instead of adding more bottlenecks. right now your work with "strings" and "printing them" are two huge bottlenecks that slow down anything you want to do.
there is also another step that you are missing which is checking the correctness of the checksum of each seed phrase before moving on to trying to create private keys.
legendary
Activity: 2268
Merit: 18771
November 01, 2020, 08:38:29 AM
#20
Does anyone know if there is another bitcoin wallet that uses the same derivation path as electrum?
Why not just recover the seeds in Electrum itself? If you generated them in Electrum, then the easiest way to restore is going to be in Electrum.

Electrum saves different wallets as different files. One installation of Electrum can support thousands or even millions of different wallets, limited only by free space on your hard disk. When you open Electrum, either hit the button "Create New Wallet", or just enter any unused name in the top field to create a new wallet. Select "Standard Wallet", then "I already have a seed", and try the various seeds you have found.
legendary
Activity: 2744
Merit: 3097
Top Crypto Casino
November 01, 2020, 07:35:58 AM
#19
Does anyone know if there is another bitcoin wallet that uses the same derivation path as electrum?
Most wallets use the bip39 standard to generate seeds while Electrum uses its own standard. The only wallet that I am aware of which supports importing Electrum's seeds is bluewallet.
However, you will not be able to import your wallet if it's empty and doesn't have any history.
sr. member
Activity: 631
Merit: 258
November 01, 2020, 07:15:29 AM
#18
Thank you for all the replies. I found quite few old seeds, but have not tested them all yet.
Does anyone know if there is another bitcoin wallet that uses the same derivation path as electrum?
legendary
Activity: 3276
Merit: 3537
Nec Recisa Recedit
November 01, 2020, 06:11:11 AM
#17
@OP electrum wallet requires that you write down/ save your wallet seed before any operation.
before trying to guess the password it could be more easy just find the initial seed and restore again the wallet.
if you count also capslock text find your password will be close to impossible ...
legendary
Activity: 2744
Merit: 3097
Top Crypto Casino
November 01, 2020, 06:07:10 AM
#16
The number of possible combinations depends on the number of words you used to create your password.
If n is the number of words then the number of possible combinations in this case is n! (permutation).

If we are talking about a small number of words, then you can try all possible combinations manually. For 5 words, you would have only 120 possible combination.
For any greater number, you should try the tool suggested above but it needs your wallet file. I hope you still have it.
legendary
Activity: 2268
Merit: 18771
November 01, 2020, 05:40:16 AM
#15
Speaking of recovering a forgotten password, I found a tool that might be useful to someone in a similar situation.
https://github.com/gurnec/btcrecover
This is the best answer, but the original version of btcrecover hasn't been updated in 3 years. There is a fork with ongoing active development, wider wallet support, new features, and better optimization, available here: https://github.com/3rdIteration/btcrecover

For recovering a password to wallet file, follow the instructions here: https://github.com/3rdIteration/btcrecover/blob/master/TUTORIAL.md#btcrecover-tutorial

These instructions will talk you through building a tokens.txt file with the words in the password you do remember, any numbers, punctuation, substitutions, typos, etc., which the program will then take, generate all possible combinations, and try them automatically on your wallet file.
legendary
Activity: 1526
Merit: 1359
November 01, 2020, 05:19:04 AM
#14
You have to remember what are the first 3-4 words. Otherwise, you need a really strong machine to print you all those different combinations.
I am a little confused, did you mean first 3-4 letters instead of words?

BlackHatCoiner has posted a script to generate word combinations for a seed phrase. It is not intended for brute force hacking of electrum password.

Speaking of recovering a forgotten password, I found a tool that might be useful to someone in a similar situation.
https://github.com/gurnec/btcrecover

Quote
btcrecover is an open source Bitcoin wallet password and seed recovery tool. It is designed for the case where you already know most of your password or seed, but need assistance in trying different possible combinations.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
November 01, 2020, 05:10:20 AM
#13
Yeah, it worked. I tried with 4 words. But it seems this script will not help much unless there can be any automated tool out there. Let's say you have successfully executed the script (after giving it much time and after using a lot of resources) but manually trying each combination is nearly impossible for human.
I'll take it into consideration of developing such application.

I am a little confused, did you mean first 3-4 letters instead of words?
No, I meant words, because I though that seed was what he wanted.
legendary
Activity: 2366
Merit: 1272
Heisenberg
November 01, 2020, 05:03:46 AM
#12
You have to remember what are the first 3-4 words. Otherwise, you need a really strong machine to print you all those different combinations.
I am a little confused, did you mean first 3-4 letters instead of words?
Because OP says he probably knows the words he used for the password but does not remember how he ordered them. So he was not talking about the seed phrase but rather the password.
legendary
Activity: 2464
Merit: 3878
Hire Bitcointalk Camp. Manager @ r7promotions.com
November 01, 2020, 04:58:27 AM
#11
I tried it using my browser but it was freezing the entire browser then I had to force close it.
Reduce the number of words, save and then try again.
Yeah, it worked. I tried with 4 words. But it seems this script will not help much unless there can be any automated tool out there. Let's say you have successfully executed the script (after giving it much time and after using a lot of resources) but manually trying each combination is nearly impossible for human.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
November 01, 2020, 04:51:03 AM
#10
I tried it using my browser but it was freezing the entire browser then I had to force close it.
Reduce the number of words, save and then try again.
legendary
Activity: 2464
Merit: 3878
Hire Bitcointalk Camp. Manager @ r7promotions.com
November 01, 2020, 04:49:01 AM
#9
I just forgot the password for my wallet. I did not lose the seed
You mean the encrypted password? What's the problem with that if you do have the seed? You haven't lost your funds.

Ok.. I don't have the seed but may be able to find it.
Now you are confusing everyone.
You do not have 12 word seed or encrypted password. Not having 12 word seed means you are in trouble but not having encrypted password is not a problem at all. Using the 12 word seed, you can restore the wallet very easily.

if you want to run it, create a new test.html file anywhere on your computer and open it with chrome
I tried it using my browser but it was freezing the entire browser then I had to force close it.
legendary
Activity: 1526
Merit: 1359
November 01, 2020, 04:44:17 AM
#8
Ok.. I don't have the seed but may be able to find it.

I hope you find it. This is your best option for wallet recovery and that is why it is recommended to write it down and keep it in a safe place.
sr. member
Activity: 631
Merit: 258
November 01, 2020, 04:34:31 AM
#7
I just forgot the password for my wallet. I did not lose the seed
You mean the encrypted password? What's the problem with that if you do have the seed? You haven't lost your funds.

Ok.. I don't have the seed but may be able to find it.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
November 01, 2020, 04:33:06 AM
#6
I just forgot the password for my wallet. I did not lose the seed
You mean the encrypted password? What's the problem with that if you do have the seed? You haven't lost your funds. The way you describe your problem in the first post is like you've lost the seed.
sr. member
Activity: 631
Merit: 258
November 01, 2020, 04:31:42 AM
#5
Is there any tools to try to find it?

Let's clarify something first. Did you just forget the electrum password or did you lose the mnemonic seed for your wallet?  If you have a seed, you can restore your wallet from its seed phrase and choose a new password.


I just forgot the password for my wallet.
legendary
Activity: 1512
Merit: 7340
Farewell, Leo
November 01, 2020, 04:28:55 AM
#4
Is there any tools to try to find it?
I am pretty sure I know the words I would have used but can't remember the combination of those words.  There are probably not too many possible combinations.

You have to remember what are the first 3-4 words. Otherwise, you need a really strong machine to print you all those different combinations.

Here I wrote you a javascript code which takes N words and prints all the combinations:
Code:
if you want to run it, create a new test.html file anywhere on your computer and open it with chrome

You can remove words. For example, I ran it with 8 different words. Not more than that, my computer lags. Although, with the above code, you cannot find your lost wallet unless you try all this mess: https://i.imgur.com/yH7xgUq.gif

I need a bitcoin developer to confirm me if there's a way to convert the array of strings, which are the seeds, to private keys and then start checking if there funds on each address.

legendary
Activity: 1526
Merit: 1359
November 01, 2020, 04:25:28 AM
#3
Is there any tools to try to find it?

Let's clarify something first. Did you just forget the electrum password or did you lose the mnemonic seed for your wallet?  If you have a seed, you can restore your wallet from its seed phrase and choose a new password.
legendary
Activity: 2464
Merit: 3878
Hire Bitcointalk Camp. Manager @ r7promotions.com
November 01, 2020, 03:59:42 AM
#2
I am not good at maths but perhaps this post may help : https://bitcoin.stackexchange.com/questions/71692/how-many-combinations-are-there-from-the-bip32-mnemonic-list

There are probably not too many possible combinations.
It seems the numbers are too high which is probably is bad news.
sr. member
Activity: 631
Merit: 258
November 01, 2020, 03:45:20 AM
#1
Is there any tools to try to find it?
I am pretty sure I know the words I would have used but can't remember the combination of those words.  There are probably not too many possible combinations.
Jump to: