IoT Devices: Decide What Each One Is Allowed to Reach
Security
The internet was built for computers whose owners choose what they are for. A smart plug is nothing of the kind, and that difference is not a complaint about how it was made. That is why nothing on your network can tell when the plug starts doing something new.
The device defined by exclusion
In March 2019 the IETF published RFC 8520, the Manufacturer Usage Description Specification, written by Eliot Lear, Ralph Droms and Dan Romascanu. It is a Standards Track document, and it opens on the asymmetry: “The Internet has largely been constructed for general purpose computers, those devices that may be used for a purpose that is specified by those who own the device.”
For that kind of machine, the document notes, “it was presumed that an end device would be most capable of protecting itself”, and it holds that the presumption still makes sense for laptops, phones and tablets. Then it turns to everything else. “Let us then posit a group of objects that are specifically not intended to be used for general purpose computing tasks. These devices, which this memo refers to as Things, have a specific purpose. By definition, therefore, all other uses are not intended.”
That last sentence runs the opposite way to the usual framing. A one-job device is not harder to describe than a laptop. It is very much easier, and the difficulty sits somewhere else.
A light bulb, described completely
The specification’s own example is worth reading whole, because it carries the argument better than a summary would.
“A light bulb is intended to light a room. It may be remotely controlled through the network, and it may make use of a rendezvous service (which could be accessed by an application on a smart phone). What we can say about that light bulb, then, is that all other network access is unwanted. It will not contact a news service, nor speak to the refrigerator, and it has no need of a printer or other devices. It has no social networking friends.”
Try writing that paragraph about a laptop. The document rules it out in terms: the scheme “is not intended to address network authorization of general purpose computers, as their manufacturers cannot envision a specific communication pattern to describe”. So the awkward thing about a smart device is not that its behaviour is unpredictable. It is that the one party who could predict it is not on your network.
The narrow vocabulary turns out to be enough
What the proposal asks a manufacturer to publish is an access control list, written in addresses, port numbers and which end opened the connection. Those are the terms your router already reasons in, and the terms that cannot describe harm when the subject is a general-purpose machine.
For a bulb it is sufficient. The document sketches what such a list says: allow devices of the same manufacturer, allow the controller, allow local name and time lookups, then “Deny all other access”. Rather than naming addresses, which move, it defines classes that the local network fills in, among them the manufacturer, the controller, and “local”, defined as “The class of IP addresses that are scoped within some administrative boundary”. Which way a connection was opened is carried too, each rule attaching either as a policy to the device or as a policy from it.
Only the maker can supply the description
RFC 8520 is careful about who is being asked to do the describing, and its reasoning is economic rather than technical. The key points, it says, are “that the device itself is assumed to serve a limited purpose, and that there exists an organization in the supply chain of that device that will take responsibility for informing the network about that purpose”.
The announcement would ride on a message your network already exchanges. One of the three defined ways for a device to hand over the location of its description is a DHCP option, carried in the same conversation that first brings the device onto the network, so the exchange that already happens on arrival is the channel the information would travel down.
Then comes the sentence that explains why your plug has done none of this. “Unless the network would refuse access to such a device, its developers would have no reason to provide the network any information. To date, such an assertion has held true.”
Read the specification backwards and you have the diagnosis. A standards body worked out what a network would need to know, established that the device’s own narrowness makes that knowledge cheap to write down, identified the single party able to write it, and then recorded that unless networks start turning such devices away, its developers will not bother. It is just as clear about its own ceiling: whatever a manufacturer publishes, “these are not directives, but suggestions”, and the scheme “will never replace the need for manufacturers to patch vulnerabilities”.
Built to outlive your attention
The Internet Architecture Board set out the questions facing a designer of these things in March 2015, in RFC 7452, Architectural Considerations in Smart Object Networking, an Informational document. Two of its questions are about time rather than engineering: how long the device is designed to operate, and whether it will “be physically accessible for direct maintenance after deployment”.
Its answer to the first is a range: “It is anticipated that smart objects will be deployed with a long (e.g., 5-40 years) life cycle.” These devices, it says, “often operate autonomously without any human interaction for a long time period”, and without a working update mechanism “most devices would pose a latent risk to the Internet at large”.
One further observation matters more in a house than in a data centre. These things arrive in families of near-identical units, and the document states the consequence directly: “Sharing secret keys across an entire product family is, therefore, also problematic since compromise of a single device might leave all devices from that product family vulnerable.” Where that is how a product family was built, what holds for your unit holds for the rest of them.
All of that depends on somebody still shipping fixes. The end of the period in which anybody is obliged to do so is now a published fact in the UK, and it applies to the plug as much as to the hardware it connects through, so when the fixing is due to stop works through where to find the date and what follows once it has passed.
What is left to you
Put each thing where it can reach least. A guest network, where the router has one, separates a camera or a plug from the laptops and the files without asking you to write anything down. It is a blunt stand-in for the per-device list above, and it is what exists today.
Treat one check as one moment. Where you have set up forwarding to a device and want to know what the outside can reach, you can see whether anything answers at that instant. That page lists the reasons an expected answer fails to appear, and one of them matters here: a forward to a service that is not running comes back closed. Plenty of these devices are built to sleep, so being present and being awake are different conditions, and one probe describes the moment it ran rather than the week.
Read the result as a household rather than a device. What this connection reports about itself reports on the line that everything in the house shares. What it describes is the connection, not the things using it, and the same holds from outside, where every device in the house arrives under one address.
Prefer a thing that still works on its own. The description above has a class for purely local traffic, which is only any use to a device that can do its job without leaving the house. One that works through a service run by its own manufacturer cannot be confined to the local network without being switched off, and RFC 7452 records the matching worry rather than answering it: a frequent concern from end users, it says, is that a “change in the business model (or bankruptcy)” of the provider might make the hardware unusable.
The honest summary is narrow. You will not be writing firmware for any of this, you cannot see what these devices say when they call home, and the description that would let your network judge them was specified in 2019 by a group that wrote down, in the same document, the reason it would go unused. That leaves one decision per device, taken when you plug it in rather than after something has gone wrong: what this thing is able to reach. A bulb that can reach one service and nothing else is still a bulb.