News for hackers. Stuff that matters.
Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by efitz on Wednesday June 16, 2021 @01:49PM (#27531384)
Why the heck don’t consumers have a seat at the table while all the 5G technology is being developed? I want open protocols and publicly documented cryptosystems based on published protocols. Instead we are just enabling the surveillance state.
Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by tialaramex on Wednesday June 16, 2021 @03:01PM (#27532185)
Consumers don't have anything useful to bring to this table.

Historically the realisation that you need outside Cryptographers (not consumers) if you actually want to do anything novel with cryptography† was slow to arrive.

Even on the Internet, for PGP and SSL there was no real outside cryptographic design input. In SSL's case a few academics looked at the design of SSLv1, broke it and that's why SSLv2 is the first version shipped. Only TLS 1.2 finally had a step where they ask actual cryptographers "Is this secure?" and that step was after the design work was finished. TLS 1.3 (just a few years ago) is the first iteration where they have cryptographers looking at the problem from the outset and the working group rejected things that cryptographers said can't be made to fly.

And TLS 1.3 also reflects something that was effectively impossible last century, rather than just a bad mindset. Today we have reasonably good automated proof systems. An expert mathematician can tell a computer "Given A, B and C are true, is D true?" and have it tell them either that D is necessarily true or that in fact it can't be true because -something- and that helps avoid some goofs. So TLS 1.3 has been proven (in a specific and limited model). You just could not do that with the state of the art in say 1995 even if you'd known you wanted to.

Now, we need to get that same understanding into unwieldy SDOs like ISO, and also into pseudo SDOs like EMVco (the organisation that makes "Chip and pin" and "Contactless payment" work) none of which are really getting the cryptographers in first so far.

† "But what I want to do isn't novel". Cool, use one of the existing secure systems. If you can't, no matter why then you're wrong you did want to do something novel, start at the top.

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by tptacek on Wednesday June 16, 2021 @04:08PM (#27532894)
I don't think that's true about SSL/TLS. SSLv2, the Netscape protocol, was a shitshow, but SSL3, its successor and the basis for TLS, has Paul Kocher's name on the RFC. The mixed MD5/SHA1 construction is apparently Kocher's doing.
Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by tialaramex on Wednesday June 16, 2021 @07:21PM (#27534617)
If you're claiming that Kocher's involvement in SSLv3 is enough, note that SSLv2 which you called a "shitshow" is the work of Taher Elgamal, who is also a famous cryptographer.

I claim the correct approach isn't "We should hire a cryptographer" although that wouldn't hurt a lot designs, but "We need a lot of cryptographers beating on this". Because of that problem about the easiest person to fool being yourself. That means the outside world needs a good look, and that's one reason the IETF was able to get there first because it's all on a mailing list in public view (well these days it's on GitHub, but if you're allergic that's summarised to the list periodically).

One of the hidden advantages TLS 1.3 has over SSLv2 is that of course today TLS is famous. If you're an academic in the area TLS 1.3 work was potentially a series of high impact journal papers, and thus would do your career good, whereas I can't think even Hellman (who had worked with both Elgamal and Kocher at Stanford) would have had a lot of time for SSL in the 1990s.

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by tptacek on Wednesday June 16, 2021 @07:27PM (#27534655)
Right, so I guess I'm wondering how you reconcile your diagnosis of SSL/TLS needing input from cryptographers with the actual history of TLS. You claim, for instance, that TLS 1.2 was the first instance of the protocol that was actually vetted by cryptographers, which seems clearly not to be the case.
Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by tialaramex on Wednesday June 16, 2021 @07:58PM (#27534836)
I could nitpick that I said cryptographers and we've seen one cryptographer for SSLv2 and one for SSLv3 https://www.youtube.com/watch?v=OwHGE7uhjco

But really that's fair. And it's even possible that the key difference was only ever that we learned along the way how to do this and so any bunch of fools might have developed TLS 1.3 knowing what we did by then, while not even a prolonged public effort could have made SSLv3 good. Perhaps if that's right in ten years every Tom, Dick and Harry will have a high quality cryptographically secure protocol that isn't just TLS...

But I think what I was getting at is that at last TLS 1.2 had a bunch of outside cryptographers critiquing it. It's just that they're too late because it was finished. Some of the things that today are broken in TLS 1.2 weren't discovered years later, they were known (even if not always with a PoC exploit at the time) at roughly the time it was published. Having such critiques arrive during TLS 1.3 development meant the final document only had the problems known and accepted by the group [such as 0RTT is inherently less safe] plus, so far, the Selfie attack. Not bad.

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by caf on Wednesday June 16, 2021 @08:37PM (#27535068)
Consumers in this context doesn't literally mean consumers, it means advocates working in the interest of consumers. Advocates who would do things like insist that the cryptography be looked at by independent experts.
Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by numpad0 on Thursday June 17, 2021 @01:28AM (#27536368)
https://www.3gpp.org/about-3gpp/membership

e: also "3GPP TS 33.501" if you want to read about 5GNR encryption, it's open to us all, time to read through all notwithstanding

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by gruez on Wednesday June 16, 2021 @02:22PM (#27531755)
How does "open protocols and publicly documented cryptosystems" help when the carriers are mandated by law to have backdoors so they can fulfill "lawful intercept" requests? You're better off treating it as untrusted and using your own encryption on top (eg. Signal).
Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by theptip on Wednesday June 16, 2021 @03:27PM (#27532437)
Implementing a legally-mandated wiretap requirement like CALEA doesn't require you to break your protocol (i.e. the transport layer). It is implemented at the application layer, on the server. You can still have cryptographically secure communication between client and server while complying with wiretap laws.

If you're concerned about your government intercepting your communications with a warrant, there's not really anything you can do except move to an E2E encrypted app like Signal. But if you're OK with only being monitored if a judge signs a warrant, then the GP's suggestion helps.

These protocol backdoors are more dangerous than application-level wiretaps because anyone can find and use them; they might be private at first, but once they are discovered there's usually no way to fix them without moving to a new protocol (version).

Protocol breaks seem to me to be more in the category of "added by the NSA through subterfuge or coercion in order to enable illegal warrantless surveillance", which I find much more concerning than publicly-known processes with (at least in theory) established due process like CALEA wiretaps.

> You're better off treating it as untrusted and using your own encryption on top (eg. Signal).

But yes, this is a sensible approach to the world-as-it-currently-is.

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by pope_meat on Wednesday June 16, 2021 @03:53PM (#27532738)
Especially a secret judge, in a secret court.

I always consent to that.

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by corty on Wednesday June 16, 2021 @02:53PM (#27532086)
It doesn't help against the local authorities. But it will help against criminals and foreign authorities. E.g. most of the worlds capitals are packed with IMSI-catchers and passive eavesdropping devices operated from embassies. This spying on foreign soil would be impossible if mobile phones were any good with regards to security.

And signal isn't really very helpful in this scenario, because it doesn't properly protect against MitM attacks.

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by m4x on Wednesday June 16, 2021 @03:25PM (#27532424)
How does signal fail to protect against MITM attacks? Given that it's end-to-end encrypted, wouldn't an attacker have to force a change of keys to MITM you? In which case you should be notified by signal that the keys were recently changed.
Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by corty on Wednesday June 16, 2021 @05:03PM (#27533440)
Signal only implements a very weak form of trust-on-first-use for keys. So there is no authentication and no security for a first contact. Subsequent communication can be protected by meeting in person and comparing keys, which nobody knows about. Signal doesn't ever tell you about this necessity and doesn't have any option to e.g. pin the key after manual verification or even just set a "verified contact" reminder.

Being warned about a changed key is only sensible at all if the one before that was verified. Otherwise, how do you know everything wasn't MitMed in the first place? Also, most users ignore the warning if the next message is "sorry, new phone, Signal doesn't do key backups". Which everyone will understand and go along with because they either don't know about the danger there. Or because they know Signal really doesn't do shit to provide authentication continuity through proper backups.

Signal is only suitable for casual communication. Against adversaries that do more than just passive dragnet surveilance, Signal is either useless or even dangerous to recommend. It is intentionally designed just for this one attack of passive dragnet surveilance, nothing else. Please don't endanger people by recommending unsuitable software.

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by tialaramex on Wednesday June 16, 2021 @10:03PM (#27535509)
> So there is no authentication and no security for a first contact.

Note that the only alternative is to trust a third party to identify people to you. I guess you might have forgotten to mention that. Or, as seems more likely, you don't realise you're trusting a third party... But of course if you do trust a third party to identify people to you, you wouldn't need this Signal feature, so...

> Signal doesn't ever tell you about this necessity and doesn't have any option to e.g. pin the key after manual verification or even just set a "verified contact" reminder.

Signal does, in fact, explain how this works, provide a "Verified" flag you can set on contacts, and automatically prompt you if the Safety Number changes for contacts you've marked as verified, as well as removing the flag if that happens.

> Signal really doesn't do shit to provide authentication continuity through proper backups.

Leaving copies of your data around to enable "authentication continuity" aka enable seamless Man-in-the-Middle attacks is exactly opposite to Signal's actual goal here.

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by corty on Thursday June 17, 2021 @03:18AM (#27536966)
> Note that the only alternative is to trust a third party to identify people to you.

No, the proper alternative is blocking or discouraging sensitive communication until an in-person verification has taken place.

Also, you are always trusting a third party. You have to trust the Signal people (maybe), you have to trust Intel and their SGX (lol, look for some papers on those) and you have to trust your phone vendor. Proper security educates people about whom the are currently having to trust. Spinning it like no third party needs to be trusted for Signal to operate is dishonest.

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by tialaramex on Thursday June 17, 2021 @09:19AM (#27539265)
Earlier you claimed that users will just ignore safety measures, and now you say that of course they'll obey them.

> You have to trust the Signal people (maybe), you have to trust Intel and their SGX

You don't have to trust either. SGX only gets involved if you are willing to trust it in exchange for having quality-of-life features which are optional. The sort of person who never verifies Safety Numbers probably should take that deal, the sort of person who needs Safety Numbers to protect them from the Secret Police should consider carefully.

The most important thing SGX is doing for you is making guesses expensive. If your Signal PIN is a 4-digit number then SGX's expensive guesses make it impractical for an adversary to just try all the combinations, but if your Signal PIN is 12 random alphanumerics then that's too many guesses to be practical anyway even without SGX.

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by hsbauauvhabzb on Wednesday June 16, 2021 @05:52PM (#27533883)
Are there any reasonable case studies of individuals or groups being targeted by pitm of signal?
Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by xxpor on Wednesday June 16, 2021 @03:18PM (#27532336)
>And signal isn't really very helpful in this scenario, because it doesn't properly protect against MitM attacks.

I suppose it depends on where exactly the Middle here is, but for basic MitM of the physical network, if nothing else shouldn't the TLS connection to Signal's servers be sufficient?

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by mytailorisrich on Wednesday June 16, 2021 @03:21PM (#27532373)
Encryption in cellular systems is to protect over-the-air signals. It's irrelevant when it comes to 99% of legal interception because for that law enforcement simply asks the network operator to share the plaintext traffic from within the network.

If you want that no-one be able to evesdrop then yes you have to have your own encryption on top. These days a lot of data already goes through TLS but for instance standard voice calls are obviously transparent to operators.

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by throw0101a on Wednesday June 16, 2021 @02:47PM (#27532030)
> Why the heck don’t consumers have a seat at the table while all the 5G technology is being developed?

A lot of these standards are generally created by industry consortia, and participation in standards setting is limited to companies who are members.

This isn't the IETF where any rando can join a mailing list and chime in on a proposed standard/draft.

IEEE (Ethernet) is somewhere in the middle: you have to be an individual member (though may have a corporate affiliation), and make certain time/attendance commitments, but otherwise you can vote on drafts (and many mailing lists seem to have open archives):

* https://www.ieee802.org/3/rules/member.html

* https://www.ieee802.org/3/

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by oneplane on Wednesday June 16, 2021 @02:09PM (#27531621)
Because of money and or mix of politics and imagined power.

In addition, the systems are vast and complex, too big for one person to capture and understand. This means you get into the area of design teams, business teams, politics and geo stuff by default. Even re-implementing the specification (or most of it) in FOSS is extremely hard, and that's with all the information being publicly available. Designing it is an order of magnitude harder.

Besides the systems in isolation, we also have to deal with various governments, businesses, and legacy and migration paths in both cases.

Ironically, because all of this and the huge amount of people involved, consumers _are_ involved in this. It's not like the GSM, 3GPP etc. don't use their own stuff.

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by mindcrime on Wednesday June 16, 2021 @02:20PM (#27531732)
I want open protocols and publicly documented cryptosystems based on published protocols. Instead we are just enabling the surveillance state.

I think you just answered your own question.

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by Pokepokalypse on Wednesday June 16, 2021 @04:52PM (#27533323)
we don't tend to vote in our own best interest; whether it's politics, or economically.
Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by admax88q on Wednesday June 16, 2021 @03:39PM (#27532563)
Because telecoms have this government supported oligopoly.

It's always been fascinating to me how we have this parallel infrastructure between the open internet and the locked down telecoms. The free for all that is the internet has evolved much more robust protocols, but the telecoms continue to operate in their own parallel problem space, solving a lot of the same problems.

They also fight tooth and nail to prevent being dumb pipes.

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by acdha on Wednesday June 16, 2021 @02:52PM (#27532082)
I think you're mixing up a number of valid concerns which have different threat models: for example, the mass surveillance risks tend to involve things like carriers doing network traffic analysis or location monitoring, and things like open protocols or crypto don't really change the situation there since it doesn't depend on breaking encrypted traffic (unlike in the pre-TLS era when traffic wasn't encrypted).

Similarly, you can develop and document a crypto system but unless you're publicly funding a lot of adversarial research that doesn't prevent something like Dual_EC_DRBG being submitted in bad faith. I haven't seen any indication that the NIST team thought they were developing open standards — it's not like they sent a pull request from nsa/add-secret-backdoorz — and the level of effort needed to uncover these things can be substantial, requiring highly-specialized reviewers. That also hits all of the usual concerns about whether the cryptographic algorithm is secure but used in an unsafe manner, which can be even harder to detect.

The biggest win has simply been that these issues get a lot more public discussion and review now than they used to, and the industry has collectively agreed not to trust the infrastructure. Switching to things like TLS has done more to protect privacy than all of the lower level standards work and that's nice because e.g. a Signal or FaceTime user is still protected even if their traffic never touches a cellular network.

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by a1369209993 on Wednesday June 16, 2021 @11:43PM (#27535952)
> something like Dual_EC_DRBG being submitted in bad faith.

That's a poor example, because everyone (who both knew anything about cryptography and actually bothered to read it) knew or suspected it was garbage. As [0] put it:

> > and Dual_EC_DRBG was an accepted and publicly scrutinized standard.

> And every bit of public scrutiny said the same thing: this thing is broken!

0: https://blog.cryptographyengineering.com/2013/09/20/rsa-warn...

see also: https://blog.cryptographyengineering.com/2013/09/18/the-many...

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by acdha on Thursday June 17, 2021 @09:25AM (#27539303)
True: the angle I was focusing on is the demonstrated interest and willingness to spend time and credibility on it (see also Crypto AG). It’s safe to assume that will continue as society moves further online so we should assume well-funded concealed attempts to compromise implementations will continue.
Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by a1369209993 on Friday June 18, 2021 @02:36AM (#27547920)
> the angle I was focusing on is the demonstrated interest and willingness to spend time and credibility on it

Ah, fair enough. My point was that it's at least not demonstated, if not not true, that you need a lot of adversarial research to prevent something like Dual_EC_DRBG (specifically) being submitted in bad faith - you just need to actually bother to read the crypto specification you're considering adopting, and have the bare minimum competence to notice that there's no benefit to a number-theoretic design besides the ability to prove security relative to some presumed-hard task, and that there is no such proof.

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by IncRnd on Wednesday June 16, 2021 @02:37PM (#27531909)
The reason consumers don't have a seat at the table is that the techology has nothing to do with consumers, other than harvesting consumer's money and data.
Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by firebaze on Wednesday June 16, 2021 @03:21PM (#27532378)
"Consumers" as an opaque crowd wouldn't be able to judge anything this involved. The discussion partners we're talking about are mostly politicians, who are primarily educated in the field of convincing despite having no background at all, referring to higher authority et al. Our typical, maybe even scientifically educated consumer wouldn't be able in the least of realistically forming an opposing opinion, and even if she/he did, it would be a very hard sell against battle-hardened politicians.

This field is too complex even for quite a few if not most IT-centric professions.

From my point of view, we have to put the blame on us. We should treat anyone supporting invasive technologies (in the sense of subverting privacy and basic human rights) as an outcast.

The impression I get (maybe not primarily from HN) is the opposite. We'd not take that job (pay...), but still we appear to honor their efforts. Or we _do_ take that job because of pay on the opposite spectrum.

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by ezekg on Wednesday June 16, 2021 @02:42PM (#27531972)
> Instead we are just enabling the surveillance state.

It's a sad state of affairs. I honestly believe people actually want this, or have at least been conned into wanting it.

Giving up liberty (in this case, privacy) for the guise of safety is all the rage these days

Re:Cryptanalysis of GPRS Encryption Algorithms GEA-1 suggest... by BTCOG on Wednesday June 16, 2021 @03:46PM (#27532657)
Because, it's purposely this way.