Firmware Profile
The firmware profile is a short, machine-readable summary of a firmware image. It states whether a downloaded file is firmware at all, and it contains the information that is needed to run the firmware in an emulator: which operating system and CPU architecture it uses, how it starts, which services it provides and what it expects from the device.
The profile is meant for anyone who wants to emulate a firmware image, inside or outside Firmware Vault. Its field names and values follow the naming of common emulation frameworks for Linux-based firmware, such as Firmadyne, FirmAE and Penguin, and cover the inputs that rehosting tools for RTOS and bare-metal firmware need.
The profile only describes the firmware. It never contains firmware files, file contents or secrets. For credentials it only states whether any were found.
Format
There is one profile per firmware image, stored as a JSON document.
- The image is identified by the SHA-256 hash of the image file, so a profile can be matched to the same image in any other installation or dataset.
profile_versiongives the version of the format. New fields increase the minor version (1.0to1.1); renamed or removed fields increase the major version (1.xto2.0).- All fields are listed in
fields. Every field holds itsvalueand itssource: the tool, the tool version and the method that produced the value.
A value can be unknown or not present:
| Value | Meaning |
|---|---|
null | Unknown. The field could not be determined, for example because the image could not be unpacked. |
false, [] | Checked and not present. Only used when the check can rule the value out. If a search finds nothing but could have missed something (for example a web server with an unknown name), the value is null. |
| missing field | Same as null. The profile was created with an older format version. |
Example (shortened):
{
"profile_version": "1.0",
"created": "2026-11-13T10:15:00Z",
"image": {
"sha256": "4f2c...e91a",
"manufacturer": "ExampleVendor",
"product": "Router X1",
"version": "1.0.4"
},
"fields": {
"classification": {
"value": "firmware",
"source": { "tool": "firmware-profile", "tool_version": "1.0.0", "method": "rootfs_found" }
},
"os_type": {
"value": "linux",
"source": { "tool": "firmware-profile", "tool_version": "1.0.0", "method": "rootfs_found" }
},
"architecture": {
"value": "mipseb",
"source": { "tool": "firmware-profile", "tool_version": "1.0.0", "method": "elf_header" }
},
"kernel.version": {
"value": "2.6.36",
"source": { "tool": "firmware-profile", "tool_version": "1.0.0", "method": "lib_modules" }
},
"nvram.default_files": {
"value": ["/etc/nvram.default"],
"source": { "tool": "firmware-profile", "tool_version": "1.0.0", "method": "file_check" }
},
"kernel.cmdline": {
"value": null,
"source": { "tool": "firmware-profile", "tool_version": "1.0.0", "method": "not_checked" }
}
}
}
Addresses are written as hexadecimal strings ("0x80000000"), because JSON numbers cannot hold every 64-bit value exactly.
Fields
Core fields
These fields apply to every image. For files that are not firmware, the profile only contains the classification and the extraction fields.
| Field | Type / values | Meaning | Determined from |
|---|---|---|---|
classification | firmware, driver, software, documentation, other | What the downloaded file is. Vendor download pages also offer drivers, PC tools and manuals, often packed like firmware. | File type of the original download, contents of archives (e.g. .inf and .sys files of Windows drivers), extraction result, file name, image type from the scraper. |
classification.evidence | list of strings | Short reasons for the classification, e.g. root filesystem found, archive contains Windows driver files. | As classification. |
os_type | linux, rtos, bare-metal | Kind of software that runs on the device. | linux: a Linux root filesystem was found. rtos: version strings or symbols of a known RTOS (e.g. VxWorks, eCos). bare-metal: raw code without an operating system. |
extraction.extracted | boolean | At least one file could be unpacked from the image. | Extractor result. |
extraction.rootfs_found | boolean | A root filesystem was found. | Extractor result. |
extraction.protection | none, signed, compressed, suspected, confirmed_scheme | How the content of the image is protected. none: the content could be unpacked and no signature was found. signed: a signature is attached, but the content is readable (e.g. an OpenPGP signature). compressed: the high entropy comes from compression, not from encryption. suspected: high entropy and nothing could be unpacked, so the image is probably encrypted; this is an indication, not a proof. confirmed_scheme: a known encryption scheme was recognised. | Extractor result (entropy, unpacked files), file signatures and vendor headers. |
extraction.protection.evidence | list of strings | Short reasons, e.g. entropy 0.95, nothing unpacked, OpenPGP signature. For confirmed_scheme it names the scheme. | As extraction.protection. |
extraction.method | string | Extraction step that produced the result. | Extractor result, see Firmware Extractor. |
architecture | see Architecture names | CPU instruction set, including byte order. | ELF headers of the binaries in the root filesystem. For raw code without ELF headers: statistical detection of the instruction set. |
endianness | little, big | Byte order of the CPU. | As architecture. |
word_size | 32, 64 | Register and pointer width in bits. | As architecture. |
Linux fields
The first group is needed to start a full-system emulation of Linux-based firmware. The second group helps to get further in the boot process and to reach the network services.
| Field | Type / values | Meaning | Determined from |
|---|---|---|---|
rootfs.type | squashfs, jffs2, ubifs, cramfs, ext4, ... | Filesystem type of the root filesystem. | Signature scan of the image. |
abi | e.g. eabi, eabihf, o32, n32, n64 | Application binary interface the binaries are built for, e.g. hard-float ARM (eabihf). | Flags in the ELF headers. |
libc | object with name (uclibc, glibc, musl) and version | C library of the firmware. | File names of the dynamic loader and the C library, e.g. ld-uClibc.so.0. |
kernel.version | string, e.g. 2.6.36 | Linux kernel version the firmware was built for. | Directory names below /lib/modules, version magic of kernel modules, version string of the kernel image. |
init | list of paths, most likely first | Program the kernel starts as the first process. | init= in the kernel command line, standard paths such as /sbin/init, /etc/preinit, /init. |
init_system | e.g. busybox, sysvinit, systemd, procd | Init system that starts the services. | Init program and its configuration files (/etc/inittab, /etc/init.d, /etc/systemd). |
nvram.used | boolean | The firmware reads its configuration from NVRAM. | NVRAM libraries and programs, e.g. libnvram.so, nvram. |
nvram.default_files | list of paths | Files with default NVRAM keys and values. | Known file names, e.g. /etc/nvram.default, /etc/nvram.ini. |
web_servers | list of paths | Web server programs, usually the device's configuration interface. | Known program names, e.g. httpd, lighttpd, uhttpd, boa, goahead, mini_httpd. |
kernel.cmdline | string | Kernel command line. | Kernel image, device tree (bootargs in the chosen node) and boot loader environment. |
kernel.config | object of option names and values, e.g. "CONFIG_SMP": "y" | Options the kernel was built with. Helps to build a matching kernel for the emulator. | Embedded kernel configuration (IKCONFIG), .config files in the image. |
kernel.modules | list of names | Loadable kernel modules that ship with the firmware. | .ko files below /lib/modules. |
network_interfaces | list of names, e.g. eth0, br0 | Network interfaces the firmware expects. | Interface names in init scripts and programs. |
services | list of objects with name and path | Further network services, e.g. Telnet, SSH, UPnP. | Known program names and init scripts. |
pseudofiles | list of paths | Device and kernel files the firmware uses in /dev, /proc and /sys. | Path strings in programs and scripts. |
missing_paths | list of paths | Files and directories the firmware refers to but that are not in the root filesystem. | Path strings compared with the root filesystem. |
credentials_found | boolean | Hard-coded passwords or keys were found. The values themselves are never part of the profile. | Secret scan of the root filesystem, see TruffleHog. |
run_blockers | list of objects with type (watchdog, gpio, device_node, hw_crypto) and evidence | Hardware the firmware depends on and that can stop it in an emulator, e.g. a hardware watchdog, GPIO or WPS button handling, proprietary devices in /dev, a hardware crypto engine. | Kernel modules, device paths and strings in programs and scripts. |
Hardware fields
These fields describe the device and apply to every os_type. Linux images often contain a device tree or an image header with these facts. For images that contain only a kernel, without a usable root filesystem, they are the main part of the profile.
| Field | Type / values | Meaning | Determined from |
|---|---|---|---|
soc | string | System on chip or microcontroller model. | compatible strings of the device tree, strings in the image, addresses of the peripherals the code accesses. |
dtb.compatible | list of strings, e.g. ["vendor,board-x1", "vendor,soc-y"] | compatible strings of the root node of the device tree. They name the board and the SoC. | Device tree blobs (DTB) in the image or appended to the kernel. |
load_address | hexadecimal string | Memory address the kernel or the image is loaded to. | Image header (e.g. U-Boot uImage). Otherwise estimated from absolute addresses in the code. |
entry_point | hexadecimal string | Address of the first instruction. | Image header. For ARM Cortex-M, the reset vector in the vector table. |
memory_map | list of objects with name, start, size and type (flash, ram, mmio) | Memory regions of the device. | Device tree (memory node, addresses of the devices). Data sheet or device description of the microcontroller, if known. Otherwise estimated from the addresses the code accesses. |
mtd_partitions | list of objects with name, offset and size | Flash partitions the firmware expects, e.g. for the configuration or NVRAM. | Partitions in the device tree, mtdparts= in the kernel command line, partition tables in the image. |
bootloader.env | object of variable names and values | Boot loader environment, e.g. the U-Boot variables bootcmd and bootargs. Values that look like passwords or keys are left out. | U-Boot environment blocks in the image. |
RTOS and bare-metal fields
Firmware without Linux usually has no filesystem. It is a single block of code that is loaded to a fixed address in memory. To run it, an emulator needs the memory layout of the device from the hardware fields and the fields below.
| Field | Type / values | Meaning | Determined from |
|---|---|---|---|
rtos | object with name (e.g. vxworks, ecos, threadx, freertos, zephyr) and version | Real-time operating system. | Version strings and symbol tables in the image. |
cpu | string, e.g. cortex-m4, mips32r2 | CPU core. | Strings in the image, layout of the vector table, used instructions. |
Architecture names
The values of architecture are taken from the emulation frameworks, so a profile can be used without converting names.
architecture | ELF machine, byte order | Firmadyne / FirmAE | Penguin core.arch | QEMU system emulator |
|---|---|---|---|---|
armel | ARM (40), little | armel | armel | qemu-system-arm |
aarch64 | AArch64 (183), little | – | aarch64 | qemu-system-aarch64 |
mipsel | MIPS (8), 32-bit, little | mipsel | mipsel | qemu-system-mipsel |
mipseb | MIPS (8), 32-bit, big | mipseb | mipseb | qemu-system-mips |
mips64el | MIPS (8), 64-bit, little | – | mips64el | qemu-system-mips64el |
mips64eb | MIPS (8), 64-bit, big | – | mips64eb | qemu-system-mips64 |
powerpc | PowerPC (20), big | – | powerpc | qemu-system-ppc |
powerpc64 | PowerPC64 (21), big | – | powerpc64 | qemu-system-ppc64 |
powerpc64le | PowerPC64 (21), little | – | powerpc64le | qemu-system-ppc64 |
riscv64 | RISC-V (243), 64-bit, little | – | riscv64 | qemu-system-riscv64 |
loongarch64 | LoongArch (258), little | – | loongarch64 | qemu-system-loongarch64 |
x86_64 | x86-64 (62), little | – | x86_64 | qemu-system-x86_64 |
i386 | x86 (3), little | – | – | qemu-system-i386 |
Other architectures use the lower-case ELF machine name followed by el or eb for the byte order.
Use with emulators
| Emulator | Fields used |
|---|---|
| Firmadyne | architecture selects one of the prebuilt kernels (armel, mipseb, mipsel). The root filesystem is packed into a disk image. nvram.default_files provide values for the emulated NVRAM. |
| FirmAE | As Firmadyne, plus init and kernel.cmdline to find the right init program, nvram.default_files, web_servers to start the web server if the boot process does not, and missing_paths to create missing directories. |
| Penguin | architecture (core.arch), abi, init, nvram.default_files (nvram), network_interfaces (netdevs), pseudofiles (pseudofiles), missing_paths (static_files). |
| FirmSolo, Pandawan | kernel.version and kernel.modules, to build a kernel that can load the original kernel modules. kernel.config helps to choose the build options. |
| Greenhouse, FirmWell | Single-service rehosting: web_servers or services as target program, plus architecture, libc and missing_paths. |
| Rehosting of microcontroller firmware (e.g. Hoedur) | architecture, cpu, load_address, entry_point, memory_map. |
Status in Firmware Vault
This section shows which fields the existing analysis tools already provide and which are still missing. It is updated whenever a tool that fills the profile is added or changed.
| Field | Needed by | Available today | Planned |
|---|---|---|---|
classification, classification.evidence | All (only firmware is emulated) | No. images.image_type holds the product type from the scraper or the upload, not a classification. | firmware-profile tool |
os_type | All | No | firmware-profile tool |
extraction.extracted, extraction.rootfs_found, extraction.method | All | Firmware Extractor, only in the output files of the task (extractor-output.json), not in the database | firmware-profile tool |
extraction.protection, extraction.protection.evidence | All | Partly: the extractor marks images with high entropy and no unpacked files as encrypted (extractor-output.json). Signatures and compression are not told apart. | firmware-profile tool |
architecture, endianness, word_size | All | No. The column images.image_architecture exists but is not filled. | firmware-profile tool |
abi | Penguin | No | firmware-profile tool |
rootfs.type | Not used directly; the emulators repack the root filesystem | Only as free text in binwalk_results.description | firmware-profile tool |
kernel.version | FirmSolo, Pandawan | Only as free text in binwalk_results.description, if the kernel image is recognised | firmware-profile tool |
init | FirmAE, Penguin | No. Boot analysis stores the start script that the init program runs (boot_analysis_results.sysinit_script, e.g. /etc/init.d/rcS), not the init program itself. | firmware-profile tool |
init_system | Helps to follow the boot process | Boot analysis (boot_analysis_results.init_system) | Taken over from boot analysis |
nvram.used, nvram.default_files | Firmadyne, FirmAE, Penguin | No | firmware-profile tool |
web_servers | FirmAE, Greenhouse, FirmWell | Firmwalker lists web server files, only in its output file | firmware-profile tool |
libc | Greenhouse, FirmWell | SBOM generation (sbom_components), if the C library is detected | Taken over from the SBOM |
credentials_found | Not needed for emulation; used to log in during dynamic testing | TruffleHog (trufflehog_results) | Taken over from TruffleHog |
services | Greenhouse, FirmWell | Partly: start scripts in boot analysis, Firmwalker output file | Later |
kernel.modules | FirmSolo, Pandawan | No | Later |
kernel.cmdline | FirmAE | No | Later |
kernel.config | FirmSolo, Pandawan | No | Later |
network_interfaces, pseudofiles, missing_paths | FirmAE, Penguin | No | Later |
run_blockers | All | No | Later |
| Hardware fields | Images that contain only a kernel, rehosting of microcontroller firmware | Partly: binwalk_results.description names device trees and uImage headers as free text; their values are not read | Later |
rtos, cpu | Rehosting of microcontroller firmware | No | Later |
Limitations
- All values come from static analysis of the image. They describe what the firmware contains, not how it behaves at runtime.
- For encrypted images only the core fields are available, plus hardware fields from a header that is not encrypted.
- An image can contain code for several processors, for example the main processor and a Wi-Fi chip.
architecturedescribes the root filesystem (the most common value among its binaries); other processors are not covered. - NVRAM default files are often incomplete, because many values are written to the device during production.
- For raw binaries,
architecture,load_addressandmemory_mapare estimates. Themethodin the source of the value shows how it was determined.
References
- D. D. Chen, M. Egele, M. Woo, D. Brumley: Towards Automated Dynamic Analysis for Linux-based Embedded Firmware (Firmadyne). NDSS 2016.
- M. Kim, D. Kim, E. Kim, S. Kim, Y. Jang, Y. Kim: FirmAE: Towards Large-Scale Emulation of IoT Firmware for Dynamic Analysis. ACSAC 2020.
- I. Angelakopoulos, G. Stringhini, M. Egele: FirmSolo: Enabling dynamic analysis of binary Linux-based IoT kernel modules. USENIX Security 2023.
- I. Angelakopoulos, G. Stringhini, M. Egele: Pandawan: Quantifying Progress in Linux-based Firmware Rehosting. USENIX Security 2024.
- H. J. Tay et al.: Greenhouse: Single-Service Rehosting of Linux-Based Firmware Binaries in User-Space Emulation. USENIX Security 2023.
- A. Fasano et al.: Target-Centric Firmware Rehosting with Penguin. Workshop on Binary Analysis Research (BAR) 2025.
- C. Qin et al.: User-Space Dependency-Aware Rehosting for Linux-Based Firmware Binaries (FirmWell). NDSS 2026.
- A. Fasano et al.: SoK: Enabling Security Analyses of Embedded Systems via Rehosting. ASIA CCS 2021.
- H. Wen, Z. Lin, Y. Zhang: FirmXRay: Detecting Bluetooth Link Layer Vulnerabilities From Bare-Metal Firmware. CCS 2020.
- T. Scharnowski et al.: Hoedur: Embedded Firmware Fuzzing using Multi-stream Inputs. USENIX Security 2023.
- S. Kairajärvi, A. Costin, T. Hämäläinen: ISAdetect: Usable Automated Detection of CPU Architecture and Endianness for Executable Binary Files and Object Code. CODASPY 2020.