← Latest papers
💻 computer science

Hidden Ciphers and Where to Find Them: Static Discovery and Assessment of Cryptographic Assets in Software

This paper presents a classification-driven static analysis approach for discovering and assessing cryptographic assets across software systems, demonstrating its effectiveness in identifying vulnerabilities and post-quantum migration candidates to enhance security governance and transparency.

Original authors: Christian Näther, Eduard Hirsch

Published 2026-08-06
📖 6 min read🧠 Deep dive

Original authors: Christian Näther, Eduard Hirsch

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

The Invisible Fortress and the Map to Find It

Imagine every piece of software you use today—your favorite video game, your banking app, even the smart fridge—is built inside a massive, invisible fortress. The walls of this fortress are made of cryptography, a special kind of mathematical magic that locks your data away so only the right people can open it. It's the reason your passwords stay secret and your messages can't be read by strangers. For a long time, companies just hoped these walls were strong enough, but they didn't really have a map to see where the bricks were, where the doors were, or if any of them were made of cardboard instead of steel.

Now, a new threat is knocking on the door: quantum computers. These are super-powerful machines that, in the future, might be able to smash through today's cryptographic locks like they're made of paper. To survive this, organizations need to know exactly what kind of locks they have right now so they can swap them out for "quantum-proof" ones before the bad guys arrive. But here's the problem: these digital locks are scattered everywhere. They are hidden inside lines of code, buried in configuration files, tucked away in secret keys, and mixed into the software libraries that programs use. Without a way to find them all, you can't fix them. This is where a new paper steps in, offering a flashlight for the dark corners of software.

The Paper: A Treasure Hunt for Digital Locks

The paper, titled "Hidden Ciphers and Where to Find Them," introduces a clever new method to hunt down these hidden cryptographic assets. The authors, Christian Näther and Eduard Hirsch, realized that trying to find these locks was like trying to clean a messy room without a list of what belongs there. Some people were looking for specific types of keys, while others were just guessing. The authors decided to build a systematic treasure hunt.

First, they created a classification system, which is like a set of three different magnifying glasses to look at the software. They realized that cryptographic "stuff" comes in three distinct flavors:

  1. Crypto-Material: These are the actual secrets, like the private keys and passwords themselves. Think of these as the actual gold coins in the treasure chest.
  2. Crypto-Artifacts: These are the structured containers, like certificates or digital ID cards that hold information about who is allowed to enter. These are the fancy boxes the coins come in.
  3. Crypto-Invocations: These are the moments when the software actually uses the magic. It's like seeing someone turn a key in a lock or type in a password. This is the action of using the treasure.

To make this hunt efficient, the authors built two main tools. The first is a Rule Repository called "Crypistry." Imagine this as a giant, ever-updating cookbook. Instead of hard-coding instructions into a robot, the cookbook lists exactly what to look for (like "find any file ending in .pem" or "look for the command OpenSSL::Cipher"). This means if a new type of lock appears, you just add a new recipe to the book; you don't have to rebuild the whole robot.

The second tool is the Scanner, named "Crypsy." This is the robot that reads the cookbook and scans the software. It doesn't just guess; it follows the rules to find the material, the artifacts, and the invocations. Once it finds them, it doesn't just list them; it assesses them. It checks if a lock is weak (like a rusty hinge) or if it's a known vulnerability (like a door that's been picked by thieves before). It then spits out a CBOM (Cryptographic Bill of Materials), which is basically a detailed inventory list of every lock and key found, ready for security teams to use.

What They Found and How Sure They Are

The authors tested their robot in two ways to see if it actually worked.

First, they built a synthetic benchmark called "Cryben." This was a fake software system they created where they knew exactly where every single lock and key was hidden. It was like a practice treasure hunt where they knew the answer key. When they ran Crypsy against this test, it found 75% of the hidden items correctly (an F1 score of 0.75). It was very good at finding the actual secrets (the gold coins) but sometimes missed the more complex ways the software used the locks. However, when it came to labeling the problems it found, it was incredibly accurate, correctly identifying 91% of the expected weaknesses and vulnerabilities.

Next, they took the scanner to the real world. They scanned a real IT infrastructure consisting of ten deployed services (including things like GitLab, a CI/CD runner, and a database). They scanned 57,610 files in less than six minutes. In this real-world mess, the scanner discovered 370 cryptographic assets. It found six specific vulnerabilities linked to known security holes (CVEs) and identified 52 items that would need to be replaced to survive the future quantum computer threat.

The authors are quite confident in these results, but they are careful to note the limits. They admit that their scanner is currently best at finding things in Ruby and Go programming languages, and it relies on the "cookbook" (Crypistry) being up to date. If a lock is hidden in a way the cookbook doesn't know about yet, the scanner might miss it. They also found that while the scanner is great at finding potential problems, some of those findings need a human to check if they are actually dangerous, because the scanner can't always tell how a piece of code is being used in the bigger picture.

The Big Picture

This paper doesn't claim to have solved the entire problem of software security. Instead, it offers a practical, structured way to finally see what's hiding in the dark. By classifying the different types of cryptographic assets and separating the "rules" from the "scanner," the authors have created a system that can grow and adapt. Their results suggest that with this approach, organizations can finally get a clear view of their cryptographic landscape, which is the essential first step before they can start swapping out old locks for new, quantum-proof ones. It's a map for the treasure hunt, and for the first time, the map looks like it actually leads somewhere.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →