MiniMax’s Internal MIM Model Conducts In-Depth Cryptanalysis, Cutting Multiple Attacks to Seconds
MiniMax has officially demonstrated its internal MIM model analyzing various cryptographic schemes, reducing the Waterfall-256 collision attack to as little as 3.5 milliseconds and shrinking the LOCKER-I solution matrix from 572 million columns to 2,240. MIM also recovered 94 private keys from the TII McEliece Challenge, 55 of which were cracked for the first time worldwide; in the fastest case, the time fell from the previous 9.2 hours to 1.8 seconds, a 43,400-fold speedup.
Why read this
AI score 74
Through multiple cryptanalysis case studies and resource-consumption comparisons, the article shows how large models can turn theoretical attacks into reproducible computational workflows.
Topics
Body · AI translation
By Gao Yunyi
Edited by Cen Feng
November 20 marked a historic day for AI for Science: Anthropic mathematicians, working with Claude, achieved a key breakthrough on the Riemann hypothesis. That same day, AI also shook the field of cryptography, which is known for its complex mathematical computations.
According to a demonstration by MiniMax, its latest internal model, MIM, successively cracked several NIST cryptographic candidates and cutting-edge results recently published at top conferences. In the TII McEliece challenge, it directly recovered 94 private keys, 55 of which were cracked for the first time anywhere in the world. In the closely watched area of decryption efficiency, it delivered a 43,400-fold speedup.
MiniMax’s cryptanalysis results not only attracted attention and reposts from Anthropic team members, but were also cited as a cutting-edge case study in the latest academic talk by Henry Yuen, a tenured professor at Columbia University and a leading international expert in quantum cryptography.
Caption: Columbia University professor Henry Yuen cited MiniMax’s AI cryptanalysis results as a cutting-edge case study in his latest academic talk. Watch the relevant section here: https://www.youtube.com/watch?v=tpTp2WVhgJU&t=558s
Cryptanalysis is regarded within the industry as a “touchstone” for determining whether AI can conduct genuine scientific research. It requires finding design flaws in publicly available mathematical rules, demanding zero-tolerance long-horizon reasoning from the model as well as a complete closed loop spanning mathematical derivation, code writing, and experimental verification.
Over the past six months, we have seen leading overseas players such as OpenAI and Anthropic continually unveil “major results” in mathematics, physics, biology, and other fields. This time, Chinese models represented by MiniMax have also entered the deep waters of scientific research.
01
What exactly is cryptanalysis trying to crack?
Modern cryptography can be broadly divided into cryptographic design and cryptanalysis, which have a relationship akin to that between a spear and a shield. Cryptography “builds locks” to protect information security, while cryptanalysis “opens locks” to uncover vulnerabilities. MiniMax has now focused its efforts on cryptanalysis, casting AI in the role of an elite “locksmith.”
Many people conflate cryptanalysis with “account theft” or “password cracking,” but they are fundamentally different things.
What we ordinarily call “cracking a password” refers to obtaining the login password for a particular account. Hackers may guess it, try previously leaked passwords, or obtain it through phishing and fraud, all of which depend on the password itself remaining secret. Cryptanalysis is different: it studies the entire set of mathematical rules underlying data encryption.
The principles of modern encryption algorithms are generally public, much like placing the design blueprints for a security lock directly in front of you. Cryptanalysis uses sophisticated “mathematical ingenuity” to identify inherent design flaws in those blueprints, circumvent massive amounts of computation through mathematical methods, and derive the key at low cost or reduce the algorithm’s security rating.
This very characteristic makes cryptanalysis an ideal testing ground for evaluating the long-horizon reasoning abilities of large models, because its requirements are exceptionally stringent.
First, the difficulty lies in its “zero tolerance for error.” Cryptographic derivations can easily run to hundreds of steps. A single incorrect plus or minus sign in a formula, or one missing bit in the code, will turn the final output into gibberish. More importantly, the derivation cannot remain purely theoretical: the code must be written and the experiment must run successfully, completing a genuine closed loop.
Leiphone discussed the matter with a cryptography expert who had participated in cybersecurity operations for the Beijing Olympics. The expert noted that a valid cryptanalysis result must pass five rigorous tests:
First, the “rules” must be clearly defined, including how much data the attacker can see, the maximum number of queries allowed, and how many historical reference samples are known. On this basis, the hypotheses must be convertible into mathematical derivations and executable algorithms. The reasoning must also be verifiable, producing valid results by recovering a key, constructing a valid forgery, or finding a collision.
Furthermore, the computational cost of the attack must be stated. The amount of time, memory, data, and computing power consumed by the attack must all be known. It must also be stably reproducible in an ordinary environment. Even if a result is ultimately obtained, confounding factors must still be ruled out, and the work must withstand independent third-party review.
Cryptanalysis therefore differs from ordinary long-horizon tasks: it is not a case of “all roads lead to Rome.” It is more like solving a rigorous mathematical problem, in which every step of the reasoning must fit together perfectly. Whether the attack ultimately succeeds is also determined by objective and explicit verification criteria.
Cryptanalysis had long been stuck in this predicament. Traditional mathematical solvers such as Z3 could only perform mechanical calculations and were unable to handle complex cryptographic structures. Although AI understood some logic, its mathematical foundations were weak, and its derivations were highly prone to “hallucinations,” leaving it unable to engage with the underlying mathematical structures of algorithms. The industry tacitly understood that uncovering original vulnerabilities still depended on human experts, with AI serving at most as an assistant.
That changed in July this year, when Anthropic rewrote the playbook.
Anthropic equipped its internal frontier model, Claude Mythos Preview, with a full suite of tools for writing code, symbolic computation, and automated verification, and had it conduct “red-team testing” on cryptographic algorithms. In just 60 hours, Claude uncovered a fundamental mathematical vulnerability in HAWK, a NIST post-quantum signature candidate.
HAWK had originally been a candidate for the next-generation cryptographic standard. Before this, the world’s leading cryptographers had already subjected it to two rounds of rigorous review spanning more than two years without finding any flaws. The day after the vulnerability was disclosed, the development team withdrew it from the standardization process.
Meanwhile, Claude also used algebraic techniques of its own devising to speed up attacks on a simplified test version of AES, the world’s most widely used encryption standard, by 200 to 800 times.
This was the first time AI had independently uncovered a mathematical design flaw deep within an algorithm without step-by-step human guidance. Moreover, AI was already producing such complex attack methods faster than human experts could review them. Matthew Green, a cryptography professor at Johns Hopkins University, commented: “AI’s greatest strength is its ability to combine and test existing mathematical tools in every conceivable way, investigating more thoroughly than humans can.”
But its limitations were equally clear. Claude at the time was more like a “semi-autonomous frontier research assistant,” with humans still having to determine the research direction. The computing costs were also high, with a single result costing about $100,000 in computation.
To gauge AI’s cryptanalytic capabilities, ETH Zurich, Anthropic, and other institutions jointly created CryptanalysisBench, a benchmark containing 191 problems, all drawn from past cryptography competitions.
Tier 1 consists of 49 basic problems for which humans had long since found solutions, designed to test whether AI could reproduce existing attacks. Tier 2 consists of 142 advanced problems for which no viable attack had previously been published, specifically testing whether AI could discover new vulnerabilities on its own.
In the initial baseline tests, even the strongest models could solve only 6 to 12 Tier 2 problems. The industry broadly believed AI still had a long way to go before it could independently conduct original cryptanalysis.
Unexpectedly, a Chinese team broke through that ceiling just five months later.
If Anthropic achieved the breakthrough from zero to one, MiniMax went broader this time, testing a wide variety of cryptographic technologies. These ranged from candidates submitted for NIST’s international standardization process, to cutting-edge algorithms used to encrypt files and verify data authenticity, and classic mathematical challenges such as McEliece, which is specifically designed to resist attacks by quantum computers.
MIM not only identified design flaws in the algorithms themselves, but also uncovered more than a dozen vulnerabilities in official reference code. On difficult problems such as TII McEliece and HAWK, for which humans had already developed attack strategies, it substantially optimized and accelerated the existing methods, genuinely demonstrating the model’s ability to generalize from one case to another.
MiniMax went straight for the more difficult Tier 2 candidates. All had participated in NIST’s international standardization process and undergone years of rigorous public scrutiny by the world’s leading cryptography researchers, yet no one had found a practical way to break them. The model received no hints during the tests—only public papers and reference code—and had to find the vulnerabilities entirely on its own.
▎Stage One: Cracking NIST’s “Unsolved” Benchmark and Turning Theoretical Attacks into Reality
Let us begin with Waterfall-256, a cryptographic algorithm that had remained unresolved for 18 years.
It is a hash function. Regardless of the input, a hash function generates a fixed-length string of characters that, like a human fingerprint, is supposed to be unique. Normally, different inputs should not produce the same hash. If they do, it is known as a “collision,” meaning the anti-forgery mechanism has failed.
Waterfall-256 was a candidate in the U.S. NIST international cryptographic standards competition in 2008. Its design was particularly complex: after data entered the algorithm, it was repeatedly interleaved and scrambled across three internal sequences of different lengths before being combined into the final output. At the time, its designers believed this process created sufficient disorder and a strong enough defense.
And for the next 18 years, it was never truly broken. Academia had proposed theoretical attack strategies, but they required an astronomical amount of computation that even a supercomputer could not complete.
Yet MIM still uncovered a hidden pattern. It found that when changes to the input data followed a particular pattern, the differences surprisingly failed to propagate through the successive layers of scrambling, making the previously intractable computations traceable. The model also optimized the cancellation logic in the final aggregation stage. Instead of running the process twice to eliminate traces, as traditional methods required, it could do so in a single pass. Combined with techniques for narrowing the search range, this reduced the search space at each step by a factor of 256.
As a result, a theoretical attack that would originally have required tens of thousands of years on a supercomputer can now generate a collision pair on an ordinary computer CPU in as little as 3.5 milliseconds, with the stable version taking less than 0.05 seconds. For the first time, an 18-year-old conjecture on paper became a real-world attack reproducible on an ordinary computer.
If Waterfall-256 tested the model’s sensitivity to mathematical vulnerabilities, the NIST post-quantum cryptography candidates LOCKER and ROLLO-I tested its ability to drastically reduce astronomical computational requirements.
As a new generation of encryption algorithms designed specifically to withstand future quantum computers, LOCKER and ROLLO-I build their defenses on an enormous system of complex equations. Solving it by conventional decomposition methods would produce a matrix with as many as 572 million columns and require 42 PB of memory—equivalent to the total capacity of tens of thousands of consumer hard drives—making it completely impractical to run.
MIM approached the system of equations from a more efficient angle. By exploiting its inherent symmetries, it could calculate one set of solutions and derive several others, eliminating a large amount of redundant computation. Before solving the equations, it also used mathematical methods to eliminate variables that did not need to participate in the computation, reducing memory usage.
After optimization, the 572-million-column solution matrix was reduced to 2,240 columns, while memory requirements fell from 42 PB to 58 MB, allowing the process to run on an ordinary computer. Ultimately, LOCKER-I was cracked in just 1.15 seconds using 12 threads. 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 developed a general-purpose attack methodology and tested 27 different configurations in succession, 14 of which set new academic records.
In addition to uncovering flaws in the underlying mathematics, MIM identified more than a dozen critical bugs in the algorithms’ official source code that human experts had missed. Breaking encryption does not always require brute-force computation: coding mistakes and vulnerabilities in random-number generation can likewise render an entire encryption system ineffective.
For example, it caught a sign typo in the code for the DRS signature scheme, allowing validation to be bypassed and signatures to be forged. It discovered random-number leakage in RQC-128 that made it possible to quickly recover the original encrypted content. It also found various vulnerabilities involving memory, parameter configuration, and sampling logic in several candidate schemes, including LAC-128, KCL, LEDAkem, and ISAP.
This code had likewise undergone more than a decade of public scrutiny by the global cryptographic community without anyone discovering the problems. MIM picked them all out in the course of studying the algorithms’ underlying principles.
▎Stage Two: Finding Mathematical Vulnerabilities in Cutting-Edge Schemes from Top Conferences
If the preceding NIST candidates were old exam questions from the past few years, the winning schemes from recent top cryptography conferences and international competitions represent the cutting edge of encryption design today. These new schemes underwent rigorous mathematical derivation before publication and represent the current highest standard of cryptographic design. Yet MIM still uncovered design vulnerabilities overlooked by human experts.
One representative example is ARADI, a low-latency algorithm released by the U.S. National Security Agency in 2024.
ARADI is a block cipher. It works by dividing data into fixed-size blocks and repeatedly scrambling them over multiple rounds to produce ciphertext. Its security depends heavily on the number of rounds. Generally, the more rounds there are, the harder the cipher is to break. The job of cryptanalysts is therefore to penetrate as many rounds as possible: the closer the number of compromised rounds is to the total, the easier the algorithm is to defeat.
Previously, despite their best efforts, researchers worldwide had only managed to break the first five rounds of ARADI. MIM, however, found a previously unnoticed set of mathematical patterns in the algorithm’s published parameters and pushed the attack directly to the eighth round, recovering the complete master key in as little as 2.4 seconds on a single core. It also set new records for the theoretical attack boundary across rounds 9 through 12.
A senior cryptography expert explained the key point to us: ARADI has yet to publish its parameter-design criteria, so it is not currently possible to determine whether it has been completely broken. The significance of this test, however, is that it directly exposed mathematical flaws in the algorithm’s foundations, compelling its designers to develop a more secure scheme.
▎Stage Three: A 43,400-Fold Speedup as AI Cracks Classic Mathematical Problems
The breakthroughs in the first two stages essentially involved using AI to find flaws in algorithm design. But cryptography also contains a class of classic mathematical problems that have withstood decades of scrutiny and have no obvious design defects. MiniMax directly shortened the time required to crack them.
Consider the internationally recognized TII McEliece Key Recovery Challenge. The underlying mathematical problem has existed for nearly half a century and also forms the core foundation of a NIST post-quantum cryptography candidate. Many of the advanced problems in the challenge repository had never previously been solved. This time, MiniMax directly recovered the private keys in 94 cases, including 55 solved for the first time anywhere in the world.
Even more noteworthy was the cracking speed demonstrated by MinMax. Previously, the best result published at a leading international cryptography conference required 9.2 hours to solve one problem. MiniMax’s model completed the fastest case in just 1.8 seconds on an ordinary 64-core server—a 43,400-fold speedup.
How did it do this? MIM first uncovered hidden mathematical properties in the structure, reducing the size of the systems of equations by as much as a factor of 6.59. It then performed deep code optimization for modern CPU architectures to fully harness the available computing power.
This required the model to think like a mathematician while implementing solutions like an engineer. This combination of abilities becomes even clearer in a direct comparison with Anthropic.
Five months ago, Anthropic used a 96-core server to break the post-quantum signature scheme HAWK. This time, MiniMax optimized the entire attack pipeline against the same target, further reducing the difficulty of cracking it.
In the past, taking a complex attack from a theoretical concept to a practical implementation often required months or even years, while many more attacks never progressed beyond theoretical research. Now, AI has compressed the most labor-intensive trial-and-error process in research, making it possible to execute the entire workflow in seconds. In the same amount of time, researchers can explore more unresolved problems, reshaping the pace of cryptographic research.
For a long time, research in cryptography—and even in fundamental science as a whole—has resembled a craft requiring extraordinary patience.
Reading papers, breaking down formulas, building models, writing code... Taking a complex hypothesis from conception to a working implementation required researchers to work until their eyes were bloodshot, repeatedly experimenting and failing. Which approach was correct? When would it finally work? Both were unknown.
Now, AI is rewriting this workshop-style pace of scientific research. It can participate deeply in these implementation stages, not only saving humans the time spent on tedious and demanding work but also proposing new ideas and identifying design blind spots. AI’s role is already beginning to shift from a “research support tool” to a “co-discoverer of new knowledge.”
The division of labor in cryptography is changing along with it. Researchers can devote more of their energy to setting research directions, auditing theories, and validating final results, enabling them to cover a broader range of scientific inquiry.
The competitive landscape of AI4S is also changing. Over the past few years, whether it was DeepMind predicting protein structures, OpenAI producing formal mathematical proofs, or Anthropic making breakthroughs in cryptanalysis, Chinese players were rarely seen among those charging toward the heights of scientific research. MiniMax’s latest results show that Chinese-developed large models are beginning to focus on and enter the deeper waters of AI4S, while also validating their capabilities in long-horizon reasoning and practical engineering implementation.
As the barriers to scientific research fall dramatically, the future may see the emergence of more and more “one-person research teams.” Chinese scientists, too, will be able to unleash remarkable innovative efficiency and make more substantive contributions to solving the world’s scientific challenges.
AI Trends