News for hackers. Stuff that matters.
Re:New security issue at Dropbox by mike-cardwell on Monday June 20, 2011 @11:22AM (#2674519)
https://www.dropbox.com/help/27

"Your files are backed-up, stored securely, and password-protected."

Except, apparently, you don't even need to know the password to get access to the unencrypted files.

I wish somebody would clone exactly what Dropbox does, but get the encryption/security right so that it is impossible for anyone other than the account owner to access their files. Dropbox will never get security right.

Re:New security issue at Dropbox by yuvadam on Monday June 20, 2011 @11:28AM (#2674560)
Dropbox will never get security right

I fail to see how you conclude that. Yes, they did have several glitches in the past, and no, they did not always respond as they should have.

But there are some pretty smart people working at Dropbox. What makes you think they do not have the capacity to solve security issues?

Re:New security issue at Dropbox by arethuza on Monday June 20, 2011 @11:40AM (#2674635)
I suspect what that comment means is that Dropbox have traded security for ease of use at a fundamental level - compared to something like tarsnap (which is dedicated to doing backups in a very secure way) Dropbox does look a lot less secure but it is also a lot easier to use and supports a much wider ranges of uses.

Edit: I am a pretty happy DropBox user, but I only store files there that I wouldn't really care too much if they were made public. DropBox to me is about convenience, not about security.

Edit2: I was a pretty happy DropBox user, now that I think about what having a system that is prone to "failing open" means I'm seriously thinking about closing my account. However, I'll wait and see what the "official" explanation is first.

Re:New security issue at Dropbox by mike-cardwell on Monday June 20, 2011 @11:38AM (#2674621)
They should have made it so files can only be encrypted/decrypted client side. They sacrificed this security so that they could do two extra things.

  1.) De-duplication
  2.) Web access to the files.
They also sacrificed the security of the mobile clients by disabling SSL, in exchange for a small speed increase.

Those are the main reasons I have come to this conclusion.

Re:New security issue at Dropbox by ssmoot on Monday June 20, 2011 @02:41PM (#2675395)
I think #1 covers it.

It feels a bit awkward to even refer to file-level hashing and lookup as de-duplication as it's more commonly known in block-level de-dupe.

Regardless, on documents it's probably safe to assume they get close to 2:1 compression ratio. I'd assume that the de-dupe of large binaries is a huge part of what makes running such a business on very expensive cloud-storage systems financially viable.

Would Dropbox work financially without it?

They could offer a non-de-duped version at much higher cost for the security minded, but then they've implied that the basic version is fundamentally flawed.

Just an interesting technical barriers to think about (IMO).

Re:New security issue at Dropbox by arethuza on Monday June 20, 2011 @11:59AM (#2674720)
From what I can see the mobile clients do use SSL:

http://forums.dropbox.com/topic.php?id=24507

Re:New security issue at Dropbox by bxr on Monday June 20, 2011 @12:09PM (#2674763)
They do now.

Here is a forum post where they admit that mobile SSL was impossible.

http://forums.dropbox.com/topic.php?id=10669

Re:New security issue at Dropbox by arethuza on Monday June 20, 2011 @12:18PM (#2674820)
That is pretty bad! :-(
Re:New security issue at Dropbox by tzs on Monday June 20, 2011 @09:22PM (#2676965)
Neither de-duplication nor web access require server-side encryption/decryption. Here's how you do a Dropbox-like service with all encryption handled by the clients, but that allows de-duplication and web access. Let's call the service DBL (for Dropbox-like).

1. Each user has a public/private key pair. This is generated client side, deterministically from the user name and password. The public key is stored on the DBL server.

2. To store a file on the DBL server, the client encrypts the file with, say, AES256, before sending the data to the server. The key is deterministically derived from the file contents, say by SHA256.

3. The client keeps a file that contains a mapping from files to their encryption keys. This file is encrypted using a public key system, with the public key being the user's public key. It is stored on the DBL server (and no doubt cached locally on the client).

The above is sufficient for non-shared files. When you wish to retrieve a file from a client other than the one it came from, the retrieval client can grab the file/key mapping file, decrypt it using your private key, and then lookup the decryption key for the file.

For files that are to be shared with specific people, the client maintains a file for each person you share with. In this file it stores the mappings of files to encryption keys for the files you are sharing with that person. This file is stored on the DBL server, encrypted with the public key of the person you are sharing with.

De-duplication is possible in this system because when two people store identical files, they pick the same encryption key, and so the end result is the same encrypted data.

Web access is possible, as long as Javascript is allowed on the client, by implementing the key retrieval and the AES decryption in Javascript.

Note that DBL never sees the unencrypted data, and they never see the encryption key for a file in plaintext--they only see it when it is encrypted via your public key (or the public key of someone you are sharing the file with). Even if they are breached, the crackers cannot get your data. Same goes for if they are subpoenaed--they can't give up your plaintext because they don't have access.

Note also that DBL doesn't actually need your user name. All they need is your public key (at least as far as operation of the file storage/retrieval/sharing system goes--they need more for billing if you are using paid services, of course).

Re:New security issue at Dropbox by arethuza on Tuesday June 21, 2011 @07:47AM (#2678335)
"AES decryption in Javascript"

How would you display that data as a file or save it locally?

I guess you could do it in Flash/Java using something like Downloadify

https://github.com/dcneiner/Downloadify

Re:New security issue at Dropbox by bluedanieru on Monday June 20, 2011 @11:39AM (#2674627)
What makes you think 'capacity' has anything to do with it? I'm sure those smart people you think work there could get security right, but that doesn't mean management has budgeted the resources for it.
Re:New security issue at Dropbox by jm4 on Monday June 20, 2011 @11:34AM (#2674604)
Have you looked at JungleDisk? I have never used Dropbox, but from what I can tell they are similar. JungleDisk works with S3 or RackSpace Cloud storage. You can store files encrypted or unencrypted. Everything is transmitted over SSL. My data can only be accessed with my S3 access keys. It can mount/map a drive, do automatic backups or keep directories in sync across multiple computers.

It does not look as easy as Dropbox (because there is a distinction between the JungleDisk software and the underlying storage), but it is not difficult either. I have been using it a little while and like it so far.

There is also no iPhone or Android app, but there is a pretty decent web interface.

Re:New security issue at Dropbox by brown9-2 on Monday June 20, 2011 @11:45AM (#2674657)
Re:New security issue at Dropbox by jm4 on Monday June 20, 2011 @01:12PM (#2675066)
Interesting. Do you know of any alternatives? One of the things I really like about JungleDisk is it uses _my_ S3 bucket. I have apps that use the data in my S3 bucket and it is also nice to be able to access it using JungleDisk.
Re:New security issue at Dropbox by fletchowns on Monday June 20, 2011 @02:08PM (#2675257)
There is also no iPhone or Android app, but there is a pretty decent web interface.

Not the case any longer, iPhone app is available (I haven't used it yet): https://www.jungledisk.com/iphone_app_backup_share_files_man...

I'm sure an Android version is in the works.

Re:New security issue at Dropbox by mike-cardwell on Monday June 20, 2011 @11:39AM (#2674629)
Sounds interesting. If they produce an Android app I will give it a look.
Re:New security issue at Dropbox by lisper on Monday June 20, 2011 @01:01PM (#2675014)
Check out tarsnap. It's not exactly like dropbox, but it is secure.
Re:New security issue at Dropbox by aceofspades19 on Monday June 20, 2011 @11:40PM (#2677331)
If the tarsnap author decided to let canadians use his service, it might help
Re:New security issue at Dropbox by gst on Monday June 20, 2011 @11:31AM (#2674592)
Not an exact clone, but have you tried Wuala? There are using client-side encryption - so even if they wanted to they cannot read the content of your files.
Re:New security issue at Dropbox by mike-cardwell on Monday June 20, 2011 @11:43AM (#2674647)
I tried Wuala recently, but it just repeatedly crashed on me. I might give it another look in 6 months.
Re:New security issue at Dropbox by gst on Tuesday June 21, 2011 @04:16AM (#2677884)
On which platform do you run it? On my Linux machine I haven't seen a single crash during the last months.
Re:New security issue at Dropbox by mike-cardwell on Tuesday June 21, 2011 @05:16AM (#2677998)
OSX. Specifically Snow Leopard on a Macbook. I tried it a month or two ago.

I also tried it a couple of years back under Linux and had stability problems when copying lots of small files into it automatically. The mount would just break.

Re:New security issue at Dropbox by rakkhi on Monday June 20, 2011 @11:37AM (#2674614)
Apple iCloud? Because no web way they handle encryption is great, simply specify protection level you want on a file.