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에이전트가 안드로이드 애플리케이션을 조사하도록 돕습니다. 앱이 내부적으로 어떻게 작동하는지, 어떻게 변경되거나 악용될 수 있는지 분석합니다.
competition-browser-persistence
42k에이전트가 웹사이트가 브라우저에 정보를 저장하는 방식을 분석하도록 돕습니다. 쿠키와 기타 데이터를 조사해 세션이 어떻게 작동하는지 이해합니다.