RSA が破られたとか誰が言い出したのやら【追記あり】
RSA の噂に関する詳しい経緯は piyolog さんの以下の記事をどうぞ。
ホンマ,誰が言い出したのやら。 噂,千里を走る。 掠るどころかニアピンすらしてねーぢゃん。 かつての RSA 解読チャレンジは終了してしまったが,他にも賞金付きのイベントはあるんだから,そっちで解いてみせろよって話である。
AI による格子暗号の攻略
何故か今回の噂に絡む(AI 企業の株価操作か? と陰謀論に走りたくなる)形で出てきた Anthropic の論文について,我らが Bruce Schneier 先生が言及されているので紹介してみる。
今回話題になっている論文は耐量子計算機暗号(Post-Quantum Cryptography; PQC)として有力視されている格子暗号(lattice-based cryptography)の ML-KEM および ML-DSA の攻略に関するものらしい。 ちなみに ML-KEM と ML-DSA は2024年に米国 NIST の標準となっている。
- FIPS 203, Module-Lattice-Based Key-Encapsulation Mechanism Standard | CSRC
- FIPS 204, Module-Lattice-Based Digital Signature Standard | CSRC
まず大前提として,実用的な量子コンピュータはまだ登場していない。
Also, that the attack requires a quantum computer. We don’t have one of those in anything but toy versions yet.
なので,論文の内容に関わらず,今すぐどうこうという話ではない。 とはいえ,昨今の量子コンピュータの進歩は著しいので,今後の動向を注視していくべきだろう。
前述の RSA の噂とも絡むと思うが,そもそも公開鍵暗号は対称暗号に比べて弱いため,ターゲットになりやすい。
Two, public-key algorithms are more vulnerable than symmetric algorithms: block and stream ciphers, hash functions. Former Bletchly Park cryptanalyst Ian Cassells once said that “cryptography is a mixture of mathematics and muddle, and without the muddle the mathematics can be used against you.” Public-key cryptography has a much higher math-to-muddle ratio—making those algorithms easier targets for superhuman mathematical research techniques.
「暗号とは数学と混沌が入り混じったもの(cryptography is a mixture of mathematics and muddle)」という喩えは分かりやすいな。 この喩えで言うなら,公開鍵暗号は数学に対する混沌の比率が低いため攻略対象になりやすい,ということのようだ。
さらに言うと格子暗号のアルゴリズムは(RSA や Diffie‑Hellman のような1970年代から存在するアルゴリズムより)若いという問題がある。 格子暗号の安全性についての研究は比較的新しく,それだけに攻略のターゲットになりやすいそうだ。
Three: Of those, the new post-quantum lattice-based algorithms are easier targets than algorithms that have been around since the 1970s like RSA and Diffie-Hellman. The security of lattice systems is still a relatively new field of study, unlike factoring and the discrete log problem. Elliptic curve systems are somewhere in the middle.
故に Bruce Schneier さんは,この Anthropic 社の論文をポジティブに評価されている。
More evidence—if you can even call it that—that this is related to lattice-based cryptosystems, perhaps even the ones that are current NIST standards. This is a good thing; we need a lot more cryptanalysis of those systems.
AI を使ったアルゴリズム解析は今後加速するかもしれんねぇ。
CRYPTREC による評価レポート
ところで,日本の状況を調べてて知ったのだが,耐量子計算機暗号を含めた「CRYPTREC暗号リスト」改定のパブリックコメントを募集してたみたい。
CRYPTREC は毎年「CRYPTREC Report」を公開してるけど,AI を使った解析が一般的になるなら年1回では追いつかなくなるかもしれない。
毎度のことではあるが,道具はどんどん便利になっていくけど,人間というリソースが追いついてない感じがするよ。 足りないリソースをさらに機械で補おうとして,滅茶苦茶になっていく。
【追記】米国政府の動向
国家サイバー長官室(Office of the National Cyber Director),NSA(National Security Agency),CISA(Cybersecurity and Infrastructure Security Agency)による共同声明が出ている。
(某おじいちゃん大統領のせいで “Super Intelligence” とか書かされてて草)
内容としては前節までの状況が直ちに影響を及ぼすものではないというもの。
Our current assessment, in consultation with these technology companies, is that recent SI advances do not present an immediate and widespread threat to that cryptography. However, with the rapid evolution of SI and the tremendous capabilities being developed, it is incumbent upon industry and the government to work together to expeditiously upgrade our digital infrastructure and cybersecurity capabilities, with the interests of the American people front of mind.
さらに6月に耐量子計算機暗号(PQC)への移行準備を加速させる大統領令が発令されていることも併せて述べている。
In June, President Trump signed Executive Order 14412 (“Securing the Nation Against Advanced Cryptographic Attacks”) to accelerate the nation’s transition to a post-quantum cryptography readiness posture. As SI capabilities have advanced, the Administration has further accelerated this effort to strengthen cryptographic protections through a coordinated, whole-of-government and whole-of-industry approach.
一方 NSA は単独で勧告を発令し,国家安全保障システム(National Security Systems; NSS)の所有者,運用者,ベンダーに対して PQC への移行を直ちに進めるよう促している。
NSA は,CNSA (Commercial National Security Algorithm Suite) 2.0 の導入を優先し,暗号への依存関係を洗い出してリスクを評価し,移行計画を立てるよう勧告している。
ちょっと長いけど,そのまま引用する。
What should organizations do now?
NSS owners and operators must prioritize implementation of Commercial National Security Algorithm Suite 2.0 (CNSA 2.0), identify quantum-vulnerable cryptographic dependencies and establish modernization plans.
NSA just released an advisory, “Immediate Actions to Push Toward Post-Quantum,” that outlines necessary steps that organizations can implement immediately.
Additionally, organizations should continue modernization and prioritize the following actions:
- Inventory cryptographic dependencies, including public-key algorithms, digital signatures, and firmware validation mechanisms.
- Prioritize quantum-resistant firmware signatures and hardware roots of trust, which may be difficult or impossible to update after acquisition.
- Specify CNSA 2.0 requirements in acquisitions and prioritize appropriately validated products.
- Develop transition plans for fielded equipment, including hardware replacement when necessary.
- Ensure systems support cryptographic agility, including sufficient processing power, memory, and capacity for future algorithm updates.
- Track and report quantum-vulnerable systems in accordance with applicable requirements.
Next Steps
Verify vendor PQC readiness and implement mitigations now.
Step 1: Inventory your cryptographic dependencies.
Step 2: Assess risk.
Step 3: Triage and implement.
CNSA 2.0 の暗号スイートについては Kagi Assistant に調べてもらったのだが以下のような感じらしい。
主なアルゴリズムと役割は,次のとおりです。
| 用途 | アルゴリズム | 何をするものか |
|---|---|---|
| データの暗号化 | AES-256 | データ本体を暗号化します |
| 鍵の確立 | ML-KEM-1024 | 通信などで共有する鍵を安全に確立します |
| デジタル署名 | ML-DSA-87 | ソフトウェアなどの作成者や改変の有無を確認します |
| ハッシュ | SHA-384またはSHA-512 | データの要約値を作り,完全性確認などに使います |
| ファームウェア・ソフトウェアの署名 | LMSまたはXMSS | 機器のファームウェアやソフトウェアの署名に使います |
NSAのFAQでは,ML-KEM-1024とML-DSA-87は全ての機密区分向けとして示され,ファームウェア・ソフトウェア署名にはLMSやXMSSも認められています。一方,SLH-DSAはCNSA 2.0には含まれず,NSSでの使用も承認されていないとされています。1
なお,ML-KEMはデータを直接暗号化する方式ではなく,暗号化に使う鍵を確立するための方式です。実際のデータ暗号化にはAES-256が使われます。1
M-26-15 によれば重要システムについては2030年までに PQC へ移行するスケジュールだったようだが NSA の勧告でさらに前倒しになるという感じだろうか。 この辺は今後の情報に注意する必要がありそうだ。
一方,日本政府は…
それに対して日本政府の動きはのんびりしたもののようだ。
自民党の国家サイバーセキュリティ戦略本部長を務める平氏は、科学誌Natureが記事を紹介したXの投稿を引用した。平氏は自身の投稿で、米国などの同盟国・同志国や、最先端のAIを開発する企業、国際社会と危機感を共有し、連携を強めるよう政府に求めた。
内閣官房の国家サイバー統括室が2025年11月に公表した中間とりまとめでは、政府機関などの情報システムを原則として2035年までに耐量子計算機暗号(PQC)へ移行することを目指す。
軽くググってみたが,これよりも新しい情報は見当たらなかった。 2035年じゃ遅いかもしれんよ。
ブックマーク
- FIPS 205, Stateless Hash-Based Digital Signature Standard | CSRC
- SP 800-230, Additional SLH-DSA Parameter Sets for Limited Signature Use Cases | CSRC (Draft)
- NSA Advises Immediate Transition to Post-Quantum Cryptography to Protect National Security Systems > National Security Agency/Central Security Service > Press Release View
- Joint Statement on Recent Advances in Cryptographic and Cybersecurity Capabilities | CISA
- NSAが安全性の高い新しい暗号方式「耐量子暗号」への即時移行を呼びかけ
参考図書
- 暗号化 プライバシーを救った反乱者たち
- スティーブン・レビー (著), 斉藤 隆央 (翻訳)
- 紀伊國屋書店 2002-02-16
- 単行本
- 4314009071 (ASIN), 9784314009072 (EAN), 4314009071 (ISBN)
- 評価
[Comment] 20世紀末,暗号技術の世界で何があったのか。知りたかったらこちらを読むべし!
- 暗号技術入門 第3版 秘密の国のアリス
- 結城 浩 (著)
- SBクリエイティブ 2015-08-25 (Release 2015-09-17)
- Kindle版
- B015643CPE (ASIN)
- 評価
[Comment] SHA-3 や Bitcoin/Blockchain など新しい知見や技術要素を大幅追加。暗号技術を使うだけならこれ1冊でとりあえず無問題。


