IoT device certificates, cloud onboarding and identity revocation
IoT device certificates, cloud onboarding and identity revocation concerns the protocol and ecosystem trust boundary and the access conditions under which the device exposes information or performs an operation. Understanding IoT device certificates and cloud onboarding and identity revocation helps establish which security property the feature needs and where that property is actually enforced.
What does this involve?
Cryptographic protection depends on the whole operation: the algorithm, its parameters, key handling and the way results are verified. Different mechanisms provide confidentiality, integrity or evidence of origin. Substituting one property for another can leave the important business requirement unprotected.
Why it matters
Consider a realistic failure: the protocol identity or message permissions of a device do not match the authority assumed by a connected service.
A weakness can undermine trust in stored records or messages even when their appearance does not change. Assessment should connect the defect to the data or action it protects and the capabilities available to an attacker.
Device findings need explicit access conditions. Record the hardware and software version, relevant interface exposure and whether the test assumes network access, an attached peripheral or access inside the enclosure.
How penetration testers check for it
Assess the stated device access level and verify the particular information, command or state change reachable through this component.
- Confirm that an encrypted protocol such as TLS is used for all inbound and outbound connections to and from the application, including monitoring systems, management tools, remote access and SSH, middleware, databases, mainframes, partner systems, or external APIs. The server must not fall back to insecure or unencrypted protocols.
- Confirm that TLS clients validate certificates received before communicating with a TLS server.
- Confirm that TLS or another appropriate transport encryption mechanism used for all connectivity between internal, HTTP-based services within the application, and does not fall back to insecure or unencrypted communications.
- Confirm that TLS connections between internal services use trusted certificates. Where internally generated or self-signed certificates are used, the consuming service must be configured to only trust specific internal CAs and specific self-signed certificates.
- Confirm that services communicating internally within a system (intra-service communications) use strong authentication to ensure that each endpoint is verified. Strong authentication methods, such as TLS client authentication, must be employed to ensure identity, using public-key infrastructure and mechanisms that are resistant to replay attacks. For microservice architectures, consider using a service mesh to simplify certificate management and enhance security.
- Trace key generation, access, replacement and verification.
- Test invalid inputs and failure handling with controlled data.
How to fix it
Reduce unnecessary exposure and enforce the intended operation and data boundary at the device component that controls it.
- Use maintained standard implementations and appropriate parameters.
- Protect keys throughout generation, use and retirement.
- Authenticate the content and identity that the operation actually relies on.
- Reject failed verification before trusting or processing the result.
An unusual cryptographic implementation is not enough to establish practical compromise. The report should explain the failed property and a defensible consequence.
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
- Unauthorised access to IoT device services
- Code and command injection through IoT device services
- Malformed input handling in IoT device services
Read about our methodology or contact pentested.com to discuss your connected devices.