competition-firmware-layout
できること
このツールは、ファームウェア(機器の内部で動くソフトウェア)がどのように構成されているかを理解するのに役立ちます。各部分の構成、それらのつながり、機器の起動や更新の方法を整理して示します。
使う場面
- ✓ファームウェアの構造を確認したいとき。
- ✓機器の起動や更新の順序を理解したいとき。
- ✓ファームウェア内の秘密情報やパスワードを探したいとき。
スキルのリンク
https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-firmware-layout/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このファームウェアの構造を分析して、起動プロセスを見せてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このツールはファームウェアファイルを調べ、パーティションやファイルシステムなどの構成要素を特定します。そのうえで、起動または更新の流れをたどり、その情報を分かりやすく整理します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
Competition Firmware Layout
Use this skill only as a downstream specialization after $ctf-sandbox-orchestrator is already active and has established sandbox assumptions, node ownership, and evidence priorities. If that has not happened yet, return to $ctf-sandbox-orchestrator first.
Use this skill when the hard part is understanding how a firmware image is structured, booted, updated, and turned into reachable device behavior.
Reply in Simplified Chinese unless the user explicitly requests English.
Quick Start
- Preserve the original image, extracted partitions, unpacked filesystems, and patched copies as separate artifacts.
- Map outer container, partition table, bootloader, kernel, rootfs, config, and update metadata before editing anything.
- Track the boot or update chain in order instead of jumping straight to the most interesting file.
- Record keys, signatures, offsets, partition boundaries, and init entrypoints in one compact evidence chain.
- Reproduce the decisive secret, branch, or reachable service from the smallest extracted path.
Workflow
1. Establish Image Layout
- Identify container type, partition headers, compression, filesystem type, and any appended or nested images.
- Record offsets, sizes, hashes, mount points, and partition names before extraction mutates anything.
- Separate bootloader, kernel, initramfs, rootfs, config blobs, and update metadata as different layers.
2. Trace Boot Or Update Flow
- Map how control moves from bootloader to kernel to init to services, or from update package to verifier to installer.
- Note which credentials, certificates, passwords, seeds, or config files are consumed at each stage.
- Distinguish checked-in firmware intent from the live behavior the extracted files actually support.
3. Reduce To The Decisive Path
- Show the smallest chain from image boundary to service exposure, auth bypass, debug interface, credential recovery, or flag artifact.
- Keep extracted filesystems, derived configs, and patch experiments separate from pristine inputs.
- If the challenge becomes mostly about native crash behavior or exploit primitives after extraction, switch back to the broader reverse skill.
Read This Reference
- Load
references/firmware-layout.mdfor the layout checklist, boot-chain checklist, and evidence packaging.
What To Preserve
- Partition offsets, hashes, filesystem types, mount paths, boot entrypoints, and update metadata
- Extracted secrets, config paths, init scripts, service units, and credentials tied to the stage that consumes them
- Original images, extracted layers, mounted views, and patched copies as separate artifacts
よくある質問
ファームウェアの「パーティション」とは何ですか?
ファームウェアファイル内の区切りのようなもので、それぞれがオペレーティングシステムや設定など、異なる種類の情報を格納しています。
「起動の流れをたどる」とはどういう意味ですか?
電源を入れてから使える状態になるまでに、機器の内部ソフトウェアがたどる経路を追い、各段階でどの部分が使われるかを特定することです。
元のファイルを保存しておくことが重要なのはなぜですか?
解析や改変の途中で問題が起きた場合に初期状態へ戻れるようにするため、また発見内容の明確な基準として残すためです。
詳細
作者による元の説明
Internal downstream skill for ctf-sandbox-orchestrator. CTF-sandbox workflow for firmware images, partition tables, boot chains, update packages, extracted filesystems, embedded configs, and device-facing trust boundaries. Use when the user asks to unpack firmware, map partition layout, inspect bootloader or init chains, recover update keys or credentials, trace config loading, or explain how a de
人気
- GitHubのスター
- 42k
- ランキング
- #6428
- ライセンス
- MIT
- 更新日
- 2026/9/22
コメント
- …
このリポジトリの他のスキル
competition-ad-certificate-abuse
42kエージェントが、デジタル証明書システムへの攻撃を分析する手助けをします。証明書が悪用されてアクセス権を得られてしまう仕組みを調査します。
competition-agent-cloud
42kエージェントが、AIシステムやクラウドにおけるセキュリティ上の課題を分析する手助けをします。プロンプト、ツール、クラウドがどのように悪用されうるかを調査します。
competition-android-hooking
42kエージェントがAndroidアプリを調査する手助けをします。アプリの内部動作を分析し、改変や悪用の可能性を調べます。
competition-browser-persistence
42kエージェントが、Webサイトがブラウザ内に情報を保存する仕組みを分析する手助けをします。Cookieなどのデータを調べ、セッションの仕組みを理解します。
似ているスキル
reverse-engineer-anything
422kREAツールを使って、出荷済みのアプリやパッケージの中身を調べ、機能の説明、版の比較、再構築の手順をエージェントが支援します。
1password
394k1Password CLIをセットアップし、サインインして、秘密情報の値を会話に表示せずに読み取ったり注入したりするようエージェントを支援します。
healthcheck
394kOpenClawを動かすコンピューターやサーバーを、SSH、ファイアウォール、更新、バックアップなどのセキュリティリスクについて監査し、安全な修正案を提案するようエージェントを支援します。