0
$\begingroup$

I am planning on backing up my hard drive using a cloud backup service but have become skeptical of the industry based on incidents like these:

http://dbmsmusings.blogspot.com/2011/02/why-i-no-longer-trust-emc.html https://security.stackexchange.com/questions/7142/online-backup-how-could-encryption-and-de-duplication-be-compatible

And this response to the question of losing one's private key by Altdrive:

"What if I lost my file encryption key?

We don't want to hear that! Your private encryption key is VERY important and personal. Without it, you cannot restore your data in event of a system loss. We highly recommend that when you create your encryption key, you store it in a safe place: e.g. printed out and in a safe deposit box, or backed up somewhere else on the Internet. If you did, contact us immediately. There may be a few options depending on the circumstances."

Based on lack of trust of these providers, I am planning on encrypting my hard drive using EncFS on an external hard drive and then using Altdrive (the cheapest backup cloud service) to back up that external hard drive, so that regardless of whether I use Altdrive's user-defined private key or their own key, stored on their server, it should not be possible for them to access any of my data.

What are the risks to consider in this approach, eg is there more a chance of corrupting my data since it will be encrypted multiple times, will it be harder to access or obtain individual files, ie maybe I have to download the entire volume since I shouldn't be able to recognize each file on their server (not sure how it works to obtain data from cloud backup providers in general)?

I am using linux.

$\endgroup$

2 Answers 2

1
$\begingroup$

Apart from the performance hit of encrypting / decrypting twice, and the inconvenience of having two keys to not lose, this should work fine. In fact I wish more people had your approach to data privacy and encrypted things before sending them over the internet!

About Altdrive in particular, a good question to ask yourself about their upload service / upload webpage is: is the data being encrypted on your computer and then uploaded, or uploaded and then encrypted? If their uploader encrypts on your end with a key you never give them, then double-encryption probably isn't adding anything, but if it's sent to them in the clear, then your EncFS idea is good. A good test would be to upload a secret.txt file, then log in to the site from a different computer that doesn't have the encryption key and see if you can download and decrypt the file. If you're not able to decrypt it, then their service is probably trustworthy.

That bit from Altdrive about losing your key is a standard warning in the encryption world: backing up your key protects you from losing it, but means there are more copies of your key for someone to steal. You have to decide which you're more worried about: losing your key, or having it stolen? I can tell you that there are many large corporations and governments who back up decryption keys, and many who don't. You have to decide for yourself.

I've never used EncFS, but from a quick google it looks like it encrypts each file individually, so you should be able to pull down files one-at-a-time rather than having to download the whole block. BUT it looks like it encrypts the filenames by default, so you'll have no idea which file you're grabbing. Does EncFS have a setting to turn off filename encryption?

Again, from a quick google of EncFS:

Files are encrypted using a volume key, which is stored encrypted in the source directory. A password is used to decrypt this key. wikipedia

You probably want to not upload that volume key file since that would mean that cracking your password gives an attacker your decryption key (and it's ALWAYS easier to crack a password than a full key).

$\endgroup$
7
  • $\begingroup$ I'm confused about the standard encryption warning. I bolded the part I thought was concerning in their answer. Altdrive offers the user the ability to use their own private encryption key, which Altdrive supposedly never has access to. So if that is lost, there should be no options for Altdrive to retrieve it. That is the point of using a private key. If there are a "few options depending on the circumstances," then something is seriously wrong. $\endgroup$ Apr 21, 2015 at 0:46
  • $\begingroup$ I don't quite understand the secret.txt example. I will presumably have to use Altdrive client software that does not send my private key to the server and does the encryption/decryption offline. But how can I trust that this is the case and verify that they are not sending my private key to their server and storing it? If I cannot access the secret.txt file from a different computer does not necessarily mean that they don't have my key (they just want me to enter it into the client software), right? $\endgroup$ Apr 21, 2015 at 0:50
  • $\begingroup$ 1) "depending on the circulstances" --> does Altdrive offer a version where you use their key? In that "circumstance" they could help you. Some people might not realize that the key is just a file on their computer and so "lost" it because they never knew it was there. Over the phone they could "help" you find it. I don't know, I read that as an empty Customer Service statement. $\endgroup$ Apr 21, 2015 at 1:16
  • $\begingroup$ 2) Correct. You should do some reading to find out how their service works. If you're good with javascript, you could look at the page source for their uploader and see for yourself if your private key is sent. Or you can probably find a blog of someone who has. At least if you can't decrypt from another computer then your data is safe from someone who cracks your Atdrive login password. Try it and let me know if you can decrypt from another computer or not. (or do you need a subscription first?) $\endgroup$ Apr 21, 2015 at 1:21
  • $\begingroup$ Thanks for the comments. I will do some further investigation on how altdrive works. If I have to use a software client instead of the web, I don't know if it will be possible to see what data is sent. $\endgroup$ Apr 21, 2015 at 20:27
0
$\begingroup$

Shouldn't be a problem. There's a performance hit, of course. A usability one as well. And, of course, don't lose your key.

That said, I think that AltDrive is secure. They state "You can choose to manage your own encryption key so that no one, including AltDrive personnel can access your data."

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.