Bitcoin Forum
May 06, 2024, 08:08:39 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How secure is this Mac strategy?  (Read 1706 times)
qualia8 (OP)
Full Member
***
Offline Offline

Activity: 237
Merit: 100


View Profile
June 27, 2011, 03:17:55 PM
 #1

It's super simple; just not sure whether it's secure.

1. make a new user and opt for encryption with a difficult password.  (you do get to provide a hint.)

2. load the client as the new user

3. backup (but don't delete) wallet.dat on a couple of USB drives.

4. only use *that* user to access your savings account.

How vulnerable is it?  It doesn't involve any technological know-how beyond following basic Mac menus.


1714982919
Hero Member
*
Offline Offline

Posts: 1714982919

View Profile Personal Message (Offline)

Ignore
1714982919
Reply with quote  #2

1714982919
Report to moderator
Make sure you back up your wallet regularly! Unlike a bank account, nobody can help you if you lose access to your BTC.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714982919
Hero Member
*
Offline Offline

Posts: 1714982919

View Profile Personal Message (Offline)

Ignore
1714982919
Reply with quote  #2

1714982919
Report to moderator
1714982919
Hero Member
*
Offline Offline

Posts: 1714982919

View Profile Personal Message (Offline)

Ignore
1714982919
Reply with quote  #2

1714982919
Report to moderator
nux
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
June 27, 2011, 03:22:15 PM
 #2

Mac's aren't as big of a target for malware anyways, and to have an encrypted account on the machine get compromised isn't very likely.

But it would only take you typing in your password to install one piece of software as root to compromise this setup.
elements
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
June 27, 2011, 05:05:40 PM
 #3

Interesting question! I also wondered how much more security you gain by creating a second user.
I also tried out FileVault which can be choosen when the new user is created. Does that help in any way?

How secure is that?

If you're running both useres with quick change and you are loged in as the second user (where you install your savings wallet) is said user threatend by the other user's (everyday account) vulnerablity ?

»A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools.« - Douglas Adams
Use the trusted German Bitcoin exchange: https://www.bitcoin.de/de/r/5wcwts
Tips & donations: BTC : 1MAQYNLp2VJ9wWhPYg5BnrbUGzdhGXopZw | CGB: 5bgQivyHJcSWTgvLfVW87Zj23M7mcFCVBF
kokjo
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000

You are WRONG!


View Profile
June 27, 2011, 05:08:05 PM
 #4

its secure enough to fool your sister, but not a hacker or trojan or government agency .

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
elements
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
June 27, 2011, 05:11:06 PM
 #5

its secure enough to fool your sister, but not a hacker or trojan or government agency .

Thanks for the assessment! IOW: it simply isn't safe!


»A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools.« - Douglas Adams
Use the trusted German Bitcoin exchange: https://www.bitcoin.de/de/r/5wcwts
Tips & donations: BTC : 1MAQYNLp2VJ9wWhPYg5BnrbUGzdhGXopZw | CGB: 5bgQivyHJcSWTgvLfVW87Zj23M7mcFCVBF
Synaesthesia
Sr. Member
****
Offline Offline

Activity: 546
Merit: 253


View Profile
June 27, 2011, 05:21:53 PM
 #6

its secure enough to fool your sister, but not a hacker or trojan or government agency .
Pretty darn safe I reckon. There would have to be a trojan which can steal your wallet.dat for OS X, and bypass filevault encryption - quite an ask.
Rob P.
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile WWW
June 27, 2011, 05:36:54 PM
 #7

Interesting question! I also wondered how much more security you gain by creating a second user.
I also tried out FileVault which can be choosen when the new user is created. Does that help in any way?

How secure is that?

If you're running both useres with quick change and you are loged in as the second user (where you install your savings wallet) is said user threatend by the other user's (everyday account) vulnerablity ?

Here's the problem with encrypted drives, that people seem to gloss over when coming up with these strategies (FileVault is no exception, if the drive is mounted, the data on the drive is accessible):

The Bitcoin GUI needs to be able to read the wallet.dat file in an unencrypted form.
In order to USE the wallet.dat with the GUI, you have to mount the drive (at which point it is UNENCRYPTED to your user space, i.e. ANY applications you run as you can access the wallet.dat unencrypted).
If the drive is mounted, and you allow something to run as you, it can be easily stolen and having it stored on an encrypted drive is useless.

Encryption, by itself, is not a solution.

Should you encrypt it?  Sure, I store my wallet.dat in an encrypted volume on my Dropbox.  However, that only protects it from someone getting into my Dropbox and stealing it.  It doesn't protect it from me getting a trojan, spyware, etc. on my local computer while I have the drive mounted.

--

If you like what I've written here, consider tipping the messenger:
1GZu4CtHa6ai8iWoWiVFxV5VVoNte4SkoG

If you don't like what I've written, send me a Tip and I'll stop talking.
TraderTimm
Legendary
*
Offline Offline

Activity: 2408
Merit: 1121



View Profile
June 27, 2011, 05:41:51 PM
 #8

I have a time-travel portal, which I can use to mentally connect with someone in another age and make suggestions. Luckily, I happened upon a skilled egyptian craftsman who is working on the latest and greatest sarcophagus for the late pharoah. My wallet.dat is has been laboriously engraved into the inner lid of the vessel, buried now in the most massive structure on the planet.

Of course, retrieval is another problem... hmm....


fortitudinem multis - catenum regit omnia
nux
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
June 27, 2011, 05:45:46 PM
 #9

If someone gets access to your machine as root, they can wait for you to login to the secure account next time and easily copy the wallet file.
andes
Jr. Member
*
Offline Offline

Activity: 42
Merit: 2


View Profile
June 27, 2011, 05:47:28 PM
 #10

I have a time-travel portal, which I can use to mentally connect with someone in another age and make suggestions. Luckily, I happened upon a skilled egyptian craftsman who is working on the latest and greatest sarcophagus for the late pharoah. My wallet.dat is has been laboriously engraved into the inner lid of the vessel, buried now in the most massive structure on the planet.

Of course, retrieval is another problem... hmm....

The hole in your strategy is that people would need to learn egyptian language to communicate with the craftsman, and you know people are too lazy to do this.
elements
Full Member
***
Offline Offline

Activity: 182
Merit: 100


View Profile
June 27, 2011, 05:49:00 PM
 #11

If someone gets access to your machine as root

what exactly does this mean?

»A common mistake that people make when trying to design something completely foolproof was to underestimate the ingenuity of complete fools.« - Douglas Adams
Use the trusted German Bitcoin exchange: https://www.bitcoin.de/de/r/5wcwts
Tips & donations: BTC : 1MAQYNLp2VJ9wWhPYg5BnrbUGzdhGXopZw | CGB: 5bgQivyHJcSWTgvLfVW87Zj23M7mcFCVBF
kokjo
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000

You are WRONG!


View Profile
June 27, 2011, 05:50:36 PM
 #12

its secure enough to fool your sister, but not a hacker or trojan or government agency .
Pretty darn safe I reckon. There would have to be a trojan which can steal your wallet.dat for OS X, and bypass filevault encryption - quite an ask.
oh i did not read the post well enough, my fault.

okey then it will require root rights and the wallet user to login. it a hacker could possible do it.
its is only as safe as the OS then. but still not safe enough.

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
Synaesthesia
Sr. Member
****
Offline Offline

Activity: 546
Merit: 253


View Profile
June 27, 2011, 05:55:15 PM
 #13


okey then it will require root rights and the wallet user to login. it a hacker could possible do it.
its is only as safe as the OS then. but still not safe enough.
Well I was also corrected by Rob. P who points out that the Bitcoin client can only ever interact with an unencrypted wallet.dat
I think it's quite secure as a means of storage - pretty much requiring physical access or a brilliant Mac Trojan. But I don't know much!

If someone gets access to your machine as root

what exactly does this mean?

It's UNIX terminology - basically meaning that you have access to everything.
kokjo
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000

You are WRONG!


View Profile
June 27, 2011, 05:59:17 PM
 #14

It's UNIX terminology - basically meaning that you have access to everything.
... semantics but, not right still cant access the encrypted part without the key.

"The whole problem with the world is that fools and fanatics are always so certain of themselves and wiser people so full of doubts." -Bertrand Russell
qualia8 (OP)
Full Member
***
Offline Offline

Activity: 237
Merit: 100


View Profile
June 27, 2011, 06:11:30 PM
 #15

Thank you all for the comments.

I'll create another wallet with a fresh linux install on another machine, deleting it from the hard drive and storing it on usb's.  I'll make a long-term savings deposit here and check it on the block chain explorer.  PITA, but from what I'm hearing in this thread it's not avoidable for true security.

I'll keep my everyday wallet unencrypted and accessible in my everyday user, and my smallish savings wallet under my 2nd user.  That will give me 3 convenience levels, 3 security levels.  I'll divide the balance between them and the exchanges and mybitcoin.com as my risk tolerance and laziness dictates.
nux
Newbie
*
Offline Offline

Activity: 24
Merit: 0


View Profile
June 27, 2011, 06:29:19 PM
 #16

When you install an application and it asks for your password to continue, entering that password allows it to operate as root to normally modify system files or something similar.

Having root wont do you any good to get the wallet file in itself, but the moment you log in as that user and mount the encrypted drive, it will be accessible by root as if there were no encryption.

I'd say it's a rock solid setup, and until Macs become a much bigger target it will continue to be.  Just be mindful of what applications you allow to install on your system.  There was a recent Mac "virus" that was just a file distributed to people.  Only the people that decided to install it were infected.  Stuff like that is what you'd have to worry about.
Villem Anton
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
June 27, 2011, 07:07:00 PM
 #17

+1
I think this is a pretty good start for Mac users. There are extra points for simplicity as there are new risks with complexity as dealing with manual encrypt/decrypt of wallets etc on linux or other unknown environment. When you are not logged in to this special user, OS X TimeMachine will back it up as well, in the encrypted form. (in addition to your unencrypted USB drive you should keep in your safe deposit)

Extra note would be to never log in as this user when you have a WiFi connection to internet. Do it at home via cable and behind a decent firewall. Note that you can have a "smaller" wallet in your normal user account.
Synaesthesia
Sr. Member
****
Offline Offline

Activity: 546
Merit: 253


View Profile
June 27, 2011, 07:40:00 PM
 #18

Check this out, it's even simpler, just create an encrypted disk image:
https://en.bitcoin.it/wiki/Securing_your_wallet#Mac
Villem Anton
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
June 27, 2011, 09:45:25 PM
 #19

I would say "just create an encrypted disk image" is not as safe as having a different user and cold start into the safe user to transfer coins out of your savings wallet. Staying logged into your ordinary user invites any active processes (sniffer and keyloggers) to access the mounted drive, and also makes it harder to have two wallets.
iMiner
Newbie
*
Offline Offline

Activity: 37
Merit: 0



View Profile
June 27, 2011, 09:59:59 PM
 #20

Check this out, it's even simpler, just create an encrypted disk image:
https://en.bitcoin.it/wiki/Securing_your_wallet#Mac

This indeed:

Quote
Follow these instructions to backup all the bitcoin data (wallet and block chains) to an encrypted disk image.

  • Open Disk Utility
  • Click New Image and choose 500MB, 128-bit or 256-bit (faster or more secure) encryption and single partition.
  • Save it somewhere you won't lose it (like your Wuala, Dropbox, Strongspace or whatever)
  • Choose a safe and strong password
  • Move everything from ~/Library/Application Support/Bitcoin/ to the image
  • Symlink it back so the app would be able to use it
  • ln -s /Volumes/Bitcoin ~/Library/Application Support/Bitcoin

Don't forget to mount your image before using Bitcoin and unmount after quitting it.

And I do this on a separate User Account that I exclusively use for the Bitcoin client. To check my balance, I use http://forum.bitcoin.org/index.php?topic=23123.0

I think it is pretty safe. Probably not 100% safe, but I don't know a better way that is at least reasonably practical.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!