Wi-Fi onboarding and credentials in connected devices
Wi-Fi onboarding and credentials in connected devices concerns the protocol and ecosystem trust boundary and the access conditions under which the device exposes information or performs an operation. Understanding wi-fi onboarding and credentials in connected devices helps establish which security property the feature needs and where that property is actually enforced.
What does this involve?
Device security spans processing, storage and interfaces that may be physically accessible outside the operator's control. Access conditions matter: opening a case, attaching a peripheral and sending a network request represent different attacker capabilities.
Access to secrets should only be granted to individuals and processes that need to have access to them. No unauthorised or not properly authorised individual should be able to access secrets.
Many IoT devices need to implement cryptographic algorithms, e.g., to securely store sensitive data, for authentication purposes or to receive and verify encrypted data from other network nodes. Failing to implement secure, state of the art cryptography might lead to the exposure of sensitive data, device malfunctions or loss of control over the device.
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 device weakness can reveal local data, change operations or expose credentials used by the wider service. Assessment should distinguish what is obtained from the device itself from any separately demonstrated backend access.
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.
- It must be checked if authorisation checks for access to the wireless interface are implemented.
- In case that authorisation checks are in place, it must be determined whether there is a way to bypass them.
- It has to be determined whether secrets can be accessed via the wireless interface.
- Use representative device states and controlled inputs.
- Record the actual information or behaviour reached.
How to fix it
Reduce unnecessary exposure and enforce the intended operation and data boundary at the device component that controls it.
- Remove unnecessary interfaces and capabilities.
- Enforce access checks at meaningful device boundaries.
- Protect sensitive storage and device credentials.
- Verify normal operation and recovery after changes.
Physical access is neither an automatic exemption nor proof of total compromise. The intended deployment, assets and realistic access prerequisites determine the relevance of the result.
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
- IoT device certificates, cloud onboarding and identity revocation
- Unauthenticated UART consoles on IoT devices
- Unauthorised devices interacting with IoT I2C buses
Read about our methodology or contact pentested.com to discuss your connected devices.