Changing the owner of an IoT device is not one factory reset. A camera, lock, or gateway usually participates in several systems: it stores settings and keys locally, is registered to a cloud account, is controlled by an app, and may trust a home hub. Unless all four control planes are checked, the former owner may retain viewing, notifications, or control, while the new owner may inherit someone else’s history and identifiers.

A secure transfer must demonstrate two conditions together: the former owner can no longer control the device or receive its data, and the new owner starts with new authority and a known state. Physical possession and a “reset complete” message do not prove either condition by themselves.

Treat transfer as a product state change

Record the starting state: model and serial number, firmware, former cloud account, authorized users, subscription, mobile clients, hub, Wi-Fi, and third-party integrations. Then define the end state: the device is registered to the new owner, former subjects are revoked, user data is deleted under the stated rules, and updates still work.

Do not confuse ownership transfer with removing one guest. In a shared apartment, deleting one guest’s personal data need not destroy the owner’s configuration. A resale may require every former relationship to end. Record the scenario and authority before testing in the scope definition.

Test four control planes

The device stores configuration, logs, Wi-Fi, certificates, keys, and sometimes media. The cloud stores registration, history, subscriptions, automations, and rights. The app retains refresh tokens, local cache, notifications, and biometric unlock state. The gateway or home platform holds pairings, groups, rules, and invited people.

Give each plane its own identifier and never accept a change in one as proof of the others. Deleting an app does not revoke a cloud token. A physical reset may leave the device in the former account. Removing a home from one ecosystem may not break the manufacturer-app relationship. The device testing methodology provides a technical baseline; here it is applied to one ownership transition.

Prove that the former owner lost access

Begin before reset. Preserve authorized test sessions for the former owner: an active app, browser, API token, invited user, and automation. After transfer, each channel should receive an explicit denial or stop seeing the device. Test read, control, history, notifications, and settings changes separately.

Signing out of the app is insufficient because a refresh token may mint another access token. Check server-side session termination, invited-user removal, integration revocation, and the end of push notifications. If the old account retains an “offline” device record, determine whether it exposes a name, address, last image, or a way to restart pairing.

Separate device reset from data and binding deletion

A factory reset should return local configuration to its documented state, but its effect is product-specific. Check Wi-Fi, user roles, pairing keys, certificates, logs, media, schedules, and debug settings. Then test cloud history, backups, subscriptions, and the former-account binding separately.

A cryptographic check is more useful than trying to inspect every storage cell: after reset, an old key or pairing code should not authenticate, while the new owner should receive a new secret. If the product promises deletion, record its confirmation and the observable absence of data through supported interfaces. This does not prove physical irrecoverability of flash memory without a separate laboratory task.

Initialize the new owner as new trust

The new owner should follow a documented process, verify an account, and create new authority. Test whether the device can be acquired safely without the former owner and how the service resists takeover of a stolen device. If ownership requests are supported, the result should be visible to both sides and bound to one device.

After pairing, check uniqueness of the new code or key, firmware update, replacement of default secrets, household roles, and recovery after an internet outage. A QR code on the enclosure may remain a public identifier; it should not grant remote control by itself. The new owner should not see old clips, people names, geofences, or event history.

Use an ownership-transfer evidence matrix

Scroll sideways to compare

PlaneTransfer actionPositive test for new ownerNegative test for former owner
DeviceReset configuration and user keysNew pairing and settings workOld key and local code are rejected
CloudChange registration and ownerDevice appears only in the new accountOld session cannot read or control
AppClear cache and revoke tokensNew login receives minimum rightsRefresh token and push channel fail
GatewayRemove old pairing and rulesNew automation worksOld home, guest, and integration see nothing
DataDelete history through the stated processNew account begins emptyOld account receives no history or new events
UpdatesPreserve a supported update channelUpdate signature and version validateFormer owner cannot retain policy control
Transfer control between owners
  1. RecordBind the serial number to device, cloud, app, and gateway state.
  2. RevokeEnd former sessions, roles, integrations, notifications, and keys.
  3. EraseRemove local and cloud user data under the stated rules.
  4. InitializeCreate new credentials, pairing, roles, and update channel.
  5. VerifyRun positive tests for the new owner and negative tests for the former owner.

Walk through an illustrative camera resale

Consider a camera that the seller resets with its button and gives to a buyer. The buyer joins new Wi-Fi, but the seller’s app still shows the old name and last frame, while an invited family member still receives notifications. The reset removed local network settings but did not terminate cloud sessions or household membership.

Using test accounts, the team repeats the transfer: remove invited users, revoke an integration, remove the device from the old home, reset it, confirm that old tokens fail, and only then create the new owner. After transfer, a new frame is available only to the new account, old codes fail, and history does not migrate. This is an illustration of acceptance criteria, not a result from a named product.

Record offline and resale boundaries

An offline device may not receive a revocation command. The process should define what happens at its next connection and whether the new owner can complete transfer without temporarily restoring former access. Do not bypass protection on a found or purchased device. If ownership is unverified or a lock remains, use the manufacturer’s official process.

Test derived relationships as well as the owner account: guest roles, family groups, voice assistants, webhooks, automations, and service accounts. Cancelling a subscription, deleting the app, or changing Wi-Fi does not by itself transfer ownership. For each relationship, record the prior identifier, revocation action, and observed result after the next connection. If cloud deletion is asynchronous, record the promised interval and repeat the check after it; until then, the state is “deletion pending.” A cached notification on the old phone is not automatically fresh access: compare server and device timestamps to distinguish delayed delivery from failed revocation.

Restart the device, gateway, and both owners’ phones separately. A state that looks safe immediately after reset can change when cloud connectivity returns or a cached automation loads. Repeat the key negative tests after restart and after old tokens would refresh or expire.

The final record includes the device ID, both parties, time of each step, tested versions, old- and new-session results, data status, remaining subscriptions, and limitations. Pentest.red can perform an independent security assessment with test accounts and written authority. Teams can align evidence with the sample report. The conclusion applies to the stated versions and states; it cannot guarantee that a later firmware release or integration preserves them.

PENTEST.RED

Discuss pentest scope and pricing

We start by agreeing on systems, access, constraints and the expected evidence.

Prepare your testing scope

Based on in-depth research, edited for clarity and practical use.

PENTEST.RED / RED JOURNAL