migrating-to-post-quantum-cryptography
できること
このツールは、通信システムを量子コンピューターに備えて準備する手助けをします。使用している暗号方式を確認し、より安全なものを選ぶ支援をし、量子攻撃に耐える新しい暗号方式のテストもできます。
使う場面
- ✓システムでどの暗号方式が使われているかを知りたいとき。
- ✓長期間秘密にしておく必要があるデータを保護する必要があるとき。
- ✓新しく、より安全な暗号方式を、将来の攻撃に対して試したいとき。
スキルのリンク
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/migrating-to-post-quantum-cryptography/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“ウェブサーバーが耐量子暗号を使っているかどうかを確認するには、どうすればよいですか?”
毎週5つの新しいスキル。1分で読めます。
仕組み
このツールはまず、使用中のすべての暗号方式の一覧(インベントリ)を作成します。次に、従来の方式と新しい方式を組み合わせた「ハイブリッド」暗号の設定を支援し、安全性を確保します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Migrating to Post-Quantum Cryptography
Scope and Authorization: This skill describes defensive cryptographic-migration engineering on systems you own or operate. Cryptographic discovery scanning can touch sensitive key material and production traffic — run inventory tooling only with authorization and in line with your organization's change-management and data-handling policies.
Overview
A cryptographically relevant quantum computer (CRQC) running Shor's algorithm will break the public-key cryptography that secures almost all of today's communications and signatures: RSA, finite-field and elliptic-curve Diffie-Hellman (DH/ECDH), and ECDSA. Symmetric primitives (AES) and hashes (SHA-2/3) are only weakened (Grover gives a quadratic speedup, mitigated by larger key/output sizes), but asymmetric algorithms are catastrophically broken. The most urgent threat is harvest-now, decrypt-later (HNDL): adversaries capturing encrypted traffic today to decrypt once a CRQC exists, which puts long-lived secrets (health records, state secrets, intellectual property, root-of-trust keys) at risk now.
On 13 August 2024 NIST finalized the first post-quantum standards: FIPS 203 (ML-KEM, Module-Lattice KEM, formerly CRYSTALS-Kyber) for key establishment, FIPS 204 (ML-DSA, Module-Lattice digital signatures, formerly CRYSTALS-Dilithium), and FIPS 205 (SLH-DSA, the stateless hash-based signature scheme SPHINCS+). The migration playbook (NIST SP 1800-38, Migration to Post-Quantum Cryptography) is: (1) build a cryptographic inventory / CBOM, (2) prioritize by HNDL exposure and crypto-agility, (3) deploy hybrid schemes (a classical algorithm AND a PQC algorithm combined, e.g. X25519MLKEM768) so a break in either leg does not compromise the session, and (4) re-key and rotate.
This skill maps to ATT&CK T1573 – Encrypted Channel: the same cryptographic channels adversaries abuse for stealthy C2 are the channels defenders must make quantum-resistant; understanding the algorithms in use is foundational to both attack detection and defensive migration. The NIST CSF outcome is PR.DS-02 (data-in-transit protection) — and by extension data-at-rest for HNDL-sensitive stores.
When to Use
- When building an enterprise cryptographic inventory / Cryptography Bill of Materials (CBOM) for quantum-readiness.
- When prioritizing which systems must migrate first based on data lifetime and HNDL exposure.
- When enabling hybrid post-quantum key exchange (
X25519MLKEM768) on TLS endpoints, VPNs, or SSH. - When issuing PQC or hybrid certificates and testing PQC signature verification.
- When evaluating crypto-agility — the ability to swap algorithms without re-architecting applications.
Prerequisites
- OpenSSL 3.5.0 or later, which ships native ML-KEM, ML-DSA, and SLH-DSA support:
openssl version # expect 3.5.0+ openssl list -kem-algorithms | grep -i mlkem openssl list -signature-algorithms | grep -i mldsa - For OpenSSL 3.0–3.4, the Open Quantum Safe oqs-provider plus liboqs:
git clone https://github.com/open-quantum-safe/liboqs && \ cmake -S liboqs -B liboqs/build && cmake --build liboqs/build && \ sudo cmake --install liboqs/build git clone https://github.com/open-quantum-safe/oqs-provider && \ cmake -S oqs-provider -B oqs-provider/_build && \ cmake --build oqs-provider/_build && \ sudo cmake --install oqs-provider/_build - Python 3.8+ for the inventory helper:
python3 -m pip install cryptography - (Optional) A CBOM generator: CycloneDX
cdxgen, orcbomkit-theiafor container/directory crypto discovery.
Objectives
- Produce a cryptographic inventory (CBOM) of algorithms, key sizes, certificates, and protocols in use.
- Classify assets by quantum vulnerability and HNDL exposure and prioritize migration.
- Stand up and verify hybrid
X25519MLKEM768key exchange on a TLS endpoint. - Generate ML-KEM and ML-DSA keys and a PQC/hybrid certificate, and verify signatures.
- Establish a crypto-agility baseline and a re-keying / rotation plan.
MITRE ATT&CK Mapping
| ID | Official Technique Name | Relevance |
|---|---|---|
| T1573 | Encrypted Channel | Migration secures the encrypted channels (TLS/VPN/SSH) that protect data in transit; cryptographic inventory of these channels also underpins detection of adversary-controlled encrypted C2. |
…
よくある質問
「今収集し、後で解読する」(HNDL)とは何ですか?
攻撃者が今データを記録しておき、強力な量子コンピューターを手に入れた後で解読するという脅威です。
「ハイブリッド」暗号とは何ですか?
従来のアルゴリズムと耐量子アルゴリズムを同時に使う暗号方式です。片方が破られても、もう片方がデータを守ります。
このツールを使うには量子コンピューターが必要ですか?
いいえ。このツールは将来への準備のためのものです。量子コンピューターが存在し、現在の暗号を破れるようになる時代に備えるためのものです。
詳細
作者による元の説明
Build a cryptographic inventory/CBOM with OpenSSL 3.5+, deploy hybrid post-quantum key exchange (X25519MLKEM768) on TLS/VPN/SSH endpoints, generate ML-KEM/ML-DSA keys and PQC/hybrid certificates, and prioritize migration by harvest-now-decrypt-later (HNDL) exposure per NIST SP 1800-38. Use when inventorying enterprise cryptography for quantum-readiness, enabling hybrid PQC key exchange, or issuing
人気
- GitHubのスター
- 35k
- ランキング
- #8160
- ライセンス
- Apache-2.0
- 更新日
- 2026/8/31
コメント
- …
このリポジトリの他のスキル
abusing-dpapi-for-credential-access
35k特定のタスク向けに用意された指示をAIエージェントに与え、より良く、より速く作業できるようにします。
abusing-shadow-credentials-for-privesc
35kAIエージェントに、明確で構成のしっかりした文章の書き方を教えます。
achieving-cmmc-level-2-compliance
35kエージェントがCMMC Level 2への準拠に向けた環境を整えられるようにします。セキュリティ要件を実装し、必要なドキュメントを管理します。
acquiring-disk-image-with-dd-and-dcfldd
35kエージェントがハードディスクの完全なコピーを作成できるようにします。調査中に情報が失われたり改変されたりしないようにするのに役立ちます。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。