Firmware security

Who can trigger firmware updates and recovery operations

Verified boot: package, signature, chip arranged to illustrate who can trigger firmware updates and recovery operations.

Update permissions determine who can replace software or trigger recovery behaviour. Understanding who can trigger firmware updates and recovery operations helps establish which security property the feature needs and where that property is actually enforced.

What does this involve?

An update mechanism grants the ability to change trusted software or configuration. It needs deliberate control over who may initiate the operation, which content is accepted and what happens after failure, interruption or an attempted downgrade.

During the firmware update process, cryptographic algorithms are used to verify the integrity of the new firmware and to ensure that no sensitive data is disclosed in transit.

Why it matters

Consider a realistic failure: a low-privilege user invokes a firmware update function intended for administrators.

An unauthorised or unsafe update can alter device behaviour for a long period and may affect many installations. Recovery paths can be as important as the normal updater because they often operate under exceptional conditions.

Firmware evidence should identify the image, installed configuration and execution conditions. Static analysis, emulation and hardware testing answer different questions and should support a consistent conclusion.

How penetration testers check for it

Check initiation permissions and alternate update entry points.

  • It must be checked if authorisation checks for performing a firmware update are implemented.
  • In case that authorisation checks are in place, it must be determined whether there is a way to bypass them.
  • Assess modified, invalid and old packages under controlled conditions.
  • Review interruption, fallback and recovery behaviour.

How to fix it

Authorise update and recovery operations and bind them to trustworthy device state.

  • Authenticate the content before installation and use.
  • Protect update authority and signing keys.
  • Apply a justified version and rollback policy.
  • Maintain verified recovery that preserves the intended trust boundary.

Transport encryption and package signatures protect different properties. A safe design should explain its complete authenticity and recovery model instead of relying on one visible protection.

Recheck the changed behaviour against the original failure conditions and the legitimate user journey. Keep enough evidence to show which release and configuration were verified, and include related entry points that depend on the same security decision.

Read about our methodology or contact pentested.com to discuss your firmware and embedded systems.

See your first test report this week.

Book a 30 minute demo. We will verify one of your targets with you and run a test against it, so you can judge the results on your own systems.

Book a demo