News for hackers. Stuff that matters.
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by kornholi on Tuesday January 14, 2020 @01:26PM (#22047708)
From Krebs tweets:

The NSA's Neuberger said this wasn't the first vulnerability the agency has reported to Microsoft, but it was the first one for which they accepted credit/attribution when MS asked.

Sources say this disclosure from NSA is planned to be the first of many as part of a new initiative at NSA dubbed "Turn a New Leaf," aimed at making more of the agency's vulnerability research available to major software vendors and ultimately to the public.

Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by ct520 on Tuesday January 14, 2020 @02:16PM (#22048226)
more like someone with some commonsense decided to capitalize on disclosing issues when other countries get zero days. Oh well, guess we can't use this anymore Bob, china has been exploiting it over the past week. Call Microsoft lets at least get some free PR in exchange of having to give this up.
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by toyg on Tuesday January 14, 2020 @02:31PM (#22048364)
They have probably done that for a while (this is the first public attribution, not the first disclosure); but they are now blowing their trumpet because they need some good PR. Why?

Snowden.

Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by idlewords on Tuesday January 14, 2020 @03:17PM (#22048817)
Much more likely the bad reaction to Eternal Blue.
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by toyg on Tuesday January 14, 2020 @04:34PM (#22049466)
EternalBlue would have not received that much coverage had it not happened after Snowden proved that the American public cannot trust the agency. They had been dragged to the foreground before without repercussions, because reactions were limited to the IT world. Snowden made it a general-public issue, and now they are forced to to shape up.
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by reaperducer on Tuesday January 14, 2020 @02:27PM (#22048323)
You write that like it's a bad thing.
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by SlowRobotAhead on Tuesday January 14, 2020 @02:52PM (#22048561)
You can do the right thing for the wrong reasons.
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by jka on Tuesday January 14, 2020 @04:29PM (#22049419)
An alternative angle that could make sense is that it shows that they're not purely intent on hoarding exploits (particularly dangerous ones) and are willing to report them to software vendors in order to reduce everyone's risk profile.

That'd be more of a communal-good, de-escalation approach. There's certainly something to be said for the fact that it displays the talent and expertise available too though (i.e. helping for recruitment).

Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by mzs on Tuesday January 14, 2020 @03:37PM (#22049006)
The tweet* from the call with reporters - a cynical person might think instead that NSA thought that with the similarity to the LE and FF flaws it was not much longer before a hostile actor would find this crypt.dll flaw so it was time to notify MS.

* https://twitter.com/briankrebs/status/1217125030452256768

Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by blaser-waffle on Tuesday January 14, 2020 @04:16PM (#22049330)
Didn't the FBI or NSA push for flawed Elliptical Curve Crypto in the past?

Could be the knew about it for a while and had milked it hard until they caught someone else using it. Or like the parent said, previously discovered flaws meant that someone might catch this one, too.

Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by andromeduck on Tuesday January 14, 2020 @04:54PM (#22049631)
It was Dual EC DRBG, a prng
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by mzs on Tuesday January 14, 2020 @04:46PM (#22049563)
There is no evidence that US push flawed curves.
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by alasdair_ on Tuesday January 14, 2020 @06:08PM (#22050184)
>There is no evidence that US push flawed curves.

"Reuters reported in December that the NSA had paid RSA $10 million to make a now-discredited cryptography system the default in software used by a wide range of Internet and computer security programs. The system, called Dual Elliptic Curve, was a random number generator, but it had a deliberate flaw - or “back door” - that allowed the NSA to crack the encryption."

https://www.reuters.com/article/us-usa-security-nsa-rsa/excl...

Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by tptacek on Tuesday January 14, 2020 @06:31PM (#22050323)
"Dual Elliptic Curve" is an RNG, a PKRNG, that works by using a public key to encrypt its state, which is then directly revealed (as public key ciphertext) to callers (for instance: in the TLS random blob). The problem with PKRNGs has nothing to do with elliptic curves; you could design one with RSA as well. The problem is that for a given public key, there's also a private key, and if you have that private key you can "decrypt" the random value to reveal the RNG's state.

That's not a flawed curve that NSA pushed; it's a much more straightforward cryptographic backdoor.

Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by mzs on Tuesday January 14, 2020 @06:20PM (#22050252)
"random number generator"
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by mrguyorama on Tuesday January 14, 2020 @01:38PM (#22047841)
>a new initiative at NSA dubbed "Turn a New Leaf,"

More like "do the actual job they are paid to do"

Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by eyegor on Tuesday January 14, 2020 @01:47PM (#22047937)
They are paid to collect intelligence for the benefit of the american people, not american companies. Luckily citizens united hasn't stretched that far.
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by monoideism on Tuesday January 14, 2020 @02:05PM (#22048123)
Their mission also explicitly includes information assurance:

Mission Statement The National Security Agency/Central Security Service (NSA/CSS) leads the U.S. Government in cryptology that encompasses both signals intelligence (SIGINT) and information assurance (now referred to as cybersecurity) products and services, and enables computer network operations (CNO) in order to gain a decision advantage for the Nation and our allies under all circumstances.

Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by Seenso on Tuesday January 14, 2020 @04:40PM (#22049528)
They've got to balance both roles.

IIRC, in earlier times the government didn't use as much COTS stuff, and civilian computer systems weren't so critical, so the roles were easier to separate. The NSA developed whole series of secret encryption algorithms for the exclusive use of the government/military, and civilian algorithms weren't approved to secure classified communications.

https://en.wikipedia.org/wiki/NSA_cryptography

Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by A4ET8a8uTh0 on Tuesday January 14, 2020 @08:21PM (#22050939)
I always wondered why Barr, Comey and basically every AG I paid attention to, consistently want to break encryption for the populace.

I guess it makes sense proponents of those changes would be ok of breaking it for the proles of they thought their secrets are protected.

Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by thfuran on Tuesday January 14, 2020 @02:54PM (#22048600)
You don't see how a lack of critical vulnerabilities is software infrastructure is of benefit to citizens?
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by diffeomorphism on Tuesday January 14, 2020 @04:19PM (#22049354)
No, I don't see how this is part of foreign intelligence/surveillance/espionage work. It is good that these vulnerabilities are fixed, of course. But shouldn't that be at least a separate partially independent branch of the NSA? Otherwise you get a large conflict of interest.
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by xrayzerone on Tuesday January 14, 2020 @01:41PM (#22047869)
Their job is to collect signals intelligence and execute cyber warfare operations. Not whatever you think it is.
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by mrchucklepants on Tuesday January 14, 2020 @01:45PM (#22047912)
Their job is more than that.

"The National Security Agency/Central Security Service (NSA/CSS) leads the U.S. Government in cryptology that encompasses both signals intelligence (SIGINT) and information assurance (now referred to as cybersecurity) products and services, and enables computer network operations (CNO) in order to gain a decision advantage for the Nation and our allies under all circumstances."

[1] https://www.nsa.gov/about/mission-values/

Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by xrayzerone on Tuesday January 14, 2020 @01:57PM (#22048052)
So...SIGINT and CNO. Exactly as I stated.
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by toomuchtodo on Tuesday January 14, 2020 @01:59PM (#22048075)
Security assurance isn’t necessarily cyber warfare. To have the high ground is not the same as using it offensively, hence the expectation of defensive posture as part of the NSA’s mission (although admittedly some offensive activities are to be expected, depending on the situation, such as Stuxnet and Iran).
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by ericmason on Tuesday January 14, 2020 @01:48PM (#22047943)
Not sure if you’re just being snarky, but the NSA’s stated mission includes helping with cyber security: https://www.nsa.gov/about/mission-values/
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by Ajedi32 on Tuesday January 14, 2020 @02:29PM (#22048343)
It also involves breaking enemy cyber security (signals intelligence).

It's actually a rather fascinating incongruity, since we live in a world where "the enemy" is more likely than not to be using the same software systems that the NSA themselves are, and that therefore any exploitable flaws they find in enemy systems are pretty likely to be just as exploitable in their own. (And that similarly, disclosing the flaw in order to fix the issue in their own systems is very likely to result in "the enemy" fixing the flaw as well.)

A couple years ago the White House released a document explaining the process they use for deciding what vulnerabilities they keep secret: https://www.cnet.com/news/white-house-trump-administration-h... noting that "In the vast majority of cases, responsibly disclosing a newly discovered vulnerability is clearly in the national interest". Though from what we've seen in past leaks, it's pretty obvious they don't reach that conclusion for all vulnerabilities they find.

Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by xrayzerone on Tuesday January 14, 2020 @01:51PM (#22047994)
And what do you think the end state of all that cybersecurity research is?
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by monoideism on Tuesday January 14, 2020 @02:07PM (#22048145)
NSA has long had an explicit offensive and defensive mandate. They even recently created a cyber defense directorate:

https://www.washingtonpost.com/national-security/nsa-launche...

Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by wolf550e on Tuesday January 14, 2020 @02:00PM (#22048084)
NSA has both attack and defense mandates and organizations. Currently, the attack org has priority, but it's not like the defense org does nothing. So if the attack org doesn't want a vuln, they can let the defense org reveal it for PR points.
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by Havoc on Tuesday January 14, 2020 @06:18PM (#22050236)
I like NSA being more active, but the concept of trusting NSA on crypto is just never gonna happen. Their core mandate is being able to break it so the whole concept is a non-starter
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by tptacek on Tuesday January 14, 2020 @06:36PM (#22050356)
This kind of logic is attractive on message boards but makes little sense in the real world.

What NSA needs are NOBUS ("nobody but us") backdoors. Dual_EC is a NOBUS backdoor because it relies on public key encryption, using a key that presumably only NSA possesses. Any of NSA's adversaries, in Russia or Israel or China or France, would have to fundamentally break ECDLP crypto to exploit the Dual_EC backdoor themselves.

Weak curves are not NOBUS backdoors. The "secret" is a scientific discovery, and every industrialized country has the resources needed to fund new cryptographic discoveries (and, of course, the more widely used a piece of weak cryptography is, the more likely it is that people will discover its weaknesses). This is why Menezes and Koblitz ruled out secret weaknesses in the NIST P-curves, despite the fact that their generation relies on a random number that we have to trust NSA about being truly random: if there was a vulnerability in specific curves NSA could roll the dice to generate, it would be prevalent enough to have been discovered by now.

Clearly, no implementation flaw in Windows could qualify as a NOBUS backdoor; many thousands of people can read the underlying code in Ghidra or IDA and find the bug, once they're motivated to look for it.

Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by monocasa on Tuesday January 14, 2020 @07:20PM (#22050626)
I mean, the 0 days in the shadowbroker dumps wouldn't count as "NOBUS" backdoors either, but the NSA was sitting on those like a dragon hording gold.
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by tptacek on Tuesday January 14, 2020 @07:35PM (#22050710)
Those aren't vulnerabilities NSA created, unlike Dual_EC, which is.
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by monocasa on Tuesday January 14, 2020 @07:49PM (#22050792)
Neither is this crypt32 vulnerability, which is part of the analogy the parent comment is making.
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by tptacek on Tuesday January 14, 2020 @07:53PM (#22050809)
NSA disclosed this CryptoAPI vulnerability. What's the lesson to draw from that?
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by monocasa on Tuesday January 14, 2020 @08:01PM (#22050847)
My point is that the structural "NOBUS" framework the parent was trying to construct has glaring, recent counter examples, and can't really be used to holistically describe their behavior over the past couple decades.

Of course I applaud responsible disclosure, and if they continue down that direction they have the possibility of rebuilding some of the trust they've broken in modern times.

Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by tptacek on Tuesday January 14, 2020 @08:16PM (#22050909)
You've lost me. What are the glaring counterexamples to NOBUS? The NOBUS framework says that NSA introduces vulnerabilities and backdoors only when it has some assurance that only NSA will be able to exploit them. It doesn't follow that NSA would immediately disclose any vulnerabilities they discover.
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by monocasa on Tuesday January 14, 2020 @08:51PM (#22051084)
...the parent is literally talking about it in the context of today's crypt vulnerability and using that as example of their cohesive NOBUS framework.

> Clearly, no implementation flaw in Windows could qualify as a NOBUS backdoor; many thousands of people can read the underlying code in Ghidra or IDA and find the bug, once they're motivated to look for it.

The counter examples are the hordes of critical 0 days they've been sitting on, some of which have led to to a body count of five eyes citizens.

Like I said, disclosing is a step in the right direction, but they don't get a cookie for the first major disclosure in decades.

Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by tptacek on Wednesday January 15, 2020 @12:38AM (#22051995)
I don't think anyone should give NSA a cookie. I think it's useful to be able to reason through where NSA is (relatively) trustworthy and where they aren't.
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by saagarjha on Tuesday January 14, 2020 @08:30PM (#22050981)
Right, but in the absence of everyone using their NOBUS-backdoored software presumably the next best thing would be to hoard zero days and hope they can work as pseudo-NOBUSes.
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by tptacek on Tuesday January 14, 2020 @08:34PM (#22051000)
That's certainly true; NSA is chartered to exploit vulnerabilities and certainly hoards them. But that doesn't address the question of whether you should trust NSA "on crypto". Here, they're the ones disclosing the crypto flaw; there's no need to "trust" them, because they're clearly right (Saleem Rashid worked out a POC for this on Slack in something like 45 minutes today).

Should you trust them about Dual_EC? Obviously not: the sketchiness of Dual_EC has been clear since its publication (the only reason people doubted it was a backdoor was that it was too obviously a backdoor; I gave them way too much credit here).

Should you trust them about the NIST P-curves? That depends on who you ask, but the NOBUS analysis is very helpful here: you have to come up with a hypothetical attack that NSA can exploit but that nobody else can discover, otherwise NSA is making China and Russia's job easier for them. Whatever else you think about NSA, the idea that they're sanguine about China is an extraordinary claim.

Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by cafxx on Tuesday January 14, 2020 @06:07PM (#22050180)
> Sources say this disclosure from NSA is planned to be the first of many as part of a new initiative at NSA dubbed "Turn a New Leaf," aimed at making more of the agency's vulnerability research available to major software vendors and ultimately to the public.

Sounds like "we find so many critical bugs... we don't need all of them to achieve our goals, so let's blow some of them for PR"

Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by chance_state on Tuesday January 14, 2020 @06:27PM (#22050287)
I think it's more like, "We find so many critical bugs, let's blow some of them for PR once we discover that adversaries are using them too."
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by swarnie_ on Wednesday January 15, 2020 @05:20AM (#22053099)
Bull.... A more likely scenario is they've been sat on this for years and finally saw another actor using it in the wild.
Re:Patch Critical Cryptographic Vulnerability in Microsoft W... by chance_state on Thursday January 16, 2020 @10:57AM (#22065681)
So... exactly what I said?