News for hackers. Stuff that matters.
Re:Crowd steps up to fund 'NSA-proof' app by moxie on Thursday July 11, 2013 @11:30PM (#6030745)
I'd been wondering when the explosive kickstarter campaign that leverages the NSA news would appear.

My feelings about projects like these are always complicated. Even though it's encouraging to see that people are excited about building secure communication platforms, my initial reaction to announcements like these is typically extreme dread.

There is a small community of people who have been working on secure mobile messaging for years, and unfortunately newcomers to secure communication generally fuck it up. Not only is that bad for users, but it's bad for those of us who have put years of effort into this, because it sets a tone where users begin to assume that all apps which attempt to provide secure communication must have done it incorrectly, so it's not worth using any of them.

I think there are probably enough apps in this space now (TextSecure, ChatSecure, Gibberbot, Silent Circle) that these folks could have probably just partnered with or contributed to an existing project in order to meet their needs. Despite the article's subtitle, this will be far from "the first secure mobile messaging system."

Re:Crowd steps up to fund 'NSA-proof' app by MikeCapone on Thursday July 11, 2013 @11:47PM (#6030809)
Anyone who knows this stuff can provide additional feedback on apps like ChatSecure and Gibberbot? Are they considered to be good crypto implementations?

Update: I installed ChatSecure on my iPad and it's very easy to set up. So easy in fact that I'm thinking there must be something wrong with it, because otherwise it would probably be recommended more often in these types of threads...

One of the things that seems problematic is that the background session expires after a few minutes, so if someone tries to just randomly message you, chances are you won't be logged in, so this can't be a replacement for IM.

Re:Crowd steps up to fund 'NSA-proof' app by chrisballinger on Friday July 12, 2013 @12:14AM (#6030880)
Hahaha, perhaps because we don't have a fancy graphic designer, marketing budget or PR firm? Version 2.x does have some bugs that we are working out, stemming from a large refactor to use Core Data. However, we actually don't touch the crypto ourselves and delegate all of it to the official libotr library. If you want to come help improve it, come check out the source: https://github.com/chrisballinger/Off-the-Record-iOS/
Re:Crowd steps up to fund 'NSA-proof' app by MikeCapone on Friday July 12, 2013 @02:45PM (#6034331)
Thanks.

One suggestion I would make: Once your things are set up, you shouldn't have to go to the settings screen to log in. Maybe there could be an 'account' button on the main screen or on the buddy list and from there you could sign in and out directly. I think that would make it more friendly to non-techies.

Re:Crowd steps up to fund 'NSA-proof' app by thaweatherman on Friday July 12, 2013 @12:38AM (#6030941)
Time out on chatsecure is a draw back of iOS. It forces app to close after 10 minutes of inactivity. Very annoying.

I'm with moxie. There are already plenty of good encryption apps out there. That 100,000 could have gone to existing apps that do what they say they do rather than an app that might not turn out as promised.

Re:Crowd steps up to fund 'NSA-proof' app by nthj on Friday July 12, 2013 @01:09AM (#6031028)
I never quite understood this. Certainly you don't want to send an unencrypted notification message (“Matt says: here are the meeting times”) to Apple's notification servers. But do you really have to be that verbose? I'm not terribly concerned about the NSA logging “you have $n new messages!” notifications.
Re:Crowd steps up to fund 'NSA-proof' app by DanBC on Friday July 12, 2013 @07:03AM (#6031960)
> I'm not terribly concerned about the NSA logging “you have $n new messages!” notifications.

But you can appreciate that as part of risk assessment some people might have a valid reason to be concerned about leaking even that much information?

GCHQ / NSA are good at finding patterns in data, so a collection of "You have $n new messages!" notifications can provide insight into the organization of a group.

Re:Crowd steps up to fund 'NSA-proof' app by nthj on Friday July 12, 2013 @02:12PM (#6034100)
Yes, I certainly understand. Most people wouldn't be concerned—and would be far more likely to use the technology if they could enable a feature like "You have $n new messages."

I propose it as an option, not a default.

Re:Crowd steps up to fund 'NSA-proof' app by _b8r0 on Friday July 12, 2013 @08:41AM (#6032249)
I've been using threema[1] for a few days and that uses notifications pretty well.

[1] - http://threema.ch/en/

Re:Crowd steps up to fund 'NSA-proof' app by thaweatherman on Friday July 12, 2013 @02:34PM (#6034262)
Not free though. Most people prefer free apps.
Re:Crowd steps up to fund 'NSA-proof' app by _b8r0 on Friday July 12, 2013 @07:38PM (#6036020)
You mean compromised apps, statistically speaking.
Re:Crowd steps up to fund 'NSA-proof' app by dobbsbob on Friday July 12, 2013 @01:43AM (#6031122)
Gibberbot is wide open to practical mitm SSL attacks and of course timing analysis to see who you're talking to. If you use it or any other jabber w/OTR, you would want to use it tunneled through another layer of encryption like Tor, so if you and your associates use .onion XMPP servers (and they aren't traffic analysis honeypots or run by incompetent admins/badly configured) then you get an extra layer of encryption to defeat future attacks should there be found a major bug in Gibberbot's OTR implementation and agencies just go back to all the traffic they collected and archived and use the bug to decrypt your old messages.
Re:Crowd steps up to fund 'NSA-proof' app by aedocw on Friday July 12, 2013 @12:25AM (#6030913)
You should mention your tremendous contributions to this space (https://whispersystems.org/). Thank you for all the great ongoing work you're doing!

If anyone has room to make an informed comment here, it's Moxie...

Re:Crowd steps up to fund 'NSA-proof' app by znq on Friday July 12, 2013 @03:11AM (#6031316)
There's also Threema http://threema.ch using NaCl for their crypto (open source). It works on iOS and Android and has a very good UI. Encryption can be verified, for those who care: http://threema.ch/validation/

(I'm not affiliated, I just really like the product and it's the first one I was able to convince family and friends to use)

Re:Crowd steps up to fund 'NSA-proof' app by mtgx on Friday July 12, 2013 @04:04AM (#6031473)
Any reason why you're still only using AES-128? Is that secure enough for the time being?

https://github.com/WhisperSystems/TextSecure/wiki/Protocol

https://github.com/WhisperSystems/RedPhone/wiki/Encryption-P...

Re:Crowd steps up to fund 'NSA-proof' app by 9h1d9j809s on Friday July 12, 2013 @06:42AM (#6031902)
If quantum computing shows up, AES-256 will remain secure. Otherwise there is no advantage at all.
Re:Crowd steps up to fund 'NSA-proof' app by gngeal on Friday July 12, 2013 @08:42AM (#6032257)
Any reason why you're still only using AES-128?

What else would you suggest?

Re:Crowd steps up to fund 'NSA-proof' app by cdsrv on Friday July 12, 2013 @12:13AM (#6030879)
we have been thinking the same thing.. the gap here is between the public that knows nothing and developers and integrators that DO. unfortunately, its all about marketing, and marketing is often a bunch of lies
Re:Crowd steps up to fund 'NSA-proof' app by grey-area on Friday July 12, 2013 @01:32AM (#6031094)
One really good thing about having lots of apps though is that it makes it harder for the NSA to subvert the apps or developers and develop attacks. If there are so many of them from around the world springing up all the time, that makes it a lot more difficult for any one national agency to control the space and become omniscient, and more difficult for them to develop attacks which will work globally.

If there is one thing I'd take from this NSA/GCHQ debacle it's that encryption is the only way to stop numerous agencies from accessing the content of your communications and storing them indefinitely. They already want to store everything. If you encrypt they'll have to decrypt first before parsing and your messages, and that's impractical for them on a large scale. I'd love to see a replacement for email that used local encryption to send information completely encrypted (including metadata) from point to point, with no keys on the server, or perhaps no server at all.

Encryption is a way to keep things secret for some time, not forever, it won't keep things safe forever even if it is considered perfect at point of use, as usually flaws are found in protocols eventually, and new ones adopted for that reason. Even if there is an established attack on a given chat program, agencies would have to take the time to attack and decrypt communications specifically, rather than just intercepting them at providers or with line taps. It would prevent a great deal of casual snooping and make things considerably more difficult. So the more protocols and apps the better I think.

In addition to this, I don't think there's anything wrong with people developing chat or encryption front-ends as long as they use established encryption programs to do their actual encryption. That should be the message that is given to people, not that they shouldn't bother using encryption in their products at all, because they're idiots and will get it wrong. Many will get it wrong, but some won't. I wouldn't trust this particular program (no source for a start), but other new entrants might be trustworthy. I don't think there are enough apps in this space now, the more the merrier, and if some of them are broken, that doesn't make it any harder to evaluate a good one if you are an expert in the field, and it will still make things more difficult for security agencies.

If you're not an expert, you'll have to rely on the opinions of people you respect about which programs are trustworthy. I'd love to hear Binney speak for example on which encryption methods he would trust nowadays, as he's likely to have very good knowledge of which ones are harder to break. The most I've seen from him is that they are

"on the verge of breaking a key encryption algorithm."

which just underlines that what is considered trustworthy today will not be tomorrow. So I think that security is a graded scale, not binary, and to insist that only experts should ever get involved with encryption just narrows the field to a small number of companies/experts that government agencies hostile to you can easily subvert.

PS Just seen downthread that you're responsible for this app - https://whispersystems.org/ Looks great and I'll be trying it out when it comes to iOS. Thanks for helping people stay secure.

Re:Crowd steps up to fund 'NSA-proof' app by marshray on Friday July 12, 2013 @01:59AM (#6031169)
having lots of apps though is that it makes it harder for the NSA to subvert the apps or developers

The NSA has had several 10s of $B a year, every year, basically since World War II. This is far greater than the entire public data security sector.

By now they likely have sophisticated internal tools for reversing and analysis. I doubt that it would take long at all for them to develop an exploit for an buggy amateur crypto app. They probably have plenty of new hires and contractors looking for trivial projects to practice on.

Don't get into a war of resource attrition with the most well-funded military on the planet.

Re:Crowd steps up to fund 'NSA-proof' app by podperson on Friday July 12, 2013 @10:58AM (#6032926)
I think we should all just create random sized files of random numbers, encrypt them with reasonably strong encryption, and email them to each other. Asymmetric warfare can work in the digital world too.
Re:Crowd steps up to fund 'NSA-proof' app by grey-area on Friday July 12, 2013 @02:14AM (#6031206)
Don't get into a war of resource attrition with the most well-funded military on the planet.

Wars of attrition seem to have worked very well for a lot of people opposed to the best equipped military on the planet. Actually I think asymmetric warfare is a great analogy here; it's far harder to defeat a war amongst the people than to defeat a standing army, and part of what makes it difficult is there is no central point to attack, no clear lines of control, and no organisation(s) which you can shut down.

Re a buggy amateur crypto app, I'm sure some of them will be buggy, and some of them will be hard to break or use existing crypto which is hard to break. It's a tough subject and not one I'd like to tackle, but I absolutely don't object to others trying, because the alternative is for us to use products from large companies who we have seen will do whatever the US government asks them and call it legal.

Your attitude seems to be that we should just roll over and let the NSA/GCHQ/etc take whatever they want. I disagree.

Re:Crowd steps up to fund 'NSA-proof' app by DanBC on Friday July 12, 2013 @06:58AM (#6031944)
> the alternative is for us to use products from large companies who we have seen will do whatever the US government asks them and call it legal.

> Your attitude seems to be that we should just roll over and let the NSA/GCHQ/etc take whatever they want. I disagree.

That's not at all what is being said. Many good cryptography products are open source. They have companies behind them because crypto is expensive - you need programmers and researchers and attackers and people to respond to security advisories.

"Don't use crappy kludgey crypto for serious uses; use established products instead" is not at all "Roll over and let GCHQ / NSA do what they want".

Re:Crowd steps up to fund 'NSA-proof' app by marshray on Friday July 12, 2013 @02:31AM (#6031246)
You can hardly compare a glut of crappy crypto apps on some app store to the Vietnam War where it took 70,000 body bags on the nightly news (and much higher losses on the other side) to finally get the US to withdraw.

This is basically the ignorant old "NSA has so much data they won't know what to do with it" argument in a slightly different form.

My attitude is that a handful of secure apps is infinitely better than a plethora of bad ones. I'm pretty sure the NSA would prefer the latter.

Re:Crowd steps up to fund 'NSA-proof' app by grey-area on Friday July 12, 2013 @03:13AM (#6031329)
the Vietnam War where it took 70,000 body bags on the nightly news

I was thinking of Afghanistan (21stC, 19thC), but Vietnam would serve. It was your analogy, and the only valid comparison is tactical, not concrete.

I'm not supporting this particular app and wouldn't use it myself (I just use GPG on trust), but do think it's important we have a lot of people trying to work in this space, if only to have sufficient choice to prevent the field narrowing. The worst possible outcome from my point of view is to have just a few apps worldwide for crypto, not just for technical reasons but for political ones.

My attitude is that a handful of secure apps is infinitely better than a plethora of bad ones. I'm pretty sure the NSA would prefer the latter.

I'm not sure that's really the choice we have (a few secure apps OR lots of insecure ones, I'd have an AND in there and some grey area between secure and insecure), and how many crypto apps is too many? 200? 20? 10? 1?

Given the evidence from the PRISM program, which relies on tech infrastructure being localised in a few prominent US companies to give the NSA easy access which they have found very useful, I disagree about a handful of apps being the worst outcome for the NSA. Ultimately the security of cryptography is also dependent on things outside the cryptographers' control (politics, laws, corporate policies in a specific country), and I'd rather have too many cryptographers than too few in the world. Crappy amateur apps, as you put it, is part of that because some of those people might then learn why and how their apps are insecure and make better ones.

Re:Crowd steps up to fund 'NSA-proof' app by marshray on Friday July 12, 2013 @05:08PM (#6035217)
> but do think it's important we have a lot of people trying to work in this space, if only to have sufficient choice to prevent the field narrowing

Yes, I agree with that. As long as we aren't encouraging people to actually use experimental learning projects for critical stuff, or thinking that a diversity of half-baked crypto apps is anything but a birthday party at Chuck E. Cheese for the NSA.

Re:Crowd steps up to fund 'NSA-proof' app by digitalengineer on Friday July 12, 2013 @05:21AM (#6031724)
> the Vietnam War where it took 70,000 body bags on the nightly news

Now you know why for tha last 18 years it was "illegal" to photograph soldiers' coffins. The ban was lifted some time ago: http://www.nytimes.com/2009/02/27/world/americas/27iht-photo...

Re:Crowd steps up to fund 'NSA-proof' app by greedo on Friday July 12, 2013 @10:48AM (#6032869)
This isn't a war of attrition, or asymmetric warfare, this is playing the exact game the NSA is meant to fight. It's like building MIG-21s to take on our F-22. A loser's fight.

I don't think there's any harm in pursuing this as long as expectations are realistic.

Re:Crowd steps up to fund 'NSA-proof' app by lifeguard on Friday July 12, 2013 @03:43AM (#6031397)
To win, all guerrillas have to do is survive.
Re:Crowd steps up to fund 'NSA-proof' app by contingencies on Friday July 12, 2013 @04:48AM (#6031632)
My impression was that guerilla warfare is based upon retreating in to relative anonymity following battles that you pick and win. Unfortunately, using most (any? I don't see any steganography, non-appstore distribution models) of these applications is likely to throw up huge flags on any public communications dragnet...
Re:Crowd steps up to fund 'NSA-proof' app by jnbiche on Friday July 12, 2013 @01:59AM (#6031171)
Two e-mail replacements that aspire toward secure communication with little actionable metadata are Bitmessage and I2pbote (runs over i2p net). Both are very much alpha, and Bitmessage has some significant work to do on how to scale up. But both are also p2p, and both automatically encrypt and decrypt all messages by default. If there are any other e-mail replacements that aspire toward security and anonymity, I'd love to hear about them.

I'm really interested in seeing one of the recently peer-reviewed secure, anonymous DHT e-mail systems (such as [1]) brought to life beyond an academic paper. I think such systems are pretty promising (i2pbote is similar).

1. http://arxiv.org/abs/1203.2668

EDIT: It occurs to me that I don't know enough about i2pbote to confidently call it "alpha" or "beta". So on retrospect, I'll just call it relatively new. But both i2pbote and bitmessage are definitely worth keeping an eye on.

Re:Crowd steps up to fund 'NSA-proof' app by mtgx on Friday July 12, 2013 @04:06AM (#6031480)
FYI Kim Dotcom also said his encrypted e-mail service will arrive by the end of the year.

https://torrentfreak.com/dotcoms-mega-debuts-spy-proof-messa...

Re:Crowd steps up to fund 'NSA-proof' app by grey-area on Friday July 12, 2013 @04:37AM (#6031601)
I'm not sure I trust Kim Dotcom with my email :)
Re:Crowd steps up to fund 'NSA-proof' app by jabbernotty on Friday July 12, 2013 @05:21AM (#6031726)
In what sense? Availability, security, ...?
Re:Crowd steps up to fund 'NSA-proof' app by czottmann on Friday July 12, 2013 @07:40AM (#6032055)
Douchebaggery.
Re:Crowd steps up to fund 'NSA-proof' app by grey-area on Friday July 12, 2013 @08:32AM (#6032215)
In any sense.
Re:Crowd steps up to fund 'NSA-proof' app by gnu_fan on Friday July 12, 2013 @03:27AM (#6031352)
there is big thing comming from gnu: gnunet.org it uses economic model in stead of waiting power on hashcash/proof of work
Re:Crowd steps up to fund 'NSA-proof' app by grey-area on Friday July 12, 2013 @02:14AM (#6031207)
Thanks for the pointers.
Re:Crowd steps up to fund 'NSA-proof' app by DanBC on Friday July 12, 2013 @04:17AM (#6031521)
> In addition to this, I don't think there's anything wrong with people developing chat or encryption front-ends as long as they use established encryption programs to do their actual encryption. That should be the message that is given to people, not that they shouldn't bother using encryption in their products at all, because they're idiots and will get it wrong. Many will get it wrong, but some won't. I wouldn't trust this particular program (no source for a start), but other new entrants might be trustworthy. I don't think there are enough apps in this space now, the more the merrier, and if some of them are broken, that doesn't make it any harder to evaluate a good one if you are an expert in the field, and it will still make things more difficult for security agencies.

I mostly agree. I'm not so keen on the idea of some broken programs being around. Look at the number of people who install spyware browser toolbars or purple monkeys or etc.

But if people are going to do anything creating front ends for existing software, or creating much better easier documentation for existing software would be good.

> So I think that security is a graded scale, not binary,

This is sort of true. People need to risk assess. If they just want to protect their angsty poetry they don't need to do as much work as they would if they were protecting a stash of images of child sexual abuse.

> That should be the message that is given to people, not that they shouldn't bother using encryption in their products at all, because they're idiots and will get it wrong.

The message isn't "avoid all crypto all the time", but "don't kludge together some crypto project and push it into production".

Re:Crowd steps up to fund 'NSA-proof' app by grey-area on Friday July 12, 2013 @11:10AM (#6032976)
The message isn't "avoid all crypto all the time", but "don't kludge together some crypto project and push it into production".

I think we can all agree on that, however because all the big companies who hire experts and provide cryptography services, like Microsoft, Blackberry, Apple and Google, seem willing to give back doors to intelligence services in many countries and undermine the point of using cryptography, there are not many open choices left. I wouldn't really trust a project like the one linked, and see why people have reservations about it. Which projects would you recommend, as I'm genuinely interested? I use GPG for my own limited use, but would love to see a project for end to end encryption for email for example which also handles plain emails. The trick is in getting other people to use it, and that's all in the interface I think, not the cryptography.

I do think (as a sometime user of cryptography for mundane uses) it's worth having other options, and that will mean quite a few partially broken offerings as it's apparently a very subtle and complex topic and very easy to get wrong - I don't see any way round that if use becomes widespread - even the users will undermine it by mistake by not protecting keys etc. However without widespread adoption and easier interfaces for open cryptography, we won't have any choices but very secure encryption which is pre-signed with an NSA_KEY or otherwise backdoored for the NSA's convenience.