Pages:
Author

Topic: Linux VM Secure Wallet (Read 2108 times)

sr. member
Activity: 308
Merit: 251
August 17, 2011, 08:16:48 AM
#21
LinuxCoin works in under 2gb. I use 4gb w/ 2gb persistence file for when I want persistence. It also works great in transient mode for when i don't want to leave a trail.
No idea if others agree - but I'd certainly not use a distro that isn't generic.
The problem with using ANY distro targeted at bitcoin is that something could get in there to take advantage of that.
It certainly creates the possibility of a very LARGE financial gain for anyone unethical enough to attempt such a nefarious act.

My mining rig uses Xubuntu 11.04 and I've documented a list of commands to create it/update it to running cgminer - and the reason I specifically did this is so that it starts with a generic distro (built from the Live CD) and thus I am not a suspect in possibly producing something that could have a backdoor or wallet capture issue ... and no one needs to trust me to use it - they only need trust any software I've said needs installing.

In case anyone is thinking it: the reverse is not worse.
i.e. being worried about a backdoor or wallet capture in the generic distro: since if that is there, any bitcoin targeted distro made from it will also have the same problem (no one building a bitcoin distro is going to search all the software installed on it and guarantee to find issues and remove them)
If anyone finds such it would certainly be removed upstream as soon as they were told about it.

Unencrypted wallet.dat files are the bane of bitcoin (in my opinion), and thus any decision I make about a software distro on a machine that may contain one is going to not choose a distro with bitcoin in it's design target - only as add on software (though for me it won't ever include windows either)

LinuxCoin doesn't have a wallet stealer inside Cheesy There have been 10000's of downloads and no ones complained about their wallet being stolen from a linuxcoin install yet. Also LinuxCoin is like  Xubuntu on roids Cheesy It has added security features you just wouldn't find in a generic OS.

I have had a quick look at the page for Linux Coin, and I may just be missing it, but can't see the added security features. Could you point me in the right direction or elaborate on them for me?

Grsecurity / PaX hardened kernel giving linuxcoin Role-Based Access Control.
Tor / privoxy preinstalled
sandboxed applications ie; apache  (Coming with next update) If an attacker gains access to your system via the http server which is running for the munin bits and bobs It's jailed.
Optional wallet encryption (Next update depreciates the scripts for the in house wallet encryption.)
bitcoin client has been compiled with hardening cflags.
The system RAM is overwritten when LinuxCoin is being shutdown or when the boot medium is physically removed. Handy if your using linuxcoin not on your personal computer. coming with next update.

More features to be announced. Put this all together with an encrypted home-rw snapshot and you've got a very secure system to store your coins. I realize that the trust has gone with a lot of people but I'm not in it for a profit and if I was going to include a wallet stealer I would of done it when bitcoins were worth around the £20 mark lol


Sounds like a nice set of features and features to come.

If I wasn't already happy with my own generic setup I may have considered this distro.

Keep up the good work, we need more security concious people developing wares for Bitcoin.

JG

Nice to see you changed your way of thinking Wink also working on compressed persistence so you can store even more data within a smaller space. 
newbie
Activity: 37
Merit: 0
August 17, 2011, 07:49:28 AM
#20
LinuxCoin works in under 2gb. I use 4gb w/ 2gb persistence file for when I want persistence. It also works great in transient mode for when i don't want to leave a trail.
No idea if others agree - but I'd certainly not use a distro that isn't generic.
The problem with using ANY distro targeted at bitcoin is that something could get in there to take advantage of that.
It certainly creates the possibility of a very LARGE financial gain for anyone unethical enough to attempt such a nefarious act.

My mining rig uses Xubuntu 11.04 and I've documented a list of commands to create it/update it to running cgminer - and the reason I specifically did this is so that it starts with a generic distro (built from the Live CD) and thus I am not a suspect in possibly producing something that could have a backdoor or wallet capture issue ... and no one needs to trust me to use it - they only need trust any software I've said needs installing.

In case anyone is thinking it: the reverse is not worse.
i.e. being worried about a backdoor or wallet capture in the generic distro: since if that is there, any bitcoin targeted distro made from it will also have the same problem (no one building a bitcoin distro is going to search all the software installed on it and guarantee to find issues and remove them)
If anyone finds such it would certainly be removed upstream as soon as they were told about it.

Unencrypted wallet.dat files are the bane of bitcoin (in my opinion), and thus any decision I make about a software distro on a machine that may contain one is going to not choose a distro with bitcoin in it's design target - only as add on software (though for me it won't ever include windows either)

LinuxCoin doesn't have a wallet stealer inside Cheesy There have been 10000's of downloads and no ones complained about their wallet being stolen from a linuxcoin install yet. Also LinuxCoin is like  Xubuntu on roids Cheesy It has added security features you just wouldn't find in a generic OS.

I have had a quick look at the page for Linux Coin, and I may just be missing it, but can't see the added security features. Could you point me in the right direction or elaborate on them for me?

Grsecurity / PaX hardened kernel giving linuxcoin Role-Based Access Control.
Tor / privoxy preinstalled
sandboxed applications ie; apache  (Coming with next update) If an attacker gains access to your system via the http server which is running for the munin bits and bobs It's jailed.
Optional wallet encryption (Next update depreciates the scripts for the in house wallet encryption.)
bitcoin client has been compiled with hardening cflags.
The system RAM is overwritten when LinuxCoin is being shutdown or when the boot medium is physically removed. Handy if your using linuxcoin not on your personal computer. coming with next update.

More features to be announced. Put this all together with an encrypted home-rw snapshot and you've got a very secure system to store your coins. I realize that the trust has gone with a lot of people but I'm not in it for a profit and if I was going to include a wallet stealer I would of done it when bitcoins were worth around the £20 mark lol


Sounds like a nice set of features and features to come.

If I wasn't already happy with my own generic setup I may have considered this distro.

Keep up the good work, we need more security concious people developing wares for Bitcoin.

JG
sr. member
Activity: 308
Merit: 251
August 16, 2011, 12:52:32 AM
#19
LinuxCoin works in under 2gb. I use 4gb w/ 2gb persistence file for when I want persistence. It also works great in transient mode for when i don't want to leave a trail.
No idea if others agree - but I'd certainly not use a distro that isn't generic.
The problem with using ANY distro targeted at bitcoin is that something could get in there to take advantage of that.
It certainly creates the possibility of a very LARGE financial gain for anyone unethical enough to attempt such a nefarious act.

My mining rig uses Xubuntu 11.04 and I've documented a list of commands to create it/update it to running cgminer - and the reason I specifically did this is so that it starts with a generic distro (built from the Live CD) and thus I am not a suspect in possibly producing something that could have a backdoor or wallet capture issue ... and no one needs to trust me to use it - they only need trust any software I've said needs installing.

In case anyone is thinking it: the reverse is not worse.
i.e. being worried about a backdoor or wallet capture in the generic distro: since if that is there, any bitcoin targeted distro made from it will also have the same problem (no one building a bitcoin distro is going to search all the software installed on it and guarantee to find issues and remove them)
If anyone finds such it would certainly be removed upstream as soon as they were told about it.

Unencrypted wallet.dat files are the bane of bitcoin (in my opinion), and thus any decision I make about a software distro on a machine that may contain one is going to not choose a distro with bitcoin in it's design target - only as add on software (though for me it won't ever include windows either)

LinuxCoin doesn't have a wallet stealer inside Cheesy There have been 10000's of downloads and no ones complained about their wallet being stolen from a linuxcoin install yet. Also LinuxCoin is like  Xubuntu on roids Cheesy It has added security features you just wouldn't find in a generic OS.

I have had a quick look at the page for Linux Coin, and I may just be missing it, but can't see the added security features. Could you point me in the right direction or elaborate on them for me?

Grsecurity / PaX hardened kernel giving linuxcoin Role-Based Access Control.
Tor / privoxy preinstalled
sandboxed applications ie; apache  (Coming with next update) If an attacker gains access to your system via the http server which is running for the munin bits and bobs It's jailed.
Optional wallet encryption (Next update depreciates the scripts for the in house wallet encryption.)
bitcoin client has been compiled with hardening cflags.
The system RAM is overwritten when LinuxCoin is being shutdown or when the boot medium is physically removed. Handy if your using linuxcoin not on your personal computer. coming with next update.

More features to be announced. Put this all together with an encrypted home-rw snapshot and you've got a very secure system to store your coins. I realize that the trust has gone with a lot of people but I'm not in it for a profit and if I was going to include a wallet stealer I would of done it when bitcoins were worth around the £20 mark lol
newbie
Activity: 37
Merit: 0
August 14, 2011, 12:25:31 AM
#18
LinuxCoin works in under 2gb. I use 4gb w/ 2gb persistence file for when I want persistence. It also works great in transient mode for when i don't want to leave a trail.
No idea if others agree - but I'd certainly not use a distro that isn't generic.
The problem with using ANY distro targeted at bitcoin is that something could get in there to take advantage of that.
It certainly creates the possibility of a very LARGE financial gain for anyone unethical enough to attempt such a nefarious act.

My mining rig uses Xubuntu 11.04 and I've documented a list of commands to create it/update it to running cgminer - and the reason I specifically did this is so that it starts with a generic distro (built from the Live CD) and thus I am not a suspect in possibly producing something that could have a backdoor or wallet capture issue ... and no one needs to trust me to use it - they only need trust any software I've said needs installing.

In case anyone is thinking it: the reverse is not worse.
i.e. being worried about a backdoor or wallet capture in the generic distro: since if that is there, any bitcoin targeted distro made from it will also have the same problem (no one building a bitcoin distro is going to search all the software installed on it and guarantee to find issues and remove them)
If anyone finds such it would certainly be removed upstream as soon as they were told about it.

Unencrypted wallet.dat files are the bane of bitcoin (in my opinion), and thus any decision I make about a software distro on a machine that may contain one is going to not choose a distro with bitcoin in it's design target - only as add on software (though for me it won't ever include windows either)

LinuxCoin doesn't have a wallet stealer inside Cheesy There have been 10000's of downloads and no ones complained about their wallet being stolen from a linuxcoin install yet. Also LinuxCoin is like  Xubuntu on roids Cheesy It has added security features you just wouldn't find in a generic OS.

I have had a quick look at the page for Linux Coin, and I may just be missing it, but can't see the added security features. Could you point me in the right direction or elaborate on them for me?
newbie
Activity: 37
Merit: 0
August 14, 2011, 12:21:38 AM
#17
Due to my general borderline paranoid attitude in regards to any IT security issue, I would have to side with Kano here.

Although, I am making no judgement on the authenticity of Linux Coin and do not doubt the honest and ethical nature of the creators. I really applaud them for making Linux accessible as it can be a bit of a struggle for the inexperienced.

I feel like my solution is a fairly good effort and I would love to hear about other peoples solutions as well as the more documentation we have on securing Bitcoin wallets the better.

JG
sr. member
Activity: 308
Merit: 251
August 12, 2011, 12:09:37 PM
#16
LinuxCoin works in under 2gb. I use 4gb w/ 2gb persistence file for when I want persistence. It also works great in transient mode for when i don't want to leave a trail.
No idea if others agree - but I'd certainly not use a distro that isn't generic.
The problem with using ANY distro targeted at bitcoin is that something could get in there to take advantage of that.
It certainly creates the possibility of a very LARGE financial gain for anyone unethical enough to attempt such a nefarious act.

My mining rig uses Xubuntu 11.04 and I've documented a list of commands to create it/update it to running cgminer - and the reason I specifically did this is so that it starts with a generic distro (built from the Live CD) and thus I am not a suspect in possibly producing something that could have a backdoor or wallet capture issue ... and no one needs to trust me to use it - they only need trust any software I've said needs installing.

In case anyone is thinking it: the reverse is not worse.
i.e. being worried about a backdoor or wallet capture in the generic distro: since if that is there, any bitcoin targeted distro made from it will also have the same problem (no one building a bitcoin distro is going to search all the software installed on it and guarantee to find issues and remove them)
If anyone finds such it would certainly be removed upstream as soon as they were told about it.

Unencrypted wallet.dat files are the bane of bitcoin (in my opinion), and thus any decision I make about a software distro on a machine that may contain one is going to not choose a distro with bitcoin in it's design target - only as add on software (though for me it won't ever include windows either)

LinuxCoin doesn't have a wallet stealer inside Cheesy There have been 10000's of downloads and no ones complained about their wallet being stolen from a linuxcoin install yet. Also LinuxCoin is like  Xubuntu on roids Cheesy It has added security features you just wouldn't find in a generic OS.
legendary
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
August 12, 2011, 04:18:27 AM
#15
LinuxCoin works in under 2gb. I use 4gb w/ 2gb persistence file for when I want persistence. It also works great in transient mode for when i don't want to leave a trail.
No idea if others agree - but I'd certainly not use a distro that isn't generic.
The problem with using ANY distro targeted at bitcoin is that something could get in there to take advantage of that.
It certainly creates the possibility of a very LARGE financial gain for anyone unethical enough to attempt such a nefarious act.

My mining rig uses Xubuntu 11.04 and I've documented a list of commands to create it/update it to running cgminer - and the reason I specifically did this is so that it starts with a generic distro (built from the Live CD) and thus I am not a suspect in possibly producing something that could have a backdoor or wallet capture issue ... and no one needs to trust me to use it - they only need trust any software I've said needs installing.

In case anyone is thinking it: the reverse is not worse.
i.e. being worried about a backdoor or wallet capture in the generic distro: since if that is there, any bitcoin targeted distro made from it will also have the same problem (no one building a bitcoin distro is going to search all the software installed on it and guarantee to find issues and remove them)
If anyone finds such it would certainly be removed upstream as soon as they were told about it.

Unencrypted wallet.dat files are the bane of bitcoin (in my opinion), and thus any decision I make about a software distro on a machine that may contain one is going to not choose a distro with bitcoin in it's design target - only as add on software (though for me it won't ever include windows either)
member
Activity: 84
Merit: 10
I yam what I yam. - Popeye
August 11, 2011, 10:31:23 PM
#14
LinuxCoin works in under 2gb. I use 4gb w/ 2gb persistence file for when I want persistence. It also works great in transient mode for when i don't want to leave a trail.
newbie
Activity: 37
Merit: 0
August 11, 2011, 09:59:07 PM
#13
So I am now quite happy with the VM and OS installation.

I had installed the Bitcoin client last night and left it to run all night to download block chain.

When I woke up it had crashed, or, at least was not running.

When I attempted to restart both the GUI and console versions I got the following error:

EXCEPTION: NSt8ios_base7failureE ReadCompactSize():size too large bitcoin in AppInit()

Searches on this error did not reveal much. I was wondering if anyone had any insight on the possible causes of this exception?

The only changes I had made before I began the block download, was to "mkdir ~/.bitcoin" and "echo 'keypool=300' > ~/.bitcoin/bitcoin.conf"

I will be definitely backing up my wallet file separately from the VM once this secure wallet system actually holds Bitcoins, but regardless, would really feel much more confident if I could figure out these types of bugs beforehand.

Thanks,

Johnny
newbie
Activity: 37
Merit: 0
August 11, 2011, 07:34:39 AM
#12
I have some experience with RH distros but am far more comfertable on debian and when it comes to finances, I would rather be in comfertable territory.

Hmmmm, I have no experience with Linux Coin. First question would be is it lightweight enough and how much stuff do I need to remove?

I have had another attempt at my build today. Starting off with base Ubuntu Server install and am running this install right now:

aptitude install --without-recommends xubuntu-desktop

This approach looks like it will net me alot more space to play with on my 3.75GB virtual drive.

During the server install I also manually partitioned up the virtual drive leaving only 200MB boot, 3.7GB root(encrypted LVM) and no swap. I figure seeing as it is a virtual machine I can just increase RAM if ever I have swap issues and it should run fairly light anyway.

I will report back shortly on how the GUI install went.

JG

Well I have to say this latest attempt has the been the best yet.

I started with a plain Ubuntu Server install on a 3.75GB virtual disk.

After that was done I just ran: aptitude install --without-recommends xubuntu-desktop

After Xubuntu Desktop install and before the Bitcoin install and subsequent block chain download I have 2GB free space.

I think we have a winner Smiley

JG
newbie
Activity: 37
Merit: 0
August 11, 2011, 04:34:59 AM
#11
I have some experience with RH distros but am far more comfertable on debian and when it comes to finances, I would rather be in comfertable territory.

Hmmmm, I have no experience with Linux Coin. First question would be is it lightweight enough and how much stuff do I need to remove?

I have had another attempt at my build today. Starting off with base Ubuntu Server install and am running this install right now:

aptitude install --without-recommends xubuntu-desktop

This approach looks like it will net me alot more space to play with on my 3.75GB virtual drive.

During the server install I also manually partitioned up the virtual drive leaving only 200MB boot, 3.7GB root(encrypted LVM) and no swap. I figure seeing as it is a virtual machine I can just increase RAM if ever I have swap issues and it should run fairly light anyway.

I will report back shortly on how the GUI install went.

JG
member
Activity: 84
Merit: 10
I yam what I yam. - Popeye
August 10, 2011, 08:40:25 PM
#10
Linuxcoin?
hero member
Activity: 588
Merit: 500
August 10, 2011, 08:23:13 PM
#9
I didn't want to get too obscure with my distro choice.

Ubuntu is a nice popular and compliant platform and Xubuntu is just a little lighter.

I agree my implementation/installation could have been done better. I am actually considering redoing it with a minimal iso and manually installing only required components.

Could anyone suggest a better distro or implementation?

Thanks,

JG

I personally build lightweight stuff with Fedora LXDE. However, note that at present Bitcoin cannot be built using the libraries shipped with Fedora, so you would be stuck with the official binary. Which isn't so bad in itself..
newbie
Activity: 37
Merit: 0
August 10, 2011, 07:23:05 PM
#8
I didn't want to get too obscure with my distro choice.

Ubuntu is a nice popular and compliant platform and Xubuntu is just a little lighter.

I agree my implementation/installation could have been done better. I am actually considering redoing it with a minimal iso and manually installing only required components.

Could anyone suggest a better distro or implementation?

Thanks,

JG
hero member
Activity: 588
Merit: 500
August 10, 2011, 01:26:06 PM
#7
Why use Xubuntu and then remove the stuff. Take a distro that has nothing to start with, then add what you need.

I would use Arch Linux with XFCE, or maybe even a lighter desktop like openbox.

Do not use an unofficial Bitcoin build on Arch if you value your wallet.dat, at least not until Bitcoin has a wallet import/export feature. Bitcoin built on Arch cannot read/write the wallet.dat created by the official build, nor can the official build read/write the wallet.dat created by the Arch build.
hero member
Activity: 854
Merit: 500
August 10, 2011, 09:58:37 AM
#6
Why use Xubuntu and then remove the stuff. Take a distro that has nothing to start with, then add what you need.

I would use Arch Linux with XFCE, or maybe even a lighter desktop like openbox.
newbie
Activity: 37
Merit: 0
August 10, 2011, 09:19:45 AM
#5
You could still be attacked by a key logger ?
I just don't see how a keylogger would retrieve my wallet file or enough information to imitate my wallet.

True, I suppose, if we're being paranoid you're host machine could possible be taken over and the VM image retrieved with all the corresponding passwords.

So your host OS opens up your attack space.



You are right there.

Definately a weak point.

I think I failed to mention that the VM and backups will all be stored offline. This includes multiple USB's and my fileserver which is on a secure network and is a secure system with virtualisation turned off in the BIOS.

Do you think that negates the issue you have put forward?

Thanks,

JG
sr. member
Activity: 262
Merit: 250
August 10, 2011, 09:14:24 AM
#4
You could still be attacked by a key logger ?
I just don't see how a keylogger would retrieve my wallet file or enough information to imitate my wallet.

True, I suppose, if we're being paranoid you're host machine could possible be taken over and the VM image retrieved with all the corresponding passwords.

So your host OS opens up your attack space. So don't put your life savings there, but your probably secure enough for most purposes.

newbie
Activity: 37
Merit: 0
August 10, 2011, 08:41:00 AM
#3
You could still be attacked by a key logger ?

Yeh, I had thought of that.

I just don't see how a keylogger would retrieve my wallet file or enough information to imitate my wallet.

I can see that through the host machine it could possible log my passwords but still seems like a massive stretch to do anything beyond that; again let me know if I am missing somnething.

Thanks,

JG
sr. member
Activity: 262
Merit: 250
August 10, 2011, 08:35:16 AM
#2
You could still be attacked by a key logger ?
Pages:
Jump to: