Explore our new Cybersecurity Terms Glossary, explained by our experts.
Cybersecurity Terms Glossary
Embedded system security protects purpose-built computers inside physical products, where the attacker can hold the hardware, memory is measured in kilobytes, and the code runs for a decade without an administrator.

What Is Embedded System Security?
An embedded system is a computer built into a product to do one job: the controller in a lift, the board inside a smart meter, the module that drives an infusion pump. Embedded system security is the practice of keeping those computers trustworthy when the attacker can buy the product, open it, and spend a weekend with it. That single fact separates the field from server security, where physical access is assumed to be controlled.
The constraints are real. A microcontroller may have 256 KB of flash and 64 KB of RAM, no memory management unit, and a real-time operating system with no process isolation. There is no room for an endpoint agent, no user to notice odd behaviour, and often no way to collect a log.
Debug interfaces are the usual way in. Production boards frequently leave JTAG and UART pads active, giving a root shell or full memory access to anyone with a £20 adapter. External flash is a second route: a SOIC-8 clip and a cheap programmer read an unencrypted SPI chip in seconds, and chip-off analysis recovers the contents of soldered memory when a clip will not do.
What comes out of that flash is usually revealing. Hardcoded administrative accounts, private keys embedded in the image, and debug builds left in production are routine findings. A 2015 study of several thousand firmware images found hundreds of unique private keys reused across many thousands of internet-facing devices, which means one extracted key unlocks an entire product line.
Embedded code is overwhelmingly C, and the libraries beneath it are shared by millions of devices. Ripple20, disclosed by JSOF in June 2020, covered 19 vulnerabilities in the Treck TCP/IP stack used in medical, industrial, and aviation equipment, two of them allowing remote code execution. Urgent/11 did the same for the VxWorks IPnet stack in 2019, AMNESIA:33 for four open-source stacks in December 2020, and BadAlloc for memory allocation routines across 25 products in April 2021. In each case the flaw sat in a component the device maker did not write and often could not name.
Retrofitting is painful because many of these controls are decisions made at silicon selection. Choose a part with secure boot and key storage before the schematic is finished, do threat modelling that covers physical access, and test an engineering sample before tooling is committed. IEC 62443-4-1 describes a secure development lifecycle for industrial products, and ETSI EN 303 645 sets the consumer baseline that UK law now draws on.
Consumer connectable products sold in the UK have been subject to the Product Security and Telecommunications Infrastructure Act 2022 since 29 April 2024, which ends universal default passwords and requires a published vulnerability contact and update period. Medical devices follow the MHRA’s expectations and the relevant UK Conformity Assessed route; industrial equipment is typically covered through the operator’s obligations under the NIS Regulations 2018.
At Privia Security, our Hardware Penetration Test Services work on engineering samples and production units alike, from bus capture to firmware review.
Neither is inherently safer. An RTOS has a smaller attack surface but usually no memory isolation between tasks, so one overflow compromises everything. Embedded Linux brings process separation, users, and mature hardening options, along with a far larger codebase to patch. The deciding factor is whether the vendor ships updates and whether you can apply them.
Extract the image and analyse it. Tools such as binwalk, EMBA, and FACT identify filesystems, kernels, and embedded libraries, and matching version strings against vulnerability databases surfaces known issues. For products you buy, ask the supplier for a software bill of materials in CycloneDX or SPDX format and make it a contract condition.
Only up to a point. Without a verified boot chain, an attacker with physical access can replace the firmware and defeat everything above it. You can still reduce exposure by encrypting external flash, locking debug interfaces, keeping secrets in a secure element, and restricting what the device can reach on the network, but the physical attacker wins eventually.
Board inspection and interface identification, bus capture over SPI and I2C, debug access over JTAG or UART, firmware extraction and static review, key and credential discovery, update mechanism testing, and a look at every network or radio service the device exposes. Findings are then mapped back to the design so fixes land in the next hardware revision.
You May Be Interested In These
We use a few cookies that are needed to make this website work, and they are always on. We would also like to set analytics cookies, to see which pages are useful; functional cookies, so that our live chat works; and advertising cookies, to measure our campaigns. We will not set any of those until you say yes, and you can change your mind at any time from the Cookie Settings link in the footer.
Choose the cookies you are happy for us to use. Strictly necessary cookies are always on; everything else is off until you turn it on.
These cookies keep the website working: they hold your security checks, your form submissions and the choice you make here. The site cannot run without them, so they are always on.
These let our live chat open and remember your conversation, and let the newsletter sign-up work. Switch them off and the chat window will not appear.
These tell us which pages are read and how people find us, so that we can improve the site. The reports are about groups of visitors, never about you personally.
These let us measure our advertising and show you our adverts on other websites, such as LinkedIn, Google and Meta. Switch them off and you will still see adverts, but they will be less relevant.