Small computers everywhere: IoT, embedded and autonomous

9 min 6 sections 5 practice questions 7 sources citedISC2 objective 3.5

Most computers are not on desks. They sit inside cameras, thermostats, cars, infusion pumps and printers, often with a network connection and no screen. Many are cheap, rarely updated and forgotten once installed, and some now act on the world without asking anyone. No technical background is assumed.

By the end of this unit you will be able to:

  • Explain what an embedded system is and name the parts it is built from
  • Explain why default passwords on connected devices let one botnet reach hundreds of thousands of them
  • Choose controls for a device that can never be patched
  • Describe how an autonomous system can be fooled and what limits the harm
  • Name the controls that show a bought component is genuine and unaltered

The printer that sent the payroll

An illustrative example

A dental practice buys a printer that scans, copies and emails. The installer plugs it into the office network, leaves the administrator password as it came from the factory and never returns.

Three years later the practice's internet connection is slow every evening. A support company finds the printer sending traffic to addresses abroad. Someone had signed in with the factory password, changed its software and was using it to copy every scanned document, including the payroll.

Nobody at the practice thought of the printer as a computer. Which three things about it made it the easiest way in?

A computer built into something else

A washing machine has a small computer that reads the dial, runs the motor and stops the drum when the door opens. Nobody installs programs on it. An embedded system is a computer built into a larger product to do one fixed job.

Four parts recur. A microcontroller is a single chip holding a small processor, memory and connections, enough to run one program. A system on a chip (SoC) puts most of a computer, often with a radio and graphics, on one chip, as in a phone or a smart speaker. A field-programmable gate array (FPGA) is a chip whose circuits can be rewired by loading a new design after manufacture. A real-time operating system (RTOS) is an operating system built to respond within a fixed time, because a brake or an airbag that answers late has failed.

A small black circuit board, about five centimetres long, with rows of pins along both long edges, a USB socket at one end and a metal-covered Wi-Fi module beside a zigzag copper antenna.

A whole embedded computer with a Wi-Fi radio fits on a board a few centimetres long, running one program stored as firmware.

  1. 1Microcontroller and radio. Under this metal cover sit the main chip and the memory holding its firmware.
  2. 2Antenna. A zigzag copper track that sends and receives the Wi-Fi signal.

Photograph: Board with ESP8266 by Ogidya, CC BY-SA 4.0. Cropped and resized.

The program stored in the chip is firmware. Changing it usually means a special update, and many devices are never updated in their working life.

A static environment is a system set up to do one job and left unchanged for years: a ticket machine, a lift controller, a medical scanner. Being unchanged is not the same as being safe. Flaws found later stay in place.

Familiar examples include medical devices such as infusion pumps, building management systems that run heating and doors, smart meters, printers that scan and email, and vehicles. A modern car has dozens of small computers joined by an internal network called a controller area network (CAN) bus. In 2019 CISA, the United States cyber security agency, warned that a device attached to an aircraft's CAN bus could inject false data.

Internet of Things: cheap, connected, often forgotten

The Internet of Things (IoT) is the family of everyday objects that connect to a network to send data or take commands: cameras, doorbells, thermostats, sensors, smart plugs. An IoT device is an embedded system with a network connection, usually built to a low price.

A white and black dome security camera fixed to a wooden post among ivy, with a thin white aerial rising from its top and a white cable looping from its mounting bracket.

A wireless security camera is a typical Internet of Things device: an everyday object with a small computer inside that sends its pictures over the network.

  1. 1Aerial. Connects the camera to the network by radio.

Photograph: Outdoor wireless security camera at Nuthurst, Sussex 1 by Acabashi, CC BY-SA 4.0. Cropped and resized.

Five weaknesses recur. Devices ship with a default password that is the same on every unit and published in the manual. Many have no way to receive updates, or the maker stops issuing them. They run services nobody needs. They depend on the maker's online service. And they are bought and plugged in without the IT team knowing, which makes them shadow devices: unlisted, unmonitored and unpatched.

Mirai, 2016

Mirai was malicious software that searched the internet for IoT devices and tried 62 common factory usernames and passwords on each one. It took over hundreds of thousands of devices and joined them into a botnet: a crowd of hijacked devices that obey one controller.

In September 2016 the botnet flooded a journalist's website with more than 620 gigabits of traffic a second, and the hosting company OVH with more than 1 terabit a second. CISA's first advice was to change every default password.

NIST's for IoT devices, NIST IR 8259A, names six capabilities a device should have before it is bought.

  • It can be uniquely identified.
  • Its configuration can be changed by authorised people only.
  • It protects the data it stores and sends.
  • It limits access to its interfaces.
  • Its software can be updated.
  • It can report its security state.

Keeping connected devices apart

The first rule for IoT is a separate network for the devices. Cameras and thermostats sit on their own network segment, a part of the network walled off from the rest, with a that allows only the traffic each device needs. A hijacked camera can then reach the camera server and nothing else.

Each device is listed in the with a unique device identity, so that an unknown device on the network stands out. Default passwords are changed before installation. Services the device does not need are turned off. Devices that can no longer be updated are replaced or fenced in more tightly.

Three kinds of small computer, often confused
KindWhat it isTypical weaknessFirst control
Embedded systemA computer built into a product for one fixed jobFirmware never updated in the product's lifeIsolate it and control changes to its firmware
IoT deviceAn embedded system with a network connectionDefault passwords and no update routeA separate network and changed passwords
Industrial control systemComputers controlling a physical process in a plantSafety at stake; needs an outageZones and conduits, planned patching

Protecting what cannot be patched

Many embedded devices cannot be fixed. The maker has stopped issuing updates, the device is certified only as built, or changing it would stop a process. The protection then comes from around the device, in layers.

Controls for a system that cannot be patched
ControlWhat it doesExample
Network segmentationPuts the device where few things can reach itInfusion pumps on their own segment
Application firewallAllows only the commands the device's job needs, and inspects their contentOnly drug library updates reach the pumps
Manual updatesA person applies each change on site, so no update can arrive over the networkA technician updates a scanner from a checked memory stick
Firmware version controlRecords which firmware each device runs and allows only approved versionsA register showing every pump's version
WrapperA protective layer placed in front of the device to filter what reaches itA small security unit in the cable before a controller
MonitoringWatches the device's traffic for anything unusualAn alert when a pump talks to a new address
Redundancy and diversityA second device, ideally of another make, takes over if the first fails or is attackedTwo controllers from different makers

These controls reduce exposure. They do not remove the flaw, so the device is listed as a known with an owner and a replacement date.

Autonomous systems decide without asking

An autonomous system senses its surroundings, decides and acts without a person approving each action. Examples are self-driving vehicles, delivery drones, warehouse robots and software agents that act on their own judgement.

Such a system is only as good as what it senses. Sensor manipulation feeds it false inputs. NIST's report on attacks against machine learning describes stickers on a stop sign that made a vision system read it as a speed limit sign. A spoofed position signal or a blinded camera has a similar effect.

Three controls limit the harm. The system has a defined safe state it falls back to when its inputs disagree or fail, such as pulling over and stopping. It has a human override: a person can take control or halt it at any time. And it checks one sensor against another, so that one fooled input does not decide alone.

Autonomous means unsupervised, not unstoppable: a safe state to fall back to, and a person who can always stop it.

Parts made by others: supply chain risk

A device is assembled from chips, boards and software written by many suppliers. Supply chain risk is the chance that one of them, or someone along the route, introduces a weakness. A counterfeit component is a fake sold as genuine. A tampered component is a genuine one altered before it arrives, for example with extra software.

Provenance
The record of a component's origin, development, , location and changes. NIST SP 800-53 asks organisations to keep it.
Component authenticity
Checks that a part is genuine: buying from the maker or its authorised dealers, inspection and anti-counterfeit training.
Software bill of materials (SBOM)
A list of every piece of software inside a product, as an ingredients list is for food. When a flaw is found in one piece, the list shows at once which products contain it.
Signed firmware
The maker each firmware release. The device installs only firmware whose signature checks, so altered firmware is refused.

These controls answer different questions. and ask whether the part is what it claims to be. An asks what is inside it. A signature asks whether the code has changed since the maker released it.

A question, worked through

A clinic's head of IT finds that its 40 infusion pumps run an operating system the maker no longer patches. Replacement is budgeted for next year. The pumps must receive the pharmacy's drug library update from the library server every week.

What is the BEST action until the pumps are replaced?

  1. Move the pumps to a segment that reaches one server
  2. Install endpoint protection software on every pump
  3. Disconnect the pumps and load each update by hand
  4. Ask the maker to issue one final security patch
Decide on your answer, then open the reasoning
  1. The question asks how to protect devices that cannot be patched, while keeping a weekly network update that patient safety depends on.
  2. Rule out b. Embedded medical devices rarely have spare capacity for added software, and changes to them need the maker's testing and approval.
  3. Rule out d. The maker has ended support, so asking for a patch does not reduce the risk in the coming year.
  4. Between a and c: manual updates remove the network risk, but forty pumps a week by hand invites missed or wrong updates, and the drug limits protect patients.
  5. Option a keeps the safety function and cuts the pumps off from everything except the one server they need.

Answer: A. Move the pumps to a segment that reaches one server

Choosing between good answers

A device cannot be patched or run security software
choose isolation and filtering around it, with monitoring, and record it as a known risk with a replacement date.
IoT devices are joining the network
choose a separate network and changed default passwords before anything else.
An autonomous system's inputs may be manipulated
choose a defined safe state and a human override over more sensors of the same kind.
The question is whether a bought part is genuine
think provenance and authenticity. When it is what software the part contains, think SBOM.

Check your understanding

5 questions on this unit, easiest first. Confirm an answer to see the reasoning for it, then the right answer, the other options and the rule to reuse. Your answers are kept in this browser and feed readiness and review.

These questions are drafts that no named reviewer has approved yet.

Question 1 of 5

A flaw is announced in a widely used software library. A hospital's medical device manager must find out quickly which of 300 devices, from 12 makers, contain that library. Which record answers this MOST directly?

What to remember

  • An embedded system is a computer built into a product for one fixed job. It is built from a microcontroller, a system on a chip or an FPGA, often running a real-time operating system.
  • IoT devices are embedded systems with a network connection; default passwords and no update route let Mirai build a botnet from hundreds of thousands of them.
  • IoT devices belong on a separate network, each with a known identity and a changed password.
  • A system that cannot be patched is protected from outside: segmentation, application firewalls, manual updates, firmware version control, wrappers, monitoring, redundancy and diversity.
  • An autonomous system needs a safe state and a human override, because its sensors can be fooled.
  • Supply chain controls include provenance, component authenticity checks, a software bill of materials and signed firmware.

Say it from memory

  1. What makes IoT devices easy to attack, and what controls come first?

    They are cheap embedded systems with a network connection, often with a shared default password, no update route, needless services and no owner, so they become shadow devices. Mirai used 62 default logins to build a botnet. Controls: a separate network, a unique device identity in the inventory, changed passwords, unneeded services off, and replacement when updates end.

    Read this part again

  2. What is an embedded system, what is it built from, and how is one protected when it cannot be patched?

    A computer built into a product for one fixed job, using a microcontroller, system on a chip or FPGA. It often runs a real-time operating system and firmware that is seldom updated. When it cannot be patched: segmentation, application firewalls, manual updates, firmware version control, wrappers, monitoring, and redundancy and diversity.

    Read this part again

  3. What is a static environment, and why is being unchanged not the same as being safe?

    A static environment is a system set up to do one job and left unchanged for years, such as a ticket machine, a lift controller or a medical scanner. Flaws found later stay in place, because its firmware is seldom or never updated.

    Read this part again

  4. How does an IoT device differ from an embedded system and an industrial control system, and what is the first control for each?

    An embedded system is a computer built into a product for one fixed job: isolate it and control changes to its firmware. An IoT device is an embedded system with a network connection: a separate network and changed passwords. An industrial control system controls a physical process in a plant: zones and conduits, and planned patching.

    Read this part again

Sources