Ed Felten: Why Email Services Should Be Court-Order Resistant
Jah-Wren Ryel sends this excerpt from Ed Felten at Freedom to Tinker:
"Commentators on the Lavabit case, including the judge himself, have criticized Lavabit for designing its system in a way that resisted court-ordered access to user data. They ask: If court orders are legitimate, why should we allow engineers to design services that protect users against court-ordered access? The answer is simple but subtle: There are good reasons to protect against insider attacks, and a court order is an insider attack. To see why, consider two companies, which we’ll call Lavabit and Guavabit. At Lavabit, an employee, on receiving a court order, copies user data and gives it to an outside party—in this case, the government. Meanwhile, over at Guavabit, an employee, on receiving a bribe or extortion threat from a drug cartel, copies user data and gives it to an outside party—in this case, the drug cartel.
From a purely technological standpoint, these two scenarios are exactly the same: an employee copies user data and gives it to an outside party. Only two things are different: the employee’s motivation, and the destination of the data after it leaves the company."
So a court case that was created as a knee-jerk response to Snowden is arguing that organizations shouldn't take steps to prevent leaks like Snowden .....
This model describes the problem pretty well. Of course it can be extended: What if the judge or (given an over-broad wiretap order) the police is in league with the attacker, freely or by coercion? That is not unheard of either.
Most ACs are not even worth the keystrokes to insult them. Be generically insulted by this and ignored otherwise.
Only two things are different: the employee’s motivation, and the destination of the data after it leaves the company
The government won't generally kill you, just lock you up. The cartels won't generally lock you up, they just kill you. Not much difference really.
A backdoor (like the ones the NSA makes manufacturers put in) does not care whether the person using it is in law enforcement solving a case or is a criminal looking for opportunities.
What next? Complaining about hidden compartment in desks?
Oh, I don't know...because of "life, liberty, and the pursuit of happiness"? I don't know about you, Mr. Judge, but I personally don't want a court, court-ordered or not, snooping on my life--such inherently is a big way to disrupt my happiness. But, even if we forgo the DoI and move to the CotUS, it's "life, liberty, and property". Well, whether you view it as the user's property or Lavabit's property, they sure as fuck can do what they want with it. What part of any of that should be to make the court's job easier? Why would they seek to bend over backwards for any court?
Of course, the big one is liberty. The biggest liberty of all is exploring the possibilities of math and the universe. And that heavily flows into attempts to make functionally unbreakable encryption resistant to even the US government. And is also flows from the point of just being a general asshole, which God Bless the United States of America, is very much recognized as a Creator given right. Clearly the judge is exercising it when he shows contempt for other people daring to live their lives in ways he doesn't like.
Honestly, though, I do not try to be too much of an asshole. And I do recognize that there does need to be a means for courts and court-orders to function. The problem the judge seems to realize--and honestly why the NSA keeps getting the go ahead--is that criminals are most inclined to use those sorts of tools to hide their activities. The good response should be the obvious: most criminals don't go through the bother because they don't think they'll be caught and the rest are almost always found before the court-order (after all, you have to have evidence to get that far) or the court-order is a very inappropriate fishing expedition. All a court-order is there for is to solidify a case, not to make one. And so the very notion that there's something wrong with efforts to make their case inherently harder to prove is, well, fine by me. It almost always just means the prosecutor and the police have to work a bit harder to prove their case, if they care enough to go through the effort. The real limit of justice then is not the strength of encryption or the willingness of first or third parties to comply with handing over incrimination evidence. It has almost everything to do with running a decent investigation in the first place.
PS - *sigh* The NSA part was probably unnecessary, but it reeks of the same stupidity and with the same sorts of results. Trying to find a needle in a haystack is easier because at least then you know you're looking for a needle. And if, by analogy, you know you're looking for a specific terrorist plot in a general time frame with certain people, you're already 90% of your way towards having a prosecutable case and a pathway to find accomplices.
Eurohacker European paranoia, gun rights, and h
Actually, the employee's motivation is likely the same as well. And the destination seems to getting more similar every day.
As to his comment about turning over the master key, it would have made no difference if they had protections on their master key. They didn't turn over their master key anyway. They did shut down, and they would have had to shut down either way. Because if they didn't shut down and had their key secure (say in an RSA box), the government would have just compelled to give them access to their key to sign stuff or to present as a credential. In other words to impersonate them.
The only way to avoid all this was to just shut down so there could be no mistake. If that key is used again, you know it's the NSA doing it, not Lavabit.
I would love to hear how Ed Felten thinks a private key can be both kept inaccessible and used tens of thousands of times a day to secure SSL connections.
Even if you keep it in a box, if the box will gleefully operate on the key thousands or millions of times a day, then you can just virtualize the key to a remote location (like say NSA HQ) by forwarding any requests to use the key to the box across the net. No need to even have the key at all in that case.
http://lkml.org/lkml/2005/8/20/95
If you don't want someone else to see it, stop putting it on the internet.
Internet was NEVER EVER a means of private communication.. we've tried to make it that way for what, 20 years now? It's not going to happen. Keep your personal tidbits off the net if you don't want others finding them.
Try using the tried and true encryption method. A piece of paper inside an envelope, with a stamp and an address. It's slower, but it's a lot more private than you'll EVER GET on the internet, now or in the future.
They ask: If court orders are legitimate, why should we allow engineers to design services that protect users against court-ordered access?
The real answer question is, in what fucking world is it appropriate for courts to say what a private company programs?!? If the encryption is not illegal (it shouldn't be either way, but encryption is still legal in the US) the judiciary has no business saying whether it should be used or not.
Do your Goverment open your *physical* letter (paper) before giving them to you?
Do your Goverment order to your postal service (USPS, Correos, La Poste, etc.) to keep a copy of each letter (paper) before giving them to you?
~ Franz
For some strange reason all our undercover agents keep turning up dead, it's like no one has any privacy....
we should just rewrite batman, superman and all the other masked marvel cartoons so that the superheroes are known as who they really are, they can kill Lois in the first episode and eliminate a dreary plot line.
From a technological standpoint, shooting someone who is about to rape your daughter is the same as shooting someone because you want to drive the car they're in: the bullet punctures the skin and causes internal damage, temporarily (or permanently) disabling the person being shot. Therefore ban all guns.
Use GNUpg. It has been seeded by the German Ministry of Business. It's Free Open Source. It's better than the Opaque Crypto (seach for for "gstool Jan Schejbal") from the German Chancellor Ministry (Chi/BSI), exactly because we can inspect GNUpg.
Or, just use the openssl command line. Not really more complicated than GNUpg.
So, if we properly use government, they can in exceptional cases indeed help us.
(and yes, I have RTFA)
What's he's saying is that software engineers should design systems so that the acts of democratically elected -> appointed law enforcement officials acting in the judifically approved furtherance of their duties should be impossible because those same mechanisms could also be used by unauthorized parties?
should we also design roads that police cars can't drive on because criminals might drive on them too?
i understand the huge skepticism when it comes to 'goernment reading my emails' concerns. a lot of that is very much warranted and should be looked at deeply and perhaps disallowed as a matter of law. however, i find his arguments, in as much as i probably don't understand them really wanting and actually ethically dubious.
"If court orders are legitimate..." -- see there Mr Judge, you've answered your own question.
but they'll order to silently insert a backdoor/middleman access.
this is why lava quit.
so that system better be hosting and operating somewhere else than usa, china or number of other countries...
world was created 5 seconds before this post as it is.
I like to email chunks of Lorem Ipsum to Islamic charities. It drives the decrypters crazy.
Governments are supposed to have the ability to compel disclosure of confidential information, subject to legal protections. If you don't like the Snowden example, consider a less controversial criminal example, like a kidnapping in process. The point is that the 4th amendment allows for reasonable searches and seizures. Claiming that all searches and seizures are attacks is to deny the legitimacy of even uncontroversial law enforcement. Incidentally, even Lavabit complied with other government requests for data.
What's really so ridiculous is that we're having this conversation about email providers. Two-decade-old tech makes it to that subverting the provider only gets the attacker traffic-analysis, still not content. It's so easy to encrypt email. Let's get our shit together, people. Install gpg today and get your public key out there.
If people were less than 20 years out of date on their tech, then lavabit would be irrelevant.
Imagine that one wishes to prevent subversion by drug cartels but honour (or appeal) court orders. This is the problem that public libraries have dealt with since their creation. Someone always wants to know what person X has been reading, in hopes of using it against them....
Library software is normally written to preserve privacy, and discard the record that "X has book Y" when the book is returned. It can be written this way because several of the countries where it is sold require privacy as part of their legal system. Purchasers in other countries get privacy as a side-effect.
Countries prohibiting privacy would require a special version for a quite limited market, and the library software companies aren't motivated to deal with them: just doing an internationalization/localization to get into a small market is hard enough!
When an individual library is served with a court order, they can honour it by doing a lookup once a day and writing X's new books down on a piece of paper. As this doesn't scale, and is also a credible cost, the willingness of courts to order it is reduced, and the damage to privacy is limited.
Applying this to email, one wishes to keep routing data only until a message is delivered to the next host and we get a "250 OK" from SMTP. If a court wishes to collect that metadata, they can station an officer with a laptop at the ISP and gobble up the packets routed to/from him. This is onerous, and in Canada at least requires a "wiretap warrant", which the courts restrict more than ordinary search warrants.
The person wishing to provide this kind of information to a drug cartel has the same hard task, and is also more likely to be detected by the ISP.
To oversimplify, we're keeping far too much information about email: an author or vendor should take notice of the privacy laws of their preferred markets and discard debugging/diagnostic information at the end of a successful delivery. If they wish to cover themselves against customer complaints, they might send delivery notices that the customer can read or filter out at their convenience.
--dave
davecb@spamcop.net
The post presumes that if data can be extracted from the system it can be done so by a single person and without the knowledge of anyone else within the company. Couldnt a design involving more than one person having to "turn their key" account for a rogue employee scenario
How about the right to keep and bear arms. Cyberweapons are part of that. People and organization must have the ability to protect against a tyranny. Especially since there are constant abuses of power now.
As much as I may not like invasions of privacy, the fact is that this summary provides a bullshit excuse for the need of making court order resistant services. This kind of issue has been addressed numerous times in the past and is actually quite easy. You just have to have a system that breaks the files up through multiple keys required to unlock it. It's called separation of duties and has been done in any good security system for decades (centuries?) This way, a legitimate order can be processed because everyone is on board with a legal order, but an illegal action, such as a bribe can not happen without having to get numerous people on-board with the action.
AJ Henderson
What i find more troublesome is that government thinks it has even right to be asking that data in first place. Data that may reference to outside innocent third parties. Parties that has nothing to do with bossible "case" at hand.
And when government gets the data, all bets are off. They will use it as they like, no matter what reason it was originally acquired.
Or alarm systems? Safes? Etc? The exact same logic would apply. Why is this not blindingly obvious to everyone???
How many government employees combing through Lavabit's customer data are delivering it to the drug cartels?
Court orders help because it forces crooked government employees to go before a third party to explain themselves.
The primary problem most people have with the NSA data dragnet is that there is no system of checks to prevent such access. Once the data has been scooped up, nothing can stop an insider from misusing it. Look at Snowden. Only his motives differed from those of crooked employees.
Have gnu, will travel.
The difference with Lavabit is that they provided both the communication and facilitated the coding service.
It seems the legal flaw in this scheme is that they are holding keys useful for sorting out the coding.
In order for the end customer's mail clients to access these coded envelopes, they must generate session keys.
And this is why I'm suprised that their userbase isn't screaming bloody murder while grabbing pitchforks and torches.
By hardening email, it reduces the chance that your email can be searched without your knowledge. Make them present a warrant, simply for the fact that they will have no choice by to follow the rules.
Elsewhere, at Favabit, an employee receiving a court order for user data takes the encrypted user data to the three trusted employees who each know part of the decryption key. Together they verify the court order, decrypt the data, and pass it on to the court. A week later, one of the three trusted employees is forced to refuse a cartel bribe to get user data, because she does not have the power to unilaterally hand it over.
If you can't think of a way to allow legitimate access while protecting against illegitimate access, you simply aren't thinking creatively enough.
The analogy between the government and a drug cartel is false, because (astonishingly) the government has much, much more power.
The most important mitigation of the insider threat is the monitoring, logging and auditing of insider activity by other insiders.
While a court order forces the hands of *all* insiders, it's that much less likely that a drug cartel will bribe or kidnap the families of multiple Guavabit employees.
The real answer is completely different.
Emails should be court-order resistant, because we should be able to digitally extend our minds, and our minds should be court-order resistant.
Expectation of privacy in E-Mail should be a law.
If the court wants my mail with a warrant the only place it should exist is in my home or device not on a mail server third party.
We need digital envelopes for "our" mail. When was the last time the post office received a warrant for your mail?
{ Pillar candles great for when the power fails and you cant see the keyboard..
The analogy is far off the mark.
From a purely technological standpoint, these two scenarios are exactly the same: an employee copies user data and gives it to an outside party.
Looking at something from only one standpoint does not give a complete picture of the situation. There might be issues from other standpoints that make the view very different. Taken from a technical standpoint the following are equal;
Speeding tickets vs extortion. (They both require payment of money on demand)
Incarceration vs kidnapping (both are restrictions on liberty)
search warrant vs burglary (both entail unwanted entry and removal of property)
public service vs slavery (both are forced unpaid labour)
The main difference between the two is that one is legal and the other is not. We give the government many legal powers that private citizens do not have.
" If court orders are legitimate, why should we allow engineers to design services that protect users against court-ordered access?" All engineers should independently get their service designs certified to be free of protections against all possible (presumably future) court access orders. To enable compliance the courts should publish (in a gazette) a list of all the future access orders? Or engineers might henceforth be designing services that courts CAN get access to but other third parties CANNOT. This is only possible if all certified service users register their "passwords" with a trusted federal authority, say the NSA. there would be the added advantage of having your data backed up at Wikileaks.
The way Lavabit designed the system was still in a way that the SSL master key was able to decrypt "something". If the system would have been designed in a way that even the master key does't get you anything the court can order all day long. Its like a court order to person A that as of tomorrow the sky will be light pink instead of blue. Just because the court or the FEDS want something to happen doesn't mean it is going to happen if there is no way technically this is going to work. Granted, if Lavabit's system would have been designed in such a way the court could have ordered that they create a new software version which then allows them to see certain things, but even that can be made impossible with the correct software design. Its "just" a question how far you want to push your design and how much self protection you want to build into your design. Until 2013 everyone, or almost everyone was under the impression that SSL was reasonably safe. 2013 is the year when that changed and a prediction is that one will see many products springing up that do not have those problems any more (e.g. BitMessage)
This blogger has a very narrow point of view, seeing only the technology issues, but failed to take into account the social and moral issues. As stated in the summary, from a purely technological standpoint, giving the information to a court or giving the information to a drug cartel may be the same. However, motivation and other social issues often play a key role in determining whether something is good or not. For example, from a purely technogloical standpoint, an explosive detonating in an underground tunnel may be the same as an explosive detonating in an underground railways. The chemistry and physics are the same. However, if it is known that in the former the explosion is for the purpose of mining of materials, while in the latter the explosion is a terrorist act designed to cause harm and injuries, then the two explosions are completely different. In order to make a sound judgment of whether something is good or bad, it is not enough to consider only the technological issues, but factors like motivation must also be given important consideration.