Author

Topic: HOWTO: create a 100% secure wallet - page 125. (Read 276225 times)

newbie
Activity: 28
Merit: 0
June 15, 2011, 09:48:32 PM
#42
Then if you need to securely remove the files, you can secure erase the Virtual PC files and be relatively assured that they are not going to be found as a deleted file.

One of my favorite features of Windows Seven. The Shredder
hero member
Activity: 812
Merit: 502
June 15, 2011, 09:40:03 PM
#41
First great artickle, thumbs up

But I have some additional questions and would be glad if anyone can provide the answers:

1 - So tell me if I understood this right - you wallet is a physical file on your HDD (wallet.dat) and it contains all the addresses (the long strong of characters/digits) created with the bitcoin program, correct?

2 - If the above is true then technically you could have one wallet with 5 addresses and if 4 different people send me coins to each address then all these coins together would be contained within the one wallet?

3 - Hypothetical scenario - I secure my savings wallet containing 100 coins on a flash drive, by cut and paste. Then I restart the program so a new wallet is created - I record its only address and then delete the wallet. Then I copy the savings wallet from the flash drive back to the AppData\Roaming\Bitcoin directory and open the program so it is recognized. Finally I transfer all 100 coins to the address recorded earlier. The outcome would be total lost of all the coins, correct?

4 - I would guess the Bitcoin program the the wallet should be kept on a separate machine and not on the Mining rig?

5 - If you secure you wallet on a flash drive and then someone sends you coins on an address that is contained within that wallet when do the coins actually appear in your wallet? I mean that wallet is "offline", so how will the transaction work out?

6 - I read an article somewhere that after 50 coins accumulated in your wallet you need to back it up, because you might lose the coins. Is that just pure gibberish?

I'm just trying to understand the whole idea behind the wallet and its addresses.

Thank you in advance.
newbie
Activity: 10
Merit: 2
June 15, 2011, 08:30:21 PM
#40
Personally, I like the idea of running Bitcoin in a virtual machine with no other programs installed on it. Windows 7 has virtual PC built right into it, and Virtual PC is available as a download for Windows XP. Plus, it's a way of doing things that can be explained to your mother or father. There's only two files to move. The only issue is that they generally are larger than 2G, so you need to NTFS format a USB drive. Then if you need to securely remove the files, you can secure erase the Virtual PC files and be relatively assured that they are not going to be found as a deleted file.

I thought I was pretty clever, until I met a guy who pointed out, that if you store your wallet.dat in a safe deposit box, you don't even need to see the blocks get downloaded to a new client. You can go to block explorer and verify that the funds have been transferred. Granted, you do need to install the wallet to transfer the coins.

Unfortunately, multiple wallets is somewhat inevitable, and although bitcoin tries to hide the mechanics of all the key management, I think address management is a huge risk. People have a natural tendancy to use the last-known-good address and wait for something to go wrong. I'm sure we all know people who would write one bitcoin address down once, and expect it to always work. That's a really dangerous expectation. By this point, I've installed the client on 4 different machines several times, and although I don't need all of those addresses .. if it's out there .. there's a risk someone will use it.
member
Activity: 70
Merit: 10
June 15, 2011, 08:16:17 PM
#39
While I'm a complete n00b to BTC as of yesterday, I do know a thing or two about public/private key encryption.

1)
Quote
backing up on physical media is of "NO USE"
[88bitcoins]: I'm assuming because if the same file is on your OS then it's not "protected" whether or not you have a physical backup elsewhere.
Correct.  If the unencrypted "wallet" (read "key") exists in a vulnerable place, then it doesn't matter how securely you back it up.  It's like keeping a copy of your house key under your mat but making a "secure" copy regularly.  A burglar can simply check under your mat, regardless of how securely you keep the copies.

Quote
QUESTION: is there any circumstance in which making a physical backup would be beneficial? It's certainly easy enough.
I can think of two valid reasons for separate physical copies.  The first is simply to guard against data corruption, drive destruction, etc.  The second is to keep the "secure" file only on media other than your hard drive, created and saved in a "secure" operating system.

Keeping at least one backup is a good idea.  Just remember that the *least* secure copy of your "wallet" (read "key") is effectively the only one that matters for security.

2)
Quote
Encryption does not "protect [you] from all evil"
[88bitcoins]: I'm assuming because it can still be hacked and/or encryption doesn't protect from greater dangers such as your hard drive dying and the wallet cannot be retrieved, your laptop is stolen to be sold for $20 on the street.
Hard drive corruption/destuctions/loss is why it's good to keep a backup copy on another physical medium.  Note that having your drive stolen with an unencrypted wallet means that wallet is forfeit, unless you happen to transfer all BTC out from that account to another using a backup copy before the "bad guys" get to it, first.

Quote
[QUESTION]: is encryption still recommended?
I can't speak much on local encryption, as I've never personally had anything worth the bother.  But if you have a keylogger on your system, then encryption probably isn't worth crap once you type in your password.

3)
Quote
So in order to (protect) your BTCs, you have to create a "new, untainted address, in conjunction with the wallet.dat that you deposit".
The point is that any "wallet" (read "key") that has ever existed in unencrypted form on your computer (which may have keyloggers, trojans, and the like - regardless of whatever your anti-malware software says) could potentially be compromised.  The suggestion of using a bootable linux distro so that the "wallet" (read "key") file never touches your potentially tainted system is pretty good, if a little hardcore.  But if I had 25k BTC, that's probably what I'd do.

Quote
QUESTION: (I may sound naive, but I have to ask) do I go into my bitcoin app, then create a new never been used address, then send what I have to this new address, i.e. to myself? THEN, back up both that new address and my wallet.dat file together? And additionally, each time I want to do a backup, create a fresh address?
As soon as you create a "wallet" (read "key") in your (potentially compromised) operating system, then your wallet is already potentially compromised.  Remember: securing one copy doesn't secure all copies.  Only if *every* single copy that has ever existed is secure can you consider the "wallet" (read "key") to be "secure".
newbie
Activity: 9
Merit: 0
June 15, 2011, 07:18:19 PM
#38
If you prefer to not encrypt the files to avoid remembering passwords, you won't be secure, unless you make a physical backup of the media holding your money and then put that backup in a vault (at your house or in a bank).

Actually, you could do a weekly trip to the bank and put your wallet.dat on a memory stick in a safety box. Assuming that you have that many BTCs to protect.

NO!! Encryption is not some magic thingamajawb that protects you from all evil.

Let me clarify: A _backup_ is of absolutely NO USE. So your weekly trip doesn't accomplish anything if the very same file has been on your main operating system. This is a dangerous fallacy, hence my analogy with "keys" instead of "wallets".

Again: that would be like making a copy of your safe-key every week and putting that in the vault.

It has to be a new, untainted address, in conjunction with the wallet.dat that you deposit. Actually, this is way more convenient, since you don't have to access your bank vault at all. You just deposit/sent the coins into the right addresses.

Until I read this thread, I was planning on doing the physical backup (of wallet.dat file) to usb. I don't have enough BTCs to justify "protecting", but I've learned that developing good security habits pays. Making those habits second nature is like insurance - in my experience.

Anyway, I just need clarification that I am understanding the following correctly - please advise so that I know I have not misunderstood the advice being given:

1)
Quote
backing up on physical media is of "NO USE"  [ME]: I'm assuming because if the same file is on your OS then it's not "protected" whether or not you have a physical backup elsewhere.

QUESTION: is there any circumstance in which making a physical backup would be beneficial? It's certainly easy enough.

2)
Quote
Encryption does not "protect [you] from all evil"  [ME]: I'm assuming because it can still be hacked and/or encryption doesn't protect from greater dangers such as your hard drive dying and the wallet cannot be retrieved, your laptop is stolen to be sold for $20 on the street.

[QUESTION]: is encryption still recommended?

3) [QUOTE/QUESTION]: So in order to (protect) your BTCs, you have to create a "new, untainted address, in conjunction with the wallet.dat that you deposit".

QUESTION: (I may sound naive, but I have to ask) do I go into my bitcoin app, then create a new never been used address, then send what I have to this new address, i.e. to myself? THEN, back up both that new address and my wallet.dat file together? And additionally, each time I want to do a backup, create a fresh address?


thanks in advance for clarification
newbie
Activity: 27
Merit: 0
June 15, 2011, 07:07:24 PM
#37
Thanks man!

(and another post closer to post on grown-ups forums...)
legendary
Activity: 1764
Merit: 1002
June 15, 2011, 05:14:20 PM
#36
Next, he deleted the wallet, because he thought it had already been backed up, when in actual fact only the first address had been.

Oh snap. Good to know though, and yes, the wallet only contains the addresses already generated at the time the file was backed up. I will refrain from mentioning this in the guide though, since 1: I advise against using the wallet you just backed up, 2: with the 10 fresh addresses generated, this shouldn't happen anymore, 3: I'm trying to keep it simple and hope not to confuse anybody. As Confucius says: Confusion is the death of non-confusion (and oversight)

wait an minute.  are u saying a new client install immediately creates 10 addresses?

which client version created only 1?

newbie
Activity: 14
Merit: 0
June 15, 2011, 05:11:52 PM
#35
If you are running Mac OS X simply create a 256-bit encrypted .DMG to store everything in your '~/Library/Application Support/Bitcoin' folder.  Impossible to steal unless you have the password or direct access.

Thanks for this!
newbie
Activity: 28
Merit: 0
June 15, 2011, 04:24:35 PM
#34
Thank god for this post! My laptop is pretty secure, hijack tracking software and finger scan technology, but that only protects from meatspace attacks. This helps for all others. I favor the usb attemp. Secure it on a thumb drive, only plugging it in to preform transactions or add to it.
--
Remember, Safety first! haha Cheesy
hex
newbie
Activity: 45
Merit: 0
June 15, 2011, 02:22:30 PM
#33
Is it still actual that when you send part of your bitcoins to someone rest of BTC are sent to you but on another address so your old wallet backup is useless ?
jr. member
Activity: 56
Merit: 1
June 15, 2011, 10:01:35 AM
#32
It's a shame the bitcoin.org client download link doesn't have a checksum...

The SHA1 signature was posted here with the announcement. It's a good practice not to put the signature on the same page the download resides, since if one is compromised the other can easily be altered too. That's assuming the forum is hosted on a different machine of course.
jr. member
Activity: 56
Merit: 1
June 15, 2011, 09:52:33 AM
#31
And that ladies and gentlemen is what you get when you let 4chan and Encyclopedia Dramatica rear your kids Smiley

Additional security measure: don't click on URL shortened links, especially in Bitcoin related fora.
jr. member
Activity: 134
Merit: 1
June 15, 2011, 09:42:20 AM
#30
Thanks for the sticky, and thanks for the corrections. Keep it up. 10 spelling mistakes corrected and I will personally invent a new swearword and post it here.
member
Activity: 84
Merit: 10
June 15, 2011, 09:36:50 AM
#29
"that Linux is in now way automagically completely secure."

Typo.

Great read though!
hero member
Activity: 700
Merit: 500
June 15, 2011, 09:22:56 AM
#28
I've put this article up (with your donation address intact) at http://bitcoinsecurity.com.

Let me know if there are any issues with it.

Also, I've sent 0.20 to your donation address.


And stickied.
newbie
Activity: 17
Merit: 0
June 15, 2011, 09:08:55 AM
#27
Great post!

I installed Ubuntu on an encrypted LVM specifically for bitcoin realted use. I'll be taking your advice on the backups.
full member
Activity: 154
Merit: 100
June 15, 2011, 09:04:51 AM
#26
the wallet only contains the addresses already generated at the time the file was backed up.

Yes. The problem arises if you assume a newly created wallet.dat has generated your first 100 addresses in it.

Which is what I would have assumed until that unfortunate person lost his coins and posted about it.
jr. member
Activity: 134
Merit: 1
June 15, 2011, 08:58:56 AM
#25
Next, he deleted the wallet, because he thought it had already been backed up, when in actual fact only the first address had been.

Oh snap. Good to know though, and yes, the wallet only contains the addresses already generated at the time the file was backed up. I will refrain from mentioning this in the guide though, since 1: I advise against using the wallet you just backed up, 2: with the 10 fresh addresses generated, this shouldn't happen anymore, 3: I'm trying to keep it simple and hope not to confuse anybody. As Confucius says: Confusion is the death of non-confusion (and oversight)
full member
Activity: 154
Merit: 100
June 15, 2011, 08:52:41 AM
#24
Careful what version of Bitcoin you use! Some versions will display multiple addresses but the private keys won't be made till you do a transaction and have it open for a while!!! Someone did something similar, where they sent some to the first address as a test then saw it worked then send the rest to the second address. Deleted everything only to go back and see that he lost his BTC!!

I think it was a case of the client only creating 1 address at first, whereas the user expected it to immediately create 100 addresses (which it only did after the first time he hit the "New..." button.

So he:

installed the client
backed up the wallet (which only contained 1 address)
clicked "New..." a few times and sent all his BTC to those new addresses. It was only after this that the client created the pool of 100.
Next, he deleted the wallet, because he thought it had already been backed up, when in actual fact only the first address had been.

Coins lost.

hero member
Activity: 619
Merit: 500
June 15, 2011, 08:49:37 AM
#23
Thanks for this post.
It has some very important facts.

And it's funny to read! :-)

P.S. Maybe you should add that one should only use trusted distributions (Debian, Ubuntu, Fedora, etc.) and check the md5sum of that Live CD.
Jump to: