Most organisations run more connected devices than they can name, and many of those devices ship with weak credentials, no update path and a direct route to the internet. Cameras, door controllers, printers, building sensors, smart TVs and vending machines sit on corporate networks outside endpoint agents and patch tooling, and they are the raw material for botnets. This guide covers IoT threats and attack surface, wireless and messaging protocols, inventory, segmentation and network access control, device identity, firmware updates and vulnerability disclosure, testing, and the UK, EU and US rules that now apply to manufacturers. It is written for security architects, network and facilities teams, and product security teams buying or building connected devices.
Key takeaways
- You cannot secure what you have not found. Passive discovery and classification of every connected device is the first control, because most IoT cannot run an agent.
- Default and shared credentials are still the main way in. UK law has banned universal default passwords on consumer connectable products since 29 April 2024, but older and enterprise devices still carry them.
- Segmentation does the work devices cannot. Put devices in their own zones, allow only the flows they need and admit them through network access control.
- The support period is a security requirement. Buy devices with signed updates, a published end of support and a vulnerability disclosure route, and retire them when support ends.
- Every device needs its own identity. Unique certificates or credentials per device, not shared secrets or API keys baked into firmware, make revocation and attribution possible.
Consumer IoT, enterprise IoT and IIoT
| Category | Examples | Typical owner | Defining risk | Key baseline |
|---|---|---|---|---|
| Consumer IoT | Smart speakers, home cameras, plugs, wearables, TVs | Households, but often found in offices | Default credentials, cloud account takeover, short support life | ETSI EN 303 645, UK PSTI, EU RED delegated act |
| Enterprise IoT | IP cameras, access control, printers, conference room kit, building management sensors | Facilities, IT, security | Unmanaged devices on flat networks, vendor cloud and remote access | NIST SP 800-213, NIST IR 8259A, CRA |
| Industrial IoT (IIoT) | Connected sensors, gateways and edge devices in plants and utilities | Engineering and operations | Safety and availability impact, bridging IT and control networks | IEC 62443, NIST SP 800-82 |
IIoT shares the device problems below but sits inside control system architecture. See the OT Security Guide for the Purdue model and zones and conduits, and the Medical Device Security Guide and Automotive Cybersecurity Guide for regulated device sectors.
IoT attack surface and threats
An IoT product is a system: the device, its radio links, a gateway or hub, a vendor cloud and a mobile app. The OWASP IoT Top 10 (2018) is still the most widely used checklist of where these systems fail.
| OWASP IoT Top 10 (2018) | What it looks like | Primary control |
|---|---|---|
| I1 Weak, Guessable, or Hardcoded Passwords | admin/admin, shared factory passwords, backdoor accounts | Unique per-device credentials, credential change at install |
| I2 Insecure Network Services | Telnet (TCP 23), UPnP, debug services exposed | Disable unused services, block at the zone boundary |
| I3 Insecure Ecosystem Interfaces | Weak cloud APIs, web consoles and mobile apps | Vendor assessment, MFA on vendor portals |
| I4 Lack of Secure Update Mechanism | Unsigned or unencrypted updates, no rollback protection | Signed updates, procurement requirements |
| I5 Use of Insecure or Outdated Components | Old Linux kernels, BusyBox, vulnerable libraries | SBOM, vulnerability management |
| I6 Insufficient Privacy Protection | Excess personal data sent to the cloud | Data minimisation, DPIA |
| I7 Insecure Data Transfer and Storage | Plaintext MQTT or HTTP, keys stored in clear | TLS or DTLS, secure storage |
| I8 Lack of Device Management | No inventory, monitoring or decommissioning | Discovery, classification, lifecycle process |
| I9 Insecure Default Settings | Open configuration, remote access on by default | Hardened configuration baseline |
| I10 Lack of Physical Hardening | Open UART or JTAG headers, removable storage | Debug ports disabled in production, tamper evidence |
Botnets and the Mirai lesson
Mirai, analysed in "Understanding the Mirai Botnet" (USENIX Security 2017), grew to a peak of about 600,000 infections of a botnet "composed primarily of embedded and IoT devices" and launched massive DDoS attacks in late 2016. At a high level it spread by scanning the internet for devices that accepted remote log-in with factory default credentials; its source code was later published and spawned many variants. In ATT&CK terms the entry is T1078.001 Valid Accounts: Default Accounts and the payoff is T1498 Network Denial of Service. The lesson still holds: devices with internet-reachable management services and default credentials are found and enlisted quickly. Compromised devices are also used as residential proxies and as footholds for lateral movement. See the Lateral Movement Guide.
Protocols and their security features
| Protocol | Used for | Built-in protection | Watch for |
|---|---|---|---|
| MQTT | Publish and subscribe messaging via a broker | TLS on TCP 8883, client certificates, broker topic ACLs | Plaintext TCP 1883, anonymous brokers on the internet, wildcard subscriptions |
| CoAP | Lightweight REST over UDP for constrained devices | DTLS on UDP 5684; OSCORE (RFC 8613) for end-to-end protection | Unsecured UDP 5683 exposed to the internet, which can be abused for reflection |
| Zigbee | IEEE 802.15.4 mesh for lighting and sensors | AES-128 network key; install codes for joining in Zigbee 3.0 | Legacy joining with a well-known default link key |
| Z-Wave | Sub-GHz home and building automation mesh | S2 framework with ECDH key exchange and a device PIN | Legacy S0 or unsecured inclusion |
| Bluetooth Low Energy | Wearables, locks, beacons, setup flows | LE Secure Connections pairing (ECDH) | "Just Works" pairing with no protection against interception, trackable static addresses |
| Thread and 6LoWPAN | IPv6 mesh over 802.15.4; 6LoWPAN compresses IPv6 for low-power radios | Network-wide key; Mesh Link Establishment (MLE) secured with it; authenticated commissioning | Weak or reused commissioning credentials; one shared network key per mesh |
| Matter | Smart home application layer over Wi-Fi, Thread or Ethernet | Per-device attestation certificate, setup-code commissioning, certificate-based operational sessions | Leaked setup codes, multi-admin sharing left open |
| LoRaWAN | Long-range, low-rate sensors | AES-128 session keys; over-the-air activation (OTAA) derives fresh keys per join | Activation by personalisation (ABP) with static keys, poorly protected join servers |
| Cellular and eSIM | Trackers, meters, remote gateways | SIM-based authentication, private APNs, remote SIM provisioning | Public IP addressing on devices, unmanaged SIM inventory |
For Wi-Fi devices, use WPA3 or at least WPA2 with a dedicated SSID per device class. See the Wi-Fi Security Guide and the Network Ports and Protocols Security Guide.
Device inventory and classification
- Discover passively first: DHCP fingerprints, switch MAC tables, LLDP and CDP, mDNS and SSDP announcements, and NetFlow reveal devices without touching them. Active scanning of fragile devices should be gentle and scheduled.
- Classify by function and risk: manufacturer, model, firmware version, owner, location, data handled, internet dependence and end-of-support date. A camera in a car park and a badge reader on a data centre door are both "IoT" but carry very different risk.
- Find the owner: facilities and business teams buy most IoT. Every device class needs a named owner who approves updates, access and decommissioning.
- Watch the external view: check internet-facing exposure of device management interfaces from outside. See the Attack Surface Management Guide.
- Track SIMs and cloud tenants: cellular devices and vendor cloud accounts are part of the inventory even when nothing appears on the LAN.
Network segmentation and network access control
- Zone by device class: separate VLANs or VRFs for cameras, building systems, printers, conferencing and guest or consumer devices, with default-deny firewall rules between zones. See the Network Segmentation Guide.
- Allow only required flows: a camera needs its recorder and perhaps its vendor update service, not the internet at large or the user network. Build allowlists from observed traffic, then enforce.
- Admit devices through NAC: use 802.1X with certificates where devices support it; for the many that do not, MAC Authentication Bypass (MAB) combined with profiling, which is weaker because MAC addresses can be spoofed. Place unknown devices in a quarantine VLAN. See the Network Access Control (NAC) Guide.
- Harden gateways and hubs: a Zigbee, LoRaWAN or Thread border gateway bridges radio meshes to IP networks, so treat it as a boundary device: patched, admin access restricted to a management network, and only the uplinks it needs.
- Block legacy management: deny Telnet, unencrypted HTTP management and UPnP at zone boundaries, and never port-forward device management to the internet.
- Broker vendor remote access: route vendor support through a managed remote access gateway with named accounts and session recording, not device-level cloud tunnels nobody monitors.
Where identity fits
A device on the network is a non-human identity. Shared credentials make it impossible to tell one device from another, to revoke one without touching thousands, or to attribute activity.
- Unique credentials per device: the UK PSTI regulations require passwords to be unique per product or defined by the user, and forbid ones based on incremental counters, public information or serial numbers unless protected. Apply the same rule to enterprise kit through procurement.
- Certificates over passwords: factory-installed device identities (IEEE 802.1AR DevID is the common model) let a device prove what it is to NAC and to the vendor cloud. Matter does this for smart home devices: each product carries a Device Attestation Certificate unique to the device, chained to a Product Attestation Authority listed in the Connectivity Standards Alliance's Distributed Compliance Ledger, and commissioners validate the chain including revocation checks. See the Device and IoT Identity Guide.
- Manage certificate lifecycle: enrol operational certificates from your own CA, track expiry and revoke on decommissioning. See the Machine Identity, PKI and Certificate Lifecycle Guide.
- No secrets in firmware: hard-coded API keys and admin passwords are extracted and reused at scale, as the Rabbit R1 hard-coded API keys exposure and the HPE Aruba Instant On hard-coded credentials flaw showed. See the Secrets Management Guide.
- Protect the management plane: vendor cloud consoles and device management platforms control every device at once; give them phishing-resistant MFA, named admins and API keys scoped and rotated like any other privileged credential.
Firmware updates and vulnerability disclosure
- Signed, verified updates: updates should be cryptographically signed, verified by the device before installation and protected against rollback to vulnerable versions, ideally anchored in secure boot. See the Firmware and Boot Security Guide.
- Know the support period: ETSI EN 303 645 provision 5.3-13 and UK PSTI both require manufacturers to publish the defined support period. Record it in the inventory and plan replacement before it ends.
- Patch on a schedule you control: stage updates on a pilot group of each model, confirm function, then roll out by zone. Keep the previous firmware image and configuration backup for rollback where the device allows it. See the Patch Management Guide.
- Ask for an SBOM: component lists let you answer "are we affected?" when a library flaw is announced. See the Vulnerability Management Guide.
- Disclosure route: manufacturers must publish a contact point and timelines for acknowledgement and status updates (ETSI 5.2-1, PSTI Schedule 1 paragraph 2). If you build devices, run a vulnerability disclosure policy aligned to ISO/IEC 29147.
- Compensate when updates are impossible: isolate the device tightly, restrict it to known peers, monitor it and set a retirement date.
Regulation and certification
| Instrument | Applies to | Status | Core security requirements |
|---|---|---|---|
| UK PSTI Act 2022 and SI 2023/1007 | Consumer connectable products sold in the UK | In force since 29 April 2024 | No universal default passwords; published security reporting contact; published minimum support period. Deemed compliance via ETSI EN 303 645 5.1-1, 5.2-1 and 5.3-13 |
| EU Cyber Resilience Act, Regulation (EU) 2024/2847 | Hardware and software products with digital elements on the EU market | In force 10 December 2024; reporting obligations from 11 September 2026; main obligations from 11 December 2027 | Essential cybersecurity requirements across design and support, vulnerability handling, reporting of actively exploited vulnerabilities and severe incidents, CE marking |
| RED Delegated Regulation (EU) 2022/30 | Internet-connected radio equipment, toys, childcare and wearable radio devices | Applies from 1 August 2025 | Network protection, personal data and privacy safeguards, fraud protection; EN 18031-1, -2 and -3 harmonised standards |
| U.S. Cyber Trust Mark (FCC) | Voluntary label for consumer wireless IoT | Not yet in use: on 11 August 2026 the FCC conditionally approved two label administrators but stated they "are not authorized by the Commission to approve the use of the FCC IoT Label" | Criteria based on NIST's consumer IoT baseline |
| ETSI EN 303 645 V3.1.3 | Consumer IoT (voluntary standard) | Current version dated 2024-09 | 13 provision groups, from 5.1 No universal default passwords to 5.13 Validate input data, plus data protection |
| NIST IR 8259 series and SP 800-213 | Manufacturers (8259) and US federal buyers (800-213) | Published guidance | Core device capabilities: device identification, device configuration, data protection, logical access to interfaces, software update and cybersecurity state awareness |
Under the CRA, manufacturers must also set a support period of at least five years unless the product is expected to be used for less. Products placed on the Northern Ireland market follow the RED delegated act and are excepted from PSTI. See the Global Cybersecurity Regulatory Map.
Buying and testing devices
Procurement decisions
- Small organisations: buy from manufacturers that publish a support period and disclosure policy, put all IoT on a separate SSID or VLAN with internet-only access, and change every credential at install.
- Large organisations: write requirements into contracts: SP 800-213 device capabilities, 802.1X and certificate support, local management without mandatory vendor cloud, SBOM, signed updates and a support period longer than the planned service life.
- Cloud-dependent versus local: choose locally managed devices where data sensitivity or availability matters; choose cloud-managed fleets when you lack staff to patch, then govern the vendor's console as a privileged system.
IoT penetration testing scope
A useful assessment covers every layer: hardware (debug interfaces, storage, tamper resistance), firmware (extracted image analysis for secrets and outdated components), radio (pairing and joining), network services, the cloud API and the mobile app. Test production-equivalent units in a lab, not live devices on a plant or building network, and require findings to be retested after fixes.
Rolling out an IoT security programme
- Discover: run passive discovery across all sites for four weeks and reconcile against purchase and facilities records.
- Triage: fix internet-exposed management interfaces and default credentials first; these are what botnets find.
- Design zones: define device classes, zones and allowed flows; build rules from observed traffic.
- Enforce in monitor mode: apply NAC profiling and firewall rules in log-only mode for two to four weeks, review would-be blocks with device owners, then enforce one zone and site at a time. Keep the previous policy version ready to restore if a critical device fails.
- Move to device identity: enrol certificates for devices that support 802.1X; tighten MAB profiles for the rest.
- Bring updates into process: owners, pilot groups, maintenance windows and end-of-support dates for each model.
- Govern procurement: no new device class joins the network without a security review against the agreed baseline.
Detection and measurement
What to monitor: new or unprofiled devices; devices talking outside their allowlisted peers; outbound connections to unusual countries or on unusual ports; spikes in outbound traffic volume (a sign of DDoS participation); failed and successful log-ins to device management interfaces; firmware version changes outside maintenance windows; and certificate expiry. Use flow data and NAC logs, since most devices cannot run an agent. See the SIEM Guide.
| Metric | What it shows | Target |
|---|---|---|
| Connected devices classified with a named owner | Inventory completeness | Above 95% |
| Devices with default or shared credentials | Exposure to botnets | Zero |
| IoT devices in segmented zones under enforced policy | Containment | 100% of known devices |
| Devices past end of support still connected | Unpatchable risk | Zero, or isolated with a dated exception |
| Median days to deploy critical firmware fixes | Update discipline | Within policy, for example 30 days |
| Internet-exposed device management interfaces | External attack surface | Zero |
Common failure patterns
- Treating the vendor cloud as somebody else's problem: in the Verkada camera breach, admin credentials on an exposed support server opened customer cameras. The management plane is part of your attack surface.
- Flat networks: a compromised camera or smart TV can reach servers and user devices because nobody segmented it.
- Hard-coded and shared secrets: one extracted password or key works on every unit of a model, so a single disclosure becomes a fleet compromise.
- Network devices left unmanaged: long-lived credentials and secrets on routers and edge devices kept attackers inside for years in the Salt Typhoon telecom intrusions.
- Ignoring end of support: devices keep working long after the last update, so they stay connected with known, unfixable flaws.
Framework mapping
| Control area | NIST CSF 2.0 | NIST SP 800-53 Rev. 5 | CIS Controls v8.1 | ISO/IEC 27001:2022 Annex A |
|---|---|---|---|---|
| Device inventory and ownership | ID.AM-01 | CM-8 | 1.1 | 5.9 |
| Segmentation and zone boundaries | PR.IR-01 | SC-7 | 12.2 | 8.22 |
| Device identification and NAC | PR.AA-03 | IA-3 | 13.9 | 8.20 |
| Default credentials and secure configuration | PR.PS-01 | CM-6, IA-5 | 4.7 | 8.9 |
| Firmware updates and vulnerability handling | PR.PS-02, ID.RA-01 | SI-2, RA-5 | 7.1 | 8.8 |
| Network monitoring | DE.CM-01 | SI-4 | 13.6 | 8.16 |
| Security requirements in procurement | GV.SC-05 | SA-4 | 15.4 | 5.20 |
Practitioner checklist
- Run passive discovery on every site and give each device class a named owner and an end-of-support date.
- Remove internet exposure of device management interfaces and close Telnet and UPnP at zone boundaries.
- Replace every default or shared credential with unique per-device credentials or certificates.
- Place IoT in dedicated zones with default-deny rules and allowlisted flows.
- Admit devices through NAC: 802.1X with certificates where supported, profiled MAB with quarantine otherwise.
- Require signed updates, an SBOM, a published support period and a disclosure policy in every IoT purchase.
- Pilot firmware updates per model, keep rollback images and track time to deploy critical fixes.
- Protect vendor cloud consoles and device management platforms with phishing-resistant MFA and scoped API keys.
- Monitor flows, NAC events and management log-ins for devices acting outside their profile.
- Map products you sell or import against PSTI, the CRA timetable and the RED delegated act.
Standards and references
- legislation.gov.uk: The Product Security and Telecommunications Infrastructure (Security Requirements for Relevant Connectable Products) Regulations 2023
- ETSI: EN 303 645 Cyber Security for Consumer Internet of Things: Baseline Requirements
- European Commission: Cyber Resilience Act
- GOV.UK: Regulation (EU) 2022/30 factsheet
- FCC: Public Notice DA 26-834 on Cybersecurity Label Administrators
- NIST: IR 8259A IoT Device Cybersecurity Capability Core Baseline
- NIST: SP 800-213 IoT Device Cybersecurity Guidance for the Federal Government
- OWASP: Internet of Things Project
Related NHI Mgmt Group resources: Device and IoT Identity Guide · OT Security Guide · Machine Identity, PKI and Certificate Lifecycle Guide · Network Segmentation Guide · Network Access Control (NAC) Guide