Foreverrising Blog

June 29, 2011

Wallet.dat and BitCoin

Filed under: Software — Tags: , , , , , , , , — foreverrising @ 10:52 pm

With all the panic over the last week with the first http://www.symantec.com/security_response/writeup.jsp?docid=2011-061615-3651-99BitCoin Trojan;, BitCoin wallet theft and such (think “Information superhighway robbery :P ), I thought it best to ease some folks into backing up thier wallets.

First, it is unwise to surf the internet on a machine with your BitCoin client’s wallet on it (more so if you use Windows). Second, there are many ways to encrypt and obfuscate a file that it makes little sense to take no action. That part is up to you, although hopefully it will be easier to secure in future versions of the BitCoin client. The most you’ll need to know is that the file you need to back up is wallet.dat. The location of this file is as follows:

Windows XP:
C:\Documents and Settings\[USERNAME]\Application Data\Bitcoin\wallet.dat

Windows Vista & 7:
C:\Users\[USERNAME]\AppData\Roaming\Bitcoin\wallet.dat

Ubuntu/Linux:
/home/[user]/.bitcoin/wallet.dat

Mac OSX:
/Users/[user]/Library/Application Support/Bitcoin/wallet.dat [unverified]

Now, you will want to copy the wallet.dat to a secure location and encrypt it. Further insight on this topic can be found at the BitCoin Wiki article, Securing Your Wallet.

Other possibilites include running nothing but a BitCoin client in a Virtual Machine, such as VirtualBox, or VirtualPC (which is free to use from Microsoft). In this case, you could run the client with nothing but a LAN host adapter.

About these ads

1 Comment »

  1. I also wrote a little Windows app that pretty much automates the process. Nothing groundbreaking, but it’s nice and quick and allows you to encrypt when not in use, then decrypt when it’s time to run your Bitcoin client. https://sourceforge.net/projects/walletcrypt if anyone is interested. Uses SHA1-512. I use it all the time, makes life a little easier than manually moving files around and encrypting them all the time. Source is included if you don’t trust my binary.

    Comment by Kevin Jung — August 8, 2011 @ 10:33 am


RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

The Silver is the New Black Theme Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: