firmware
Low-level software built into a device's hardware that starts it and controls its basic functions.
In more detail
Firmware is updated far less often than ordinary software, and on many cheap devices never. A known flaw in firmware can therefore stay exploitable for years.
Examples
Purge an SSD with the drive's firmware sanitise commandprintf 'firmware 7.1 for model A200\n' > firmware.txt (signed with Ed25519, ML-DSA-65 and SLH-DSA)Modern machines use UEFI firmware, which reads boot entries and starts a bootloader from a small system partition; older machines used BIOS. A failure here happens before Linux runs, so no Linux logs exist for it. Firmware settings decide which disk and entry boot first.Related terms
- Internet of Things — Everyday physical devices, such as cameras, sensors and appliances, that connect to a network and often to a cloud service.
- firmware sanitise — Erasing a drive with a command built into its own firmware, so the drive's controller wipes every storage area, including hidden spare space.
- digital signature — A value computed from data and a secret key that lets anyone with the matching verification key confirm the data came from the key holder and was not changed.
- patch management — The routine of finding, testing and installing software updates that fix security flaws and bugs on every system an organisation runs.
- TPM — A small security chip, or a firmware equivalent, built into a computer's motherboard that generates and stores keys and records what software started the machine.
- boot process — The chain of handoffs that takes a machine from power-on to running services: firmware, bootloader, kernel, initramfs and then the init system.
- bootloader — The small program the firmware starts, which loads the kernel and initramfs into memory and passes the kernel its command line.
Taught in
- Shared Responsibility Model & Cloud Threat Landscapes — Cloud Security & DevSecOps Engineering
- Post-Quantum Cryptography & Key Lifecycles — Cybersecurity Fundamentals, GRC & Cryptography
- Asset Lifecycle Management & Media Sanitization — Cybersecurity Fundamentals, GRC & Cryptography
- Booting: GRUB, The Kernel Command Line And initramfs — Linux Fundamentals & Systems Administration
- Four Minutes To Boot: Firmware, GRUB, Kernel And Targets — CompTIA Linux+ (XK0-006) Exam Prep
- A Card With No Driver, A Stick With Too Much: Devices And Kernel Modules — CompTIA Linux+ (XK0-006) Exam Prep
- No Space For Tonight's Scans: Partitions And LVM On Both Families — CompTIA Linux+ (XK0-006) Exam Prep
- Twelve Old Servers, Two New Hosts: KVM, QEMU, libvirt And Disk Images — CompTIA Linux+ (XK0-006) Exam Prep
- Root Over SSH From Anywhere: Keys, sshd, setuid Files And Attributes — CompTIA Linux+ (XK0-006) Exam Prep
- You Are In Emergency Mode: Boot Failures From GRUB To fstab, On Both Families — CompTIA Linux+ (XK0-006) Exam Prep
- Booting: Firmware To Login, And Where To Step In — LPIC-1 Linux Administrator (101-500 and 102-500) Exam Prep