{"playbook":"Connected devices","url":"https://agentwranglers.se/playbook/connected-devices","updated":"2026-10-27","license":"https://creativecommons.org/licenses/by/4.0/","credit":"Required by the licence: credit Agent Wranglers with a link to the rule or playbook you used.","ids":"Each rule has an id, such as PAY-14, that never changes. Open a rule by its id at /r/PAY-14. Its revision changes whenever its content changes.","how":"Each rule's How and Measured text is on its own page: add .md to its url.","rules":[{"id":"IOT-1","revision":"57345e1ab2da","updated":"2026-10-27","name":"Give every device its own credentials","level":"Required","risk":"takeover","rule":"Ship no password, key or token that two devices share. Each device gets a random password or key at the factory. Otherwise it refuses every function except setup until the owner sets a password.","check":"The factory test station reads the credential of every unit it builds and stores its hash. A job over the production records fails when two units share a hash. A unit test fails when any credential equals a value computed from the serial number or MAC address. A lab test on a unit without a factory password finds every function except setup refused until a password is set.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/device-identity/unique-device-credentials","related":["/playbook/connected-devices/device-identity/key-in-secure-hardware","/playbook/connected-devices/device-identity/no-secrets-in-firmware","/playbook/connected-devices/device-to-cloud/coap-security","/playbook/connected-devices/fleet-monitoring-and-control/device-revocation","/playbook/connected-devices/support-and-vulnerability-reports/us-cyber-trust-mark"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf","https://www.legislation.gov.uk/uksi/2023/1007/schedule/1/made","https://eur-lex.europa.eu/eli/reg_del/2022/30/oj"]},{"id":"IOT-2","revision":"1246a63976b4","updated":"2026-10-22","name":"Keep each device's private key in secure hardware","level":"Recommended","rule":"Create each device's private key inside a secure element, a TPM or a trusted execution environment. Mark it as not exportable, so the key never exists outside that chip.","check":"The factory test asks the secure element to export the device key and gets a refusal. A scan of a full flash dump from a sample unit finds no private key.","check_type":"static","url":"https://agentwranglers.se/playbook/connected-devices/device-identity/key-in-secure-hardware","related":["/playbook/connected-devices/device-identity/unique-device-credentials","/playbook/connected-devices/provisioning-and-onboarding/factory-provisioning","/playbook/connected-devices/provisioning-and-onboarding/matter-attestation","/playbook/connected-devices/local-network-exposure/debug-ports-locked"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf","https://csrc.nist.gov/pubs/ir/8259/a/final"]},{"id":"IOT-3","revision":"45aff6aa4a6e","updated":"2026-10-27","name":"Ship no shared secret in the firmware image","level":"Required","risk":"takeover","rule":"The firmware image that every unit runs holds no private key, API key, cloud password or symmetric key. Only public keys and certificates may be built in.","check":"The release job runs a secret scanner over the final firmware image and fails on any private key header, cloud key pattern or known credential. A test fails when two units' images differ only in a block that looks like a key.","check_type":"http","url":"https://agentwranglers.se/playbook/connected-devices/device-identity/no-secrets-in-firmware","related":["/playbook/connected-devices/device-identity/unique-device-credentials","/playbook/application-security/secrets-and-configuration/secrets-out-of-code","/playbook/mobile-apps/data-on-the-device/no-secrets-in-app"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf"]},{"id":"IOT-4","revision":"ad5d6ffaa4ab","updated":"2026-10-22","name":"Plan certificates for the device's whole life","level":"Recommended","rule":"Every certificate a device holds or trusts either outlasts the model's support end date or can be renewed over the air. The firmware trusts at least two root certificates, so you can retire one.","check":"A release test reads every certificate in the firmware trust store and a sample device certificate. Each expires after the model's support end date, or a lab test renews it over the air. The trust store holds at least two roots.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/device-identity/certificate-lifetimes","related":["/playbook/connected-devices/support-and-vulnerability-reports/support-end-date"],"sources":["https://www.rfc-editor.org/rfc/rfc7030","https://www.rfc-editor.org/rfc/rfc5280"]},{"id":"IOT-40","revision":"285e2be332fb","updated":"2026-10-27","name":"Encrypt flash and anchor secure boot in hardware","level":"Recommended","rule":"Encrypt the external flash of every production unit with a key that never leaves the chip. Write down the secure boot chain from the key in boot ROM or fuses to the application, and burn those fuses at the factory.","check":"The end-of-line test reads the fuse state of every unit and stores it with the serial number. It fails a unit whose flash encryption or secure boot fuse is not set. A raw dump of the flash from a sample unit holds no readable string from a known test file.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/device-identity/flash-encryption-and-root-of-trust","related":["/playbook/connected-devices/firmware-updates/signed-firmware","/playbook/connected-devices/local-network-exposure/debug-ports-locked"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf","https://csrc.nist.gov/pubs/sp/800/193/final"]},{"id":"IOT-5","revision":"fac020f3b0bb","updated":"2026-10-22","name":"Register each device at the factory from a signed request","level":"Recommended","rule":"At the end of the production line, each device sends a certificate request from its own key. Your manufacturing CA signs it, and the registry stores the serial, model, hardware revision, firmware version and public key.","check":"A daily job compares shipped serial numbers with the registry and fails on any serial without a certificate. A connection test with a self-signed certificate for an unknown serial is refused by the cloud.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/provisioning-and-onboarding/factory-provisioning","related":["/playbook/connected-devices/device-identity/key-in-secure-hardware","/playbook/connected-devices/device-to-cloud/mutual-tls"],"sources":["https://www.rfc-editor.org/rfc/rfc8995","https://csrc.nist.gov/pubs/ir/8259/a/final"]},{"id":"IOT-6","revision":"026045e91e82","updated":"2026-10-22","name":"Claim a device with a one-time code instead of its serial number","level":"Required","risk":"takeover","rule":"An account takes ownership of a device only with a random setup code from the device itself. That code sits in a QR code on its label or shows on its screen. A claimed device cannot be claimed again until its owner releases it or it is reset.","check":"End-to-end tests run three claims. A claim with only the serial number fails. A second account's claim on an already claimed device fails. A claim after 10 wrong codes in an hour fails even with the right code.","check_type":"command","url":"https://agentwranglers.se/playbook/connected-devices/provisioning-and-onboarding/claim-codes","related":["/playbook/connected-devices/provisioning-and-onboarding/factory-reset","/playbook/connected-devices/provisioning-and-onboarding/secure-setup-channel","/playbook/connected-devices/provisioning-and-onboarding/matter-attestation","/playbook/connected-devices/provisioning-and-onboarding/owner-transfer"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf","https://csrc.nist.gov/pubs/ir/8259/r1/final"]},{"id":"IOT-7","revision":"5f6ce0fa7e28","updated":"2026-10-27","name":"Send network details over an authenticated encrypted channel","level":"Required","risk":"takeover","rule":"The app sends the home network password to the device only over a channel that is encrypted and keyed by the device's setup code. An open hotspot or plain Bluetooth link never carries it.","check":"A lab capture of a full setup over the air holds no network password in clear. A setup attempt with a wrong setup code fails, and the setup channel is closed 15 minutes after power-on.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/provisioning-and-onboarding/secure-setup-channel","related":["/playbook/connected-devices/provisioning-and-onboarding/ble-secure-connections","/playbook/connected-devices/provisioning-and-onboarding/claim-codes"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf","https://eur-lex.europa.eu/eli/reg_del/2022/30/oj"]},{"id":"IOT-8","revision":"f9a83e3feac6","updated":"2026-10-22","name":"Factory reset erases every owner's data and keys","level":"Recommended","rule":"A factory reset erases all user data, network passwords, owner keys and the owner link on the device. The cloud then removes the old owner's access and deletes their data from that device.","check":"A test sets up a device, adds user data, then resets it. A flash dump holds none of the test data or network password. The old owner's app loses access within 60 seconds, and a new account can claim the device.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/provisioning-and-onboarding/factory-reset","related":["/playbook/connected-devices/provisioning-and-onboarding/claim-codes","/playbook/data/personal-data/retention-jobs","/playbook/connected-devices/provisioning-and-onboarding/owner-transfer"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf"]},{"id":"IOT-41","revision":"2a7ddbf4f853","updated":"2026-10-27","name":"Follow Matter's attestation and commissioning in full","level":"Recommended","rule":"A Matter device carries its own device attestation certificate, chained through your product attestation intermediate to an approved root. It commissions only with a random setup passcode that is not one of the trivial values the specification forbids.","check":"A factory test reads each unit's attestation chain and verifies it up to an approved root. A job over production records fails on any passcode in the forbidden list or shared by two units. A commissioning test with a controller completes, and a test with a device certificate from another vendor's chain fails.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/provisioning-and-onboarding/matter-attestation","related":["/playbook/connected-devices/device-identity/key-in-secure-hardware","/playbook/connected-devices/provisioning-and-onboarding/claim-codes"],"sources":["https://csa-iot.org/all-solutions/matter/"]},{"id":"IOT-42","revision":"ec562caa795a","updated":"2026-10-27","name":"Pair Bluetooth LE with LE Secure Connections","level":"Recommended","rule":"A device that pairs over Bluetooth Low Energy accepts only LE Secure Connections with authentication, which is Security Mode 1 Level 4. It refuses legacy pairing and Just Works for any link that carries owner data or commands.","check":"A lab test pairs with a central that offers only legacy pairing, then one that offers only Just Works. The device refuses both. A capture of a good pairing shows LE Secure Connections, and reading an owner data characteristic without pairing fails.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/provisioning-and-onboarding/ble-secure-connections","related":["/playbook/connected-devices/provisioning-and-onboarding/secure-setup-channel"],"sources":["https://csrc.nist.gov/pubs/sp/800/121/r2/upd1/final"]},{"id":"IOT-43","revision":"958666a47907","updated":"2026-10-27","name":"Hand a device to a new owner without the old owner's access","level":"Recommended","rule":"Give owners a release step in the app that removes their link, data and shared users from the device before they sell it. A buyer whose seller forgot can reclaim the device only by a factory reset with physical access.","check":"An end-to-end test releases a device from account A. Account A loses access within 60 seconds and account B claims it. A second test resets a still-claimed device with the button, and account A receives a notice and loses access. A support tool call that moves ownership without a reset fails.","check_type":"command","url":"https://agentwranglers.se/playbook/connected-devices/provisioning-and-onboarding/owner-transfer","related":["/playbook/connected-devices/provisioning-and-onboarding/factory-reset","/playbook/connected-devices/provisioning-and-onboarding/claim-codes"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf"]},{"id":"IOT-9","revision":"a5f0e16e478e","updated":"2026-10-22","name":"Verify the firmware signature on the device","level":"Required","risk":"takeover","rule":"Sign every firmware image with a key kept offline in a hardware security module. The device checks the signature against a public key in protected storage before it writes the image, and again at every boot.","check":"In a lab test, the device is offered an image with one changed byte, then one signed by another key, then one for another model. It refuses all three and keeps its version. A unit booted with a changed boot slot refuses to start that slot.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/firmware-updates/signed-firmware","related":["/playbook/connected-devices/device-identity/flash-encryption-and-root-of-trust","/playbook/desktop-apps/update-integrity/signed-updates"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf","https://www.rfc-editor.org/rfc/rfc9019"]},{"id":"IOT-10","revision":"d27f1e09ea9c","updated":"2026-10-22","name":"Keep the old firmware until the new one proves it works","level":"Required","risk":"outage","rule":"Install each update into a second slot and keep the running version. The new version must pass a health check within 10 minutes of first boot, or the device switches back to the old slot by itself.","check":"In a lab test, the device installs a build that crashes on start, then a build that cannot reach the cloud. Both times it runs the previous version again within 10 minutes and reports the failed update.","check_type":"command","url":"https://agentwranglers.se/playbook/connected-devices/firmware-updates/ab-rollback","related":["/playbook/mobile-apps/signing-and-release/fix-forward","/playbook/connected-devices/firmware-updates/anti-rollback","/playbook/connected-devices/firmware-updates/safe-install-conditions"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf","https://www.rfc-editor.org/rfc/rfc9019"]},{"id":"IOT-11","revision":"f394a4b6b01b","updated":"2026-10-22","name":"Refuse firmware older than the installed security version","level":"Recommended","rule":"Each signed manifest carries a security version number. The device stores the highest number it has accepted in a counter that only goes up, and refuses any image with a lower number.","check":"In a lab test, the device is offered a validly signed image with a lower security version. It refuses it and logs the refusal. After a full flash rewrite, the stored counter keeps its value.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/firmware-updates/anti-rollback","related":["/playbook/connected-devices/firmware-updates/ab-rollback","/playbook/desktop-apps/update-integrity/no-downgrades"],"sources":["https://www.rfc-editor.org/rfc/rfc9124"]},{"id":"IOT-12","revision":"0b798302dc27","updated":"2026-10-22","name":"Roll firmware out in stages and stop on bad numbers","level":"Recommended","rule":"Send each release to 1% of the fleet, then 10%, then 50%, then everyone, with at least 24 hours at each stage. The rollout pauses by itself when failed updates, reboots or offline devices pass set limits.","check":"Every release has a rollout plan with the four stages and the three halt limits. A test feeds the rollout service a failure rate above the limit. The rollout pauses, and no further device is offered the release.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/firmware-updates/staged-firmware-rollout","related":["/playbook/desktop-apps/update-integrity/staged-desktop-updates","/playbook/connected-devices/fleet-monitoring-and-control/fleet-anomaly-alerts","/playbook/connected-devices/fleet-monitoring-and-control/fleet-inventory"],"sources":[]},{"id":"IOT-13","revision":"1e14a04c7a04","updated":"2026-10-22","name":"Resume downloads and install only when power allows","level":"Recommended","rule":"Download firmware in resumable pieces and check the whole image's hash before installing. Install only on mains power or above 30% battery, and never in the middle of a task the user is waiting for.","check":"In a lab test, the network is cut at half of a download, and the download resumes from where it stopped. At 20% battery the device postpones the install. Power cut during the install leaves it running the previous version.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/firmware-updates/safe-install-conditions","related":["/playbook/connected-devices/firmware-updates/ab-rollback"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf","https://www.rfc-editor.org/rfc/rfc9110#section-14"]},{"id":"IOT-14","revision":"a12730a5acab","updated":"2026-10-27","name":"Install security updates automatically by default","level":"Required","risk":"takeover","rule":"Turn automatic security updates on during setup. Let the owner postpone an update or turn the feature off, and tell them which risk each security update fixes.","check":"A device fresh from setup reports automatic updates on. In each security release, 90% of the devices that were online reach the new version within 7 days.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/firmware-updates/automatic-updates","related":["/playbook/infrastructure/servers/automatic-security-updates","/playbook/connected-devices/support-and-vulnerability-reports/us-cyber-trust-mark"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf","https://eur-lex.europa.eu/eli/reg/2024/2847/oj"]},{"id":"IOT-39","revision":"5962dfe213a2","updated":"2026-10-27","name":"Keep a bill of materials for every firmware image","level":"Recommended","rule":"Every firmware release ships with a machine-readable software bill of materials in SPDX or CycloneDX, stored next to the signed image. It lists the bootloader, the operating system or RTOS, the chip vendor's SDK and radio blobs, and every library, each with its version.","check":"The release job fails when the image has no bill of materials, or when any listed part has no version. A query over the stored lists returns, for a given library and version, every model and firmware version that contains it.","check_type":"command","url":"https://agentwranglers.se/playbook/connected-devices/firmware-updates/firmware-sbom","related":["/playbook/engineering/ci-and-supply-chain/reproducible-builds","/playbook/application-security/supply-chain/sbom-and-provenance","/playbook/compliance/security-laws/cra-technical-file"],"sources":["https://www.ntia.gov/report/2021/minimum-elements-software-bill-materials-sbom","https://spdx.org/specifications","https://eur-lex.europa.eu/eli/reg/2024/2847/oj"]},{"id":"IOT-15","revision":"5d9373b9cb44","updated":"2026-10-22","name":"Connect with mutual TLS and a certificate for each device","level":"Required","risk":"takeover","rule":"Every device connects to the cloud over TLS 1.2 or 1.3, or DTLS for UDP, and presents its own client certificate. The device checks the server against roots in its signed firmware, and the cloud refuses plain connections.","check":"Broker tests run four connections. A plain connection on port 1883 fails. TLS without a client certificate fails. A certificate from another CA fails. A device build pointed at a server with an untrusted certificate refuses to connect.","check_type":"command","url":"https://agentwranglers.se/playbook/connected-devices/device-to-cloud/mutual-tls","related":["/playbook/connected-devices/provisioning-and-onboarding/factory-provisioning","/playbook/connected-devices/device-to-cloud/coap-security","/playbook/connected-devices/device-to-cloud/per-device-topics","/playbook/connected-devices/local-network-exposure/no-upnp"],"sources":["https://www.rfc-editor.org/rfc/rfc9846","https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html","https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf"]},{"id":"IOT-16","revision":"6305b2102bf0","updated":"2026-10-22","name":"Let each device use only its own topics","level":"Required","risk":"data","rule":"The broker lets a device publish and subscribe only under its own prefix, such as `devices/{id}/`, where the ID comes from its certificate. Devices may not use the wildcards `#` or `+` outside that prefix.","check":"A broker test connects as device A. Subscribing to `devices/B/#` and to `#` is refused, and publishing to `devices/B/commands` is refused. Publishing to `devices/A/telemetry` succeeds.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/device-to-cloud/per-device-topics","related":["/playbook/connected-devices/device-to-cloud/mutual-tls"],"sources":["https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html","https://cheatsheetseries.owasp.org/cheatsheets/Authorization_Cheat_Sheet.html"]},{"id":"IOT-17","revision":"d03575a74f9b","updated":"2026-10-22","name":"Use CoAP over DTLS or OSCORE on constrained devices","level":"Recommended","rule":"Devices that speak CoAP use `coaps` over DTLS 1.2 or 1.3, or OSCORE when messages pass through proxies. The server refuses unsecured CoAP from outside a closed test network.","check":"A scan from outside the network finds no answer on UDP port 5683. A test sends a request without DTLS to the production endpoint and gets no answer. The fleet registry shows no device in NoSec mode.","check_type":"http","url":"https://agentwranglers.se/playbook/connected-devices/device-to-cloud/coap-security","related":["/playbook/connected-devices/device-to-cloud/mutual-tls","/playbook/connected-devices/device-identity/unique-device-credentials"],"sources":["https://www.rfc-editor.org/rfc/rfc7252#section-9","https://www.rfc-editor.org/rfc/rfc9147","https://www.rfc-editor.org/rfc/rfc8613"]},{"id":"IOT-18","revision":"126cb9207fef","updated":"2026-10-22","name":"Spread reconnects with random delays","level":"Recommended","rule":"After a lost connection or a power cut, each device waits a random time before it reconnects, and waits longer after each failure. The longest wait is at least 5 minutes.","check":"A load test drops 10,000 simulated devices at once and restarts the broker. No one-second window gets more than 5% of the reconnect attempts. A unit test shows the wait growing after each failure and never passing the cap.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/device-to-cloud/reconnect-jitter","related":["/playbook/api-design/reliability/retry-backoff"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf"]},{"id":"IOT-19","revision":"add8c6170c5d","updated":"2026-10-22","name":"Show who is offline with keep alive and a last will","level":"Recommended","rule":"Each device connects with a keep alive interval and a retained last will that marks it offline. On connect it publishes a retained online status, so the cloud always knows which devices are reachable.","check":"A test cuts a test device's network. Its status topic says offline within one and a half keep alive intervals plus 5 seconds. After the network returns, the status says online within one reconnect.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/device-to-cloud/presence","related":["/playbook/connected-devices/fleet-monitoring-and-control/fleet-inventory","/playbook/api-design/live-connections/heartbeats"],"sources":["https://docs.oasis-open.org/mqtt/mqtt/v5.0/os/mqtt-v5.0-os.html"]},{"id":"IOT-20","revision":"b46cd399c29a","updated":"2026-10-27","name":"Keep the core functions working without the cloud","level":"Recommended","rule":"List each model's core functions and make them work with no internet connection. A core function is the device's main physical job, its local controls and its safety alarms. A thermostat keeps heating, a lock opens with a key it already knows, and a sensor keeps measuring.","check":"Each model's list names its main physical job, every local control and every safety alarm, each with a test. A lab test blocks internet access for 24 hours and runs those tests, which all pass. After access returns, the device syncs without a manual step.","check_type":"command","url":"https://agentwranglers.se/playbook/connected-devices/device-to-cloud/local-function-offline","related":["/playbook/connected-devices/device-to-cloud/offline-buffer","/playbook/connected-devices/support-and-vulnerability-reports/end-of-life-plan"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf"]},{"id":"IOT-21","revision":"d817bbda74cf","updated":"2026-10-22","name":"Buffer readings with sequence numbers while offline","level":"Recommended","rule":"While offline, the device stores readings in a bounded buffer, each with a sequence number that only goes up. The cloud stores each reading once by device and sequence number, and records how many were dropped.","check":"A test keeps a device offline for 6 hours and reconnects it twice. The cloud holds each reading once. The number of missing sequence numbers equals the device's drop counter.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/device-to-cloud/offline-buffer","related":["/playbook/connected-devices/device-to-cloud/local-function-offline","/playbook/mobile-apps/data-on-the-device/offline-sync","/playbook/connected-devices/device-to-cloud/device-clock"],"sources":[]},{"id":"IOT-22","revision":"9a2ae37ad859","updated":"2026-10-22","name":"Never trust the device clock until it has synced","level":"Recommended","rule":"A device without a working clock starts from its firmware build time, never from 1970. It syncs over authenticated time such as NTS, and the cloud records its own receive time next to the device's time.","check":"A lab test boots a device with its clock at 1970 and a fake NTP server on the network. The device's clock never goes below the build time, it rejects the fake time, and it connects. Every stored reading has a server receive time.","check_type":"command","url":"https://agentwranglers.se/playbook/connected-devices/device-to-cloud/device-clock","related":["/playbook/connected-devices/device-to-cloud/offline-buffer","/playbook/infrastructure/servers/time-sync"],"sources":["https://www.rfc-editor.org/rfc/rfc8915","https://www.rfc-editor.org/rfc/rfc5905"]},{"id":"IOT-23","revision":"aab91383d116","updated":"2026-10-22","name":"Open no listening port the product does not need","level":"Required","risk":"takeover","rule":"Keep a list of every port each model listens on and why. Ship with every other service turned off, including telnet, SSH and debug web pages, and require authentication on each listed port.","check":"A release test scans every TCP and UDP port of a fresh device and of one after setup. The open ports equal the model's list, and each refuses a request without credentials.","check_type":"http","url":"https://agentwranglers.se/playbook/connected-devices/local-network-exposure/no-open-ports","related":["/playbook/infrastructure/networking-and-dns/no-public-admin-ports","/playbook/connected-devices/local-network-exposure/quiet-discovery"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf","https://csrc.nist.gov/pubs/ir/8259/a/final"]},{"id":"IOT-24","revision":"ccbfd7c0e292","updated":"2026-10-22","name":"Avoid opening router ports through UPnP","level":"Avoid","rule":"Never ask the home router to forward a port from the internet, through UPnP, NAT-PMP or PCP. Reach the device through its own outward connection to your cloud or a relay.","check":"A lab capture covers setup and 24 hours of use. It holds no SSDP search for an internet gateway device, no `AddPortMapping` request, and no packet to UDP port 5351 used by NAT-PMP and PCP.","check_type":"http","url":"https://agentwranglers.se/playbook/connected-devices/local-network-exposure/no-upnp","related":["/playbook/connected-devices/device-to-cloud/mutual-tls"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf","https://www.rfc-editor.org/rfc/rfc6887"]},{"id":"IOT-25","revision":"a1d8c7dd1876","updated":"2026-10-22","name":"Lock debug ports before the device ships","level":"Recommended","rule":"Disable JTAG and SWD with fuses on every production unit, or require a per-device unlock key. A serial console gives no shell without authentication.","check":"The end-of-line test tries to attach a debugger and to open a shell on the serial console of every unit. Both fail, and the fuse state is stored with the unit's serial number.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/local-network-exposure/debug-ports-locked","related":["/playbook/connected-devices/device-identity/flash-encryption-and-root-of-trust","/playbook/connected-devices/device-identity/key-in-secure-hardware"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf"]},{"id":"IOT-26","revision":"759e7ec36c66","updated":"2026-10-22","name":"Announce as little as possible on the local network","level":"Recommended","rule":"Discovery messages such as mDNS and SSDP name the model and a random instance ID only. They leave out the firmware version, the serial number and the owner's name.","check":"A capture of mDNS and SSDP traffic from a set-up device holds no firmware version string, serial number or user-chosen name.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/local-network-exposure/quiet-discovery","related":["/playbook/connected-devices/local-network-exposure/no-open-ports"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf","https://www.rfc-editor.org/rfc/rfc6763"]},{"id":"IOT-27","revision":"8b93b83c689b","updated":"2026-10-22","name":"Track each device's version and last contact","level":"Recommended","rule":"Keep one registry row per device with its model, hardware revision, firmware version, certificate expiry, owner and last contact time. Each device updates its row whenever it connects.","check":"A test connects a device with a new firmware version. Its registry row shows that version within 5 minutes. A query returns the count of devices per firmware version for every model.","check_type":"command","url":"https://agentwranglers.se/playbook/connected-devices/fleet-monitoring-and-control/fleet-inventory","related":["/playbook/connected-devices/device-to-cloud/presence","/playbook/connected-devices/firmware-updates/staged-firmware-rollout"],"sources":["https://csrc.nist.gov/pubs/ir/8259/a/final"]},{"id":"IOT-28","revision":"a185a61a1c47","updated":"2026-10-22","name":"Alert on fleet-wide changes","level":"Recommended","rule":"Alert when the share of devices online, the reboot rate, failed sign-ins or traffic per device moves outside its normal band. Compare each model and firmware version with the week before.","check":"A test drops 5% of simulated devices offline, then triples one device's traffic. Each change raises its alert within 10 minutes.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/fleet-monitoring-and-control/fleet-anomaly-alerts","related":["/playbook/connected-devices/firmware-updates/staged-firmware-rollout","/playbook/operations/alerts-and-on-call/alert-on-symptoms"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf"]},{"id":"IOT-29","revision":"207ad055f91b","updated":"2026-10-22","name":"Cut off one device without touching the rest","level":"Recommended","rule":"Revoking one device's certificate in the registry closes its live connection within 60 seconds and refuses its next one. No other device has to change anything.","check":"A test revokes a connected test device. Its session closes within 60 seconds, its reconnect is refused, and a second test device stays connected.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/fleet-monitoring-and-control/device-revocation","related":["/playbook/connected-devices/device-identity/unique-device-credentials"],"sources":[]},{"id":"IOT-30","revision":"12af917812e4","updated":"2026-10-27","name":"Keep a signed remote switch for each risky feature","level":"Recommended","rule":"Each feature that talks to the internet or controls something physical has a remote switch to turn it off for the fleet or a group. The device obeys only switch messages signed by your key and logs who sent them.","check":"A test flips a switch for a test group, and every device there turns the feature off within 5 minutes. An unsigned switch message, and a signed one past its expiry, are both ignored.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/fleet-monitoring-and-control/remote-kill-switch","related":["/playbook/compliance/controls-and-evidence/change-evidence","/playbook/app-ui/resilience/feature-flags-in-ui"],"sources":[]},{"id":"IOT-31","revision":"5f3627e3d1ae","updated":"2026-10-27","name":"List every sensor and every field that leaves the device","level":"Recommended","rule":"Keep one file per model that lists each sensor and each field the device sends, with its purpose and retention. The build fails when the firmware sends a field the file does not list.","check":"A build step compares the telemetry schema with the model's field list and fails on any field without a purpose and a retention period. The product page lists every sensor in the file.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/sensor-data-and-privacy/sensor-inventory","related":["/playbook/compliance/records-and-data-map/data-map","/playbook/data/personal-data/retention-jobs","/playbook/compliance/product-and-data-laws/data-act-connected-products","/playbook/connected-devices/sensor-data-and-privacy/coarse-location","/playbook/connected-devices/sensor-data-and-privacy/owner-data-access"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf"]},{"id":"IOT-32","revision":"d88387a36c32","updated":"2026-10-27","name":"Compute on the device and send the result","level":"Recommended","rule":"When a feature needs only a result, compute it on the device and send that result. Send raw audio, video or high-rate sensor data only while a feature the owner turned on needs it.","check":"Every raw audio, video or high-rate field in the field list names the feature that needs it and the switch that turns it on. A lab test captures 24 hours of device traffic with every optional feature off. It holds no raw audio or video, and no sensor field sent more often than the field list allows.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/sensor-data-and-privacy/aggregate-on-device","related":["/playbook/data/personal-data/minimal-columns","/playbook/connected-devices/sensor-data-and-privacy/sensor-consent"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf","https://eur-lex.europa.eu/eli/reg/2016/679/oj"]},{"id":"IOT-33","revision":"3a9249743bd9","updated":"2026-10-22","name":"Round location to what the feature needs","level":"Recommended","rule":"Round coordinates on the device to the coarsest precision each feature needs before they leave it. Send precise location only for a feature that the owner turned on and that cannot work without it.","check":"A unit test runs every feature's location path and asserts the sent coordinates have no more decimals than the field list allows. With precise location off, a lab capture holds no coordinate with more than two decimals.","check_type":"command","url":"https://agentwranglers.se/playbook/connected-devices/sensor-data-and-privacy/coarse-location","related":["/playbook/connected-devices/sensor-data-and-privacy/sensor-inventory"],"sources":["https://eur-lex.europa.eu/eli/reg/2016/679/oj"]},{"id":"IOT-34","revision":"8304c80f18de","updated":"2026-10-27","name":"Ask before any camera or microphone turns on","level":"Recommended","rule":"A camera, microphone or precise location that serves an optional feature stays off until the owner turns it on. The device stores when and for what consent was given, and turning it off stops the data within 60 seconds. A device with a camera or microphone shows a light or screen indicator whenever either one sends data.","check":"A test turns the microphone feature on, then off. The consent record holds both times and the purpose. No audio leaves the device more than 60 seconds after the switch is off. A lab test streams from the camera and the microphone, and the indicator is on for the whole stream.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/sensor-data-and-privacy/sensor-consent","related":["/playbook/connected-devices/sensor-data-and-privacy/aggregate-on-device"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf"]},{"id":"IOT-44","revision":"a529595cb93a","updated":"2026-10-27","name":"Let owners read their device's data directly","level":"Recommended","rule":"Design every model so its owner can fetch the data it creates, with its metadata, in a documented machine-readable format at no charge. Offer it from the device or the app without a support request.","check":"A test asks for the export of a test device and parses it against the published schema. Every field in the model's field list appears in it. The request needs no payment and no support ticket.","check_type":"http","url":"https://agentwranglers.se/playbook/connected-devices/sensor-data-and-privacy/owner-data-access","related":["/playbook/connected-devices/sensor-data-and-privacy/sensor-inventory","/playbook/connected-devices/support-and-vulnerability-reports/end-of-life-plan","/playbook/compliance/product-and-data-laws/data-act-connected-products","/playbook/accounts/profile-and-account-lifecycle/self-service-export"],"sources":["https://eur-lex.europa.eu/eli/reg/2023/2854/oj"]},{"id":"IOT-35","revision":"09a3c95f7acd","updated":"2026-10-27","name":"Publish the support end date for every model","level":"Required","risk":"law","region":["UK","EU"],"review_by":"2027-12-11","rule":"Publish, for each model, the date until which it gets security updates, as a calendar date. Show it on the product page, in the app and through the device's own status. Extend it when you can, and never shorten it.","check":"Every model in the registry has a support end date. A test fetches each product page and the device status endpoint and finds the same date. A change that moves a date earlier fails review.","check_type":"http","url":"https://agentwranglers.se/playbook/connected-devices/support-and-vulnerability-reports/support-end-date","related":["/playbook/connected-devices/device-identity/certificate-lifetimes","/playbook/compliance/security-laws/cra-support-period","/playbook/compliance/security-laws/cra-scope","/playbook/compliance/security-laws/cra-technical-file","/playbook/connected-devices/support-and-vulnerability-reports/us-cyber-trust-mark"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf","https://www.legislation.gov.uk/uksi/2023/1007/schedule/1/made","https://eur-lex.europa.eu/eli/reg/2024/2847/oj"]},{"id":"IOT-36","revision":"fa3f6db36953","updated":"2026-10-22","name":"Plan what the device does when support or the cloud ends","level":"Recommended","rule":"For each model, write down what keeps working after the support end date and after the cloud service closes. Tell owners at least 12 months before any function stops.","check":"Every model in the registry has an end-of-life plan with a notice date at least 12 months before the cloud service end date. A lab test with the cloud endpoints blocked runs the core function tests on the final firmware, and they pass.","check_type":"command","url":"https://agentwranglers.se/playbook/connected-devices/support-and-vulnerability-reports/end-of-life-plan","related":["/playbook/connected-devices/sensor-data-and-privacy/owner-data-access","/playbook/connected-devices/device-to-cloud/local-function-offline"],"sources":["https://csrc.nist.gov/pubs/ir/8259/r1/final"]},{"id":"IOT-37","revision":"149bf6c95af5","updated":"2026-10-27","name":"Make every report and advisory name the model and firmware version","level":"Recommended","rule":"The app and the device label show each device's model, and the app shows its firmware version. Every security advisory lists the affected models, the affected firmware versions and the first fixed version.","check":"An app test reads the model and firmware version of each test device. A check over published advisories fails on any advisory without models, affected versions and a fixed version.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/support-and-vulnerability-reports/model-and-version","related":["/playbook/connected-devices/support-and-vulnerability-reports/device-disclosure-policy","/playbook/application-security/errors-logs-and-vulnerabilities/fix-deadlines","/playbook/compliance/security-laws/security-advisories","/playbook/compliance/security-laws/cra-vulnerability-reporting"],"sources":["https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf","https://docs.oasis-open.org/csaf/csaf/v2.0/os/csaf-v2.0-os.html"]},{"id":"IOT-38","revision":"c2f68013f36b","updated":"2026-10-27","name":"Publish how to report a vulnerability in your device","level":"Required","risk":"law","region":["UK","EU"],"review_by":"2027-12-11","rule":"Publish a vulnerability disclosure policy for every model, free to read and in English. It names at least one contact, when the reporter gets an acknowledgement, and how often status updates follow until the fix.","check":"A test fetches the policy without cookies or sign-in and gets 200. It finds a contact address, an acknowledgement time in days and a status update interval in days. Every product page and the app's about screen link to it. A test report sent each quarter gets its acknowledgement within the stated time.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/support-and-vulnerability-reports/device-disclosure-policy","related":["/playbook/connected-devices/support-and-vulnerability-reports/model-and-version","/playbook/website/standard-addresses/security-txt","/playbook/open-source/vulnerabilities-and-advisories/security-policy"],"sources":["https://www.legislation.gov.uk/uksi/2023/1007/schedule/1/made","https://www.etsi.org/deliver/etsi_en/303600_303699/303645/03.01.03_60/en_303645v030103p.pdf","https://eur-lex.europa.eu/eli/reg/2024/2847/oj"]},{"id":"IOT-45","revision":"9fece6a05509","updated":"2026-10-27","name":"Consider the US Cyber Trust Mark for consumer devices","level":"Optional","region":["US"],"review_by":"2027-04-30","rule":"If you sell wireless consumer devices in the US, decide per model whether to apply for the FCC's voluntary Cyber Trust Mark. Record the decision and the reason.","check":"Every model sold in the US has a recorded decision on the mark, with a date. For each model that carries it, the registry entry behind the QR code shows the same support end date as the product page.","check_type":"manual","url":"https://agentwranglers.se/playbook/connected-devices/support-and-vulnerability-reports/us-cyber-trust-mark","related":["/playbook/connected-devices/device-identity/unique-device-credentials","/playbook/connected-devices/firmware-updates/automatic-updates","/playbook/connected-devices/support-and-vulnerability-reports/support-end-date"],"sources":["https://www.fcc.gov/CyberTrustMark","https://csrc.nist.gov/pubs/ir/8425/final"]}]}