Commit Graph
25 Commits
Author SHA1 Message Date
tkgstratorandClaude Opus 4.6 565ab2b1d4 docs(spec): Phase 2 KDF ドキュメントを最新の解析結果で更新
- 48B鍵の説明を「TFIT出力」→「SHA384(session_bind[:16])」に修正
- Mermaid図にPSK/nonce→KDF→SHA384→48B鍵のフローを追加
- 未解明事項を更新 (48B鍵は解明済み、残りはTFITエンコードのみ)
- nflxDhDerive 静的解析結果のアドレスを追記

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 00:46:51 +00:00
tkgstratorandClaude Opus 4.6 60e5dc2308 docs(plans): TFIT/48B鍵調査プランを追加
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 18:10:07 +00:00
tkgstratorandClaude Opus 4.6 a9cb32b8e5 docs(spec): nflxDhDerive静的解析で48B HMAC鍵の導出チェーンを特定
SHA384(native_key_bytes) → 48B鍵 → HMAC-SHA384(key, 0x00||DH_shared) → enc/sign/wrap鍵分割

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 18:09:29 +00:00
tkgstratorandClaude Opus 4.6 1941955b90 docs(spec): 48B鍵の導出パスを図に追加 (KDF → SHA384 → 48B鍵)
Phase 3 KDF の session_bind から SHA384 を経て 48B 鍵に至る
データフローを Mermaid 図に明示。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 18:06:16 +00:00
tkgstratorandClaude Opus 4.6 8f9c13fa22 docs(spec): 48B鍵を「計算可能」に更新、SHA384(session_bind[:16]) 解明
- 48B鍵をオレンジ(由来不明)→緑(解明済み)に変更
- 鍵一覧テーブルに導出式を追記
- 未解明ポイントから48B鍵を解決済みに移動
- 凡例に緑(解明済み)を追加

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 18:05:23 +00:00
tkgstratorandClaude Opus 4.6 8f62f20a4c docs(spec): NFWebCrypto TFIT WB-AES-128-ECB 静的解析結果を追加
genModelGroupKeys → encryptAes128Ecb → TFIT_wbaes_ecb_encrypt_iAES11 の
全コールチェーンを逆アセンブルし、ラウンド構造・テーブル配置・
デバイス別キースケジュール選択ロジックを文書化。

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 18:05:00 +00:00
tkgstratorandClaude Opus 4.6 c4da8c487c docs(spec): key 33.6 構成の解析結果を反映
- RSA 暗号化は未使用 (実証済み) を解決済みに追加
- key 33.6 サイズを 464B → 144B/352B に修正
- kAppBootKey の点線接続を削除 (RSA 不使用のため)
- key 33.6 構成方法を未解明ポイントに追加

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 17:07:06 +00:00
tkgstratorandClaude Opus 4.6 6372205587 docs(spec): 未実証の関係を点線に変更、Phase 1/2 図を修正
- kAppBootKey → key 33.6 の暗号化を点線(未実証)に変更
- kAppBootEccKey の署名検証も点線に変更
- key 33.6 リクエスト (464B) をオレンジ(由来不明)に追加
- Phase 2 に DH_compute_key ノードを追加(サーバー公開鍵入力を明示)
- 凡例に点線の説明を追加

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 16:54:36 +00:00
tkgstratorandClaude Opus 4.6 a4e9d6b9f4 docs(spec): 鍵関係図に Phase 2 KDF 解明結果と由来不明の 48B 鍵を反映
- Phase 2 を「未解明」→「解明済み」に更新
- 48B 鍵をオレンジ色(由来不明)として追加
- enc_key_0/sign_key_0 を黄色(計算可能)に変更
- シーケンス図に HMAC-SHA384 フローを追記
- 鍵一覧テーブルに 48B 鍵を追加
- 未解明ポイントを更新

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 16:31:45 +00:00
tkgstratorandClaude Opus 4.6 b4f5c51afd docs(plans): Phase 2 KDF プランのタスク完了状態を更新
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 16:16:44 +00:00
tkgstratorandClaude Opus 4.6 dc282686e7 docs(spec): Phase 2 KDF 解析結果を文書化 — HMAC-SHA384(TFIT_KEY, 0x00||DH_SHARED)
DH 共有秘密から初期セッション鍵を導出するアルゴリズムを解明:
- HMAC-SHA384 with 48B TFIT key, 0x00 prefix + 128B shared secret
- enc_key = output[0:16], sign_key = output[16:48]
- HKDF は NFWebCrypto に存在しないことを確認
- テストベクタで検証済み

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-08 16:16:14 +00:00
tkgstratorandClaude Opus 4.6 19d978ccb1 fix(docs): ライフサイクル図にMermaidダークテーマを適用
theme: dark ディレクティブを追加し、テキストの視認性を改善。
rect の透過度も調整。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 13:35:44 +00:00
tkgstratorandClaude Opus 4.6 00957394bc fix(docs): ライフサイクル図をダークモード対応に変更
rect の背景色を rgba 半透明に変更し、ダークモードで視認性を確保。
冗長なラベルも簡潔に整理。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 13:35:03 +00:00
tkgstratorandClaude Opus 4.6 e620d4c7dc fix(docs): Mermaid図の括弧をパース可能な形式に修正
Mermaidのgraphノードラベル内の括弧がノード形状として解釈されるバグを修正。
全セクションで括弧を除去し、subgraphにはID付き構文を使用。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 13:33:52 +00:00
tkgstratorandClaude Opus 4.6 f7110ba645 docs(spec): ログイン時の鍵配送解析結果を反映
- msl_key_relationship: Phase 4 (ログイン鍵配送) を追加
  enc_key_1でAES-CBC復号 → enc_key_2/sign_key_2を取得する流れを図示
  シーケンス図、検証データ、二重署名構造、フック制約表を追加
- msl_kdf_analysis: ログイン鍵配送の検証データ、二重署名構造を追記
  KDFは常にenc_key_0/sign_key_0を入力とすることを明記

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 13:27:15 +00:00
tkgstrator 9f0aa728f7 docs(readme): add English README and improve structure, add language badge
Introduces an English README as the main documentation and moves the Japanese
version to a dedicated file with a language switcher badge. Updates README
structure and content for clarity, consistency, and ease of navigation for
both English and Japanese readers.
2026-04-08 12:54:01 +00:00
tkgstratorandClaude Opus 4.6 db2e6c3375 feat(tweak,msl): EVPフック追加・無効化とKDF鍵更新実装
- Tweak: EVP_CipherInit_ex/Update/Final, EVP_DecryptInit_ex/Update/Final フック追加
  → NFWebCrypto内のEVPはTFIT(ENC)専用でMSL復号には使われないことを確認
  → RSA public key not found エラーの原因となるため #if 0 で無効化
- Python: kdf_renew() 実装と検証データによるテスト
- constants: IOS_KDF_PSK / IOS_KDF_NONCE をハードコード定数として追加
- docs: KDF解析仕様書と鍵関係図(Mermaid)を追加

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-08 12:52:41 +00:00
tkgstrator f481f03124 feat(msl-ios): improve iOS CBOR MSL decryption and tweak DH key capture
Enhances iOS MSL CBOR decoder for multi-item parsing, iOS-specific payload
handling, and IV extraction from ciphertext. Updates NetflixCrypto to support
Tweak-format key JSON. Extends the Tweak to capture DH key exchange material
and session keys more reliably, saving full key histories and implementing
better appboot phase tracking. Adds scripts for DH-derived HKDF parameter
analysis and appboot key response investigation.

Improves documentation on iOS CBOR MSL protocol differences, decryption
pipeline, and key extraction workflow.

Relates to iOS MSL traffic analysis and decryption research.
2026-04-08 10:18:44 +00:00
tkgstrator f3e91bf143 feat(docs,tools): add iOS MSL analysis docs and HKDF param search scripts
Introduces detailed documentation for the iOS Netflix MSL client, including work plans and a comprehensive decryption pipeline, to support reverse engineering and protocol understanding.

Adds Python scripts that automate brute-force searching of HKDF parameters, support key derivation analysis across multiple encryption and HMAC key candidates, and verify DH parameter consistency.

Facilitates future development of a standalone iOS MSL client and aids in identifying the correct key derivation logic needed for cross-platform manifest decryption.
2026-04-08 10:12:57 +00:00
tkgstrator b9fdfc5f4f feat(tweak): add AppbootKeyExtract for Netflix appboot key extraction
Introduces a new tweak project to extract Diffie-Hellman and session keys
from the Netflix iOS app using Security.framework and function hooks.
Updates documentation for improved iOS device connectivity via USB and
iproxy, and clarifies setup instructions. Adjusts devcontainer port
forwarding to expose only necessary ports.

Relates to planned appboot DH key extraction workflow.
2026-04-08 09:14:40 +00:00
tkgstrator a69edeba2d feat(devcontainer): Theos統合とAppDelegateフック修正、関連ドキュメント更新
Theosビルド環境をappコンテナに統合し、サイドカーtheosコンテナやdocker関連設定を削除。
AppDelegateのフックを正しいクラス名/継承関係で実装し直し、ログ出力で動作確認。
起動時のシェル初期化・バックグラウンドログ収集を追加。
各種ドキュメント、タスク、パッケージ名も新構成に合わせて更新。
2026-04-07 09:37:44 +00:00
tkgstrator 1d06301d11 feat(tweak): NetflixSSLBypassをos_log対応&ロード監視強化、CBOR MSL復号支援
- NetflixSSLBypass Tweakを大幅簡略化し、ロード時のos_log出力・UIViewControllerフックログを追加
- C/Swift分離で初期化・Orion安定化、ロード検知精度を向上
- ログ監視エージェント(log-monitor)を新設し、Frida/mitmproxy/Tweakの3系統ログを横断監視・復号状況レポート可能に
- iOS用CBOR MSLメッセージの復号・エンコードパイプラインと検証CLIを新規実装
- Theosビルド/デバイス接続/ファイル分割等の運用ルールを明文化し、計画・レポート雛形もアップデート

Netflix iOS解析の自動化・再現性向上、及び復号パイプラインのクロスプラットフォーム化を目的とする
2026-04-07 06:36:03 +00:00
tkgstratorandClaude Opus 4.6 d91af8380b docs: Netflix仕様書の再構成とiOS解析ドキュメント追加
- 旧ドキュメント (docs/netflix/, docs/instructions/ 等) を削除
- docs/spec/: appboot ピンニング解析、iOS再生フロー、
  MSL CBOR鍵交換解析、キャプチャ復号状況、暗号化フロー図を追加
- docs/netflix_client_spec.md, platform_flow_comparison.md を追加
- iOS認証・マニフェスト・ライセンス取得フロー詳細を追加

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-07 02:06:14 +00:00
tkgstrator 753b3da861 docs(netflix): Netflixクライアント通信仕様書と関連技術文書を新規追加
Netflix iOS/Androidアプリのリバースエンジニアリング結果をもとに、
通信仕様書および全技術ドキュメント(アーキテクチャ、MSL、ESN、認証、API、DRM、プロファイル、ヘッダー・Cookie、CDN、付録)を新規追加。
  
これにより、アプリ通信やDRM、認証フロー、ストリーミングプロファイル等の全体像と詳細な観測内容を体系的に参照可能となる。

あわせて、コミットメッセージAI生成設定・運用ルールも改善。
Git署名設定を一時的に無効化し、ドキュメント作成日時ルールを明文化。
2026-03-15 09:54:40 +00:00
tkgstrator 28819b6f25 chore: prepare for commit message generation without code changes 2026-03-14 18:29:30 +00:00