본문으로 건너뛰기
Skillpedia
보안42k · #6428

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/zhaoxuya520/reverse-skill/blob/main/CTF-Sandbox-Orchestrator/competition-firmware-layout/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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

  1. Preserve the original image, extracted partitions, unpacked filesystems, and patched copies as separate artifacts.
  2. Map outer container, partition table, bootloader, kernel, rootfs, config, and update metadata before editing anything.
  3. Track the boot or update chain in order instead of jumping straight to the most interesting file.
  4. Record keys, signatures, offsets, partition boundaries, and init entrypoints in one compact evidence chain.
  5. 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.md for 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

repo: zhaoxuya520/reverse-skill

인기도

GitHub 스타
42k
순위
#6428
라이선스
MIT
업데이트
2026. 9. 22.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬