AIFeed

Chinese AI model dives into the deep waters of AI4S, cracking an 18-year-old cryptography cold case in milliseconds

AI summary

On November 20, AI for Science marked a historic day: alongside Anthropic mathematicians and Claude achieving a key breakthrough on the Riemann Hypothesis, the field of cryptography, known for its complex mathematical computations, was also shaken by AI. According to MiniMax's official demonstration, its latest internal model MIM successively broke several NIST cryptography candidate schemes and cutting-edge results newly published at top conferences. In TII McEliece, it directly recovered 94 private keys, 55 of which were cracked for the first time globally, and in terms of the most closely watched decryption efficiency, the speed was directly increased by 43,400 times.

Translation(model translation, not the source's own text)
A domestic model plunges into the deep waters of AI4S, cracking an 18-year-old cryptography cold case in milliseconds
A domestic model plunges into the deep waters of AI4S, cracking an 18-year-old cryptography cold case in milliseconds

On November 20, AI for Science welcomed a historic day: Anthropic mathematicians, together with Claude, achieved a key breakthrough on the Riemann Hypothesis, and on the same day, the field of cryptography, known for its complex mathematical computations, was also shaken by AI.

According to MiniMax's official demonstration, its latest internal model, MIM, successively broke through multiple NIST cryptographic candidate schemes and cutting-edge results recently published at top conferences. In TII McEliece, it directly recovered 94 private keys, 55 of which were cracked for the first time worldwide. In terms of the most closely watched cracking efficiency, the speed was directly increased by 43,400 times.

MiniMax's cryptanalysis results not only drew reposts and attention from members of the Anthropic team, but were also cited as a cutting-edge case by Henry Yuen, a tenured professor at Columbia University and a top international expert in quantum cryptography, in his latest academic talk.

A domestic model plunges into the deep waters of AI4S, cracking an 18-year-old cryptography cold case in milliseconds
A domestic model plunges into the deep waters of AI4S, cracking an 18-year-old cryptography cold case in milliseconds

Caption: Henry Yuen, a professor at Columbia University, cites MiniMax's AI cryptanalysis results as a cutting-edge case in his latest academic talk. Video link: https://www.youtube.com/watch?v=tpTp2WVhgJU&t=558s

Cryptanalysis is regarded by the industry as the "touchstone" for testing whether AI can conduct real scientific research. This is because it requires finding design flaws in publicly available mathematical rules, demands that the model possess zero-tolerance long-horizon reasoning capabilities, and also requires closing the full loop from mathematical derivation and code writing to experimental verification.

Over the past six months, we have seen overseas leaders such as OpenAI and Anthropic continuously deliver "big results" in fields such as mathematics, physics, and biology. This time, a domestic model represented by MiniMax has also stepped into the deep waters of scientific research.

A domestic model plunges into the deep waters of AI4S, cracking an 18-year-old cryptography cold case in milliseconds
A domestic model plunges into the deep waters of AI4S, cracking an 18-year-old cryptography cold case in milliseconds

Modern cryptography can be simply divided into cryptographic design and cryptanalysis. The two are like spear and shield. Cryptography is responsible for "making locks" to protect information security, while cryptanalysis is responsible for "picking locks" to find vulnerabilities. This time, MiniMax is precisely focusing its efforts on cryptanalysis, letting AI play the role of a top "lockpicker."

Many people conflate cryptanalysis with "account theft" or "password cracking," but they are actually not the same thing at all.

What we commonly call "cracking a password" refers to the login credential of a specific account. Hackers obtain passwords by guessing, trying already leaked passwords, or phishing scams, relying on the "secrecy" of the credential itself. Cryptanalysis is different: it studies the entire set of mathematical rules behind data encryption.

The principles of modern encryption algorithms are usually public, just like placing the blueprint of an anti-theft lock directly in front of you. What cryptanalysis needs to do is rely on a superior "mathematical mind" to directly find inherent design flaws in the blueprint, use mathematical approaches to bypass massive computation, derive the key at low cost, or lower its security rating.

It is precisely this characteristic that makes cryptanalysis an excellent testing ground for evaluating the long-horizon reasoning capabilities of large models, because its requirements are extremely stringent.

First, it is difficult because of "zero tolerance." In cryptography, the derivation process often involves hundreds of steps. As long as there is one wrong plus or minus sign in a formula, or one bit missing in the code, the final output will be garbled text. More critically, this derivation cannot remain merely theoretical; it must write code, run experiments, and complete a real closed loop.

Leiphone (official account: Leiphone) discussed this with a cryptography expert who participated in cybersecurity for the Beijing Olympics. He pointed out that a qualified cryptanalysis result must pass five strict checks:

First, the "rules" must be clearly stated: how much data the attacker can see, the upper limit on the number of queries, and how much historical comparison is known must all be specified. On this basis, these conjectures must be convertible into mathematical derivations and executable algorithms. At the same time, the reasoning must be verifiable, able to recover the key, construct a valid forgery, or find a collision, and obtain valid results.

In addition, the computational cost of the cracking must also be stated. How much time, memory, data scale, and computing power this attack consumed must all be known. Moreover, it must be stably reproducible under conventional environments; even if the final result is obtained, interfering factors must be ruled out, and it must withstand third-party review.

Therefore, cryptanalysis is different from ordinary long-horizon tasks. It is not that "all roads lead to Rome"; it is more like solving a rigorous mathematics problem, where every step of reasoning must fit perfectly, and whether the cracking ultimately succeeds also has objective and clear verification standards.

A domestic model plunges into the deep waters of AI4S, cracking an 18-year-old cryptography cold case in milliseconds
A domestic model plunges into the deep waters of AI4S, cracking an 18-year-old cryptography cold case in milliseconds

Half a year of rapid progress: from Anthropic's breakthrough

to MiniMax's sweep

A year ago, if you asked cryptography experts, "Can AI crack cryptography on its own?", the answer would most likely have been no.

At that time, cryptanalysis was stuck in this situation: traditional mathematical solvers such as Z3 only understood mechanical computation and could not handle complex cryptographic structures. And although AI understood some logic, its mathematical foundation was weak, its derivations easily produced "hallucinations," and it simply could not touch the underlying mathematical structure of algorithms. The industry tacitly understood that finding original vulnerabilities still depended on human experts, with AI at most playing a supporting role.

Until July this year, Anthropic rewrote this situation.

They equipped the internal frontier model Claude Mythos Preview with a full set of tools for code writing, symbolic computation, and automated verification, and had it conduct "red team testing" on cryptographic algorithms. As a result, Claude took only 60 hours to dig out the underlying mathematical vulnerability in the NIST post-quantum signature scheme HAWK.

HAWK was originally a candidate for the next-generation encryption standard. Before this, top cryptographers worldwide had subjected it to two rounds of rigorous review lasting more than two years, without finding any problems. After the vulnerability was exposed, the development team withdrew directly from the standard selection the next day.

At the same time, Claude also used self-created algebraic techniques to increase the cracking speed of a simplified test version of the world's mainstream encryption standard AES by 200 to 800 times.

This was the first time AI independently dug out a mathematical design flaw at the underlying level of an algorithm without step-by-step human guidance. Moreover, the speed at which AI produced such complex attack schemes had already become so fast that human experts could not review them in time. In this regard, Johns Hopkins University cryptography professor Matthew Green commented, "The most impressive thing about AI is that it can repeatedly combine and try all existing mathematical tools, checking more thoroughly than humans."

But its limitations were equally clear. At that time, Claude was more like a "semi-autonomous frontier research assistant," and the research direction still needed to be determined by humans. The computing cost was also high, with a single result requiring about $100,000 in computing cost.

To assess AI's cracking capabilities, ETH Zurich, Anthropic, and other institutions jointly built a cryptographic test question bank, CryptanalysisBench, with a total of 191 questions, all taken from tasks in past cryptography competitions.

Among them, Tier1 consists of 49 questions, all basic questions for which humans had long ago found cracking methods, used to test whether AI can replicate existing attacks; Tier2 consists of 142 questions, high-level difficult problems for which no publicly feasible attack scheme had previously existed, specifically testing whether AI can dig out new vulnerabilities on its own.

When the first round of assessment test results came out, the strongest models at the time could only solve 6 to 12 Tier2 questions. The industry generally believed that AI still had a long way to go before it could independently conduct original cryptanalysis.

Unexpectedly, just five months later, a Chinese team broke through this ceiling.

If Anthropic completed the breakthrough from 0 to 1, then MiniMax this time covered a broader scope, testing various types of encryption technologies. From candidate schemes that had participated in NIST international standard selection, to various cutting-edge algorithms used for encrypting files and verifying data authenticity, and to classic mathematical hard problems such as McEliece that are specifically designed to resist quantum computer cracking.

MIM not only found design flaws in the algorithms themselves, but also identified vulnerabilities in more than ten places in official reference code. Moreover, on difficult problems such as TII McEliece and HAWK, where humans had already found cracking approaches, it directly optimized and greatly accelerated the old methods, truly verifying whether the model can draw inferences from one instance.

A domestic model plunges into the deep waters of AI4S, cracking an 18-year-old cryptography cold case in milliseconds
A domestic model plunges into the deep waters of AI4S, cracking an 18-year-old cryptography cold case in milliseconds

MiniMax's three-stage breakthrough

redefines AI cryptanalysis capabilities

MiniMax directly chose the more difficult Tier 2 candidate schemes. They are all candidate schemes that participated in NIST international standard selection, underwent years of public rigorous review by top cryptographic researchers worldwide, and to date no one has found a practical cracking method. Moreover, there were no hints throughout the test; only public papers and reference code were provided, and the model had to find vulnerabilities entirely on its own.

▎First stage: Taking on NIST's "uncracked" question bank and bringing theoretical attacks into reality

Let's start with the encryption algorithm Waterfall-256, which had been left unresolved for 18 years.

It belongs to hash functions. A hash function generates a fixed-length string no matter what content is input, unique like a human fingerprint. Normally, hash functions of different content cannot repeat; otherwise it is called a "collision," meaning the anti-counterfeiting mechanism has failed.

Waterfall-256 was a candidate scheme in the 2008 U.S. NIST international cryptographic standard competition. Its design logic is particularly complex: after data goes in, it must pass through three groups of internal sequences of different lengths that repeatedly interleave and scramble it, and finally it is aggregated and output. At the time, its designers believed this design was chaotic enough and its defenses high enough.

Over the following 18 years, it was indeed never truly cracked. Academia had proposed theoretical cracking approaches, but the required computation was astronomical, impossible to finish even with a supercomputer.

But MIM still identified a hidden pattern. It found that as long as changes in the input data conformed to a certain specific pattern, after layer upon layer of scrambling, the differences unexpectedly would not spread, and the originally unsolvable complex computation became traceable. At the same time, the model also optimized the cancellation logic in the aggregation stage, eliminating the need to run the process twice as traditional methods do to erase traces; it could be completed in a single pass. Combined with techniques to narrow the search scope, it instantly reduced the search volume at each step by 256 times.

As a result, a theoretical attack that originally required a supercomputer running for tens of thousands of years can now be generated on the CPU of an ordinary computer, with a colliding pair taking as little as 3.5 milliseconds at its fastest, and the stable version taking less than 0.05 seconds. A paper conjecture that had been suspended for 18 years has become, for the first time, a real attack reproducible on an ordinary computer.

If Waterfall-256 tested the model's sharpness at finding mathematical flaws, then the NIST post-quantum cryptography candidates LOCKER and ROLLO-I tested how to drastically reduce astronomical amounts of computation.

As a new generation of encryption algorithms specifically designed to resist future quantum computers, the defenses of LOCKER and ROLLO-I are built on a set of ultra-large-scale complex equation systems. If solved conventionally by breaking them apart, the solution matrix alone is as large as 572 million columns, requiring 42PB of memory to store—equivalent to the total capacity of tens of thousands of household hard drives—which is simply infeasible in reality.

MIM takes a more effort-saving angle to decompose the equation system. Leveraging the symmetry inherent in the structure, it can derive multiple other solutions from one computed solution, saving a large amount of repetitive computation. At the same time, before solving, it uses mathematical means to eliminate variables that do not need to participate in the computation, reducing memory usage.

After optimization, the 572-million-column solution matrix was reduced to 2240 columns, and memory from 42PB to 58MB, so that even an ordinary computer can run it. Ultimately, with 12 threads, breaking LOCKER-I took only 1.15 seconds. For the 2019 version of ROLLO-I-128, MIM required less than 2 MB of memory and only 5.97 seconds on a single core.

It also worked out a general set of attack approaches, continuously testing 27 different configurations, 14 of which directly set new academic records.

Beyond uncovering flaws in mathematical principles, MIM also caught more than a dozen fatal bugs that human experts had missed in the official source code of these algorithms. Sometimes, breaking encryption does not necessarily rely on exhaustive computation—programmers writing incorrect code or vulnerabilities in random number generation can also directly render an entire encryption scheme ineffective.

For example, it caught a sign typo in the code of the DRS signature scheme, directly bypassing verification to forge signatures; discovered a random number leak in RQC-128, allowing the original encrypted content to be quickly recovered; and also found various vulnerabilities in memory, parameter configuration, and sampling logic in multiple candidate schemes such as LAC-128, KCL, LEDAkem, and ISAP.

These codes had likewise undergone more than a decade of public scrutiny by the global cryptography community, and no one had ever found the problems; MIM picked them all out in passing while studying the algorithm principles.

▎Second stage: Finding mathematical flaws in cutting-edge schemes from top conferences

If the aforementioned NIST candidates are old exam questions from the past few years, then the winning schemes from recent top cryptography conferences and international competitions are the most cutting-edge encryption designs of today. Before release, these new schemes underwent rigorous mathematical derivation and, in the cryptography community, represent the highest current standard of cryptographic design. Yet MIM still dug out design flaws that human experts had overlooked.

A typical case comes from ARADI, a low-latency algorithm released by the U.S. National Security Agency in 2024.

This is a block cipher. Its principle is to cut data into fixed sizes and repeatedly scramble it over several rounds into ciphertext, and its security depends largely on the "number of rounds." Generally speaking, the more rounds, the harder it is to break. So the cryptanalyst's job is to get through as many rounds as possible; the closer the number of rounds that can be broken is to the total number of rounds, the more vulnerable the algorithm.

Before this, researchers worldwide had tried their utmost and could break at most the first 5 rounds of ARADI. But MIM found a mathematical pattern in the public algorithm parameters that no one had noticed before, directly pushing to round 8, recovering the complete master key in as fast as 2.4 seconds on a single core. At the same time, it set new records for theoretical attack boundaries on rounds 9 to 12.

On this point, a senior cryptography expert pointed out the key to us: ARADI has not yet published parameter design guidelines, so it is temporarily impossible to determine whether it has been completely broken. But the significance of this test directly exposes its underlying mathematical flaws, forcing designers to build more secure schemes.

▎Third stage: 43,400× speedup, AI breaks classic mathematical problems

The breakthroughs in the first two stages are essentially about letting AI find flaws in algorithm design. But cryptography also has a set of classic mathematical problems that have withstood decades of testing and have no obvious design flaws; MiniMax directly shortens the time to break them.

Take the internationally recognized TII McEliece key recovery challenge as an example. The mathematical problem behind it has existed for nearly half a century and is also the core foundation of NIST post-quantum cryptography standard candidates. The challenge library contains a large number of high-level problems that had previously remained unsolved. This time, MiniMax directly recovered the private keys of 94 cases, 55 of which were conquered for the first time worldwide.

More noteworthy is the decryption speed demonstrated by MiniMax. Previously, the best record published at a top international cryptography conference required 9.2 hours to solve one problem; MiniMax's model, on an ordinary 64-core server, solved it in as fast as 1.8 seconds, a direct speedup of 43,400 times.

How did it do it? MIM first dug out hidden mathematical properties from the structure, compressing the scale of the equation system to be solved by up to 6.59 times; then it performed deep code optimization for modern CPU underlying architecture, fully unleashing computing power.

This requires the model to both think like a mathematician and act like an engineer. This combined capability is more intuitive in a horizontal comparison with Anthropic.

Five months ago, Anthropic used a 96-core server to break the post-quantum signature scheme HAWK. This time, MiniMax carried out full-chain optimization for the same target, further reducing the difficulty of breaking it.

In the past, a complex attack often took months or even years from theoretical conception to practical implementation, and even more attacks remained forever in theoretical research. Now, AI compresses the most labor-intensive trial-and-error process in research, allowing the entire pipeline to run in seconds. In the same amount of time, researchers can explore more unresolved problems, and the pace of cryptography research is being changed.

国产模型扎进 AI4S 深水区,几毫秒破译尘封18年密码学悬案
国产模型扎进 AI4S 深水区,几毫秒破译尘封18年密码学悬案

The "handicraft workshop" era of cryptography research,

For a long time, research in cryptography and even the entire basic sciences has been like a "craft" that extremely tests patience.

Reading papers, decomposing formulas, building models, writing code... From the birth of a complex hypothesis to getting it to run, researchers need to strain their eyes and constantly trial-and-error. Which approach is right? When will it run? These are all unknowns.

Now, this "handicraft workshop" style of research pace is being rewritten by AI. It can deeply participate in these execution steps, not only saving humans time on dirty and exhausting work, but also proposing new ideas and discovering design blind spots. AI's role has begun to move from "research assistance tool" toward "co-discoverer of new knowledge."

What changes along with this is the re-division of labor in the field of cryptography. Researchers can focus more energy on research directions, theoretical auditing, and verifying final results, and the scope of research they can cover has become broader.

The players competing in AI4S are also changing. In the past few years, whether it was DeepMind predicting protein structures, OpenAI's formal mathematical proofs, or Anthropic's breakthroughs in cryptanalysis, among the figures charging toward the high ground of scientific research, Chinese players were rarely seen. MiniMax's results this time mean that domestic large models are paying attention to and stepping into the deep waters of AI4S, and also validate the long-horizon reasoning and engineering implementation strength of domestic models.

As the threshold for scientific research is greatly lowered, more and more "one-person research teams" may emerge in the future, and Chinese scientists will also unleash astonishing innovation efficiency, making more substantive contributions to conquering the world's scientific problems.

Reference link: https://MiniMax.cn/blog/practical-cryptanalysis-with-MiniMaxs-latest-internal-model

国产模型扎进 AI4S 深水区,几毫秒破译尘封18年密码学悬案
国产模型扎进 AI4S 深水区,几毫秒破译尘封18年密码学悬案

Leiphone original article, unauthorized reproduction prohibited. For details, see the reprinting notice.

国产模型扎进 AI4S 深水区,几毫秒破译尘封18年密码学悬案
国产模型扎进 AI4S 深水区,几毫秒破译尘封18年密码学悬案

The translation is machine-generated and individual terms may be off. Nothing is rewritten or cut; the original is authoritative.

Published by 雷锋网
This site only summarises and aggregates; copyright stays with the original author. Headlines and summaries follow the source — where they differ, the original wins.
Read the original ↗