News for hackers. Stuff that matters.
Re:Debunking NIST's calculation of the Kyber-512 security level by wnevets on Tuesday October 03, 2023 @05:53PM (#37758110)
Correct me if I'm wrong, everything is also being done out in the open for everyone to see. The NIST aren't using some secret analysis to make any recommendations.
Re:Debunking NIST's calculation of the Kyber-512 security level by tux3 on Tuesday October 03, 2023 @06:02PM (#37758214)
Teams of cryptographers submit several proposals (and break each other's proposals). These people are well respected, largely independent, and assumed honest. Some of the mailing lists provided by NIST where cryptographers collaborated to review each other's work are public

NIST may or may not consort with your friendly local neighborhood NSA people, who are bright and talented contributors in their own right. That's simply in addition to reading the same mailing lists

At the end, NIST gets to pick a winner and explain their reasonning. What influenced the decision is surely a combination of things, some of which may be internal or private discussions

Re:Debunking NIST's calculation of the Kyber-512 security level by nvy on Tuesday October 03, 2023 @07:59PM (#37759169)
I was under the impression that only fools trust NIST after DUAL_EC_whatsit.

Is that not the case?

Re:Debunking NIST's calculation of the Kyber-512 security level by ethbr1 on Tuesday October 03, 2023 @08:36PM (#37759498)
You mean ANSI/ISO/NIST and Dual_EC_DRBG, that everyone suspected had a backdoor before it was included as one of multiple options? https://en.m.wikipedia.org/wiki/Dual_EC_DRBG#Timeline_of_Dua...

Or the s-boxes in DES, that the NSA suggested to IBM + NIST's predecessor, so as to be resistant to then-not-widely-known differential cryptanalysis? https://web.archive.org/web/20120106042939/http://securespee...

Re:Debunking NIST's calculation of the Kyber-512 security level by nvy on Tuesday October 03, 2023 @10:03PM (#37760011)
>You mean ANSI/ISO/NIST and Dual_EC_DRBG, that everyone suspected had a backdoor before it was included as one of multiple options?

What's this snarky reply supposed to imply?

>Or the s-boxes in DES, that the NSA suggested to IBM + NIST's predecessor, so as to be resistant to then-not-widely-known differential cryptanalysis?

In your rush to write this oh-so-pithy comment, did you somehow get mixed up and think that when I wrote "Dual EC", I somehow meant s-boxes?

Re:Debunking NIST's calculation of the Kyber-512 security level by bonzini on Wednesday October 04, 2023 @01:11AM (#37761061)
He/she means that there is good things coming out of the NSA/NIST collaborations (another example of SHA0->SHA1, introducing a "mysterious" left shift that made SHA1 much stronger), and the bad ones are caught quickly.
Re:Debunking NIST's calculation of the Kyber-512 security level by sneak on Tuesday October 03, 2023 @11:44PM (#37760614)
One of those things happened after 9/11, and one of those things happened before.

There is a widely held belief that the US IC changed fundamentally in terms of their regard for their own raison d’etre that day.

Re:Debunking NIST's calculation of the Kyber-512 security level by ethbr1 on Wednesday October 04, 2023 @01:37AM (#37761211)
It'll be curious, looking back from the near future, what prompted the next fundamental change.

I'd like to think the US is in the midst of that now, with the Afghan withdrawal and Ukraine war.

Re:Debunking NIST's calculation of the Kyber-512 security level by Ar-Curunir on Tuesday October 03, 2023 @08:22PM (#37759393)
Things have changed quite a bit since then.
Re:Debunking NIST's calculation of the Kyber-512 security level by Attrecomet on Wednesday October 04, 2023 @09:36AM (#37764959)
How so? Or rather, taking change for a given, what are believable indicators that a secret organization outside normal systems of law and publicity has changed _for the better_? After all, the Snowden relevations lead not to the NSA deciding that creating a global panopticon for a super-surveillance state would be a bad idea, but rather them doing their damnedest that never again the American public would be informed of the true scale of their dystopian actions.
Re:Debunking NIST's calculation of the Kyber-512 security level by evil-olive on Tuesday October 03, 2023 @09:29PM (#37759833)
from the article:

> I filed a FOIA request "NSA, NIST, and post-quantum cryptography" in March 2022. NIST stonewalled, in violation of the law. Civil-rights firm Loevy & Loevy filed a lawsuit on my behalf.

> That lawsuit has been gradually revealing secret NIST documents, shedding some light on what was actually going on behind the scenes, including much heavier NSA involvement than indicated by NIST's public narrative.

even if I had never heard of DUAL_EC_whatsit, there's enough here to make me mistrust NIST.

Re:Debunking NIST's calculation of the Kyber-512 security level by mike_d on Wednesday October 04, 2023 @12:18AM (#37760803)
> NIST may or may not consort with your friendly local neighborhood NSA people

It is worth noting that while breaking codes is a big part of the NSA's job, they also have a massive organization (NSA Cybersecurity, but I prefer the old name Information Assurance) that works to protect US and allied systems and cryptographic applications.

In the balance, weakening American standards does little to help with foreign collection. Their efforts would be much better spent injecting into the GOST process (Russia and friends) or State Cryptography Administration (China and friends).

Re:Debunking NIST's calculation of the Kyber-512 security level by justinclift on Wednesday October 04, 2023 @01:57AM (#37761341)
> In the balance, weakening American standards does little to help with foreign collection.

While that makes logical sense, the previous actions of the NSA has demonstrated they're not a logical actor in regards to this stuff, or that there's more going on.

Re:Debunking NIST's calculation of the Kyber-512 security level by jjk166 on Wednesday October 04, 2023 @03:17PM (#37770202)
> In the balance, weakening American standards does little to help with foreign collection.

Though it can be greatly beneficial for domestic collection. Further, so long as the US remains a dominant player in Tech and Tech-influenced fields like finance, odds are a lot of the world is going to be at least de facto using US standards.

Re:Debunking NIST's calculation of the Kyber-512 security level by pclmulqdq on Tuesday October 03, 2023 @05:59PM (#37758180)
There is a final standardization step where NIST selects constants, and this is done without always consulting with the research team. Presumably, these are usually random, but the ones chosen for the Dual-EC DRBG algorithm seem to have been compromised. SHA-3 also had some suspicious constants/padding, but that wasn't shown to be vulnerable yet.
Re:Debunking NIST's calculation of the Kyber-512 security level by tptacek on Tuesday October 03, 2023 @06:06PM (#37758250)
The problem with Dual EC isn't the sketchy "constants", but rather the structure of the construction, which is a random number generator that works by doing a public key transformation on its state. Imagine CTR-DRBG, but standardized with a constant AES key. You don't so much wonder about the provenance of the key so much as wonder why the fuck there's a key there at all.

I don't know of any cryptographer or cryptography engineer that takes the SHA3 innuendo seriously. Do you?

Additional backstory that might be helpful here: about 10 years ago, Bernstein invested a pretty significant amount of time on a research project designed to illustrate that "nothing up my sleeves" numbers, like constants formed from digits of pi, e, etc, could be used to backdoor standards. When we're talking about people's ability to cast doubt on standards, we should keep in mind that the paragon of that idea believes it to be true of pi.

I'm fine with that, for what it's worth. Cryptography standards are a force for evil. You can just reject the whole enterprise of standardizing cryptography of any sort, and instead work directly from reference designs from cryptographers. That's more or less how Chapoly came to be, though it's standardized now.

Re:Debunking NIST's calculation of the Kyber-512 security level by pclmulqdq on Tuesday October 03, 2023 @06:17PM (#37758382)
I do know a few cryptographers who were suspicious of SHA-3 when it came out, but after some napkin math and no obvious hole was found, they were fine with it. The actual goal of that extra padding was to get extra one bits in the input to avoid possible pathological cases.

My understanding of the Dual-EC problem may be different than yours. As I understand it, the construction is such that if you choose the two constants randomly, it's fine, but if you derived them from a known secret, the output was predictable for anyone who knows the secret. The NIST did not provide proof that the constants used were chosen randomly.

Random choice would be equivalent to encrypting with a public key corresponding to an unknown private key, while the current situation has some doubt about whether the private key is known or not.

Re:Debunking NIST's calculation of the Kyber-512 security level by tptacek on Tuesday October 03, 2023 @06:18PM (#37758391)
Who were those cryptographers?
Re:Debunking NIST's calculation of the Kyber-512 security level by adgjlsfhk1 on Tuesday October 03, 2023 @07:14PM (#37758845)
the NSA
Re:Debunking NIST's calculation of the Kyber-512 security level by pclmulqdq on Tuesday October 03, 2023 @08:10PM (#37759292)
This is closer to the correct answer than anyone who writes publicly about cryptography.
Re:Debunking NIST's calculation of the Kyber-512 security level by hovav on Tuesday October 03, 2023 @09:00PM (#37759651)
Even with a verifiably random key, Dual EC is still unacceptable.

First, because its output has unacceptable biases [1,2].

Second, because its presence allows an attacker to create a difficult-to-detect backdoor simply by replacing the key, as apparently happened with Juniper NetScreen devices [3,4].

--- [1] Kristian Gjøsteen, Comments on Dual-EC-DRBG/NIST SP 800-90, draft December 2005. Online: https://web.archive.org/web/20110525081912/https://www.math....

[2] Berry Schoenmakers and Andrey Sidorenko, Cryptanalysis of the Dual Elliptic Curve Pseudorandom Generator, May 2006. Online: https://eprint.iacr.org/2006/190.pdf

[3] Stephen Checkoway, Jacob Maskiewicz, Christina Garman, Joshua Fried, Shaanan Cohney, Matthew Green, Nadia Heninger, Ralf-Philipp Weinmann, Eric Rescorla, and Hovav Shacham, A Systematic Analysis of the Juniper Dual EC Incident, October 2016. Online: https://www.cs.utexas.edu/~hovav/dist/juniper.pdf

[4] Ben Buchanan, The Hacker and the State, chapter 3, Building a Backdoor. Harvard University Press, February 2020.

Re:Debunking NIST's calculation of the Kyber-512 security level by denton-scratch on Wednesday October 04, 2023 @08:23AM (#37764095)
> Even with a verifiably random key

What's a "verifiably random" key?

Re:Debunking NIST's calculation of the Kyber-512 security level by pclmulqdq on Wednesday October 04, 2023 @10:50AM (#37765998)
"Verifiably random" means produced using a process where it isn't possible for you to know the outcome. In this case, saying "the key is [X], which is the SHA-2 hash of [Y]" would allow you to know that they couldn't choose [X] without breaking SHA-2.
Re:Debunking NIST's calculation of the Kyber-512 security level by j16sdiz on Wednesday October 04, 2023 @09:46AM (#37765115)
> The problem with Dual EC isn't the sketchy "constants", but rather the structure of the construction

It's both.

It is bad enough even without the constants

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

Re:Debunking NIST's calculation of the Kyber-512 security level by codr7 on Tuesday October 03, 2023 @06:22PM (#37758443)
My rule of thumb in these situations is always: if they could, they would.

I've seen enough blatant disregard for humanity to assume any kind of honesty in the powers that were.

Re:Debunking NIST's calculation of the Kyber-512 security level by dmix on Wednesday October 04, 2023 @12:11AM (#37760769)
I'm sure the NSA 9-5ers justify weakening standards processes by the fact it's still secure enough to be useful for citizens and some gov orgs but flawed enough to help themselves when it matters at x point in the future.

No one can say they pushed some useless or overtly backdoored encryption. That's rarely how Intel agencies work. It's also not how they need to work to maintain their effectiveness indefinitely.

When the CIA is trying to recruit for HUMINT if they can get claws into anything whether it's a business conference that has a 0.1% chance they'll meet some pliable young but likely future industry insider that may or may not turn into a valuable source then they'll show up to every single year to that conference. It's a matter of working every angle you can get.

They aren't short of people, time, or money. And in security tiny holes in a dam turn into torrents of water all the time.

The fact NIST is having non public backroom meetings with NSA, concealing NSA employee paper authors, generating a long series of coincidental situations preferencing one system, and stonewalling FIOAs from reputable individuals. IDK, if was a counter intelligence officer in charge of detecting foreign IC work I'd be super suspicious of anything sold as safe and open from that org.

Re:Debunking NIST's calculation of the Kyber-512 security level by CyberDildonics on Wednesday October 04, 2023 @10:41PM (#37774327)
Where is your evidence other than your gut feeling from other unrelated news articles?
Re:Debunking NIST's calculation of the Kyber-512 security level by tptacek on Tuesday October 03, 2023 @05:54PM (#37758123)
You don't really know, but you can be reasonably sure that they didn't sabotage the submissions themselves.
Re:Debunking NIST's calculation of the Kyber-512 security level by logifail on Wednesday October 04, 2023 @05:41AM (#37762874)
> everything is also being done out in the open for everyone to see

Well, everything apart from the secret stuff:

"I filed a FOIA request "NSA, NIST, and post-quantum cryptography" in March 2022. NIST stonewalled, in violation of the law. Civil-rights firm Loevy & Loevy filed a lawsuit on my behalf.

That lawsuit has been gradually revealing secret NIST documents, shedding some light on what was actually going on behind the scenes, including much heavier NSA involvement than indicated by NIST's public narrative"

Re:Debunking NIST's calculation of the Kyber-512 security level by londons_explore on Wednesday October 04, 2023 @06:40AM (#37763252)
Thing is... no lawsuit will ever reveal documents directly against the USA's national interest.

Every single document will be reviewed by a court before being opened up, and any which say "We did this so we can hoodwink the public and snoop on russia and china" won't be included.

Re:Debunking NIST's calculation of the Kyber-512 security level by logifail on Wednesday October 04, 2023 @07:15AM (#37763525)
> any which say "We did this so we can hoodwink the public and snoop on russia and china" won't be included

Ever since Snowdon we know it's actually "hoodwink the public and snoop on the public"

Russia and China are just an excuse.