Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Kuw on October 09, 2017, 09:19:39 AM



Title: Please help
Post by: Kuw on October 09, 2017, 09:19:39 AM
I have a wallet.dat from 2015 i wad investing and i know i hvae 12bitcoin .
I store it in Dropbox since 12/11/2015 . Some one hack my account in Dropbox
And i copy the wallet.dat to my usb and delet it from Dropbox.
Today I download bitcoin core and try to find is it been hacked and stole my bitcoin or not.
It say i need to wait more than 7 days to syc !!!!!
Now i cant wait and i want to know if he stole my bitcoins or not !
And i eant to know if i Encryption my wallet.dat can he still open it or its to late !!!
How can I transfer my bitcoins to any wallet and i said any wallet and just forgot it for 1  more year.

Any help will be Appreciated. 


Title: Re: Please help
Post by: SM23031997 on October 09, 2017, 09:36:47 AM
Means you have a wallet.dat file with you, If the encryption is enabled then it is quite impossible for him to crack the password of your file as it uses high sha256 iterations which makes it difficult for the hacker to crack it until the password is not too easy.


Title: Re: Please help
Post by: Kuw on October 09, 2017, 09:42:54 AM
Means you have a wallet.dat file with you, If the encryption is enabled then it is quite impossible for him to crack the password of your file as it uses high sha256 iterations which makes it difficult for the hacker to crack it until the password is not too easy.

When i see that my Dropbox was hacked I download the wallet.dat
And then encrypte the wallet.dat in bitcoins core .
I open wallet.dat in bitcon core then i encrypted then store it in usb.
But know i want to know if he stole the bitcoin or not !
And how can i see my balance without waiting the syc.
Can I transfer my bitcoins to bitcoin abc or electrum without syc !
Its 2015 wallet.dat.


Title: Re: Please help
Post by: SM23031997 on October 09, 2017, 09:50:32 AM
If you encrypted it after a hack then I doubt it will have any btc in it. Encryption doesn't work like this. Sorry for that but most probably you lost all your bitcoins. wait, let me check if there is an easy way to do that. Until try to Upload your wallet file here although, I know they only support aes.json format now- https://blockchain.info/wallet/import-wallet


Title: Re: Please help
Post by: Thekool1s on October 09, 2017, 09:54:12 AM
I think your Bitcoins are lost, as you are saying that you encrypted your wallet after downloading it, The encryption won't magically apply on the hackers wallet file, Do you have the address on which you had 12 BTC? It's the only way to see if your bitcoins are there or not. If you don't have the address on which you received the BTCs then your only option is to wait out and let the sync complete. Also it is your fault for storing an un-encrypted version on dropbox. Never upload your wallet files online. SMDH!


Title: Re: Please help
Post by: Kuw on October 09, 2017, 09:55:18 AM
If you encrypted it after a hack then I doubt it will have any btc in it. Encryption doesn't work like this. Sorry for that but most probably you lost all your bitcoins. wait, let me check if there is an easy way to do that. Until try to Upload your wallet file here although, I know they only support aes.json format - https://blockchain.info/wallet/import-wallet

The waleet.dat
Its not supported  ?

Can i just open it with bitcoin abc or electrum !!!!


Title: Re: Please help
Post by: aplistir on October 09, 2017, 09:55:49 AM
Can't you import your wallet to electrum? Then you wouldn't have to wait for bitcoin core to sync.

And if you know your addresses, then you can check their balance in a block explorer, for example in blockchain.info


Title: Re: Please help
Post by: Thekool1s on October 09, 2017, 09:59:26 AM
If you encrypted it after a hack then I doubt it will have any btc in it. Encryption doesn't work like this. Sorry for that but most probably you lost all your bitcoins. wait, let me check if there is an easy way to do that. Until try to Upload your wallet file here although, I know they only support aes.json format - https://blockchain.info/wallet/import-wallet

The waleet.dat
Its not supported  ?

Can i just open it with bitcoin abc or electrum !!!!

As far as i know the wallets don't work that way, each wallet software creates the wallet.dat file differently, you can't import a bitcoin core wallet to electrum and vice versa. So your only option is to check the address which had your 12 BTC's or just be calm and wait out the sync time.


Title: Re: Please help
Post by: Kuw on October 09, 2017, 10:02:44 AM

Its my mistake .

Where can i find the address !
All i want is to know if he stole it or not ! And if i have time
I will transfer the balance to other wallet


Title: Re: Please help
Post by: mocacinno on October 09, 2017, 10:04:06 AM
you can list your addresses while your wallet is still syncing... Just open the debug window (or start from cli) and type
Code:
listaccounts

this should give you a list of accounts, then type
Code:
getaddressesbyaccount ""

then, you can look up these addresses on a block explorer like blockchain.info


Title: Re: Please help
Post by: SM23031997 on October 09, 2017, 10:04:49 AM
I'm pretty sure that the wallet will not have any bitcoin in it if it has been compromised but for your satisfaction, you can try this method to check -

Open Bitcoin-Qt and click help - Debug - console and use code
Code:
listreceivedbyaddress 0 true
It will help you to get all your addresses.
Copy Each address one by one and check on - blockchain.info/address/<yourbitcoinaddress>
If you are able to find bitcoins in any address then use this command in console -
Code:
dumpprivkey <yourbitcoinaddress>
Then Install Electrum from here https://electrum.org/ and import it to transfer bitcoins


Title: Re: Please help
Post by: mocacinno on October 09, 2017, 10:06:50 AM
I'm pretty sure that the wallet will not have any bitcoin in it if it has been compromised but for your satisfaction, you can try this method to check -

Open Bitcoin-Qt and click help - Debug - console and use code
Code:
listreceivedbyaddress 0 true
It will help you to get all your addresses.
Copy Easy address one by one and check on - blockchain.info/address/<yourbitcoinaddress>
If you are able to find bitcoins in any address then use this command in console -
Code:
dumpprivkey <yourbitcoinaddress>
Then Install Electrum from here https://electrum.org/ and import it to transfer bitcoins

IIRC, the "listreceivedbyaddress 0 true"  command will only work AFTER the blockchain was sync'ed up to the point where the funding tx was confirmed. "getaddressesbyaccount """ will list all addresses belonging to the default account, the OP can then import these addresses as watch-only addresses in electrum, or he can look them up on an explorer.

You're right about the dumpprivkey tough... If he finds unspent outputs, it is solid advice to dump the private key, import it in electrum and spend the unspend outputs as soon as possible to fund an address generated by a new, secure wallet :)


Title: Re: Please help
Post by: Kuw on October 09, 2017, 10:26:05 AM
Its rescanning when i replace the new wallet.dat  with my old walled.dat
I will tell you when it’s finished.

Thanks everyone for the help.
And i delet the file wallet from Dropbox and from my laptop
And stored it in usb.


Title: Re: Please help
Post by: mocacinno on October 09, 2017, 11:05:05 AM
Its rescanning when i replace the new wallet.dat  with my old walled.dat
I will tell you when it’s finished.

Thanks everyone for the help.
And i delet the file wallet from Dropbox and from my laptop
And stored it in usb.

Like others have stated before me: if a hacker hacked your dropbox and downloaded your wallet.dat, it no longer matters if you delete your wallet, encrypt it, move it... If the hacker hasn't already spent your BTC, you NEED to create a new, clean, encrypted wallet using a verified wallet software like core or electrum, then you need to create a new address using this new wallet, and then you need to empty your old (possibly hacked) wallet, and never use it again...


Title: Re: Please help
Post by: Kuw on October 09, 2017, 11:51:21 AM
It show nothing. !
Just

{}


Title: Re: Please help
Post by: mocacinno on October 09, 2017, 11:54:02 AM
It show nothing. !
Just

{}


Which command did you try?


Title: Re: Please help
Post by: Kuw on October 09, 2017, 11:58:04 AM
It show in bitcoin core
Last transaction
+5.00000

+7.00000

Is that mean its still here !


Title: Re: Please help
Post by: mocacinno on October 09, 2017, 12:05:15 PM
It show in bitcoin core
Last transaction
+5.00000

+7.00000

Is that mean its still here !

If your wallet is not yet completely sync'ed, it's possible the spending transaction are not yet visible. In other words: unless your wallet is completely sync'ed, it's still possible those +12 BTC might still "disapear" when the syncing continues.

Did you read my previous question? You gave a command output, but didn't say which command you ran to get that output. Is is possible to show us which command you executed?


Title: Re: Please help
Post by: Kuw on October 09, 2017, 12:09:35 PM
It show in bitcoin core
Last transaction
+5.00000

+7.00000

Is that mean its still here !

If your wallet is not yet completely sync'ed, it's possible the spending transaction are not yet visible. In other words: unless your wallet is completely sync'ed, it's still possible those +12 BTC might still "disapear" when the syncing continues.

Did you read my previous question? You gave a command output, but didn't say which command you ran to get that output. Is is possible to show us which command you executed?

Both command show nothing !


Title: Re: Please help
Post by: Kuw on October 09, 2017, 12:16:24 PM
It show nothing. !
Just

{}


Which command did you try?


15:13:20

listaccounts


15:14:24

{
}


Title: Re: Please help
Post by: mocacinno on October 09, 2017, 12:18:31 PM
It show in bitcoin core
Last transaction
+5.00000

+7.00000

Is that mean its still here !

If your wallet is not yet completely sync'ed, it's possible the spending transaction are not yet visible. In other words: unless your wallet is completely sync'ed, it's still possible those +12 BTC might still "disapear" when the syncing continues.

Did you read my previous question? You gave a command output, but didn't say which command you ran to get that output. Is is possible to show us which command you executed?

Both command show nothing !

So, we're talking about the commands:
Code:
listaccounts
and
Code:
getaddressesbyaccount ""


That's strange, you should see the following:
Code:
listaccounts
{
  "": x.xxxxxxxx
}
This should show you that account "" currently has a balance of x.xxxxxxxx BTC. This balance only includes unspent outputs that were found in the blocks that are currently synced. If your wallet is still syncing, the balance can be incorrect.

The second command should give you the following output;
Code:
getaddressesbyaccount ""
[
  "1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
  "1yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy"
]


Title: Re: Please help
Post by: Kuw on October 09, 2017, 12:23:27 PM
listaccounts

show nothing ?


Title: Re: Please help
Post by: SM23031997 on October 09, 2017, 12:24:59 PM
listaccounts

show nothing ?

Looks like you deleted the wrong wallet.dat file accidentally. Please share screenshots.


Title: Re: Please help
Post by: mocacinno on October 09, 2017, 12:33:51 PM
here are screenshots from my wallet, you should see something similar, especially if you see a balance of +12 BTC

http://www.mocacinno.com/screencaps/listaccounts.png
http://www.mocacinno.com/screencaps/listaccounts.png

And the second command

http://www.mocacinno.com/screencaps/listaccounts2.png
http://www.mocacinno.com/screencaps/listaccounts2.png


Title: Re: Please help
Post by: Text on October 09, 2017, 12:35:06 PM
listaccounts

show nothing ?

Looks like you deleted the wrong wallet.dat file accidentally. Please share screenshots.
Right, you need to provide screenshots in order to see if you made it right or not and so they can help you to solve your problem better. You still need to wait the sync finish before appearing all the detailed transactions. Just follow they instruct you to do and let's see if you can recover your btc, hope so.


Title: Re: Please help
Post by: Kuw on October 09, 2017, 12:37:30 PM
can you please tell me how to but screenshot in this form ????? :'( :'( :'( :'( :'(

http://


Title: Re: Please help
Post by: mocacinno on October 09, 2017, 12:39:42 PM
can you please tell me how to but screenshot in this form ????? :'( :'( :'( :'( :'(

http://

Most people use some sort of image host like imgur or tinypic... Just create screenshots, make sure they don't display any sensitive data (like private keys, seed phrases, passwords, xprv's, passwords,...) then upload them to a free hotlink image host.
Those hotlink hosts usually even give you the BBcode you can copy/paste directly into bitcointalk.


Title: Re: Please help
Post by: Kuw on October 09, 2017, 12:44:21 PM
https://imgur.com/a/vcOrL


Title: Re: Please help
Post by: SM23031997 on October 09, 2017, 01:01:32 PM

Try this command, it will help you to convert wallet into human readable form only when the wallet has an address or addresses. 
Code:
dumpwallet "c:\walletdump.txt"


Title: Re: Please help
Post by: Kuw on October 09, 2017, 01:06:47 PM

Try this command, it will help you to convert wallet into human readable form only when the wallet has an address or addresses. 
Code:
dumpwallet "c:\walletdump.txt"


that what say


16:06:00

dumpwallet "c:\walletdump.txt"


16:06:01

Error: Please enter the wallet passphrase with walletpassphrase first. (code -13)


Title: Re: Please help
Post by: mocacinno on October 09, 2017, 01:12:51 PM

Try this command, it will help you to convert wallet into human readable form only when the wallet has an address or addresses.  
Code:
dumpwallet "c:\walletdump.txt"


that what say


16:06:00

dumpwallet "c:\walletdump.txt"


16:06:01

Error: Please enter the wallet passphrase with walletpassphrase first. (code -13)


you encrypted your wallet... You need to unlock it before you can dump the private keys
Code:
walletpassphrase "your unlock phrase" 3600

replace "your unlock phrase" with the actual password, and 3600 by the number of seconds you want your wallet to be unlocked.
Btw, only dump your wallet on a clean, secure machine, and never ever share the content of the dumpfile, not even partially!


Title: Re: Please help
Post by: SM23031997 on October 09, 2017, 01:15:58 PM

Try this command, it will help you to convert wallet into human readable form only when the wallet has an address or addresses. 
Code:
dumpwallet "c:\walletdump.txt"


that what say


16:06:00

dumpwallet "c:\walletdump.txt"


16:06:01

Error: Please enter the wallet passphrase with walletpassphrase first. (code -13)

You are doing something wrong it is working fine for me see

18:43:30

dumpwallet c:\walletdump.txt


18:43:31

{
  "filename": "c:\\Program Files\\Bitcoin\\walletdump.txt"
}


Oh, no Please remove those quotes from there.


Title: Re: Please help
Post by: Kuw on October 09, 2017, 01:20:56 PM
i did dump file
and get alot of data with address ?


Title: Re: Please help
Post by: mocacinno on October 09, 2017, 01:23:18 PM
i did dump file
and get alot of data with address ?

If it worked, the file c:\walletdump.txt should contain lines like this
[private_key] timestamp reserver=1 # addr=[address]

or for a HD wallet:
[private_key] timestamp reseve=1 addr=[address] hdkeypath=[derivation_path]

you can potentially just download electrum, create a new wallet (chose the option to create a wallet using private keys) then copy/paste the private keys into the wizard's textarea.

It doesn't matter if most of the private keys belong to a private key/public key/address that is unfunded.
PS: only do this on a clean machine
PS2: like i said before: if there are unspent outputs (if the balance > 0), make a new wallet and empty out the old one.


Title: Re: Please help
Post by: SM23031997 on October 09, 2017, 01:24:02 PM
i did dump file
and get alot of data with address ?

Check when they are created - e.g xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx 2013-12-25T11:54:44Z reserve=1 # addr=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx


Title: Re: Please help
Post by: Kuw on October 09, 2017, 01:31:37 PM
KzR4nP8Ybvr6PrkiSUxxxxxxxxxxxHxxxxxxxxxxx 2015-06-27T14:44:33Z change=1 # addr=1EB5xxxxxxxxxxxHxxxxxxxxxxx


date
2015 and i have also
2017  :'( :'( :'( :'(


Title: Re: Please help
Post by: mocacinno on October 09, 2017, 01:34:52 PM
[REDACTED]xxxxxxxxxxxHxxxxxxxxxxx 2015-06-27T14:44:33Z change=1 # addr=1EB5xxxxxxxxxxxHxxxxxxxxxxx


date
2015 and i have also
2017  :'( :'( :'( :'(

This command will only dump the private keys, timestamps and addresses managed by your wallet. The fact that there is a new private key added in 2017 *could* mean nothing (on the other hand, it *could* mean a change address was added, and your funds *might* have been stolen).
Just import the private keys into electrum and find out for sure...

Good luck!

BTW: i'd personally not even post part of the private key... For example, the last characters of the private key in WIF format are a checksum, so if you post the first letters, you make a hacker's life much easyer (he doesn't have to brute force those first letters, and he can just forget about the last characters to, so he only has to find the middle part of the private keys).


Title: Re: Please help
Post by: Kuw on October 09, 2017, 01:41:56 PM
do i need to copy all privte key ? or just one ?


Title: Re: Please help
Post by: mocacinno on October 09, 2017, 01:42:18 PM
do i need to copy all privte key ? or just one ?
all, you don't know which address was funded... So just import all private keys.
You can use notepad++ in column mode to clean up the dump file, or you can execute a macro to create a clean list of private keys.

Just don't try to import more than 50 private keys into an electrum wallet at a time... From experience i know that importing +50 private keys at once might cause the import process to lag.


Title: Re: Please help
Post by: SM23031997 on October 09, 2017, 01:42:54 PM
KzR4nP8Ybvr6PrkiSUxxxxxxxxxxxHxxxxxxxxxxx 2015-06-27T14:44:33Z change=1 # addr=1EB5xxxxxxxxxxxHxxxxxxxxxxx


date
2015 and i have also
2017  :'( :'( :'( :'(
Import all the address into Electrum, to do that copy all private key and sweep them into electrum.
You can use notepad++ or other text editors to make the task easy using HTML tricks
Let me know if you need help in this regard.


Title: Re: Please help
Post by: Kuw on October 09, 2017, 01:55:42 PM
lectrum frezz the stop

then not responding ?


Title: Re: Please help
Post by: mocacinno on October 09, 2017, 01:57:57 PM
lectrum frezz the stop

then not responding ?

How many private keys did you try to import at once?
Just don't try to import more than 50 private keys into an electrum wallet at a time... From experience i know that importing +50 private keys at once might cause the import process to lag.


Title: Re: Please help
Post by: Kuw on October 09, 2017, 02:08:42 PM
i try 50 also frez  :'( :'( :'( i will wait for bitcoin to syc and hope he did not have time to stole anyhing


Title: Re: Please help
Post by: Kuw on October 09, 2017, 02:25:31 PM
lectrum frezz the stop

then not responding ?

How many private keys did you try to import at once?
Just don't try to import more than 50 private keys into an electrum wallet at a time... From experience i know that importing +50 private keys at once might cause the import process to lag.

After i add all private key. What i do next !


Title: Re: Please help
Post by: SM23031997 on October 09, 2017, 03:16:41 PM
After i add all private key. What i do next !
Check if the electrum wallet shows any balance. If not, then the funds are stolen and you can't do anything about it, but if it shows balance then you can transfer them in a paper wallet or make an account online on web wallet like blockchain.info and transfer them there to keep them safe from hackers.

You can also tip me some BTC if I helped you - 1May3TVRzjg2cYut5Pn1uJzKFWk9MjyHNH  ;)


Title: Re: Please help
Post by: Kuw on October 09, 2017, 04:34:42 PM
After i add all private key. What i do next !
Check if the electrum wallet shows any balance. If not, then the funds are stolen and you can't do anything about it, but if it shows balance then you can transfer them in a paper wallet or make an account online on web wallet like blockchain.info and transfer them there to keep them safe from hackers.

You can also tip me some BTC if I helped you - 1May3TVRzjg2cYut5Pn1uJzKFWk9MjyHNH  ;)


Do i need to upload all private keys to see the balance !


Title: Re: Please help
Post by: SM23031997 on October 09, 2017, 04:37:11 PM
Do i need to upload all private keys to see the balance !
Wait, a solution for you.
Remove all the private keys(keep a copy for yourself as backup) from their and send me all the BTC address, I can check them for balance with my bitcoin checking tool. Let's see how lucky or unlucky you are today. won't take more than 3-5 minutes.