Bitcoin Forum
April 25, 2024, 04:49:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Password encryption change between versions?  (Read 127 times)
morganc (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 8


View Profile
January 05, 2021, 07:04:17 PM
Merited by OmegaStarScream (2), LoyceV (2), ABCbits (1)
 #1

Hi,

Can someone confirm if the method of password encryption used in Bitcoin Core / Qt changed, which would prevent me from opening a wallet.dat file?

Background
- In early 2011, a friend introduced me to Bitcoin and got me to setup a wallet and then transferred 10 coins into it.
- Until recently I thought I had lost the file, but by chance a few days ago, I found it on an old USB stick.
- I then installed the Bitcoin Core / Qt software that was on the USB stick and copied the wallet.dat file into the folder
- over the last couple of weeks (using an old laptop), it has synched and confirmed that there are 10 bitcoins in there ... wow ... yippeee !

BUT ... when I try and access the wallet, I'm told my password is incorrect.

I've tried numerous passwords and combinations that I frequently use, but alas I cannot access/transfer the coins.

The friend that originally gave me the coins, said that his brother had experienced a similar problem and resolved it by using a previous/older version of the software.

Is there any truth to this and something I should try and if so, which versions should I target?

Currently the software in use is Bitcoin Core version v0.15.1 (64-bit) & Qt 5.71

Thanks in advance for your input/feedback.
"With e-currency based on cryptographic proof, without the need to trust a third party middleman, money can be secure and transactions effortless." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714063742
Hero Member
*
Offline Offline

Posts: 1714063742

View Profile Personal Message (Offline)

Ignore
1714063742
Reply with quote  #2

1714063742
Report to moderator
1714063742
Hero Member
*
Offline Offline

Posts: 1714063742

View Profile Personal Message (Offline)

Ignore
1714063742
Reply with quote  #2

1714063742
Report to moderator
1714063742
Hero Member
*
Offline Offline

Posts: 1714063742

View Profile Personal Message (Offline)

Ignore
1714063742
Reply with quote  #2

1714063742
Report to moderator
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3374
Merit: 6535


Just writing some code


View Profile WWW
January 05, 2021, 07:47:13 PM
Merited by ABCbits (1)
 #2

It has not changed.

PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
January 05, 2021, 08:07:17 PM
Merited by ABCbits (1), math09183 (1)
 #3

I do not think it has changed. Is it possible that you used different keyboard layout? Special characters?

You may always try to dump password hash (*1) and try to "open" it using 3rd party program (*2 or *3). At the end what you get is number of iterations and final hash. If you launch program with your expected password, you will have confirmation if the provided password is correct.

You may also try to use script (*4) which will extract your private key from wallet.dat file - then you may import it into more user-friendly client like Electrum.


*1 manual DIY here: https://walletpasswordrecovery.com/faq/
 (avoid online solutions if you do not trust them... https://www.onlinehashcrack.com/tools-bitcoin-litecoin-hash-extractor.php)

*2 https://hashcat.net/wiki/

*3 https://github.com/gurnec/btcrecover - I think it works without hash extraction, you may use your wallet.dat backup file.

*4 https://github.com/jackjack-jj/pywallet | a simple guide here: https://bitcoin.stackexchange.com/a/66763

morganc (OP)
Newbie
*
Offline Offline

Activity: 6
Merit: 8


View Profile
January 15, 2021, 03:29:06 PM
Merited by PawGo (1)
 #4

Thanks for your input/feedback.

After many days/weeks trying to remember/find my password, I stopped trying.

Then a few days ago I started again, trying different combinations/rules using the btcrecover tool and after 1hrs effort, I found the password!!!!  Grin

As you can imagine, I'm very happy.

Now thinking about the timing when to transfer into an exchange (which one?) and coverting to everyday cash ... or just sit on them for them time being.
PawGo
Legendary
*
Offline Offline

Activity: 952
Merit: 1367


View Profile
January 15, 2021, 03:31:22 PM
 #5

Then a few days ago I started again, trying different combinations/rules using the btcrecover tool and after 1hrs effort, I found the password!!!!  Grin
Now thinking about the timing when to transfer into an exchange (which one?) and coverting to everyday cash ... or just sit on them for them time being.

Congratulations!
What to do now - everything depends on your needs and approach. You must decide yourself Wink
LaikaDogo
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
February 09, 2021, 04:39:51 AM
 #6

Hey there, I'm in the same boat, did you find btcrecover easy to use or ?
Any hints or tips on how to use? I'm a bit of a noob.

Also i have like 5 different passwords i may have used ..
NotATether
Legendary
*
Online Online

Activity: 1582
Merit: 6680


bitcoincleanup.com / bitmixlist.org


View Profile WWW
February 09, 2021, 07:03:42 AM
Merited by ABCbits (2)
 #7

Hey there, I'm in the same boat, did you find btcrecover easy to use or ?
Any hints or tips on how to use? I'm a bit of a noob.

Also i have like 5 different passwords i may have used ..

If you need help installing BTCRecover there's a tutorial with an installation guide for getting you the Python packages necessary for cracking wallet.dat passwords. Specifically, after you download BTCrecover, you need Python 2.7 and pycrypto, which you can install with pip install pycrypto inside a command prompt. If you're on Windows use this pycrypto installer instead.

Ben you got to copy your wallet.dat into the folder that BTCRecover is in and then run btcrecover --passwordlist LIST.txt --wallet wallet.dat (LIST.txt is a file containing possible passwords, see below on how to make it)

You use lists called token files which contain combinations of words that might appear (the tokens) and which order they appear in. Exactly what you put in there depends on how well you remember your password.

If you forgot just one or two words, you can put the following in a file (lets pretend your password is 6 words long):

Code:
^1^your_first_word
^2^your_second_word
...and so on, don't type this line but keep putting the rest of the words you remember with their word positions here
^5^maybe_word1 maybe_word2 maybe_word3
^6^another_maybe_word1 another_maybe_word2 another_maybe_word3

Will try all combinations of the password with maybe_word1/2/3 as the 5th word and another_maybe_word1/2/3 as the 6th word.

If there is a space in your password the. escape it with %s. For example this:

Code:
qwerty%suiop%sasdf

matches qwerty uiop asdf.



But since you have 5 different passwords I'm guessing that they're all variations of one another. In that case you can use the for --typos NUMBER_Of_TYPOS option to tell BTCRecover there are a fixed number of typos and for each typo, apply one of these operations:

With the --typos # command-line option (with # replaced with a count of typos), you tell btcrecover up to how many typos you’d like it to add to each password (that has been either generated from a token file or taken from a passwordlist as described above). You must also specify the types of typos you’d like it to generate, and it goes through all possible combinations for you (including the no-typos-present possibility). Here is a summary of the basic types of typos along with the command-line options which enable each:

--typos-capslock - tries the whole password with caps lock turned on
--typos-swap - swaps two adjacent characters
--typos-repeat - repeats (doubles) a character
--typos-delete - deletes a character
--typos-case - changes the case (upper/lower) of a single letter

 If this is confusing to you there are stock example  you can directly insert from this page. This option is supposed to be used in conjunction with --passwordlist, so you will want to make a file with your five password guesses on each line, and it will also search for typos and misspellings of those.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!