· Michal Pietrus  · 4 min read

Cryptographic visibility: a starting point for more than PQC migration

What do the recent PHP2SHELL vulnerabilities tell us about the risks of not knowing where our cryptography is used?

What do the recent PHP2SHELL vulnerabilities tell us about the risks of not knowing where our cryptography is used?

The pace of post-quantum migration varies across markets and industries. Not necessarily because of the complexity of an organisation’s use cases, but because of other priorities, regulatory obligations, or a combination of the two. AI amplification doesn’t make it any easier, as its impact on the entire cybersecurity domain is much more tangible.

Cryptanalisys, the study of analyzing and breaking cryptosystems, accelerated with AI as well. Only this year, it was “effective” against HAWK and Classic McElliece cryptosystems, not to mention Chinese Next Generation Commercial Cryptographic (NGCC) algorithms programme, or the very recent announcement about speedups in breaking RSA-1024.

Cryptographic visibility

It’s highly unlikely that today’s public-key cryptographic standards (ECC, RSA-2048+) will weaken tomorrow, especially the hard mathematical problems underlying them, thanks to which the whole digital space can operate with confidentiality and authenticity.

At the same time, however, few organisations have a complete picture of which cryptographic algorithms are actually in use and where, especially when they’re embedded in codebases, dependencies, or vendors’ products. Not only that, but also how digital trust is being issued and consumed across an organisation’s infrastructure.

There’s yet another, more futuristic reason to discover this territory: the threats arising from the existence of quantum computers. It’s highly unlikely that a cryptographically relevant quantum computer (CRQC) will appear tomorrow. We are still at the Noisy Intermediate-Scale Quantum (NISQ) level.

Different threats, same problem.

The problem isn’t necessarily the cryptography itself, but knowing where it is, how it’s used, and what depends on it.

Should you now know your cryptographic posture and keep track of all your cryptographic assets?

I presume it barely resonates so far, and “cryptography just works”. Well, much like PHP did for decades. Here, it’s worth looking at Calif’s excellent explanation of the recent two PHP2SHELL vulnerabilities. It perfectly demonstrates how something that has worked for decades can suddenly create a threat with business-critical impact. Overnight, some PHP-based services were shut down, some temporarily patched, and some just kept working because nobody knew about them.

Meanwhile, your organisation’s digital services are predominantly discoverable through Certificate Transparency, global logs of X.509 certificates used in WebPKI. With AI-accelerated discovery and reasoning capabilities, the pace of adversarial reconnaissance has increased further. In other words, with Certificate Transparency logs, adversaries can easily discover an organisation’s digital services and explore them further. Shadow IT, exposed administrative interfaces, service misconfigurations, and opportunities for further exploitation.

While it’s higly unlikely today’s public key cryptographic standard will weaken tomorrow, cryptographic standards don’t work in production systems. What works is their implementations, integrations into systems, proper entropy etc. These all function under umbrella of cryptosystems. In practice, cryptosystems are responsible to deliver non-functional requirements/security properties such as authenticity or confidentiality. The whole digital world relies on cryptosystems, having treated them for decades as essentially debt-free systems that would work forever.

So, still the same problem: the unknown territory of where cryptography is actually being used.

Welcome, EASM and/or IASM

EASM stands for External Attack Surface Management, and IASM is, well, Internal Attack Surface Management.

In the case of cryptographic algorithms both are reasonable, but the former, EASM, can deliver value faster. This is because it doesn’t require access to internal infrastructure, deployment of agents, or integration with existing systems.

First, take a look at what pq-map and pq-graph tools can reveal:

They show you the current state of services, certificates, trust chains, and cryptography, but it can also serve as a baseline for tracking post-quantum cryptography migration progress over time. It provides initial visibility that can be further expanded.

At the same time, it doesn’t require launching a dedicated PQC migration programme or committing substantial resources upfront.

This was also discussed in the slide deck below (the recording is also available on YouTube), presented during The Hack Summit 2026.

EASM, a viable bottom-up approach

Historically, cryptographic standards or cryptosystems have rarely been the “weakest link in the chain” exploited by adversaries. Cryptosystems, however, due to their nature, can become a single point of failure with a potentially wide blast radius (see, for example, the recent eMudhra incident impact on the whole WebPKI ecosystem). Knowing where they are is an initial, yet significant, step.

EASM offers a relatively inexpensive way to start building that visibility from the outside. It won’t reveal the entire cryptographic landscape, but that’s not the point. The point is to gradually discover it, but more importantly, to be able to maintain this information and benefit from it.

Its value isn’t limited to PQC migration. The same visibility helps us understand the cryptographic posture today.

Back to Blog

Related Posts

View All Posts »
Eight weak private keys. One global trust problem.

Eight weak private keys. One global trust problem.

Eight compromised CA keys, an entire root removed from browser trust stores, and 30000+ certificate issuances affected. The eMudhra incident raises a bigger question: why should compromising one signing key undermine an entire chain of trust? Is there any other option?

Osiem słabych kluczy prywatnych. Jeden globalny problem z zaufaniem.

Osiem słabych kluczy prywatnych. Jeden globalny problem z zaufaniem.

Osiem skompromitowanych kluczy CA, root cert usunięty z 'trust stores' i 30000+ wystawionych certyfikatów objętych skutkami tej decyzji. Incydent eMudhra rodzi jednak szersze pytanie: dlaczego kompromitacja jednego klucza podważa cały łańcuch zaufania? Czy istnieje inne rozwiązanie?

Classic McEliece pod ostrzałem

Classic McEliece pod ostrzałem

Rok 2026 przynosi szybki postęp w kryptoanalizie doprowadzając do kilku przełomów, które podważyły dotychczasowy margines bezpieczeństwa Classic McEliece.