Chuyển đến nội dung
Skillpedia
Bảo mật6.5k · #14166

reverser-firmware

Skill này làm gì

Skill đưa ra các bước trích xuất image firmware của thiết bị và đọc hệ thống file của nó. Dành cho nhà nghiên cứu bảo mật và nhà sản xuất thiết bị rà soát firmware router hoặc IoT của chính họ.

Khi nào nên dùng

  • ✓Khi nhà nghiên cứu có một file firmware router và cần xem bên trong có gì.
  • ✓Khi nhà sản xuất muốn kiểm tra firmware xem có tài khoản hoặc mật khẩu được mã hóa cứng không.
  • ✓Khi người kiểm thử cần tìm các file giao diện web bên trong image của thiết bị IoT.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/reverser/firmware/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Tôi có một file firmware router. Làm sao để trích xuất nó và kiểm tra mật khẩu được mã hóa cứng?”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Skill yêu cầu AI giải nén các hệ thống file lồng nhau bằng công cụ trích xuất, lập bản đồ thư mục thiết bị, tìm chương trình máy chủ web và tìm kiếm thông tin đăng nhập có sẵn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Nó dùng công cụ nào để trích xuất firmware?

Nó dùng binwalk và các công cụ squashfs để giải nén image.

Vì sao phải tìm file máy chủ web?

Skill lưu ý rằng các file này thường là thứ hữu ích nhất để rà soát trên thiết bị.

Ai là đối tượng sử dụng?

Nhà sản xuất thiết bị và nhà nghiên cứu bảo mật rà soát firmware của chính họ hoặc firmware đã được ủy quyền.

Chi tiết

Mô tả gốc của tác giả

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

repo: BitterSecurity/Decepticon

Độ phổ biến

Sao GitHub
6.5k
Vị trí xếp hạng
#14166
Giấy phép
Apache-2.0
Cập nhật
1/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự