News for hackers. Stuff that matters.
Re:AT&T has a fiberoptic splitter copying our data to NSA by phlux on Monday March 21, 2011 @01:42AM (#2348625)
So after applying to YC today (worried that I borked my app) I had the following idea - which is an evolutionary idea from the one I applied to YC with, I dont know if this is possible - but I want to throw it out to HN:

I would like to see mobile end-to-end secure communications apps that allow for users to have completely encrypted message passing.

I had the following idea - please tell me if this would work:

You have a distributed truecrypt file system with a client that the users run on their device, and intermediate cloud storage.

Each user device is a "folder" on the file system - messages are effectively truecrypt encrypted files that gave saved out to the remote folder that == the recipient.

The system would notify you that you have a new file that has been pushed to your folder - you can then decrypt and read it.

However - I feel that the weakness would be in the required key/passwd to open the files -- this might not be securable.

It may require that folders between two users have a known password on each eand - and that for every contact/recipient you would have to have a separate key (they could be the same value, but still separate) thus a communication looks like this

[typed mesage] --> [truecrypt'ed file] --> [to: folder] --> [routing engine/store and forward] --> [from: folder] --> [truecrypt decrypt by user] --> [user reads message]

But in a mobile environment...

Anyway - half baked stream-of-thought idea... Why would this not work?

Re:AT&T has a fiberoptic splitter copying our data to NSA by Splines on Monday March 21, 2011 @02:17AM (#2348693)
I think you're trying too hard. There are existing protocols (S/MIME, PGP, Jabber, etc.) for transferring messages in a secure manner. I'd pick the one that fits your scenario and wrap it up in a shiny app.

AFAIK, there are several IM apps that could support encryption, but I don't think they are actually doing so (and if they are, they aren't advertising it). As it is, end-end secure communications is not (I think) on anyone's feature bullet-list.

Re:AT&T has a fiberoptic splitter copying our data to NSA by asharp on Monday March 21, 2011 @09:08AM (#2349467)
eh, there exist plenty of things that are nice and shiny.

I can take pidgin and OTR and with about three minutes worth of "You should click here", have it set up easily enough that even a complete non techy can use it.

The problem is 1) It requires installation and 2) People don't know it exists. (Strangely enough, once it's installed i've never had anybody move back, mostly as pidgin is a fair amount nicer to use then MSN)

Re:AT&T has a fiberoptic splitter copying our data to NSA by phlux on Monday March 21, 2011 @02:33AM (#2348730)
You may be right, however one advantage of this method is that any messages and files are seen as exactly the same: a secure truecrypt encrypted file transfer.

No differentiation between a txt or file...

Re:AT&T has a fiberoptic splitter copying our data to NSA by biot on Monday March 21, 2011 @03:59AM (#2348857)
Truecrypt is a container for storing a collection of files. Unless you're interested in the deniability aspects of Truecrypt where an alternate passphrase yields decoy data, off-the-shelf SSL with sufficiently large keys is more than adequate to secure the transport layer. I suspect your biggest challenge there would revolve around key authentication to prevent MITM attacks.
Re:AT&T has a fiberoptic splitter copying our data to NSA by jerf on Monday March 21, 2011 @10:45AM (#2349900)
In the context of this discussion, you are talking about creating a crypto solution that prevents the NSA from sniffing your customers. Not a casual packet sniffer, the NSA. This is not the time to be running off and implementing your own crypto!
Re:AT&T has a fiberoptic splitter copying our data to NSA by mburns on Monday March 21, 2011 @02:44AM (#2348747)
Freenet, Phantom or Tor. Pick one and make it easier for people to use. Designing a whole new system isn't what we need, a "just works" system is.
Re:AT&T has a fiberoptic splitter copying our data to NSA by pyre on Monday March 21, 2011 @02:58AM (#2348774)
How do you know that the NSA isn't listening to those? It would seem more appropriate to make public-key encryption easier to use. There are already well-defined ways to use it with email, and there's OTR for IM that could be applied to multiple protocols. Granted, only the contents of the communications are hidden in these cases, but that's a big step forwards.
Re:AT&T has a fiberoptic splitter copying our data to NSA by khafra on Monday March 21, 2011 @07:55AM (#2349291)
I'm sure the NSA is listening to Freenet, but it doesn't matter. That's the advantage of Freenet.

Among the disadvantages of Freenet are that it's incredibly slow, difficult to find content on, and cannot access content on the regular internet.

Re:AT&T has a fiberoptic splitter copying our data to NSA by davidandgoliath on Monday March 21, 2011 @05:43AM (#2349025)
Everyone is listening to TOR, always ensure that encryption is in use. Always ensure encryption is in use anyways with anything important.
Re:AT&T has a fiberoptic splitter copying our data to NSA by marshray on Monday March 21, 2011 @02:19PM (#2350937)
Furthermore, always ensure authentication is in use with anything encrypted.
Re:AT&T has a fiberoptic splitter copying our data to NSA by sabat on Monday March 21, 2011 @03:19PM (#2351145)
I know of Freenet and Tor, but haven't heard of Phantom. Because the word 'phantom' returns a huge number of irrelevant Google results, I haven't been able to find the project. Care to throw us a pointer?
Re:AT&T has a fiberoptic splitter copying our data to NSA by mburns on Saturday March 26, 2011 @10:31PM (#2373955)
Re:AT&T has a fiberoptic splitter copying our data to NSA by asciilifeform on Monday March 21, 2011 @11:08AM (#2350050)
You will have a "car accident."

Well, actually you won't, but only because you will "listen to reason" when some well-dressed uninvited guests come over for an evening chat.

Call me mad, but do you ever wonder why there is no consumer hardware PGP telephone?

Re:AT&T has a fiberoptic splitter copying our data to NSA by pdenya on Monday March 21, 2011 @11:16AM (#2350087)
This phone doesn't exist because there's not a market for it. I definitely wouldn't buy that. I, like a lot of others, don't have anything to hide from the government so even though I oppose the wire-tapping i'm not going to inconvenience myself to keep arbitrary data and idle chat secure.
Re:AT&T has a fiberoptic splitter copying our data to NSA by asciilifeform on Monday March 21, 2011 @12:01PM (#2350276)
We'll meet in the labor camps one day and have a good laugh at each other's expense.
Re:AT&T has a fiberoptic splitter copying our data to NSA by sabat on Monday March 21, 2011 @03:16PM (#2351136)
As if they'd let you live.
Re:AT&T has a fiberoptic splitter copying our data to NSA by viraptor on Monday March 21, 2011 @06:08PM (#2351869)
> do you ever wonder why there is no consumer hardware PGP telephone?

Not on the analogue phone. But you can easily get a TLS-enabled or ZRTP-enabled hardware or software VoIP phone. Many vpbx providers will also provide you with a vpn tunnel endpoint if you ask about it often enough.

Also, since the analogue phone PSTN interface is pretty trivial to handle, there are multitude of analogue encryption boxes which work as an adapter to the line. Plug & play. You could even use a pc to compress the voice on one side, encrypt, send over an established modem connection and decrypt on the other side.

You don't need the analogue phone itself to do that at all.

Re:AT&T has a fiberoptic splitter copying our data to NSA by asciilifeform on Monday March 21, 2011 @06:29PM (#2351947)
> Not on the analogue phone.

And not on a consumer cell phone, either.

> But you can easily get a TLS-enabled or ZRTP-enabled hardware or software VoIP phone.

In theory, arbitrarily strong/usable encryption products can be marketed within the USA.

In practice, from this list:

A) Usable by non-experts (requires no software fiddling, hardware mix-and-match, or other wastes of time)

B) Based on uncrackable/de-facto uncrackable cryptosystem (One-time pad, Public Key - respectively)

C) Affordable by / marketed to ordinary people

We are permitted to choose only TWO.

>...the analogue phone PSTN interface is pretty trivial to handle, there are multitude of analogue encryption boxes which work as an adapter to the line.

Analog "scramblers" are a joke. Any seriously-interested party can crack any and all of them without breaking a sweat.

>...use a pc to compress the voice on one side, encrypt, send over an established modem connection...

Sure, you can use a PC. But if you package this up as a pure-hardware solution usable by anyone who already knows how to use a telephone, certain people will take steps to ensure that your product does not stay on the market.

I do not know what the penalty is for violating the "gentleman's agreement" between the NSA and the electronics industry. But I would not care to find out.

Re:AT&T has a fiberoptic splitter copying our data to NSA by viraptor on Tuesday March 22, 2011 @06:15PM (#2356785)
Example of a system doing A+B+C -> Skype. You can claim that they have some way to clone the traffic for NSA use - maybe they do, but from the technical point of view - they satisfy the requirements. It also relies on Skype doing proper authentication / identity presentation.

Hardware-only plug & play box will never work here. You actually have to know something about the connection - information provided out of band. And I don't think most people would accept pressing ~150 digits on the pad as an easy solution.

Analog encryption does not end on scramblers and they don't have to be a joke. As mentioned before, put 2 modems together, apply gsm encoding and any digital encryption you want.

There's a lot of FUD here. If you come up with a proper system, black vans will take you away; NSA has gentelman's agreement; your product will disappear from the market; etc. etc. I don't think you can prove any of it and I can't disprove it either, so I'd rather stay with things we can be sure about.

Re:AT&T has a fiberoptic splitter copying our data to NSA by asciilifeform on Tuesday March 22, 2011 @06:41PM (#2356877)
> Skype

If it doesn't have backdoors now, it will soon. The remote-intercept capability mandate for land line phones is in the process of being extended to all commercial VOIP.

> Hardware-only plug & play box will never work here.

This looks like an example:

http://en.wikipedia.org/wiki/Secure_Terminal_Equipment

Or, for that matter, this:

http://www.gdc4s.com/content/detail.cfm?item=32640fd9-0213-4...

> I don't think you can prove any of it

Naturally.

But the absence of any easy-to-use/uncrackable/provably non-backdoored secure voice phone on the market is proof enough for me.

Re:AT&T has a fiberoptic splitter copying our data to NSA by viraptor on Wednesday March 23, 2011 @08:08PM (#2362117)
> But the absence of any easy-to-use/uncrackable/provably non-backdoored secure voice phone on the market is proof enough for me.

If you have to worry about being monitored by government, a super secret phone will not help you anyways. If it's worth doing, your room / furniture / clothes / windows are already bugged and all you say will be recorded before it hits the phone. I really think a provably secure phone is a non-issue.

Re:AT&T has a fiberoptic splitter copying our data to NSA by asciilifeform on Thursday March 24, 2011 @11:06AM (#2364368)
If it's worth doing, you will be caught and tortured. "Extraordinary Rendition."

The worth of the phone is to prevent you from turning into someone who ought to worry in the first place.

Bugging room / furniture / clothes / windows is expensive.

The NSA is known to use voice recognition and keyword search. It is no longer necessary to already be a target in order to be extensively and intelligently eavesdropped on.

Re:AT&T has a fiberoptic splitter copying our data to NSA by StavrosK on Monday March 21, 2011 @08:18PM (#2352315)
How would a phone use an OTP? Would you send the key by carrier pidgeon to the guy every time you wanted to make a phone call?

There's absolutely no way to get security without some sort of verification by the user. At the very least, you need someone to verify that the keys are correct "can you read me your phone's security serial?". It shouldn't be too hard to create affordable, usable phones based on PKC. The problem is that nobody cares who listens to their conversations, because it's all "where are we meeting tonight/that movie was shit/i can't believe X did Y".

Re:AT&T has a fiberoptic splitter copying our data to NSA by noahl on Monday March 21, 2011 @09:20PM (#2352542)
Public key cryptography seems like the wrong choice for phones, because it's relatively computationally intensive, and you'd want a phone to use the cheapest hardware imaginable. However, there is an alternative that would work.

You can use a symmetric cipher (AES is the current standard), and exchange keys via Diffie-Hellman key exchange, which is a method of securely generating a shared private cipher key over a public channel.

As I understand it, the primary advantage of public key cryptography is that it makes encryption and decryption asymmetric processes - i.e. everyone can encrypt something using your public key, but only you can decrypt it, because only you know your private key. In the phone case, the asymmetry would actually be annoying, because both parties want to send encrypted messages to each other, so you'd have to deal with two key pairs for each phone conversation.

See http://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exch... and http://en.wikipedia.org/wiki/Advanced_Encryption_Standard .

Re:AT&T has a fiberoptic splitter copying our data to NSA by StavrosK on Tuesday March 22, 2011 @04:41AM (#2353589)
That's how most encryption protocols work now, by exchanging symmetric encryption keys at the start. There are protocols to do this, PGPfone was written in the 90s.
Re:AT&T has a fiberoptic splitter copying our data to NSA by asciilifeform on Monday March 21, 2011 @08:56PM (#2352443)
> How would a phone use an OTP?

A year of 9600 baud is ~36.1 GB.

Hand-deliver a flash stick once a year.

Obviously this is not a solution for everyday telephony between strangers. But RSA could be.

> nobody cares who listens to their conversations

This is true mostly because seriously caring is at present impractical.

Re:AT&T has a fiberoptic splitter copying our data to NSA by trotsky on Monday March 21, 2011 @02:43AM (#2348745)
the issue is that the client runtime environment is poisoned as well
Re:AT&T has a fiberoptic splitter copying our data to NSA by phlux on Monday March 21, 2011 @02:58AM (#2348775)
Suspecting as much
Re:AT&T has a fiberoptic splitter copying our data to NSA by trotsky on Monday March 21, 2011 @03:08AM (#2348794)
Re:AT&T has a fiberoptic splitter copying our data to NSA by Estragon on Monday March 21, 2011 @10:17AM (#2349750)
Not sure what your point is, here. I listened to it, and it was very interesting, but the speaker has actually implemented encrypted communications on Android, so he clearly isn't too worried about it being poisoned.
Re:AT&T has a fiberoptic splitter copying our data to NSA by trotsky on Monday March 21, 2011 @12:05PM (#2350311)
I'm not sure there is one perfect 100% answer for that question, but I might suggest "that was then, this is now?"

https://twitter.com/#!/moxie__/status/48185775111684096

It is probably worth noting that the speaker (and tweeter) has had some significant delays in the last year while clearing customs.

Re:AT&T has a fiberoptic splitter copying our data to NSA by Estragon on Monday March 21, 2011 @01:41PM (#2350723)
Oh, I've no doubt that the authorities dislike him. The SSL certificate story made that clear. :-)