Sensitive user information retained in installed firmware
Installed firmware can retain personal and account information across normal lifecycle changes. Understanding sensitive user information retained in installed firmware helps establish which security property the feature needs and where that property is actually enforced.
What does this involve?
Firmware security depends on the relationship between the distributed image, installed configuration and code that actually executes. Offline analysis, emulation and real-device testing provide different kinds of evidence and should be connected before a strong impact claim is made.
During runtime, a device is accumulating and processing data of different kinds, such as personal data of its users. If this data is not stored securely, an attacker might be able to recover it from the device.
Access to user data should only be granted to individuals and processes that need to have access to it. No unauthorised or not properly authorised individual should be able to recover user data.
Why it matters
Consider a realistic failure: a reset device still contains readable credentials from its previous owner.
A firmware weakness may expose device credentials, permit privileged actions or affect availability. The practical consequence depends on reachable services, execution privileges and the trust placed in the device by other components.
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
Inspect persisted data after logout, reset, upgrade and ownership transfer.
- It has to be checked whether user data can be accessed by unauthorised individuals.
- Review privileges and externally influenced inputs.
- Preserve reproducible evidence and representative recovery conditions.
How to fix it
Minimise retained data and verify effective removal of the intended sensitive material.
- Remove unnecessary code, accounts and capabilities.
- Use safe input handling and narrow privileged interfaces.
- Protect secrets and authenticate relevant executable content.
- Verify fixes in the actual production and recovery artefacts.
A suspicious string or an emulation result is not enough to establish a working compromise. Validate the path and explain any environmental assumptions that affect the conclusion.
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.
Related issues
- User-mode emulation for firmware service testing
- Unauthorised access to installed firmware services
- Debugging firmware services and tracing sensitive operations
Read about our methodology or contact pentested.com to discuss your firmware and embedded systems.