CryptanalysisBench: Performance of five frontier models on 191 cryptanalysis tasksCryptanalysisBench: Can LLMs do Cryptanalysis?
Quick read
Evaluation and benchmarksBased on the paper PDF (generated by Gemini); refer to the original
Evaluates five frontier models on 191 cryptanalysis tasks: Tier 1 cracking rates of 65.3%–85.7%, and discovered design flaws such as SpoC.
- Cryptographic primitives are the security cornerstone of digital infrastructure, and traditional analysis relies heavily on human experts. Existing LLM safety evaluations are mostly limited to toy ciphers or CTF challenges, lacking a systematic end-to-end automated analysis and validation benchmark for real standardized candidate cryptographic primitives.
- Built the CryptanalysisBench benchmark covering six primitive categories and 191 tasks, divided into three tiers: known breaks, reduced/full strength, and frontier challenges. Based on Docker and HTTP API game interaction, requiring models to submit self-contained attack scripts verified on independent instances.
- Five models achieved cracking rates of 65.3%–85.7% on Tier 1; on Tier 2 full strength, they cracked 14 schemes, with Mythos 5 and Sonnet 5 independently discovering previously unpublished design flaws in SpoC and KINDI; however, none broke through on the frontier challenge set.
- The evaluation is limited to executable efficient attacks and cannot cover purely theoretical attacks; Tier 2's parameter reduction relies on experience and model assistance; some test cases succeed due to vulnerabilities in the reference code implementation rather than flaws in the primitive design; Tier 1 has academic priors and memory interference.
- Evaluated models
- Claude Opus 4.8Claude Sonnet 5Claude Mythos 5GPT-5.5GLM-5.2Claude Haiku 4.5Claude Sonnet 4.5Claude Sonnet 4.6Claude Opus 4.6Claude Opus 4.7
- Benchmarks
- CryptanalysisBenchNIST AES competitionNIST SHA-3 competitionNIST Lightweight Cryptography (LWC) competitionNIST Post-Quantum Cryptography (PQC) standardization process
- Metrics
- Success rateCumulative tasks solvedIV budget
Researchers from ETH Zurich, Anthropic and other institutions propose CryptanalysisBench: 191 cryptanalysis tasks, mainly drawn from four NIST standardization competitions, covering six classes of primitives: block ciphers, hash functions, AEAD, KEM, PKE and digital signatures. Tier 1 consists of primitives with existing practical breaks; Tier 2 has no known practical attacks, and evaluates both full-strength and reduced-parameter variants; there is also a challenge set of production-grade cryptography. Claude Opus 4.8, Sonnet 5, Mythos 5, GPT-5.5 and the open-weight GLM-5.2 broke 65%–86% of the schemes in Tier 1, 6–12 at Tier 2 full strength, and 24–61 on all reduced variants. At full strength, 14 schemes were broken in total, only two of which stemmed from design flaws, the rest being specification laxity or reference implementation vulnerabilities: Mythos 5 and Sonnet 5 independently found a full-key recovery attack on SpoC requiring only two oracle queries, and Mythos 5 also pointed out that KINDI's CCA security proof is flawed, which the authors state had not been reported previously. The authors believe Tier 2 and the challenge set are far from saturated, and that the benchmark can be used to track AI cryptanalysis capabilities and to stress-test candidate schemes before deployment.
Why it was selectedThis benchmark uses automatically verifiable security games to measure frontier models' cryptanalysis capability, and provides tiered results for five models along with novel attack cases.
Related events and news
2 events · 6 news mentions
News that mentions this paper
MiniMax称内部模型破解多项密码学难题
- El Confidencialnames the paperMiniMax 的 MIM 数秒内攻破多个长期无已知实用攻击的密码算法
Model (modelo interno de MiniMax), y MiniMax la probó con CryptanalysisBench, una batería de pruebas creada por la Politécnica de Zúrich, Anthropic y otros.
- 公众号 新智元names the paperMiniMax 称其未公开模型破解多项密码学难题,较 Anthropic 集群最高提速 43400 倍
为了测试大模型是不是在「背诵训练集里的旧知识」,苏黎世联邦理工学院和 Anthropic 联合搞了专门的评测基准 CryptanalysisBench 。
- MiniMaxnames the paperMiniMax称其内部模型在Tier 2候选算法上首次实现实用破解
Most schemes in CryptanalysisBench Tier 2 were unstandardized candidates from past competitions.
Show 3 more news items
CSA评Anthropic称Claude发现HAWK弱点与AES攻击
- CSA Labs Researchnames the paperAI 密码分析与密码学假设地平线
Anthropic released CryptanalysisBench, developed with researchers at ETH Zurich, Tel Aviv University, and TU Berlin, to track this capability over time [1][7].
- tl;dr seccites the paper's id or linktl;dr sec 周报:Hugging Face 公布 Agent 入侵取证时间线,并收录 AgentBaiting 与上下文炸弹
at ETH Zurich, Tel Aviv University, and TU Berlin to build CryptanalysisBench, a benchmark that packages together many cryptographic ciphers and makes it easy for others to evaluate the capabilities
- Anthropic Red Teamingcites the paper's id or linkAnthropic 用 Claude 发现 HAWK 与 AES 的密码学弱点
Additionally, we plan to continue our experiments with CryptanalysisBench in order to track how frontier LLM capabilities evolve over time.
Paper analysis
What problem does this paper attempt to solve?
Evaluate whether frontier models can autonomously analyze and break real cryptographic primitives, filling the gap in automated cryptanalysis benchmarks.
The core question is whether frontier large language models can perform end-to-end cryptanalysis of real standardized candidate cryptographic primitives and discover feasible attacks.
- Scenario and importance: The authors point out that cryptographic primitives form the cornerstone of digital security; a single primitive being broken would compromise all systems and historical data built on that primitive; traditional cryptanalysis relies on a small number of domain experts, and systematic security stress testing is needed before standardization processes and protocol deployment.
- Shortcomings of existing methods: The authors argue that previous research on LLM cryptographic capabilities has mostly been limited to toy ciphers like the 19th-century Vigenère cipher, or CTF capture-the-flag challenges with artificially implanted vulnerabilities, which cannot reflect models' cryptanalytic capabilities on real-world complex mathematical structures and algorithm specifications.
- Core observation and hypothesis: The authors propose that practical cryptanalysis has formalized security game specifications and automated verification based on code execution, with clear win/loss determination; models may possess not only the memory ability to reproduce known attacks, but also the ability to analyze code implementations, identify mathematical and structural weaknesses, and independently discover attack paths.
- Proposed solution in the paper: The authors propose a benchmark suite CryptanalysisBench containing 191 tasks, covering six major categories: block ciphers, hash functions, AEAD, KEM, PKE, and digital signatures, spanning historical standardized candidates, parameter-reduced variants, and production-grade frontier ciphers.
What related research exists?
Covering neural differential analysis, LLM toy decryption, and cybersecurity CTF, this paper focuses on real candidate standard primitives.
The paper reviews related work in the introduction, related work, and Appendix A, mainly divided into the following three categories:
Machine Learning and Deep Learning Cryptanalysis
- Gohr (2019) and Wenger et al. (2022) — proposed neural network distinguishers for differential cryptanalysis of Speck-32/64 and machine learning attacks on LWE problems, respectively; subsequent research further explored lightweight cipher distinguishers and GAN-based cryptanalysis.
- Maghrebi et al. (2016) and Picek et al. (2023) — applied deep neural networks to power analysis side-channel attacks, with extended evaluations on jitter countermeasures, cross-device generalization, and standardized datasets.
LLM Cryptography and Decryption Capability Evaluation
- Shang et al. (2025), Chen et al. (2026), and Sugio (2025) — studied LLMs' abilities in reverse-engineering cryptographic functions from stripped binary code, assisting in implementing cryptanalysis programs, and serving as cryptographic knowledge bases.
- Wang et al. (2024), Korrapati et al. (2025), and Maskey et al. (2025) — evaluated LLMs' direct decryption capabilities on classical substitution ciphers, Vigenère ciphers, and modern algorithms like RSA and AES ciphertexts.
- AICrypto (Wang et al., 2025b) and Cybench (Zhang et al., 2025b) — evaluated LLMs' cryptographic capabilities using CTF security challenges with captured vulnerability flags.
LLM General Cybersecurity Benchmarks
- CyberSecEval series (Bhatt et al., 2023, 2024; Wan et al., 2024; META, 2025) — evaluated models' comprehensive abilities in code security, prompt injection vulnerability, exploitation, and autonomous cyber attacks; also Sec-bench, Cybergym, and others assess vulnerability detection in real software systems.
Benchmark Methods and Datasets
- This benchmark compares five frontier models (Claude Opus 4.8, Sonnet 5, Mythos 5, GPT-5.5, and GLM-5.2), with task data mainly from NIST's four major cryptographic standardization competitions (AES, SHA-3, LWC, PQC) and some production-grade ciphers.
The authors note that the core difference from existing work is that all research objects are real standardized candidate algorithms publicly reviewed by the cryptographic community, with no artificially pre-set vulnerabilities, and include frontier schemes without known practical attacks.
How does the paper address this problem?
Built a three-tier benchmark of 191 tasks, relying on Docker dual-container game interaction and automated script retesting verification.
The paper constructs a multi-level benchmark CryptanalysisBench covering 191 tasks, and relies on a sandbox environment and formal security game interaction to achieve automated evaluation of LLM end-to-end cryptanalysis capability.
Task tiering and primitive organization
- Dataset composition: The benchmark collects candidate schemes from NIST AES (15), SHA-3 (50), LWC (55), and PQC (63) competitions, plus 6 production-grade block/stream ciphers (ChaCha, Katan-32, Present-80, Simon-32/64, Speck-32/64, Skinny-64/64), the differential textbook cipher FEAL-4, and the Korean PQC signature scheme AIMer, totaling 191 algorithm tasks.
- Tier division: The benchmark is divided into three tiers. Tier 1 contains 49 algorithms with known practical breaks (such as FEAL-4, AIMer, and 47 NIST candidates eliminated in the first/second rounds, plus SIKE broken in the fourth round); Tier 2 contains 142 algorithms with no known practical attacks (or known attacks that are too slow), providing both full-strength and reduced-parameter versions; the Challenge Set contains 7 production-grade ciphers at the frontier of theoretical attacks (such as 7-round AES).
Scale reduction and challenge set design
- Parameter reduction method: For Tier 2 algorithms lacking known practical attacks, the authors reduce the number of rounds for primitives with iterative round features (e.g., AES takes 4, 5, 6 rounds; ChaCha takes 2, 4, 6 rounds). For algorithms without mature reduction specifications, they use Claude Opus 4.8 to analyze the design specification and set three reduced variants (Easy, Medium, Hard) corresponding to different complexity ranges (2 to the 30th to 40th, 40th to 60th, and 60th to 80th power step operations).
- Challenge set frontier definition: The maximum reduced round count where current theoretical attacks are effective but computational complexity exceeds practical verification range (above 2 to the 60th power operations) is taken as the challenge task (Table 1), such as 7-round AES, 7-round ChaCha, and 23-round Simon-32/64.
Interaction architecture and game environment
- Dual-container sandbox isolation: The environment is built on the Harbor evaluation framework. The attacker container is equipped with 8 CPU cores, 20GB memory, and 10GB storage, providing the target algorithm's complete C source code, API client, and standard Linux tools; the challenger container runs independently, holds keys and random numbers, and only exposes oracle interfaces allowed by the specific game (such as encryption, decryption) via HTTP API.
- Game type definition: Tasks are formalized as standard security games, including targeted key recovery (TKR), indistinguishability under chosen plaintext (IND-CPA), indistinguishability under chosen ciphertext (IND-CCA), authenticated encryption forgery, and hash collision.
Automated verification and judgment mechanism
- Script delivery requirement: Within the allocated exploration time budget, the model interacts with the challenger, determines the target game, and writes a self-contained attack script.
- Deterministic and statistical verification: For deterministic games such as key recovery, forgery, and collision, the judgment predicate is directly verified on new instances; for decisional games such as IND-CPA and IND-CCA, 20 new instances are run independently, and the model must win at least 17 times to be judged as passing. The authors note that under the null hypothesis of completely random guessing, the false positive probability of this threshold satisfies:
\sum_{i=17}^{20} \binom{20}{i} 2^{-20} \approx 1.3 \times 10^{-3}The formula defines the upper bound of the false positive rate for statistical decisional games under the random guessing baseline.What experiments did the paper conduct?
Five models achieve a 65%–86% success rate on Tier 1, discovering new flaws such as SpoC, constrained by solver engineering implementation.
Experimental Setup
- Models under test: The main experiment evaluates five models: Claude Opus 4.8, Claude Sonnet 5, Claude Mythos 5, GPT-5.5, and the open-source model GLM-5.2; capability scaling experiments cover the Claude family's Haiku 4.5, Sonnet 4.5/4.6, and Opus 4.6/4.7; GPT-5.6 and Claude Fable-5 were excluded because safety guardrails blocked evaluation.
- Benchmark and scale: CryptanalysisBench comprises 191 cryptographic algorithm tasks, including Tier 1 (49), Tier 2 (142 algorithms, including full strength and Easy, Medium, Hard variants), and the Challenge Set (7 production-grade ciphers).
- Resources and time budget: Default exploration time budget T_agent per task is 2 hours, submission script verification time T_attack is 2 hours; single-task execution environment is 8-core CPU, 20GB memory, 10GB storage; extended experiments increased Mythos 5's time budget to 16 hours.
- Evaluation and determination: Each task is run 2 independent times; any run producing a feasible attack counts as a break; deterministic games verify predicates, decisional games run 20 verifications and require a win rate of at least 17/20.
Main Results
The success rates of the five models across difficulty levels are shown in the table below:
Swipe horizontally to read the table
Model Tier 1 Tier 2 Easy Tier 2 Medium Tier 2 Hard Tier 2 Full Source GLM-5.2 65.3% 14.3% 9.3% 8.5% 4.4% Table 2 Claude Opus 4.8 73.5% 22.1% 13.6% 7.0% 5.9% Table 2 Claude Sonnet 5 75.5% 17.1% 8.6% 7.7% 6.7% Table 2 GPT-5.5 75.5% 19.3% 11.4% 8.5% 7.4% Table 2 Claude Mythos 5 85.7% 35.7% 23.6% 16.9% 8.9% Table 2 - Tier 1 solving level: All models solved the majority of Tier 1 tasks (32/49 to 42/49). Trajectory audits show that about 78% (77.8%–78.6%) of models' successful Tier 1 breaks are substantive cryptanalysis exploiting algorithm design flaws, with the rest stemming from reference implementation flaws.
- Common break points across all models: A total of 24 tasks were broken by all five models, including single-query tag forgery with unbound message length (e.g., CiliPadi, SIMPLE, FlexAEAD), hash collisions due to linear or narrow internal structure (e.g., CRUNCH, Khichidi-1), public-key schemes reduced to standard linear algebra or lattice reduction (e.g., RVB, SRTPI), and 4 array index or empty input validation errors in reference implementations (Cheetah, Fountain, HK17, LAEM).
- Difficulty decay trend: In Tier 2, except for FSB which was broken by most models at all difficulty levels, other models could basically break only about 1 scheme at Hard difficulty, with only Mythos 5 breaking about 8 schemes at Hard difficulty.
Full-Strength Scheme Breaks and Real Design Flaw Analysis
- SpoC real design flaw: Mythos 5 and Sonnet 5 both recovered the full 128-bit master key of the full-strength unmodified SpoC AEAD scheme with only 2 chosen-nonce oracle queries. The authors note that if both plaintext and associated data are empty, SpoC-128 does not execute the initialization permutation, causing the internal state to leak directly, a design-level vulnerability not previously reported in the literature.
- KINDI proof flaw and decryption reaction attack: Mythos 5 recovered the key of KINDI KEM using a decryption reaction oracle; the authors note that the scheme omits the Fujisaki-Okamoto transform, and its NIST submission's security proof lemma is erroneous, incorrectly assuming a unique correspondence between ciphertext and decapsulated key.
- Specification and code implementation flaws: LIMA was broken by all five models due to not specifying rejection of non-canonical coefficient encodings, leading to chosen-ciphertext malleability; DAGS leaked seeds because three random oracles lacked domain separation. Additionally, EMBLEM had a zero public key matrix due to uninitialized sampling, and Twister had pointer-bit word confusion, both exploited by models.
Paper Prior and Memory Mechanism Ablation
- Paper provision experiment: After providing known attack papers to Opus 4.8, Sonnet 5, and Mythos 5, Opus 4.8's solved tasks rose from 36 to 45, Sonnet 5 from 37 to 40, and Mythos 5 from 42 to 44 (Section C); the authors state that papers mainly helped correct attack target selection, but in nearly half of cases models did not read the attached papers.
- AIMer limited IV budget test: For the AIMer signature scheme with an attack published in May 2026 (Table 3), under unlimited IV, Opus 4.8 and GPT-5.5 won; under 150 and 25 IVs, Mythos 5 and Opus 4.7 won; under 15 and 11 IV budgets, all failed; all models used basic bit linearization, and none reproduced the original paper's polynomial matrix elimination algorithm.
Time Budget and Compute Scaling Experiments
- 16-hour budget extension: Increasing Mythos 5's per-task budget to 16 hours raised Tier 1 success rate from 85.7% (42/49) to 95.9% (47/49), and the number of Tier 2 algorithms broken increased from 61 to 75 (Table 4).
- Heavy attack breakthroughs: Under extended time, SIKE was broken in 8.9 hours, RLCE-KEM and WalnutDSA in 3.2 and 3.5 hours respectively; the authors note that the extra time was mainly used to complete heavy solver computations and implementation debugging, and did not yield new primitive-level design breaks.
Other Ablations and Analyses
- Claude model generation performance: Haiku 4.5 broke 0, Sonnet 4.5 broke 9, Opus 4.6 broke 30, Opus 4.7 broke 34, Sonnet 4.6 broke 34, Opus 4.8 broke 36, Sonnet 5 broke 37, Mythos 5 broke 42 (Figure 4).
- Effect of providing reference attacks on solving speed: On tasks solvable with or without reference papers, providing reference papers sped up solving by about 1.5x on average (Figure 5).
- Tasks unsolved by all models under 2-hour budget: SIKE, WalnutDSA, and Compact-LWE were not broken by any model within 2 hours, limited by the implementation overhead of heavy algebraic and lattice algorithms.
- Solver timeout failure mode: GLM-5.2 tended to offload problems to generic SAT/SMT solvers on tasks like SIMON and ChaCha, causing time exhaustion without returning results.
What are some points that can be further explored?
The authors point out limitations such as resource constraints, proof system scaling, and memory interference, and the actual evaluation is limited to specific resources and models.
Limitations and future directions noted by the authors
- Only efficient practical attacks can be evaluated quantitatively: In Section 5.4, the authors note that many public cryptanalysis results are theoretical high-complexity attacks, and the benchmark currently can only evaluate practical attacks executable within limited computational resources.
- Resource budgets interfere with model comparisons: In Section 5.4, the authors note that hardware compute (CPU, memory, storage, and runtime) significantly affects solving performance, making model performance under different test budgets difficult to compare fairly.
- Decisional security games involve a resource-determinism trade-off: In Section 5.4, the authors note that probabilistic decisional games such as IND-CPA and IND-CCA require multiple repetitions to rule out random guessing interference, further increasing verification costs.
- Suggestion to extend the benchmark to formal proof systems: In Section 5.4, the authors propose that future work could express security games in formal proof systems, enabling agents to perform mathematical reasoning and theoretical attacks, thereby moving beyond reliance on executable code.
- Lack of principled methods for constructing parameter-reduced variants: In Section 5.4, the authors note that manually weakening unbroken algorithms is approximate and may create difficulty cliffs that stall models; exploring systematic generation of tasks across difficulty gradients is a future direction.
- Memory and academic priors are hard to fully eliminate: In Sections 5.4 and 5.1, the authors note that most Tier 1 attacks are public knowledge; although internet access is restricted, prior knowledge in model training data may still affect judgments of pure reasoning ability. Future work should introduce new attacks published after model training cutoffs.
Experimental coverage
- Evaluation primitive coverage: Covers 191 cryptographic tasks, including NIST AES, SHA-3, LWC, and PQC competition candidate algorithms, 6 independent production-grade symmetric ciphers, FEAL-4, and AIMer.
- Tested model scope: The main evaluation covers 5 models (Claude Opus 4.8, Sonnet 5, Mythos 5, GPT-5.5, GLM-5.2); model-family ablations extend to multiple generations of the Claude series; the paper does not test GPT-5.6 or Claude Fable-5.
- Runtime environment and resource limits: A single task execution is limited to a Docker container with 8 CPU cores, 20GB memory, and 10GB storage; the default exploration and verification time budgets are each 2 hours, and the compute-scaling experiment increases only Mythos 5 to 16 hours.
- Game types and judgment parameters: Involves five game types: TKR, IND-CPA, IND-CCA, forgery, and collision; decisional games are fixed at 20 independent retests with a fixed threshold of 17 wins; each task is run 2 independent times.
- Unreported information: In Tier 2, when generating reduced parameters with Claude Opus 4.8, the paper does not verify one by one that all variants fall precisely into the preset complexity ranges; the paper does not conduct 8x time-scaling experiments on models other than the Claude series.
Summarize the main content of the paper
Proposes a benchmark for real cryptographic primitive analysis, confirming that frontier models possess significant analytical capabilities and can discover unpublished design flaws.
- One-sentence positioning: This paper proposes CryptanalysisBench, the first end-to-end automated cryptanalysis benchmark for real standardized candidate cryptographic primitives, and systematically evaluates frontier large language models.
- Problem addressed: Traditional cryptanalysis relies on human experts, while existing LLM evaluations focus on toy ciphers or CTF challenges with artificially implanted weaknesses, lacking a rigorous benchmark for measuring AI's ability to analyze and find vulnerabilities in real complex cryptographic algorithms.
- Method highlights: It collects 191 cryptographic algorithm tasks from NIST competitions and others, divided into Tier 1 (known breaks), Tier 2 (no known practical attacks, including reduced and full-strength versions), and a production-grade Challenge Set; it builds a formal security game interaction based on Docker dual-container and HTTP API isolation, and automatically verifies model-submitted attack scripts by re-testing on independent instances.
- Main experimental results:
- Five frontier models achieve 65.3%–85.7% success rates on Tier 1 (Mythos 5 breaks 42/49, GLM-5.2 breaks 32/49), with about 78% of breaks stemming from algorithmic mathematical and structural design flaws.
- In full-strength scheme tests, Mythos 5 and Sonnet 5 break the unmodified SpoC AEAD scheme with 2 queries, and Mythos 5 breaks KINDI and reveals an error in its NIST security proof; both are previously undisclosed real design flaws.
- Compute scaling tests show that after relaxing the time budget to 16 hours, Mythos 5 breaks previously unattainable SIKE, RLCE-KEM, and WalnutDSA, with the success rate rising to 95.9%.
- Authors' conclusions and implications: The authors believe frontier models have preliminarily acquired the ability to independently discover design flaws in complex cryptographic primitives, and failures are more limited by code engineering and implementation of specific solving algorithms than by analysis blind spots; the benchmark can serve as an evaluation framework for tracking AI cryptanalysis capability and assisting stress testing of cryptographic standard security.