Author

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

newbie
Activity: 22
Merit: 0
September 20, 2011, 10:51:35 AM
I like the idea of securing a second wallet with Truecrypt. If I ever get enough coins to matter, I'm definitely doing this.
legendary
Activity: 2030
Merit: 1000
My money; Our Bitcoin.
September 18, 2011, 10:42:33 AM
Is there a good tutorial for using TrueCrypt to protect ones wallet?
full member
Activity: 123
Merit: 100
September 13, 2011, 10:35:35 AM
Is this process once finished idiot proof?

Regardless of what anyone might claim, nothing is idiot-proof. The world has this sick habit of constantly making better idiots.

Thralen
hero member
Activity: 980
Merit: 506
September 12, 2011, 03:12:13 PM
Is this process once finished idiot proof?
newbie
Activity: 58
Merit: 0
September 11, 2011, 09:49:14 PM
In securing a wallet, there are some things that you need to do that are applicable to any secure computer.  First and foremast, you need a state-of-the-are firewall!  This will keep away 99.9% percent of the hackers, their trojans and key loggers.  Next, don't download shit unless it is from a reputable source that you can resonably trust. For example, I thought I would be a savy techie and download Kazaan to get free MP3 downloads.  It was not until much later on that I realized that I had downloaded a key logger that most likey was able to read all my PGP passphrases.  Lesson learned here, if you are going to deal with software pirates, remember that age-old adage, "there is no honor among theives."  Also, don't be cheap on your firewall.  Symantec, McAfee, Force 7, Avira, and any of their true competitors is what you should be running.

So lets say 1) you have a secure firewall, 2) you have not downloaded any shit from dubious sources, and 3) done a complete full system scan for viruses and trojans from the above mentioned antiviral programs listed above, and 4) after all that are reasonably confident you have a malware-computer.  Then you are ready to download the Bitcoin client.  If you think you are ready, then you are probably not and should download, let's say another anti-virus client, like Avira, and do a full-system scan again!

Once you download the Bitcoin client, get the hell offline.  Disable your wireless, unplug your usb/ethernet cable.

Now run the client and create your wallet.

TrueCrypt, PGP, or GPG are three good ways to encrypt your wallet.dat file.  Of course, you should have downloaded these earlier, only after you believe (not think) you have a secure firewall and a malware-free computer.

Refer to my earlier post about letting the wallet read all the current block chains.

Then go offline again!

Encrypt the wallet and then shred (rather delete) the unencrypted wallet.dat file.

Read my earlier post about what to do next.

In closing, many have compared Bitcoin to the Wild West of the Internet.  This is true.  So if you are going to be a player in the Bitcoin world, you need to learn a lot about data security and encryption.  It is these two elements that are the real instrinsic value in Bitcoin.

P.S. to all you fucking hackers--I know this site has been compromised, so I have to change my fucking passwords again becuase the host of this forums can't even follow the most basic security... ah fuck off!
 

newbie
Activity: 15
Merit: 0
September 07, 2011, 05:28:27 PM
A yubikey or similar one-time-password (or even out-of-band authentication like an SMS code to your phone) only protects against rudimentary keylogging malware or phishing.  And it only protects the online account where you store bitcoins (clearly doesn't protect a locally stored wallet on your PC).

The problems with this for an online wallet include:
 - man-in-the-middle can get your OTP and password and take over your online wallet
 - man-in-the-browser malware can get your OTP and password and take over your online wallet
 - a hacker can still break into the online wallet service and steal/copy your coins (there are mitigations to this that online wallet services can and slowly are implementing)
 - bitcoin-specific malware can wait until you log into your online wallet and then do a session hijack to allow an attacker to basically become you and be logged in.

For protecting a local wallet, the bootable Linux approach (either on a USB stick or CD) is the most secure.  Store your wallet in an encrypted file partition on a flash drive (you could use a hardware encrypted drive like IronKey or MXI), and inside there, use TrueCrypt to double encrypt your filesystem which contains your wallet.  This is a highly secure approach using both physical crypto, software crypto and a clean OS that is reset every time (because you boot from a CD image).

Not sure how practical this is unless you have LOTs of bitcoins to protect!  And in that case, you should split them up into multiple wallets on different storage devices.
newbie
Activity: 5
Merit: 0
September 07, 2011, 05:07:56 AM
Thanks for the great info everyone. This helps a lot of people, including myself.
newbie
Activity: 58
Merit: 0
September 06, 2011, 12:17:56 PM
The main theme behind creating a secure wallet is to encrypt it to a strong passphrase and then to shred (rather than delete) the unecrypted wallet.  Next, back up the encrypted wallet ot a number of different physical and virtual locations.  There are risks to this strategy.  The two biggeet are 1) forgetting your passphrase, 2) the encryption software being able to properly decrypt later on, 3) the bitcon client being able to properly read the decrypted wallet.

Also, the above is all for nothing if you are not operating behind a secure firewall that keeps out malware.

To all you newbies, don't trust the software.  Stress test it, before you store a large amount of bitcoins.  Even commerically available encryption software including the bitcoin client does not work 100% on every system configuration.

Stress testing should include:

1) complete removal and reinstall of the bitcoin client,
2) complete removal and reinstall of the encryption software,
3) decrypting a formerly encrypted wallet and allow it to update all the block chains
4) sending and receiving small amount of bitcoin
5) repeating steps 1 to 4 again a week, month, two months later.
6) think of other worst case scenarios for your system and test with the small amounts of bitcoin

Good luck,
newbie
Activity: 22
Merit: 0
September 06, 2011, 09:02:17 AM
I encrypt the wallet using built-in functions of Win7 and store a backup my wallets & certificates on my google account under a password-protected zip file
newbie
Activity: 21
Merit: 0
September 06, 2011, 04:32:47 AM
Great information, and a great read. Thanks!
sr. member
Activity: 574
Merit: 250
September 05, 2011, 05:04:10 PM
Frankly, I love the dry wit of an Englisher. Being able to use words like twat and cunts in an actual coherent sentence? Priceless. This is the type of post that should be made sticky, but then in my case it is, I snorted iced tea out of my nose when I read it, and now the whole damn keyboard is sticky, not just this invaluable post.
newbie
Activity: 9
Merit: 0
September 05, 2011, 04:59:25 PM
and what about some kind of protection by using ubikey or smth similar as does guys from mtgox
newbie
Activity: 27
Merit: 0
September 05, 2011, 04:48:24 PM
I'm with the others for the idea of simply encrytping the entire OS. The Live boot CDs are somewhat more painful in the long term, due to long load times and needing a USB to persist settings etc. Of course anyone assumed to have the knowledge or skill to do the OS encrypt is also clued up enough to practice safe habbits of web surfing and avoiding trojans.

Live CD is a safe resort, but inferior to the OS encrypt I do agree.
newbie
Activity: 1
Merit: 0
September 03, 2011, 02:51:11 AM
Thanks for the info guys, if anyone wants to switch to an Managed cloud computing rather than just cloud computing then he can follow the above link.

Managed Cloud Computing | Managed Cloud
hero member
Activity: 784
Merit: 1009
firstbits:1MinerQ
September 02, 2011, 11:52:21 PM
Since everyone is posting how they do it I'll add mine. I only have a few Bitcoins so I think this is adequate.

I'm using Ubuntu and gnupg to encrypt the wallet file automatically when I start the client. I'll share my small script for this below. I just edit my Bitcoin menu item and replace it with the name of my script and my personal key id (either name or number but name may need quotes).

eg. script saved as /usr/local/bin/gpgbtc then I call it with "/usr/local/bin/gpgbtc 249AD24C"

Gnupg is already installed by default but for my script you need two more packages. I use "srm" to make sure the non-encrypted version is toasted nicely and I use gnome-gpg so that I can get a gui password prompt.

sudo apt-get install secure-delete gnome-gpg

/usr/local/bin/gpgbtc (be sure to chmod +x so it can be run)
Code:
#!/bin/bash

gnome-gpg ~/.bitcoin/wallet.dat.gpg
chmod 600 ~/.bitcoin/wallet.dat
bitcoin
mv -f ~/.bitcoin/wallet.dat.gpg ~/.bitcoin/wallet.dat.gpg.bak
gnome-gpg -r "$1" -e ~/.bitcoin/wallet.dat
chmod 600 ~/.bitcoin/wallet.dat.gpg
if [ "$?" == "0" ]; then
  srm -fllz ~/.bitcoin/wallet.dat
fi
This script prompts for your gpg key password, decrypts the wallet file, runs Bitcoin. After you close Bitcoin it makes a backup of the last wallet version, just in case something happened, re-encrypts the wallet, and securely removes the decrypted version. If Bitcoin doesn't close properly then it tries to detect that and leave the wallet file for you to check manually.

So far this has been working fine for me and I keep several back up copies of the encrypted wallet (and my gpg stuff too). But if you choose to do like this do so at your own risk. No guarantees from me or anyone else.

This is just for those who may want to do like this but not re-invent the wheel.

newbie
Activity: 7
Merit: 0
September 02, 2011, 11:33:13 PM
Thanks for the guide!
donator
Activity: 1464
Merit: 1047
I outlived my lifetime membership:)
September 02, 2011, 09:18:59 PM
I don't think this is good advice....sorry...I think a much better idea would be to create an address & private key pair on a "live" OS, write both down on paper, attempt an import into a wallet to prove you copied correctly, and then reboot to "hide the evidence"...Now, if you are really nuts, memorize the private key and 6 or so initial chars in the public address (in case you don't trust your paper or ink)...put your paper with the public and private keys in a safety deposit box...That's way more secure than optical or magnetic media (which will degrade faster than paper) and way more resistant to cosmic rays than solid state media....obviously nothing is invulnerable to physical attack Smiley

DrGoss
1DrGossc3QidjzgDXzveCAQGiPWsoiDZ8C
newbie
Activity: 21
Merit: 0
September 02, 2011, 01:10:19 AM
Thanks for the info. I try to keep mine off on a physical USB device and use at least 3 of these devices in case 1/3 or 2/3 get lost.
newbie
Activity: 8
Merit: 0
August 30, 2011, 08:50:11 PM
Ty for the info
newbie
Activity: 5
Merit: 0
August 29, 2011, 01:17:21 PM
replying for future reference
Jump to: