Title: Bruteforce wallet Post by: rizzler on February 12, 2023, 09:21:36 PM Hi
I am running btcrecover since a while back on my linux machine. I had lost the password which i do not remember with the following command and i wonder if there is any faster way of doing this ? Quote python3.7 btcrecover.py --wallet wallets/wallet_1 --no-dupchecks --no-eta Wallet Type: btcrpass.WalletElectrum28 Wallet difficulty: 1024 PBKDF2-SHA512 iterations + ECC 2023-01-28 02:56:27 : Using 2 worker threads | 1070011680 elapsed: 15 days, 13:23:13 rate: 796.03 P/s TOKENS FILE Code: #--help Title: Re: Bruteforce wallet Post by: digaran on February 12, 2023, 11:07:54 PM Is that 796 passwords per second or 796k p/s? Did you really spend 15 days trying to crack a wallet and now are asking for faster methods? Wow. You should move this topic to project development : https://bitcointalk.org/index.php?board=12.0 in here mostly bitcoin client/software related stuff is discussed and some people don't visit this board too much. I have seen pass finders with millions/ trillions per sec.
Title: Re: Bruteforce wallet Post by: rizzler on February 13, 2023, 03:16:56 AM 796 sadly enough.
I was questioning if i started the bruteforce the right way when i looked at it or if there is any other way? it is looking for the password between 1 and 25 characters right ? Title: Re: Bruteforce wallet Post by: nc50lc on February 13, 2023, 05:39:04 AM Knowing nothing about the password will render your bruteforce a waste of time and resources.
At least for now, try %1,8in, or a reasonable range of characters. Then if there's no result, you can be certain that it's not a 1~8 alpha numeric characters. But for it to be feasible, you should at least provide any possible characters/words to minimize the search for random alpha-numeric characters. Title: Re: Bruteforce wallet Post by: rizzler on February 13, 2023, 11:38:31 AM Knowing nothing about the password will render your bruteforce a waste of time and resources. At least for now, try %1,8in, or a reasonable range of characters. Then if there's no result, you can be certain that it's not a 1~8 alpha numeric characters. But for it to be feasible, you should at least provide any possible characters/words to minimize the search for random alpha-numeric characters. How long should i let that run ? Title: Re: Bruteforce wallet Post by: nc50lc on February 13, 2023, 12:13:44 PM I did some rough estimation to give you a "reasonable range" like I suggested and the result is you can only search up to 5.
With a token of %1,5in; you'll exhaust that within 2 weeks at that speed. %1,6in will take about 2 years, more will be impossible. The bottom-line is, using random character search for the whole password wont work for long passwords. As I previously mentioned, it's pointless unless you can remember a good portion of your password. Title: Re: Bruteforce wallet Post by: DaveF on February 13, 2023, 01:04:29 PM Outside of what nc50lc said that unless you have more information this is probably a pointless waste since unless you are lucky, like winning the lottery lucky, finding a block with an old antminer S1 lucky it's not going to happen.
BUT if you want to do it, there is always the throw more hardware at the problem fix. More & faster cores will get you well....more. And don't forget using a GPU. Still pointless and the odds of you getting it are insanely and pointlessly low, but you can get more speed if you want. -Dave Title: Re: Bruteforce wallet Post by: o_e_l_e_o on February 13, 2023, 01:36:32 PM 796 sadly enough. Electrum wallets are hardened with 1024 rounds of PBKDF2 as it says to slow down brute forcing, but even so, 796 is very slow. I can get about 15 kP/s off the bat without any optimizations.I was questioning if i started the bruteforce the right way when i looked at it or if there is any other way? Do you have a decent GPU? You can try adding the --enable-opencl argument to your command, provided you have installed the necessary dependencies: https://btcrecover.readthedocs.io/en/latest/GPU_Acceleration/it is looking for the password between 1 and 25 characters right ? Correct. That will look for every combination of between 1 and 25 lowercase letters, uppercase letters, and numbers. It is hard to overstate how futile such a search is.Title: Re: Bruteforce wallet Post by: rizzler on February 13, 2023, 02:34:31 PM thanks everyone
I am running 8 K/ps right now with %1,8in How long should i give it ? Title: Re: Bruteforce wallet Post by: o_e_l_e_o on February 13, 2023, 02:58:15 PM You are still wasting your time.
As I said above, you are searching all lowercase, all uppercase, and all digits. This is 26 + 26 + 10 = 62 possibilities for each character. So for 8 characters, that is 628 possibilities. Divide that number by 8,000, and that gives you how many seconds it will take you to exhaust the search space. That works out at 865 years. (In reality it will be another 15 or so years more than that since you are searching for strings shorter than 8 characters as well.) This is also assuming that you did not use any symbols or spaces in your password either. You will need to have some idea of what your password might be, otherwise you are wasting your time. Alternatively, did you not back up your seed phrase? Title: Re: Bruteforce wallet Post by: rizzler on February 13, 2023, 03:08:06 PM You are still wasting your time. As I said above, you are searching all lowercase, all uppercase, and all digits. This is 26 + 26 + 10 = 62 possibilities for each character. So for 8 characters, that is 628 possibilities. Divide that number by 8,000, and that gives you how many seconds it will take you to exhaust the search space. That works out at 865 years. (In reality it will be another 15 or so years more than that since you are searching for strings shorter than 8 characters as well.) This is also assuming that you did not use any symbols or spaces in your password either. You will need to have some idea of what your password might be, otherwise you are wasting your time. Alternatively, did you not back up your seed phrase? no. someone randomly hit my keyboard and lockedit away. it could be "as" or "asd" in the beginning because they hit that part och they keyboard... how could i add to the tokens file for example if i want it to check with "as" or "asd" in the beginning ort "qwe" or all 3 of these ? Title: Re: Bruteforce wallet Post by: LoyceV on February 13, 2023, 04:48:54 PM did you not back up your seed phrase? no. someone randomly hit my keyboard[/quote]That's now how seed phrases work. Electrum will ask you to enter it again, to make sure you stored it. Quote it could be "as" or "asd" in the beginning because they hit that part och they keyboard... That doesn't make sense either: you have to enter the same password twice to set it.Who is this "someone" who randomly hit your keyboard while the only copy of your wallet was on your screen? Title: Re: Bruteforce wallet Post by: rizzler on February 13, 2023, 04:53:24 PM did you not back up your seed phrase? no. someone randomly hit my keyboardQuote it could be "as" or "asd" in the beginning because they hit that part och they keyboard... That doesn't make sense either: you have to enter the same password twice to set it.Who is this "someone" who randomly hit your keyboard while the only copy of your wallet was on your screen? [/quote] long story short. someone thougt they would do a funny but they really managed to change the password :/ Title: Re: Bruteforce wallet Post by: LoyceV on February 13, 2023, 05:03:06 PM long story short. someone thougt they would do a funny but they really managed to change the password :/ Lesson learned: don't let anyone touch your computer. If you really don't have the seed words, you were just waiting for the moment your hard drive failed to lose your wallet. Maybe you can recover an older version from your disk using recovery software.Title: Re: Bruteforce wallet Post by: rizzler on February 13, 2023, 05:30:36 PM long story short. someone thougt they would do a funny but they really managed to change the password :/ Lesson learned: don't let anyone touch your computer. If you really don't have the seed words, you were just waiting for the moment your hard drive failed to lose your wallet. Maybe you can recover an older version from your disk using recovery software.I had the erlier password in keepass but i tried recovering keepass files but they are corrupted. is it possible to recover old keepass files and open them ? :/ Title: Re: Bruteforce wallet Post by: serveria.com on February 13, 2023, 08:00:20 PM Hi I am running btcrecover since a while back on my linux machine. I had lost the password which i do not remember with the following command and i wonder if there is any faster way of doing this ? Quote python3.7 btcrecover.py --wallet wallets/wallet_1 --no-dupchecks --no-eta Wallet Type: btcrpass.WalletElectrum28 Wallet difficulty: 1024 PBKDF2-SHA512 iterations + ECC 2023-01-28 02:56:27 : Using 2 worker threads | 1070011680 elapsed: 15 days, 13:23:13 rate: 796.03 P/s TOKENS FILE Code: #--help It could run faster but only if you remember some information about your password (like a number of characters, presence of certain letters/digits/special characters), perhaps you could also include a text file containing your passwords you use for another websites/wallets (it's possible you reused the password from some other website). Title: Re: Bruteforce wallet Post by: rizzler on February 13, 2023, 08:15:37 PM Hi I am running btcrecover since a while back on my linux machine. I had lost the password which i do not remember with the following command and i wonder if there is any faster way of doing this ? Quote python3.7 btcrecover.py --wallet wallets/wallet_1 --no-dupchecks --no-eta Wallet Type: btcrpass.WalletElectrum28 Wallet difficulty: 1024 PBKDF2-SHA512 iterations + ECC 2023-01-28 02:56:27 : Using 2 worker threads | 1070011680 elapsed: 15 days, 13:23:13 rate: 796.03 P/s TOKENS FILE Code: #--help It could run faster but only if you remember some information about your password (like a number of characters, presence of certain letters/digits/special characters), perhaps you could also include a text file containing your passwords you use for another websites/wallets (it's possible you reused the password from some other website). How do i put something in the tokens file if it might have been "as" or "asd" that is pressent in the password? Title: Re: Bruteforce wallet Post by: o_e_l_e_o on February 13, 2023, 08:18:05 PM no. someone randomly hit my keyboard and lockedit away. it could be "as" or "asd" in the beginning because they hit that part och they keyboard... how could i add to the tokens file for example if i want it to check with "as" or "asd" in the beginning ort "qwe" or all 3 of these ? Something like the following:Code: + ^%1,3[qweasd] Your story makes no sense, though. To change a password in Electrum, you have to first enter the current password, then enter the new password twice. This cannot be achieved by someone randomly hitting the keyboard, nor can it be achieved by someone who does not already know your password. Are you sure this is your wallet file? Title: Re: Bruteforce wallet Post by: nc50lc on February 14, 2023, 02:34:03 AM I had the erlier password in keepass but i tried recovering keepass files but they are corrupted. is it possible to recover old keepass files and open them ? :/ Do not waste your time recovering it from the corrupted files.You old password will not help you recover the current password, that is unless you made a backup of the wallet file before the password has changed. |