Bitcoin Forum
May 06, 2024, 10:14:23 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Recovering wallet.dat from 2011  (Read 272 times)
french (OP)
Newbie
*
Offline Offline

Activity: 20
Merit: 1



View Profile
January 21, 2021, 09:30:01 PM
Last edit: January 21, 2021, 10:04:21 PM by french
 #1

Hello Everyone,

After 10 years I was able to recover a wallet.dat from a HD that has been partially erased and the board then caught fire. I now have a wallet.dat file that I believe is my original but I am trying to find a way to load it, find the address, anything to see if this is the correct wallet.

When I create a new wallet in Bitcoin Core, replace the new wallet.dat with my recovered one I get an error that it is an invalid format.

When I tried using pywallet I am receiving ":Couldn't open wallet.dat/main. Try quitting Bitcoin and running this again." Any help to get me closer would be very much appreciated.

Below is an image of what opening the wallet.dat looks like in a hex editor

https://i.imgur.com/uHLtp7M.png
I HATE TABLES I HATE TABLES I HA(╯°□°)╯︵ ┻━┻ TABLES I HATE TABLES I HATE TABLES
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714990463
Hero Member
*
Offline Offline

Posts: 1714990463

View Profile Personal Message (Offline)

Ignore
1714990463
Reply with quote  #2

1714990463
Report to moderator
1714990463
Hero Member
*
Offline Offline

Posts: 1714990463

View Profile Personal Message (Offline)

Ignore
1714990463
Reply with quote  #2

1714990463
Report to moderator
1714990463
Hero Member
*
Offline Offline

Posts: 1714990463

View Profile Personal Message (Offline)

Ignore
1714990463
Reply with quote  #2

1714990463
Report to moderator
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
January 22, 2021, 10:06:49 AM
 #2

It honestly doesn't look like any wallet.dat I've looked at. Most likely the wallet file is either totally corrupted or you don't actually have a valid wallet.dat... especially given that Bitcoin Core and PyWallet refuse to read it.

Try opening it in a plain text editor and see if you can search for: name

If there are any that show up, you should see something that looks like a Bitcoin (or other cryptocurrency) address immediately following the word "name"... and if you find that, then you might actually have a wallet.dat that is just corrupted and you might be able to recover some data from it.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
keychainX
Member
**
Offline Offline

Activity: 374
Merit: 53

Telegram @keychainX


View Profile WWW
January 22, 2021, 12:25:35 PM
 #3

Hello Everyone,

After 10 years I was able to recover a wallet.dat from a HD that has been partially erased and the board then caught fire. I now have a wallet.dat file that I believe is my original but I am trying to find a way to load it, find the address, anything to see if this is the correct wallet.

When I create a new wallet in Bitcoin Core, replace the new wallet.dat with my recovered one I get an error that it is an invalid format.

When I tried using pywallet I am receiving ":Couldn't open wallet.dat/main. Try quitting Bitcoin and running this again." Any help to get me closer would be very much appreciated.

Below is an image of what opening the wallet.dat looks like in a hex editor


Your best shot is to use pywallet and scan to see if it finds any keys. Encrypted or unencrypted.

What software did you use to recover the file? maybe you should make an image of the drive and scan it with pywallet as well.

You can find the software on github here:https://github.com/jackjack-jj/pywallet

/KX

jackjack
Legendary
*
Offline Offline

Activity: 1176
Merit: 1233


May Bitcoin be touched by his Noodly Appendage


View Profile
January 22, 2021, 09:12:08 PM
Last edit: January 22, 2021, 09:30:12 PM by jackjack
Merited by LoyceV (6)
 #4

You can try using the recovery feature of Pywallet
Code:
mkdir test_recovery ; python pywallet.py --recover --recov_device=/path/to/wallet.dat  --recov_size=10Mio --recov_outputdir=./test_recovery

If there are private keys left with some header+footer bytes, it will find them

Output example:
Code:
Enter the passphrase for the wallet that will contain all the recovered keys (can't be empty): ***********************

Enter the possible passphrases used in your deleted wallets.
Don't forget that more passphrases = more time to test the possibilities.
Write one passphrase per line and end with an empty line.
Possible passphrase:

Starting recovery.

Read 0.0 Go in 0.0 minutes

Found 0 possible wallets
Found 0 possible encrypted keys
Found 138 possible unencrypted keys
The wallet is encrypted and the passphrase is correct

Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2
Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
odolvlobo
Legendary
*
Offline Offline

Activity: 4298
Merit: 3214



View Profile
January 24, 2021, 10:21:38 PM
 #5

Below is an image of what opening the wallet.dat looks like in a hex editor



Sorry to say it, but that data looks like random garbage. It might be encrypted, but there is no identifiable metadata that would indicate it except for bytes 02-03, which might be the size of the data, assuming that the size of the metadata is 16 bytes.

Join an anti-signature campaign: Click ignore on the members of signature campaigns.
PGP Fingerprint: 6B6BC26599EC24EF7E29A405EAF050539D0B2925 Signing address: 13GAVJo8YaAuenj6keiEykwxWUZ7jMoSLt
TheBeardedBaby
Legendary
*
Offline Offline

Activity: 2184
Merit: 3134


₿uy / $ell


View Profile
January 25, 2021, 09:25:07 AM
 #6

I thought you said you have recover it. At least that story sounds a lot like yours.

Any chance to have saved any info like pr.keys or seeds in the text files/pic on that drive, you should have made a backup somewhere.

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!