tkgstrator and Claude Opus 4.6
517b4560ee
feat(tweak): AES_encrypt フックと TFIT チェーン検出を追加
...
- AES_encrypt (ECB 単一ブロック) の入出力をキャプチャ
- KAT マーカー (000102...1f) で TFIT チェーン開始を検出
- AES-128 鍵設定でチェーン終了を検出
- 690 ペアのキャプチャに成功、DH 秘密鍵生成を確認
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-08 17:39:11 +00:00
tkgstrator and Claude Sonnet 4.6
bb12025224
feat(frida): TFIT ホワイトボックス AES テーブル抽出スクリプトを追加
...
AES_set_encrypt_key (AES-256) と AES_encrypt (単体ブロック ECB) を
フックして TFIT チェーンの鍵・入出力ペアを全件キャプチャする。
KAT マーカーでラウンドを区切り、チェーン完了後に TFIT_KEY 候補を出力する。
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-08 17:10:24 +00:00
tkgstrator and Claude Opus 4.6
2282fef9e0
feat(tweak): DH_generate_key, RSA_public_encrypt, EVP_PKEY_encrypt フックを追加
...
key 33.6 構成の追跡のため:
- DH_generate_key: クライアント DH 公開鍵・秘密鍵をキャプチャ
- RSA_public_encrypt: RSA 暗号化の有無を確認 → 未呼び出しを確認
- EVP_PKEY_encrypt: EVP 暗号化の有無を確認 → 未呼び出しを確認
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-08 17:05:39 +00:00
tkgstrator and Claude Opus 4.6
547d595955
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
tkgstrator and Claude Sonnet 4.6
af7d685a18
feat(tweak): add AppbootKDF tweak for Phase 2 KDF intermediate state capture
...
Hooks NFWebCrypto DH_compute_key (dhDerive), HKDF_extract/expand/one-shot,
AES_set_encrypt_key/decrypt_key (aesCbc), HMAC one-shot and HMAC_Init_ex/Final
with os_log subsystem "com.netflix.kdf" and per-function categories.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-08 15:46:59 +00:00
tkgstrator and Claude Sonnet 4.6
c3b6835d56
feat(frida): Phase 2 KDF 全暗号操作トレーサースクリプトを追加
...
DH 共有秘密から enc_key_0/sign_key_0 への変換を特定するため、
DH_compute_key 〜 AES_set_*_key 間の全 HMAC/SHA/AES 呼び出しを
同一スレッドのみ記録し、シーケンスサマリとクロスリファレンスを出力する。
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com >
2026-04-08 14:09:25 +00:00
tkgstrator and Claude Opus 4.6
9fc124f112
feat(frida): appboot DH共有秘密の手動計算と初期鍵復号試行スクリプト
...
DH_generate_keyフックでDHハンドルを保存し、サーバー公開鍵を手動設定後
NativeFunctionでDH_compute_keyを呼び出して共有秘密を計算する。
SHA-384/SHA-256/HMAC等の複数候補鍵でkey 33.6の復号を試行し、
復号結果にKDFを適用して既知のenc_key_1と照合する。
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-08 13:48:48 +00:00
tkgstrator and Claude Opus 4.6
744cfccb3b
fix(tweak): AES_cbc_encryptフック無効化とEVPフックコメントアウト
...
- AES_cbc_encrypt: MSHookFunctionのトランポリンが関数を破壊することを確認
→ パススルーのみでも "Found Error Header in Msl response" エラー発生
→ フック無効化 (Fridaで代替可能)
- EVPフック: #if 0 でコメントアウト (NFWebCryptoのEVPはTFIT専用)
- Makefile: -Wno-unused-function 追加 (bisect用の無効化コードに対応)
- 全Group bisect完了: Group 1-4 (DH, AES key, HMAC, streaming HMAC) は安全
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com >
2026-04-08 13:03:17 +00:00
tkgstrator and Claude Opus 4.6
be363d6857
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
03e4754243
feat(tweak): add HKDF hook and remove frida/proxyman skills
...
Hooks HKDF_extract and HKDF_expand in the tweak for improved key derivation
logging and analysis. Removes Frida and Proxyman skills, references, and
documentation for a more focused Agent Team workflow.
Adds several Python tools for systematic HKDF and session key derivation
analysis, supporting ongoing reverse engineering and debugging efforts.
Switches all agent workflow documentation and prompts to English, clarifies
inter-agent communication constraints, and updates the workflow to reflect
current team structure and supported features.
Relates to the need for more accurate key extraction and simplified agent
usage.
2026-04-08 10:32:32 +00:00
tkgstrator
220e1d51a2
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
6b73b7baeb
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
097711b971
feat(devcontainer): Theos統合とAppDelegateフック修正、関連ドキュメント更新
...
Theosビルド環境をappコンテナに統合し、サイドカーtheosコンテナやdocker関連設定を削除。
AppDelegateのフックを正しいクラス名/継承関係で実装し直し、ログ出力で動作確認。
起動時のシェル初期化・バックグラウンドログ収集を追加。
各種ドキュメント、タスク、パッケージ名も新構成に合わせて更新。
2026-04-07 09:37:44 +00:00
tkgstrator
4c4df2215a
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
tkgstrator and Claude Opus 4.6
974030a9da
feat(chrome-extension): Chrome拡張とtasks.json更新
...
- packages/chrome-extension/: EME/Web Crypto/HTTP監視用Chrome拡張
- .vscode/tasks.json: Theosビルドタスクを追加
- mitmproxy-ca-cert.pem をgitignoreに追加
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-07 02:07:37 +00:00
tkgstrator and Claude Opus 4.6
6b006d47f9
feat(frida,mitmproxy): Fridaフック改善とmitmproxyキャプチャスクリプト追加
...
- hook_netflix_ios.js: readVec修正 (toUInt32), aesCbcEncryptDecrypt独立フック,
key_b64キャプチャ対応, hookCrypto有効化
- hook_appboot_bypass.js: appboot SSLピンニングバイパス (Frida版)
- hook_appboot_openssl_bypass.js: OpenSSL C関数バイパス
- hook_crash_trace.js: クラッシュ時スタックトレースキャプチャ
- netflix_ios_capture.py: mitmproxyアドオン (TLSパススルー, Netflix通信キャプチャ)
- msl_decoder.py: MSL CBOR/JSONデコーダー
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-07 02:07:10 +00:00
tkgstrator and Claude Opus 4.6
80c6f00408
chore(tweak): Theosビルド成果物をgitignoreに追加
...
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-07 02:06:57 +00:00
tkgstrator and Claude Opus 4.6
9c07447cf5
feat(tweak): NetflixSSLBypass — MSL鍵キャプチャ用iOS Tweakを追加
...
- Orion (Swift) + ElleKit C フックによるSSLピンニングバイパス
- Layer 1-4: ObjC フック (NflxTrustStore, PinnedCertEvaluator, IosMslClient, NFURLSession)
- Layer 5: OpenSSL verify / X509_verify_cert Cフック
- Layer 6: EVP_CipherInit_ex / EVP_CipherUpdate フック (TFIT鍵導出キャプチャ)
- Layer 7: MslClient aesCbcEncrypt/Decrypt オフセットフック (MSLセッション鍵キャプチャ)
- ctor.c: __attribute__((constructor)) でOrion非依存の初期化
- ログ出力: サンドボックス内 JSONL ファイルに key/iv/plaintext を保存
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com >
2026-04-07 02:06:33 +00:00