IoT and Firmware Security Testing: Devices to Cloud
Scope IoT and firmware security testing across physical interfaces, updates, device identity and cloud services. Prepare hardware and useful test access.
IoT and firmware security testing examines the connected product as a system: hardware, embedded software, local communications, companion applications and cloud services. A weakness at one layer can undermine controls elsewhere.
The connected device test scope needs to identify the product version, hardware revision, firmware build and supporting services. Two devices with the same brand can have different interfaces, update behaviour or credentials.
Define the product and access scenarios
Start with how the device is installed, used, maintained and retired. Explain whether an attacker might have remote access, local network access or temporary physical possession.
Agree whether opening the enclosure, removing storage or modifying a device is permitted. Some techniques can damage hardware or change its state. Provide suitable spare units and distinguish intrusive work from checks on a production device.
| Product layer | Example assessment areas |
|---|---|
| Hardware interfaces | Debug ports, exposed buses and access available through physical connections. |
| Firmware | Embedded credentials, service configuration, permissions and sensitive application logic. |
| Boot and updates | Verification of accepted software, update authenticity and recovery behaviour. |
| Local communications | Pairing, device discovery, protocol permissions and trust in nearby equipment. |
| Device identity | Credential provisioning, uniqueness, replacement and revocation. |
| Supporting services | Cloud APIs, mobile apps, administration portals and customer separation. |
Testing a firmware image alone cannot establish the behaviour of the complete deployed product. Keep the evidence from image analysis, device interaction and backend assessment distinct.
Examine the product lifecycle
Security decisions often become visible during first use, ownership transfer, update and factory reset. Include these states in the plan.
For example, a reset may remove a local account while leaving the device linked to a previous customer's cloud tenant. A signed update mechanism may still allow an older vulnerable version if rollback protection is needed but absent.
Assess the expected security properties rather than assuming that every product needs an identical design. Operational consequences and safety constraints should shape the permitted checks.
Prepare hardware and supporting information
Provide devices, power supplies, cables, accessories and any gateways needed to reproduce normal operation. Explain the available serial, radio and wired interfaces and supply relevant protocol documentation.
Useful materials include firmware images, update packages, architecture diagrams, build identifiers, test accounts and instructions for provisioning and recovery. Source code can support deeper review when it is available within scope.
Where the device controls physical equipment, use a suitable test setup with approved boundaries. Separate device assessment from live process manipulation and agree stop conditions with the engineering owner.
Connect technical findings to product obligations
For relevant UK consumer connectable products, the PSTI product security regime includes requirements relating to passwords, security issue reporting and published minimum security update periods. Establish whether the product and supply-chain role are in scope before mapping evidence to those requirements.
A penetration test can support technical assurance. Product compliance also depends on obligations and evidence beyond the tests performed.
Report findings so teams can act
Each finding should identify the affected product revision, required access and demonstrated consequence. Explain whether the issue affects one sample, a shared firmware component or a wider provisioning process.
Remediation may require hardware changes, firmware releases, backend controls or credential replacement across deployed devices. Give each action an owner and check how existing customers receive it.
Retest the relevant release and lifecycle states. Confirm that the fix reaches devices already in service, as well as newly manufactured units.
Related resources
- Connected Product Security Testing: Firmware and Lifecycle
- API Penetration Testing: Endpoints, Permissions and Workflows
- Secure Code Review: Scope, OWASP ASVS and Remediation
Read our Testing methodology to discuss coverage, or Book a demo with the systems and objectives you have in mind.