by mlmonkey · 1d ago · 0 comments
This is from the time when DES was Da Bomb. It was supposed to be unbreakable. It had 16 rounds of these "shuffle" and "exchange" boxes (I may be screwing up the terms here, so pardon the ignorance). It had been around for a couple of decades and resisted everything thrown at it. Until someone came up with an attack for ciphers built with those specific boxes. And everybody started panicing .... except that this attack worked only on ciphers up to 15 such boxes in sequence, and not 16 (as was the case with DES). His claim was that the NSA knew about the attack, and that's why DES had 16 such rounds of boxes.
His gut feeling was that the NSA is about ~20 years ahead of the rest of the world in Cryptography.
It’s not supported in very many places, but because of him I have used 4096-bit RSAs keys everywhere that I could.
He may have been paranoid, but in cryptography it’s often not wrong to be paranoid. His advice was a decade ago and still mostly holds up today, even if it’s hopefully overkill today as well. But it’s left me feeling more secure everywhere that I’ve used higher-than-recommended key lengths and crypto-standards.
I remember back in 2005, if I recall correctly, without understanding what I'm doing I set opensshd server key to be 8192 in FreeBSD installer and rebooted. I think I waited for server to boot for 5 hours while its trying to harvest entropy and generate said key with that entropy. My reasoning why "why not, its just slightly large number and its more secure this way"
RSA originated in academia and standards were developed within a (highly profitable) private company.
The most secure operating systems, the strongest cryptography, the biggest keys... It's the bare minimum. No expense should be spared.
You're probably less interesting to them than you believe you are.
> NSA worked closely with IBM to strengthen the algorithm against all except brute-force attacks and to strengthen substitution tables, called S-boxes. Conversely, NSA tried to convince IBM to reduce the length of the key from 64 to 48 bits. Ultimately they compromised on a 56-bit key.
" Michael Hayden, a former NSA Director, has since acknowledged the concept of NOBUS:
You look at a vulnerability through a different lens if even with the vulnerability it requires substantial computational power or substantial other attributes and you have to make the judgment who else can do this? If there's a vulnerability here that weakens encryption but you still need four acres of Cray computers in the basement in order to work it you kind of think "NOBUS" and that's a vulnerability we are not ethically or legally compelled to try to patch – it's one that ethically and legally we could try to exploit in order to keep Americans safe from others.
"FIPS 180 was published 1993-05-11[1] and introduced "Secure Hash Standard", an algorithm now commonly known as "SHA-0".
FIPS 180-1 was published 1994-11-07[2] with the sole change of "A circular left shift operation has been added to the specifications in section 7, line b, page 9 of FIPS 180 and its equivalent in section 8, line c, page 10 of FIPS 180."[3] This revised algorithm is known as "SHA-1".
SHA-0 was publicly broken (2^80 down to 2^61) in [4] which was published at CRYPTO '98 (1998-08-23/1998-08-27). As noted in [4], the change in FIPS 180-1 ("SHA-1") to add a circular left shift operation avoids the new attack of [4].
[1] https://nvlpubs.nist.gov/nistpubs/Legacy/FIPS/NIST.FIPS.180....
[2] https://www.federalregister.gov/documents/1994/07/11/94-1666...
[3] https://www.govinfo.gov/content/pkg/FR-1994-07-11/html/94-16...
[4] Chabaud, F., Joux, A. (1998). Differential collisions in SHA-0. In: Krawczyk, H. (eds) Advances in Cryptology — CRYPTO '98. CRYPTO 1998. Lecture Notes in Computer Science, vol 1462. Springer, Berlin, Heidelberg. https://doi.org/10.1007/BFb0055720
omg. I'm stealing this metaphor for personal use.
It just has sovereign immunity to do things that would put the rest of us in prison
the coding styles and research wasn’t particularly impressive
This is what Americans pay them to do, no? I'm sure they do some bad stuff, but mostly I think they do what they're paid to do.
Whatever you pay them, they can make more when not sticking to the law.
Historical evidence repeatedly points to severely illegal acts being perpetrated by US intelligence agencies. And those acts being covered up in all kinds of ways again and again. The fact, this isn't being reported on constantly by investigative journalism, should worry you deeply.
Motivation by money arguably _hasn’t_ been the cause of many of the abuses by these organizations. Government is not a business. More commonly the issue is a “the ends justify the means” rationale, which businesses are also awful at overseeing. It’s a much harder problem to tackle than just controlling profit.
But there is actually a stream of evidence that the Americans - in the sense of the democratic foundation of the US - have lost control of their own military. The voters have actually been relatively clear that they object to all the disastrous overseas adventures. The intelligence community are part of that rogue element. In that sense they aren't doing what the population wants.
I really can't stress enough how fast he was at problem solving. He also had a lot of experience with a wide variety of the most common programming languages, such as C++, Java, Python, Golang and JavaScript. Despite claiming to not be fluent in any of them, I watched him catch very minute syntax mistakes in Python at lightspeed. For some reason he had some kind of love for Zim. He was also conversationally fluent in Farsi.
Most importantly, he claimed to not have been that important. His work was classified, but it was mostly fairly mundane, according to him. He simply didn't like discussing it because people's imaginations go wild about this stuff. He really wasn't trying to fool me. He was socially well adjusted but honestly a bit shy. The thing that stood out to me most about it was just his skill level in general. He easily had big tech senior-level skills, and they had taught him all of this plus Farsi effectively on bootcamp time tables.
I fully expect them to have a literal small army of individuals like this on staff. They're just people, but they're not clowns.
In physics after the introduction to a single business programming language (java in our case), physicists consider computer programming lingua franca, the default expectation is that you can take any algorithm and implement it in the language of your choice (and they would force a few languages depending on the teacher). Not knowing basic complexity theory, or how to automate a computation, or how to check for or ensure convergent behavior, etc are assumed as basic as the alphabet, programming in a physics context was a necessary skill for the upcoming generation, and without all the computer science pedantic language purism flamewars, it was the pleasant programming world, actual diversity of algorithms, not being a data plumber for bigcorp, but you better not help some non-programmer staff physicists out too much, or they might promise to hire you (and do it), but you'd slowly be reduced to and kept busy as their personal programming assistant, and you'd loose touch with actual physics... heard a couple of those horror stories.
Yes physics was the fun computer science course, where you also got to learn about the physics that governs the real world around us. Just like some people chose the easy "economy" or "art" escape hatch in highschool, where you learn, but not that much, you could similarily learn dedicated "computer science" without much else. Studying physics, you'd learn the core and essence of programming (for about half of us who didn't learn programming autodidactically), for the rest of us it was just a recap, or just another language, fine. Studying physics is much more autodidactic compared to other studies. You'll go nowhere if you only read the supplied textbooks.
Some of my university friends took on cheap after-hour language classes to learn Russian or whatever.
You make a 6 year span for the feats described sound crammed, but that doesn't match what I have witnessed in purely civilian context, in myself or others.
It's relatively easy for the US government to classify technology and assets. Public disclosure of technology is as much about posturing as it is about technological readiness. Some years back, the Pentagon announced a project to build a "digital twin" of the entire world, and I'm quite confident they've done that. What makes you think that a massive supercomputer cluster which outperforms state-of-the-art AI systems isn't one of the most highly classified systems out there?
Now, I have no knowledge of such a system, but consider that aerospace--the most widely discussed domain with regards to government classification of technology--is simply one of many domains. Why WOULDN'T they classify such a technology and wait for the public to catch up?
Not to mention the people: who are all the secret ML PhDs that are working for the government building our their secret AI systems?
The amount of AI/ML infrastructure over the years has been massive, created by the general public. The implication that they had a copy of the entire stack, and enough infrastructure to do all of this, is wild. Now, once they had AI, sure. But not even the NSA has the manpower to create that much infrastructure. That would also imply they had a GPU 20 years before we had graphics. The NSA has no need for video games, so that's an unlikely invention. They would need to have their own fab room for custom npu type architecture. At some point. Now, imagine being the only one with mythos or opus 5.5 10 years ago. Would you really leave it for just cracking crypto/military? Or would you realize you could completely topple the entire world economy and become a super power? The later is the only obvious conclusion. A government with THAT much advancement in technology simply becomes God. Also, Snowden: he had this big leak and all he says is "they are spying on you?" I think, "they have an all powerful AI" would be much more important to leak. It implies that presidents of the USA had WAY more power than we ever saw them use.
Politicians best personal strategy would be to launder in the tech into the public sector to make a pretty penny.
in every (ex) communist country the private sector skews young because they're the only ones who grew up in it, this is not some great conspiracy
I guess he's drank the American exceptionalism coolaid then?
I don't have a hard time believing they're ahead of the game compared to what's openly published, or that there's plenty of secrecy and manipulation behind the scenes, possibly coordinated between universities, companies, and governments.
I do, however, have a massive problem with believing that the NSA were ever ~20 years ahead of all other world governments. Or even one year. You're telling me the Russians, Chinese, all of Europe, all universities in the world, collectively, couldn't muster the mathematical process of one US government agency? That's pure conspiracy wrapped up in America worship.
The Russians? No. For the main reason that they are so bad with corruption that they’re probably unable to fund such advanced research without someone embezzling all the money.
China? Definitely the biggest chance of all the ones you cited.
Europe? I highly doubt it. In general, the EU intelligence communities are too used to having access to anything they might need by virtue of their American allies to be motivated to spend enough money to be ahead of the NSA.
I wanted to point out that the guy that posted in 2006 their PoC of breaking SHA1 successfully and claiming that SHA2/256 is also breakable disappeared right after. We still have no idea what happened to them.
The NSA has a history of embracing cryptographic algorithms as winners, or as "more secure" which turn out to be breakable years afterwards. That SHA1 incident wasn't a single occurance, DES wasn't a single occurance.
Potential conspiracy logic dictates that there must be a known attack _either_ for P256 or worse, for Kyber. Personally I would never trust the advisory of the NSA, given their history of actively sabotaging cryptography competitions and standards.
Only time will tell if we have been sabotaged yet another time by the NSA, as has happened 8 times (that we know of) already.
* An instance of them very openly and publicly weakening the key size in DES
* ... but also secretly making DES (more) resilient to differential cryptanalysis;
* their oversight of the SHA0-SHA2 series of hashes, which formalized and strengthened Ron Rivest's MD4 design...
* ... all of which were stronger than MD4 and MD5, and
* they urged adoption of SHA2, which fixes the biggest known flaw in SHA1 (the message schedule, which is susceptible to differential cryptanalysis). SHA2 remains unbroken and may never be meaningfully broken, at least in our lifetimes given the trajectory of compute we're on now.
* Somewhere in there, they orchestrated the Dual EC random number generator, which is not a curve or a cryptography algorithm per se but instead an RNG design. Dual EC is overtly a backdoor; this is the instance we know of where NSA deliberately subverted cryptography.
Most of what NSA does is in fact benign. That doesn't mean you should trust them; that's part of why we do competitions for new algorithms now, rather than what NSA did with the SHA's. SHA3, of course, is not an NSA design.
This whole history is pretty consistent with NSA being 1-2 decades ahead of industry on cryptography. The story you'd tell instead would assume NSA is +Inf ahead of industry.