본문으로 건너뛰기
Skillpedia
보안6.5k · #14166

reverser-firmware

하는 일

이 스킬은 장치 펌웨어 이미지를 추출하고 그 파일 시스템을 읽는 단계를 제공합니다. 자신의 라우터나 IoT 펌웨어를 검토하는 보안 연구자와 장비 제조사를 위한 스킬입니다.

사용하는 경우

  • ✓연구자가 라우터 펌웨어 파일을 가지고 있고 그 안을 봐야 할 때.
  • ✓장비 제조사가 펌웨어에 하드코딩된 계정이나 비밀번호가 있는지 확인하려는 경우.
  • ✓테스터가 IoT 장치 이미지에서 웹 인터페이스 파일의 위치를 찾아야 할 때.

스킬 링크

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/reverser/firmware/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

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

Use this skill to help me: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/reverser/firmware/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분.

작동 방식

이 스킬은 AI에게 추출 도구로 중첩된 파일 시스템을 풀고, 장치 폴더를 매핑하고, 웹 서버 프로그램을 찾고, 내장 자격 증명을 검색하라고 지시합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Firmware Extraction Playbook

1. Extract

apt-get install -y binwalk squashfs-tools cramfsprogs
mkdir -p /workspace/fw && cd /workspace/fw
binwalk -eM /workspace/firmware.bin
find _firmware.bin.extracted -name "squashfs-root" -o -name "rootfs"

2. Map the root

ROOT=$(find _firmware.bin.extracted -type d -name "squashfs-root" | head -1)
ls -la "$ROOT/etc/"
cat "$ROOT/etc/passwd"          # look for hardcoded users
cat "$ROOT/etc/shadow"          # password hashes — feed to hashcat
cat "$ROOT/etc/init.d/S*" 2>/dev/null
cat "$ROOT/etc/rc.d/rc.local" 2>/dev/null

3. Web server binary

find "$ROOT" -name "httpd" -o -name "lighttpd" -o -name "nginx" -o -name "boa"
# For each: bin_identify + bin_strings + bin_symbols_report

CGI binaries under www/cgi-bin/ are the highest-yield targets — often one file per endpoint with direct system() calls from query params.

4. Hardcoded credentials

bin_strings(path=web_server_binary, category_filter="secret")
bin_strings(path=web_server_binary, category_filter="crypto")

Also check for base64 / hex key patterns near strcmp calls (manual audit via the active Ghidra runtime. Hosted runs import the extracted binary under /workspace with ghidra_import_file; use ghidra_find_tools for native capabilities not initially listed. Standalone runs may expose local script generation tools instead.)

5. Authentication bypass audit

Look for:

  • Magic string comparisons (strcmp(user, "admin"))
  • Debug backdoor paths (/debug, /cgi-bin/shell, .sys)
  • UART/JTAG enabled in bootargs (check bootargs.txt in extraction)

6. Cross-reference CVEs

For the extracted busybox / kernel / dropbear / openssl versions:

cve_by_package("busybox", "1.27.2", "OSS-Fuzz")
cve_lookup("CVE-2021-28831,CVE-2023-0464")

7. Record

Add:

  • repo node for the firmware image
  • file nodes for each interesting binary
  • credential nodes for any hardcoded creds
  • vulnerability nodes for each audit finding
  • entrypoint for each cgi-bin path
자주 묻는 질문

펌웨어 추출에는 어떤 도구를 쓰나요?

이미지를 풀기 위해 binwalk와 squashfs 도구를 사용합니다.

왜 웹 서버 파일을 보나요?

이 파일들은 장치에서 검토할 가치가 가장 큰 경우가 많다고 이 스킬은 설명합니다.

누구를 위한 것인가요?

자신의 펌웨어나 허가된 펌웨어를 검토하는 장비 제조사와 보안 연구자입니다.

상세 정보

작성자의 원본 설명

Router / IoT firmware extraction pipeline — unpack nested filesystems, locate web server, identify backdoor credentials.

repo: BitterSecurity/Decepticon

인기도

GitHub 스타
6.5k
순위
#14166
라이선스
Apache-2.0
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬