Skip to main content

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_version gives the version of the format. New fields increase the minor version (1.0 to 1.1); renamed or removed fields increase the major version (1.x to 2.0).
  • All fields are listed in fields. Every field holds its value and its source: the tool, the tool version and the method that produced the value.

A value can be unknown or not present:

ValueMeaning
nullUnknown. 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 fieldSame 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.

FieldType / valuesMeaningDetermined from
classificationfirmware, driver, software, documentation, otherWhat 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.evidencelist of stringsShort reasons for the classification, e.g. root filesystem found, archive contains Windows driver files.As classification.
os_typelinux, rtos, bare-metalKind 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.extractedbooleanAt least one file could be unpacked from the image.Extractor result.
extraction.rootfs_foundbooleanA root filesystem was found.Extractor result.
extraction.protectionnone, signed, compressed, suspected, confirmed_schemeHow 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.evidencelist of stringsShort reasons, e.g. entropy 0.95, nothing unpacked, OpenPGP signature. For confirmed_scheme it names the scheme.As extraction.protection.
extraction.methodstringExtraction step that produced the result.Extractor result, see Firmware Extractor.
architecturesee Architecture namesCPU 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.
endiannesslittle, bigByte order of the CPU.As architecture.
word_size32, 64Register 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.

FieldType / valuesMeaningDetermined from
rootfs.typesquashfs, jffs2, ubifs, cramfs, ext4, ...Filesystem type of the root filesystem.Signature scan of the image.
abie.g. eabi, eabihf, o32, n32, n64Application binary interface the binaries are built for, e.g. hard-float ARM (eabihf).Flags in the ELF headers.
libcobject with name (uclibc, glibc, musl) and versionC library of the firmware.File names of the dynamic loader and the C library, e.g. ld-uClibc.so.0.
kernel.versionstring, e.g. 2.6.36Linux kernel version the firmware was built for.Directory names below /lib/modules, version magic of kernel modules, version string of the kernel image.
initlist of paths, most likely firstProgram the kernel starts as the first process.init= in the kernel command line, standard paths such as /sbin/init, /etc/preinit, /init.
init_systeme.g. busybox, sysvinit, systemd, procdInit system that starts the services.Init program and its configuration files (/etc/inittab, /etc/init.d, /etc/systemd).
nvram.usedbooleanThe firmware reads its configuration from NVRAM.NVRAM libraries and programs, e.g. libnvram.so, nvram.
nvram.default_fileslist of pathsFiles with default NVRAM keys and values.Known file names, e.g. /etc/nvram.default, /etc/nvram.ini.
web_serverslist of pathsWeb server programs, usually the device's configuration interface.Known program names, e.g. httpd, lighttpd, uhttpd, boa, goahead, mini_httpd.
kernel.cmdlinestringKernel command line.Kernel image, device tree (bootargs in the chosen node) and boot loader environment.
kernel.configobject 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.moduleslist of namesLoadable kernel modules that ship with the firmware..ko files below /lib/modules.
network_interfaceslist of names, e.g. eth0, br0Network interfaces the firmware expects.Interface names in init scripts and programs.
serviceslist of objects with name and pathFurther network services, e.g. Telnet, SSH, UPnP.Known program names and init scripts.
pseudofileslist of pathsDevice and kernel files the firmware uses in /dev, /proc and /sys.Path strings in programs and scripts.
missing_pathslist of pathsFiles and directories the firmware refers to but that are not in the root filesystem.Path strings compared with the root filesystem.
credentials_foundbooleanHard-coded passwords or keys were found. The values themselves are never part of the profile.Secret scan of the root filesystem, see TruffleHog.
run_blockerslist of objects with type (watchdog, gpio, device_node, hw_crypto) and evidenceHardware 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.

FieldType / valuesMeaningDetermined from
socstringSystem on chip or microcontroller model.compatible strings of the device tree, strings in the image, addresses of the peripherals the code accesses.
dtb.compatiblelist 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_addresshexadecimal stringMemory 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_pointhexadecimal stringAddress of the first instruction.Image header. For ARM Cortex-M, the reset vector in the vector table.
memory_maplist 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_partitionslist of objects with name, offset and sizeFlash 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.envobject of variable names and valuesBoot 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.

FieldType / valuesMeaningDetermined from
rtosobject with name (e.g. vxworks, ecos, threadx, freertos, zephyr) and versionReal-time operating system.Version strings and symbol tables in the image.
cpustring, e.g. cortex-m4, mips32r2CPU 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.

architectureELF machine, byte orderFirmadyne / FirmAEPenguin core.archQEMU system emulator
armelARM (40), littlearmelarmelqemu-system-arm
aarch64AArch64 (183), little–aarch64qemu-system-aarch64
mipselMIPS (8), 32-bit, littlemipselmipselqemu-system-mipsel
mipsebMIPS (8), 32-bit, bigmipsebmipsebqemu-system-mips
mips64elMIPS (8), 64-bit, little–mips64elqemu-system-mips64el
mips64ebMIPS (8), 64-bit, big–mips64ebqemu-system-mips64
powerpcPowerPC (20), big–powerpcqemu-system-ppc
powerpc64PowerPC64 (21), big–powerpc64qemu-system-ppc64
powerpc64lePowerPC64 (21), little–powerpc64leqemu-system-ppc64
riscv64RISC-V (243), 64-bit, little–riscv64qemu-system-riscv64
loongarch64LoongArch (258), little–loongarch64qemu-system-loongarch64
x86_64x86-64 (62), little–x86_64qemu-system-x86_64
i386x86 (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​

EmulatorFields used
Firmadynearchitecture 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.
FirmAEAs 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.
Penguinarchitecture (core.arch), abi, init, nvram.default_files (nvram), network_interfaces (netdevs), pseudofiles (pseudofiles), missing_paths (static_files).
FirmSolo, Pandawankernel.version and kernel.modules, to build a kernel that can load the original kernel modules. kernel.config helps to choose the build options.
Greenhouse, FirmWellSingle-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.

FieldNeeded byAvailable todayPlanned
classification, classification.evidenceAll (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_typeAllNofirmware-profile tool
extraction.extracted, extraction.rootfs_found, extraction.methodAllFirmware Extractor, only in the output files of the task (extractor-output.json), not in the databasefirmware-profile tool
extraction.protection, extraction.protection.evidenceAllPartly: 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_sizeAllNo. The column images.image_architecture exists but is not filled.firmware-profile tool
abiPenguinNofirmware-profile tool
rootfs.typeNot used directly; the emulators repack the root filesystemOnly as free text in binwalk_results.descriptionfirmware-profile tool
kernel.versionFirmSolo, PandawanOnly as free text in binwalk_results.description, if the kernel image is recognisedfirmware-profile tool
initFirmAE, PenguinNo. 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_systemHelps to follow the boot processBoot analysis (boot_analysis_results.init_system)Taken over from boot analysis
nvram.used, nvram.default_filesFirmadyne, FirmAE, PenguinNofirmware-profile tool
web_serversFirmAE, Greenhouse, FirmWellFirmwalker lists web server files, only in its output filefirmware-profile tool
libcGreenhouse, FirmWellSBOM generation (sbom_components), if the C library is detectedTaken over from the SBOM
credentials_foundNot needed for emulation; used to log in during dynamic testingTruffleHog (trufflehog_results)Taken over from TruffleHog
servicesGreenhouse, FirmWellPartly: start scripts in boot analysis, Firmwalker output fileLater
kernel.modulesFirmSolo, PandawanNoLater
kernel.cmdlineFirmAENoLater
kernel.configFirmSolo, PandawanNoLater
network_interfaces, pseudofiles, missing_pathsFirmAE, PenguinNoLater
run_blockersAllNoLater
Hardware fieldsImages that contain only a kernel, rehosting of microcontroller firmwarePartly: binwalk_results.description names device trees and uImage headers as free text; their values are not readLater
rtos, cpuRehosting of microcontroller firmwareNoLater

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. architecture describes 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_address and memory_map are estimates. The method in 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.