I will first caveat this blog post with the fact that I am by no means an expert when it comes to cryptography. I leave that to those who have a far better skill at this area that I have. I know just enough to get by (or so I imagine).
Over the past week Post-quantum Cryptography (PQC) has been the centre of quite a bit of attention. Last week we had the run up to Anthropic's paper, which created a lot of hype and speculation. Thankfully that turned out to be nothing concerning in terms of the real world.
And then again this week we had the US government department (NSA) publish an advisory to migrate to Post-quantum Cryptography, along with an Executive Order. In addition CISA (a US government agency) also published their own advisory as well.
In the UK, the National Cyber Security Centre (NCSC), also published their own advisory.
In addition there was a joint statement from well established industry vendors (Amazon, Anthropic, Apple, Cloudflare, Google, Microsoft, OpenAI, and Oracle).
The Hype and FUD
One thing that certainly has stood out over the past week is the amount of Fear, Uncertaintity and Doubt (FUD) as well as scare mongering. Prior to the release of Anthropic's paper on Monday, there was certainly an element from some (even from mainstream media) that RSA was broken as a result the "Internet was broken". This turned out to be false. Fast forward to this week, we see a similar set of events play out in a similar fashion.
What is important is to wait for the details to become available, before passing assessment of what the impact would be. It could be terrible, but equally it could end up being nothing (only to cause panic and alarm about nothing). I guess what I'm trying to say is keep a level head, and assess the situation once you have further details. All the hype and FUD do is create unnecessary noise, as well as create a scenario of "crying wolf". I've blogged about this in past blog post.
The Reality
Now I'm not saying that you shouldn't pay attention to the recent announcements and advisories published this week. Given they have been published by US and UK government departments, as well as known industry vendors, there is credence to what is being said.
However, I must stress this (as do the government advisories), at this current point in time there is no reason to panic. There's also no indication that the current cryptographic algorithms that we deem to be secure today, have been broken.
The reality however is that technology is advancing at an incredible pace. Especially regarding the advancement of Artificial Intelligence (AI), as well as Quantum Computing. I'm less concerned about Quantum Computing than I am about AI. The reason is simple, Quantum Computing has been around for a while (years now), along with talk of the impact that it will have on security. AI itself has also been around for some time now (decades in fact). However the advancement of generative LLMs (Claude, OpenAI, as well as open models) has accelerated rapidly over the course of a couple of years.
Now I want to be clear again. AI is not going to magically cause the end of the world, as the catastrophe that it sometime portrayed (along with the marketing hype from some vendors). However I have seen first hand the role that it could potentially play. The issue is not so much new and ingenious findings, but rather the speed that it is able to operate at. And doing this in a manner that contains a co-ordinated approach (i.e. the intelligence part, the ability to have context and put the pieces together).
So where am I going with this? Well the reality is that today we are OK. But that could change in the matter of months, weeks, or even days due to the rapid advancement of the technologies.
Coming back to the point of this post. What does this mean? Well for now we are safe. However there is a reason why US and UK government departments have published this advice with a sense of urgency. Why? We don't know, so could only speculate. Could it be that they have seen evidence that our current non-PQS algorithms have been broken? Possibly. But until we have the details, we can only speculate. This doesn't really help much. Far better is pay attention to their advice, and focus on what we do know.
So what do we know?
- Technology, especially regarding is evolving at a rapid pace.
- Cryptographic algorithms almost always become insecure as technology evolves (DES, 3DES, SSL, etc.). For the most part cryptographic algorithms have a form of a shelf-life.
- Threat actors are also leveraging the advancements of technology, especially AI (not so much quantum computing, well as far as I'm aware at least).
- Security is not just solving today's problems, it's also looking ahead and trying to get ahead.
- Things can literally change overnight. Vulnerabilities and other flaws get disclosed (often in a manner that means this is less of an overnight issue), or happening more often now, leaked (this is where it can change overnight).
What Next
So what's my advice? Well for a start take the notice of the advice that has been given and who has given it. There is some reason why they have published this. However, I feel that this is a push to help protect organisations for the near term future. If you look at the messaging with sentences such as:
Keeping to these deadlines will significantly increase the likelihood that your systems will be protected from any potential threats.
As well as:
For most users and systems, it remains important to improve their overall cyber resilience, while ensuring a measured approach to PQC migration is taken.
To me this isn't messaging to cause panic and distress. It points to taking action today to protect yourself tomorrow (I don't literally mean tomorrow here, but rather for the near term future). If you take a look at how modern encryption works, especially regarding encryption for data transmission (primarily TLS) it starts making a lot more sense.
TLS relies on several cryptographic algorithms:
- The cryptographic algorithm used to sign the digital certificates that are used in the TLS protocol. These certificates validate the server as well as sometimes clients connecting to the server (mutual TLS).
- Cipher suites, which are in turn made of 3 cryptographic algorithms:
- Key exchange algorithm – this is the algorithm which the client and server share the same encryption key used to the symmetric encryption of the data in TLS session.
- Symmetric encryption algorithm – the algorithm that performs the actual encryption of the data. This is referred to as symmetric encryption since the same key is used to both encrypt the data, as well as decrypt the data. This ensures the confidentially of the data being transmitted (the data appears scrambled garbage to anyone else looking at it).
- Message authentication – this is typically a hashing based algorithm. This is to ensure the integrity of the data (that no one has tampered with the data).
So breaking TLS will be possible in a few ways:
- Break the signing algorithm used to sign certificates – can then intercept the TLS connections, and be able to view as well as modify the data.
- Break the key exchange algorithm – this one depends on the flaw, and other details. But basically could result possibly:
- Could intercept TLS connections (view the data and modify it).
- Could take the data offline and then break it to view it (this is essentially the weakness of the RSA key exchange, i.e. perfect forward secrecy).
- Break the symmetric encryption cipher algorithm – essentially the same as breaking the key exchange algorithm.
- Break the message authentication algorithm – ability to tamper with the data. But if you are unable to view the data, this is largely of little use to a potential attacker on it's own. So really not something to worry about.
Looking at the recent guidance, it points to something in the future. Today we are safe, that may not be true tomorrow. So looking at the possibilities, it's point to the case where attackers could collect the encrypted traffic and data, store it and wait for advancements to then break those encryption algorithms to be able to view the plaintext data (tampering at this point become irrelevant). This is referred to as harvest now, decrypt later (HNDL).
While there has been a push to get organisations migrated to Post-quantum Cryptography, something has caused these latest advisories to notify organisations to accelerate this effort. Possibilities could include:
- Technologies have advanced today such that it allows them to break these algorithms (besides what they have told regarding being safe today). This is unlikely to be the case in my opinion.
- These government agencies and departments have observed a larger operation to collect the encrypted data, pointing to an effort that something is underway to break this in the near term future. If we consider who most likely threat actors could be, nation states, as they would be the ones with the capacity and resources to do so.
- No observations have been made, but seeing the rapid escalation of technology, and they have determined it's only a matter of time before these algorithms are broken.
- Something else.
Acting Now, Preparing For the Future
As stated above, I think that the intention is to take action now, so that in the near term organisations will be in position to protect themselves and their customers. Given that data could be harvested today, and then broken tomorrow, the risk is that anything today is not secure. Think about your login details. Today these are safely encrypted. But say some threat actor takes that encrypted data today, and in 6 months time the algorithm is broken (likely AI or post-quantum advancements), they now have your login details since they can decrypt that from the traffic that was captured 6 months ago.
This is even worse when you consider if the algorithm is broken overnight (say in 6 months time). Not only would you have to scramble to change to a secure cryptographic algorithm, you have to consider you system potentially compromised. So would need to change passwords, as well perform an audit to make sure that no threat has entered your system. You can see how this could quickly escalate. So planning and acting today will save you tomorrow. In my opinion, it is only be a matter of time before the current cipher suites are broken. This is the natural lifecycle of technology advancement, which we've seen play over the past decades.
The Playbook
So what to do today? Put a plan into place:
- Don't try tackle everything at once. This will likely overwhelm you and teams. Not to mention potentially introduce outages and other related issues (e.g. incompatible clients). Have a plan that will break it down based on risk. Focus first on the most critical services, which are public (Internet) facing. Then work on the next batch, less critical Internet facing. Internet facing systems will be your immediate risk. From there focus on your critical internal systems, and then the remainder of your internal systems.
- Perform an inventory first. Asset management (know what you have where) is a critical part of security. Understanding where you don't have support for PQC will help you plan accordingly. This will also help you in future to know what you have where (based off history, this will no doubt keeping happening over the years). Another important part of this is that it will also help you plan the steps that you need to take to enable PQC on those systems. Modern and well supported systems should be straightforward to configure. Older systems are likely going to be a significant problem as the may not have support for PQC algorithms (you want TLS v1.3 here, TLS v1.2 and earlier are not good for PQC). So your plan would need to include upgrades or decommissioning of these older technologies and systems.
- Also important is to understand what your vendors are doing. SaaS (Software as a Service) provides will need to make the changes themselves. Software providers will need to provide you with the appropriate updated versions if they don't already contain the support for PQC algorithms. You will also need to understand what your cloud providers are doing as well, including what options they are providing to you.
- Plan accordingly. This will include both the execution, but also what teams need to be involved. What communication needs to happen. What you need to communicate to your customers, and what action you may requirement them to take. And of course who to implement the changes to ensure that your systems will only support PQC algorithms.
- Finally execute on the plan.
During this effort make sure that you continually look out for any announcements and news.
As you can see, this is not something that will be able to be done overnight for most organisations. And hence the need to start acting now. But all the while, remember to focus on the facts. Today we are safe. That could change tomorrow. We need to prepare for tomorrow. Ultimately the most important is keeping your users and customers safe.
This is a long rambling, and my first blog for quite some time. But if it helps at least 1 person, I will take that. And enjoy the wild ride that we are all on!