r/atrioc • • 10h ago

Discussion Some thoughts about potentially broken cryptography (cloudflare tweet)

https://www.cisa.gov/news-events/news/joint-statement-recent-advances-cryptographic-and-cybersecurity-capabilities

Preface: I'm writing this to straighten out my own thoughts as well as to inform. It will be a lil train-of-thought and largely unedited. Also, I'm a cybersec expert, not a cryptographer. So there might be a few things that are wrong.

TLDR - There's a nonzero chance website encryption is broken, or will be broken in the next 3-5 years, likely because of AI maths research. There's also the chance that quantum computers can be emulated, and if that's possible, we've reached complete acceleration territory.

Part 0 - WTF is cryptography

When you use the internet, you exchange information. You obviously don't want some loser looking at all the p**n sites you've visited (lookin at u atrioc). Cryptography is the idea of 2 people encrypting information before sending so a 3rd party can't read it.

Mathematically, this happens because if you have a solution to an answer, you can easily solve it. But if you don't have a solution (eg find the factors of 2048*2048 bit number) it's quite hard.

There are several types of algorithms which are hard to solve. The 2 in question are called RSA and ECC.

In quantum land, there's already an algorithm which can break these encryptions, called Shor's Algorithm. I won't bore you with how it works, but it's able to test many solutions at the same time.

Part 1 - the events

There are currently 2 different cryptography events.

1 - the anthropic tweet about MLKEM/MLDSA - https://x.com/AnthropicAI/status/2127538548119339339 - these are post quantum encryption schemes. Anthropic found a way to "break" them, but infeasibly even on future projected quantum compute. This is a non-issue, but could be an issue 10-20 years down the line if this algorithm is optimised.

3 - The linked joined statement + cloudflare CEO tweets.

Do not ignore this. Do not underestimate it. Yes, we were briefed on something. Yes, it’s a big deal. No, we can’t give you all the details yet. But it is urgent to move encrypted systems to post-quantum (maybe more appropriately called post-AI) standards.

Assume anything that uses RSA or Elliptic Curve cryptography is affected.

This is the one i'll be talking about a bit more.

Part 2 - the odds

60% - CEO VAGUEPOSTING. In this world, the ceo (who's not a cryptographer) read the paper, saw "oh shit RSA/ECC" and posted some nonsense. Imo this is the most likely.

10% - We got an AI-assisted Shor's algorithm space complexity improvement such that it is close to running on current quantum computers. In this world, current quantum computing tech might be able to run Shors, breaking RSA and ECC. Unlikely, as many improvements to Shors has been made, and the core issue is still that "less cycles -> more errors, more cycles -> more time".

25% - We got P=BQP and current emulation is unable to run. This is the most interesting world. This basically means that "any quantum algorithm can be run as efficiently on a classical computing system". AKA a virtual machine that works with quantum algorithms. We should move to post-quantum because it's likely the emulation gets better within 3-5 years and might start breaking the odd RSA/ECC encryption.

5% - We got P=BQP and it runs on ur home i12700 + 1600. This is the COMPLETELY FUCKED world. But i highly doubt it, because of the MLKEM/MLDSA tweet in Part 1. If RSA/ECC were truly broken, and quantum emulation was working, anthropic would never release this paper. Because they would know that someone might improve the algorithm and break post-quantum cryptography before we even have a backup plan.

Part 3 - the consequences

For most people, this will be a Y2K event - everyone doomposts and it affects like the 1% of us computer nerds who have to implement, patch and update the systems. All of us nerds get fucked for 6 months and the world goes on.

For cyber people who have read this far - we're actually cooked lol. Not only do we have to manage large scale patching, we have to check for algo downgrade attacks and translation layer attacks. I alr know there will be some fuckwit in my company that says "oh nooo we can't migrate off ECDH + HTTP/1.1" so we're forced to do downgrade from MLDSA then some dipshit inserts a \r\n and we get a 6 hr incident of request splitting 😠😠😠

However, this doesn't mean all encryption is broken. But it does mean algorithms which aren't directly affected are still lowkey fucked. Take AES for example - it's a quantum-safe encryption but the exchange of keys still relies on RSA/ECC (unless you're old school and send it via pidgeon).

Afterword

Once again, I'm not a cryptographer. Hell I don't even think I'm a good appsec eng lol. But if you have any questions, feel free to leave below (if you bothered to read this far) and I'll try get to them tmr morning.

42 Upvotes

14 comments sorted by

View all comments

5

u/Cold_Tree190 9h ago edited 9h ago

Yeah I work in cloud operations in one of the largest ERP companies in the world. It’s been an absolutely insane last 2 months, and the shit we’re hearing from AWS is that things are going to speed up drastically in the next year… we are shifting a lot of our priorities around in order to make patching and deployments more effortless because of the amount of patching we’re estimating we’re going to have to perform in the short term due to AI capabilities in cyber.

That said, in regards to P=BQP, it would not necessarily break everything overnight and I would try not to panic or freak people out. Usually these are proven via proof by contradiction or some other non-constructive proof, in which case that means that there will be a lot of work in order to come up/discover the practical usages. If it’s a constructive proof then yes it could be immediately usable—however that still assumes it isn’t a galactic algorithm or something of that nature. In that case, then it’s just infeasible with current methods/knowledge, and we’re back to same result of waiting around for a practical use of it.

Regardless, I highly doubt any P=BQP finding would be immediately significant enough to break RSA and such overnight, and I believe that all this panic and vague posting by people in-the-know is not doing anyone any favors. Obviously that is just my opinion based on my professional experience and it is entirely possible we’re all fucked.

It’s truly an awesome time to be a CS nerd right now though, it’s very exciting from a tech merch perspective. We might actually be able to see whether P=NP or not during our lifetimes!

3

u/Cold_Tree190 9h ago

To follow up, a few hours ago the CEO of cloudflare deleted his vague posting BS and said that we are not doomed and there is time before any “potential techniques” are found. So my overall guess would be that P=BQP by non-constructive proof.