performing-firmware-malware-analysis

Featured

Analyzes firmware images for embedded malware, backdoors, and unauthorized modifications targeting routers, IoT devices, UEFI/BIOS, and embedded systems. Covers firmware extraction, filesystem analysis, binary reverse engineering, and bootkit detection. Activates for requests involving firmware security analysis, IoT malware investigation, UEFI rootkit detection, or embedded device compromise assessment.

AI & Automation 36,355 stars 4443 forks Updated 2 months ago Apache-2.0

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Performing Firmware Malware Analysis ## When to Use - A compromised IoT device or router needs firmware analysis to identify implanted backdoors - Investigating UEFI/BIOS rootkits that persist across OS reinstallations - Analyzing firmware updates for supply chain compromise or malicious modifications - Extracting and examining embedded Linux filesystems from IoT device firmware images - Verifying firmware integrity after a suspected hardware or firmware-level compromise **Do not use** for standard operating system malware; use PE/ELF analysis tools for OS-level malware on conventional systems. ## Prerequisites - binwalk installed for firmware image analysis and extraction (`pip install binwalk`) - Ghidra with ARM/MIPS architecture support for embedded binary reverse engineering - UEFI Tool (UEFITool) for UEFI firmware parsing and analysis - Firmware Analysis Toolkit (FAT) or EMBA for automated firmware analysis - QEMU for emulating extracted firmware filesystems - Cross-compilation toolchains for ARM, MIPS, and other embedded architectures ## Workflow ### Step 1: Extract and Identify Firmware Components Analyze the firmware image structure and extract filesystems: ```bash # Identify embedded filesystems and compressed data binwalk firmware.bin # Extract all identified components binwalk -e firmware.bin # Recursive extraction with signature scanning binwalk -eM firmware.bin # Output typically includes: # - Bootloader (U-Boot, GRUB, custom) # - Kernel image (Linu...

Details

Author
mukul975
Repository
mukul975/Anthropic-Cybersecurity-Skills
Created
8 months ago
Last Updated
2 months ago
Language
Python
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category