News for hackers. Stuff that matters.
Re:Lavabit's Dark Mail Initiative by moxie on Monday November 04, 2013 @08:08PM (#6672442)
I think it's important that we separate our support for Ladar's legal problems from our support from his technical decisions.

I think we should support Ladar as a person for bravely deciding not to comply with the government's request, but that we should be extremely critical of the technical decisions that lead to his ability to have complied.

LavaBit was a service offering "secure" email using a mechanism known to be insecure, which unnecessarily put a lot of users at risk. It seems injudicious to fund its redeployment, and even a little bit strange to fund the same person to develop something new.

Re:Lavabit's Dark Mail Initiative by guelo on Monday November 04, 2013 @10:42PM (#6673095)
I dont understand. Lavabit's full process, including the last resort off switch, worked. Snowden was well served to rely on it, his emails were not read by the government.
Re:Lavabit's Dark Mail Initiative by moxie on Tuesday November 05, 2013 @12:40AM (#6673421)
Lavabit was vulnerable to three attackers:

1) The server operator could choose to obtain access to plaintext. 2) An attacker who compromised the server could get access to plaintext. 3) Anyone capable of intercepting the SSL communication could get access to plaintext.

Incidentally, those are the exact same points of vulnerability for a normal (unencrypted) mail service.

One interesting question is why the US government requested Lavabit's SSL key rather than just getting a CA to sign their own. My assumption is because they were interested in past communication that might have already been deleted (perhaps by Snowden). We now know that the US government often logs and stores ciphertext, and we know that Lavabit was not selecting PFS SSL cipher suites.

So when Ladar did eventually provide the SSL key to the government, it's likely that the government was able to use that to decrypt all previously stored traffic and obtain the entire history of transmitted email.

So it's quite likely that Snowden (and all other Lavabit users) did have their email read by the government.

Re:Lavabit's Dark Mail Initiative by jedbrown on Tuesday November 05, 2013 @08:42AM (#6674953)
What is different about the government logging traffic between Lavabit and the user versus the SMTP between another host and Lavabit? With Lavabit's key, they can get all incoming mail (and many providers don't even use STARTTLS). Perhaps their logged traffic was incomplete or is difficult to search?

Email just isn't very secure as a protocol; people that care need something they can verify, like PGP (which Snowden used). It's unfortunate that the asynchronous nature of email (which we tend to view as an important feature) is incompatible with client-verifiable forward secrecy.

Re:Lavabit's Dark Mail Initiative by ju916 on Tuesday November 05, 2013 @01:06PM (#6676752)
Are you sure, that Lavabit did not select PFS? Is this documented somewhere? That's quite a fumble for someboday advertising secure email services.

BTW: shouldn't we assume, that the US government operates at least an own intermediate CA for such purposes rather than getting single Certs signed.

Re:Lavabit's Dark Mail Initiative by natevancouver on Tuesday November 05, 2013 @04:50PM (#6678634)
Ladar says so in this interview, starting around 32:30:

http://www.youtube.com/watch?v=7LzKjxj0u_s#t=32m30s

Re:Lavabit's Dark Mail Initiative by jedbrown on Monday November 04, 2013 @11:19PM (#6673210)
He had the keys and encrypted messages on the server. Everything but passwords (to unlock the private key), which he received from users and chose not to store. There is no way for users to audit that the passwords are not stored or intercepted (with or without Ladar's consent). He took a commendable stand, but had he built the technology differently, he never would have been in a position of having to choose and users would not have to trust his integrity and endpoint security.

The technical challenge is in designing a system in which the server does not have to be trusted, but that integrates well with existing protocols. I'm not aware of a proposal that offers the desired level of security while transparently integrating with SMTP, but perhaps Moxie has ideas.

One can get part way if the users generate their own key pair and only provide the server the public key, then either use a PGP-capable mail client or perhaps run a local (open source and audited) IMAP proxy to decrypt. You'd still have to trust the server not to store a clear copy of incoming mail, but once it is encrypted, only the client would be able to decrypt.

Re:Lavabit's Dark Mail Initiative by bigiain on Tuesday November 05, 2013 @02:18AM (#6673663)
FWIW, I think there's a disconnect between what people expect/need from their email hosting provider and the "obvious" security solutions. Especially these days with many many people relying on IMAP to provide server-side search when using mobile devices.

If you need the server to be able to text search through your mail archive (and I do that a _lot_ on my phone), you need to "trust" the server with your clear text.

If you don't want to run and secure your own server - you need to choose what level of compromise you're prepared to accept.

My current project is a mail server on a RaspberryPi, hidden behind my home NAT gateway and firewall, that opens reverse ssh tunnels for ports 25 and 465 to inexpensive VPSes configured to not log anything - with IMAP (and webmail) access limited to my local network (and to my phone and iPad via vpn). It uses Vagrant and Ansible to provision and configure VPSes on the fly, and DNS hosting with APIs that Ansible can update MX records for as my receiving mail server moves around different VPS vendors in different jurisdictions.

Re:Lavabit's Dark Mail Initiative by Dylan16807 on Tuesday November 05, 2013 @06:00AM (#6674419)
>If you need the server to be able to text search through your mail archive (and I do that a _lot_ on my phone), you need to "trust" the server with your clear text.

How many megabytes of body text are you searching through? Is your phone actually incapable of doing the search in milliseconds?

Re:Lavabit's Dark Mail Initiative by adrianN on Tuesday November 05, 2013 @06:49AM (#6674542)
My inbox currently contains 5800 e-mails and takes ~500mb of disk space. Doing a full text search takes a bit, even on a laptop.
Re:Lavabit's Dark Mail Initiative by Dylan16807 on Tuesday November 05, 2013 @12:06PM (#6676251)
Disk space doesn't matter. That's going to be mostly extra headers and formatting and attachments. I can't find many sources for the number of words in an email, but what I did find suggests about 50. Let's assume that's an entire order of magnitude off, and you have 500 words * 5800 emails. That's 17MB. A laptop or a phone can easily cache that much data and search it in a tenth of a second. All you have to do is filter out the junk beforehand instead of repeating the work every time you search.
Re:Lavabit's Dark Mail Initiative by jedbrown on Tuesday November 05, 2013 @12:36PM (#6676480)
I have a million emails occupying 20GB, and receive several hundred per day. I search my mail archive using xapian (via notmuch) on my laptop, but such solutions are less practical for phones and even some desktop users expect IMAP search to work. Indexing is definitely a problem if you want the server's store to be encrypted.
Re:Lavabit's Dark Mail Initiative by baudehlo on Tuesday November 05, 2013 @08:00AM (#6674790)
You do not need the full text for search. You can hash every word and search hashes.
Re:Lavabit's Dark Mail Initiative by Dylan16807 on Tuesday November 05, 2013 @12:13PM (#6676297)
That sounds completely insecure.
Re:Lavabit's Dark Mail Initiative by asdfs on Monday November 04, 2013 @09:42PM (#6672880)
>using a mechanism known to be insecure

Can you elaborate? I'm not sure what you're referring to.

Re:Lavabit's Dark Mail Initiative by socillion on Monday November 04, 2013 @11:09PM (#6673184)
Lavabit had the capability and will to share information with law enforcement in the past; it was only in Snowden's case that Levison refused.

> Levison isn’t an privacy absolutist. He has cooperated in the past with government investigations. He says he’s received “two dozen” requests over the last ten years, and in cases where he had information, he would turn over what he had.

> “I’m not trying to protect people from law enforcement,” he said. “If information is unencrypted and law enforcement has a court order, I hand it over.”

http://www.forbes.com/sites/kashmirhill/2013/08/09/lavabits-...

Re:Lavabit's Dark Mail Initiative by jedbrown on Monday November 04, 2013 @11:31PM (#6673230)
Lavabit's encrypted storage was a paid feature that was used by less than 10% of users. From the wording, it sounds like he never stored passwords for those accounts. It's possible that Snowden was the first premium customer for which Lavabit was issued a warrant.
Re:Lavabit's Dark Mail Initiative by socillion on Monday November 04, 2013 @11:49PM (#6673271)
Thanks for the clarification.
Re:Lavabit's Dark Mail Initiative by tlrobinson on Monday November 04, 2013 @10:44PM (#6673101)
Are there any other projects with similar goals that you would support?
Re:Lavabit's Dark Mail Initiative by zxlk21e on Monday November 04, 2013 @08:16PM (#6672487)
Agree, but then again, most of the parroting that has taken place with respect to this entire debacle has served to expose people to many of the issues and practices around online privacy, so there is that (albeit under poor circumstances, but lemons -> lemonade).

What's with the weird goal amount though? Is there some significance there that I'm not aware of?

Re:Lavabit's Dark Mail Initiative by hkmurakami on Monday November 04, 2013 @09:41PM (#6672877)
>What's with the weird goal amount though? Is there some significance there that I'm not aware of?

It seems to be 2^16 * 3

No idea what that means.

Re:Lavabit's Dark Mail Initiative by selmnoo on Tuesday November 05, 2013 @02:01AM (#6673632)
It's a regular Hamming number. The 363th. Yeah, not sure what's the significance either.
Re:Lavabit's Dark Mail Initiative by davidsong on Tuesday November 05, 2013 @06:04AM (#6674433)
Maybe the three of them working on it want 64k each because they like round numbers.
Re:Lavabit's Dark Mail Initiative by GhotiFish on Tuesday November 05, 2013 @12:01AM (#6673295)
I'm impressed you worked that out.
Re:Lavabit's Dark Mail Initiative by mknits on Tuesday November 05, 2013 @06:02AM (#6674427)
Well tried NSA, but I'll try to fund the campaign.