Chapter 1
IoT Security Foundations and Terminology
Diploma in IOT
IoT Security
•
Diploma
IoT Security Foundations and Terminology
Introduction and Context
The Internet of Things (IoT) is a system of physical objects that sense, process, communicate and sometimes act upon information. These objects may include temperature sensors, smart meters, industrial controllers, medical devices, vehicles, cameras, appliances and wearable devices. An IoT system is not merely a collection of connected gadgets. It is an ecosystem involving hardware, software, networks, cloud services, data, organisations, users and physical processes.
IoT security is the protection of this ecosystem against accidental and deliberate events that may compromise information, services, devices, people or the environment. Security must be considered throughout the device life cycle: design, manufacture, deployment, operation, maintenance, update and retirement.
IoT security is particularly important because connected devices often interact with the physical world. A compromised information system may expose records, whereas a compromised industrial controller, medical device or vehicle may cause physical injury. Consequently, IoT security must combine cybersecurity, safety engineering, privacy protection, risk management and operational discipline.
Learning Objectives
After studying this chapter, a learner should be able to:
Describe the components and boundaries of an IoT ecosystem.
Explain common IoT architectural layers and communication relationships.
Identify IoT assets, stakeholders, threats and constraints.
Distinguish confidentiality, integrity, availability, authenticity, resilience and trust.
Explain how cybersecurity failures can create safety consequences.
Apply foundational terminology to a practical IoT deployment.
Recognise professional, ethical, governance and regulatory responsibilities.
The IoT Ecosystem
An IoT ecosystem normally contains the following elements:
Things and devices: Sensors collect observations, actuators perform actions, and embedded controllers process information.
Connectivity: Wired or wireless networks transport data. Examples include Ethernet, Wi-Fi, Bluetooth Low Energy, cellular networks, LPWAN technologies and industrial fieldbuses.
Edge or gateway systems: Gateways may translate protocols, filter data, enforce access rules and continue operating when cloud connectivity is unavailable.
Platforms and services: Cloud or on-premises platforms store data, manage devices, run analytics and provide application programming interfaces (APIs).
Applications: Dashboards, mobile applications, operational technology (OT) systems and business software use IoT data or issue commands.
People and organisations: Owners, operators, manufacturers, maintainers, service providers, regulators and affected members of the public influence security decisions.
Physical processes: Devices monitor or control buildings, factories, farms, transport systems, energy networks and healthcare processes.
IoT boundaries are often unclear. A smart building, for example, may include devices owned by a building operator, connectivity supplied by a telecommunications provider, cloud software operated by a vendor and maintenance performed by a contractor. Security responsibilities must therefore be assigned explicitly rather than assumed.
A Layered IoT Architecture
A useful introductory model divides an IoT system into four logical layers:
Sensing and actuation layer: Devices measure conditions or affect the physical environment. Examples include thermometers, motion sensors, valves and motors.
Network and transport layer: Data and commands move between devices, gateways, platforms and applications.
Processing and service layer: Edge computers and cloud platforms store, analyse and manage data. Device identity, firmware management and policy enforcement commonly occur here.
Application and management layer: Users and organisations access information, configure systems and make decisions. Governance, monitoring and incident response span all layers.
The model is conceptual, not a universal standard. Real systems may combine layers, omit a cloud component or place processing at the edge. The important security insight is that an attacker may enter through one layer and affect another. For example, a vulnerable web application may allow commands to reach an actuator, while a stolen device key may allow direct access that bypasses the application.
Layered IoT architecture showing devices, networks, processing and applications
Figure: Layered IoT architecture showing devices, networks, processing and applications
Figure: A conceptual layered model of an IoT ecosystem. Information and control commands may travel in both directions.
Device, Gateway and Cloud Patterns
In a device-to-cloud pattern, a device communicates directly with a platform. This can simplify deployment but may require substantial device capability and careful protection of credentials. In a device-to-gateway pattern, a gateway aggregates devices and provides translation, filtering and local security controls. In an edge–cloud pattern, time-critical processing occurs locally while long-term storage or large-scale analytics occur in the cloud.
Security architecture should reflect the pattern. A gateway should not automatically be treated as trustworthy merely because it is inside a local network. Conversely, cloud dependence may create availability risks if a system cannot perform essential functions during a connectivity outage.
IoT Assets and Stakeholders
An asset is anything valuable that requires protection. IoT assets include:
device hardware and physical access points;
firmware, configuration and cryptographic keys;
sensor readings, personal data and operational records;
network services, APIs and cloud accounts;
control commands and actuator states;
safety functions and continuity of operations;
intellectual property and business processes;
public confidence and organisational reputation.
Assets should be classified according to impact. A public weather reading may have low confidentiality requirements but high integrity requirements if it controls a flood-warning system. A medical device may require strong availability and integrity even when the data it processes is not publicly sensitive.
Stakeholders are parties that affect or are affected by the system. They include device manufacturers, software suppliers, system integrators, owners, operators, administrators, maintenance contractors, data subjects, emergency services, regulators and communities. The person who buys a device may not be the person who configures it or bears the consequences of failure. This separation creates accountability challenges.
IoT Constraints and Their Security Consequences
IoT devices frequently operate under constraints that distinguish them from ordinary computers:
limited processor power, memory and battery capacity;
intermittent or low-bandwidth communications;
long service lives and infrequent physical access;
legacy protocols and proprietary interfaces;
harsh environmental conditions;
low unit cost and pressure for rapid deployment;
safety, timing and reliability requirements;
supply-chain dependence and difficult patching.
These constraints do not justify insecure design. They require proportionate design choices. For instance, a battery-powered sensor may avoid expensive continuous communication, but it still needs device identity, protected updates and a secure method for recovering from compromise. A safety controller may require deterministic local behaviour rather than dependence on a remote security service.
A common mistake is to assume that low computational capacity makes security impossible. Security mechanisms can be selected according to risk, available resources and operational needs. Another mistake is to treat physical constraints as purely technical; maintenance access, replacement cost and ownership responsibilities are equally important.
Core Security Objectives
Confidentiality
Confidentiality means preventing unauthorised disclosure of information. Examples include protecting health readings, industrial recipes, location data and authentication credentials. Confidentiality is supported by access control, encryption in transit and at rest, secure key management, data minimisation and appropriate retention periods.
Confidentiality is not identical to privacy. Privacy concerns the legitimate collection, use, sharing and control of information about people. Encryption may protect data from outsiders but does not make an unjustified collection practice ethical or lawful.
Integrity
Integrity means preserving the accuracy, completeness and intended state of data, software and operations. An attacker who changes a temperature reading, firmware image or valve command attacks integrity. Controls include authenticated messages, secure boot, signed firmware, change control, validation and audit logs.
Integrity has temporal and contextual aspects. A genuine message received too late may be unsafe, and a correct command sent to the wrong device is still an integrity failure in system context.
Availability
Availability means that authorised users and processes can access required services and functions when needed. Battery exhaustion, denial-of-service attacks, cloud outages, software defects and damaged infrastructure can reduce availability. Redundancy, rate limiting, local fallback operation, monitoring, maintenance and recovery planning improve it.
Availability is not simply a percentage. A service available 99.9% of a year may still fail during a critical emergency. Requirements must identify when availability matters and what delay is acceptable.
Authenticity and Accountability
Authenticity is confidence that an entity, message, device or data source is genuine. Device authentication prevents an unauthorised device from pretending to be a legitimate sensor. Message authentication helps detect forged commands. Digital certificates, cryptographic keys, secure enrolment and mutual authentication are common mechanisms.
Accountability is the ability to associate actions with responsible entities and evidence. Logs, time synchronisation, individual accounts and protected audit trails support accountability. A shared administrator password weakens both authentication and accountability.
Resilience
Resilience is the ability to withstand, adapt to and recover from disruptive events while maintaining acceptable operation. Resilience includes prevention but extends beyond it. A resilient smart-grid component may isolate a compromised segment, continue safe local operation and restore trusted services after recovery.
Resilience requires preparation: tested backups, alternate communications, manual procedures, spare equipment, incident response plans and lessons learned. It should not be used as an excuse to neglect prevention; recovery from a preventable compromise can still be costly or dangerous.
Trust
Trust is a justified expectation that an entity, component or process will behave according to defined requirements. Trust is not the same as familiarity or physical proximity. A device on an internal network is not automatically trustworthy.
Trust may be established through identity verification, secure manufacturing, attestation, configuration assessment, reputation, contractual assurance and observed behaviour. Trust should be limited by least privilege, meaning that a component receives only the permissions necessary for its function. Trust is also dynamic: a device may need to be quarantined if its software integrity fails or its behaviour becomes anomalous.
Threats, Vulnerabilities, Risk and Controls
A threat is a potential cause of harm, such as malware, an insider, equipment failure or a natural disaster. A vulnerability is a weakness that can be exploited or triggered. An exploit is a method of using a vulnerability. An event is an occurrence, while an incident is an event that actually or potentially compromises security or violates policy.
Risk expresses the possibility of adverse consequences. In introductory risk analysis, risk is often discussed qualitatively as a combination of likelihood and impact. This is not a universal mathematical law; likelihood and impact may be uncertain, dependent and difficult to quantify. Organisations should therefore document assumptions and use scales consistently rather than presenting subjective scores as precise measurements.
A control is a safeguard that reduces likelihood, impact or recovery time. Controls may be:
preventive, such as secure configuration;
detective, such as intrusion monitoring;
corrective, such as restoring trusted firmware;
administrative, such as policies and training;
technical, such as access control and encryption;
physical, such as locked cabinets and tamper evidence.
A defence-in-depth strategy uses multiple independent or partially independent controls. For example, device authentication, network segmentation, command validation and safe actuator limits provide stronger protection together than any single control.
Safety, Security and the Physical World
Security concerns protection against malicious or unauthorised actions, while safety concerns preventing unacceptable harm from accidental or uncontrolled conditions. They overlap but are not interchangeable. A software defect may create a safety hazard without an attacker. An attacker may deliberately disable a safety interlock.
A useful analysis asks:
What physical process can the device influence?
What is the safe state if data, communication or power is lost?
What is the maximum tolerable delay or incorrect action?
Can a human verify or override the system?
What happens if an attacker controls valid credentials?
Safety mechanisms must be designed carefully. A forced shutdown may protect one asset but create danger elsewhere. Security testing should therefore include operational technology specialists, safety engineers and domain operators. Fail-safe behaviour, emergency stop functions, independent safeguards and manual procedures should be validated in realistic conditions.
Privacy, Ethics and Governance
IoT systems can collect information continuously, infer behaviour and monitor locations. Ethical and lawful practice requires purpose limitation, data minimisation, transparency, appropriate consent or another valid legal basis, retention control and protection against discriminatory or harmful use. Privacy notices should be understandable, not merely technically complete.
Governance assigns decision rights and accountability. It should define who may deploy devices, approve firmware, access data, respond to incidents and retire equipment. Procurement contracts should address vulnerability disclosure, security updates, support duration, data ownership, breach notification and subcontractors.
Regulatory obligations vary by jurisdiction and sector. Relevant areas may include data protection, critical infrastructure, medical-device regulation, product safety, telecommunications and cybercrime law. Compliance is a baseline, not proof that a system is secure. Organisations should maintain evidence of risk assessments, testing, patch decisions and incident handling.
A Practical Security Life Cycle
Security should be embedded in the entire life cycle:
Define requirements: Identify assets, users, safety constraints, data flows and unacceptable outcomes.
Design securely: Establish trust boundaries, minimise exposed interfaces, use secure defaults and separate critical functions.
Build and procure responsibly: Review suppliers, protect development systems, scan dependencies and require update support.
Provision devices securely: Use unique identities, authenticated enrolment and removal of default credentials.
Operate and monitor: Apply least privilege, segment networks, record events and detect abnormal behaviour.
Maintain and update: Deliver authenticated updates, test compatibility and communicate end-of-support decisions.
Respond and recover: Isolate affected devices, preserve evidence, maintain safe operation and restore trusted configurations.
Retire securely: Revoke credentials, erase sensitive data and dispose of hardware safely.
Security architecture should also distinguish control plane activities, such as provisioning and configuration, from data plane activities, such as sensor traffic. Protecting one does not automatically protect the other.
A food distributor deploys wireless temperature sensors in refrigerated trucks. Sensors transmit readings through a gateway to a cloud dashboard. Managers receive alerts when temperatures exceed limits.
Problem
Several devices use a shared factory password. The gateway accepts unauthenticated local configuration messages, and the truck continues relying on cloud connectivity even when cellular service is unavailable. A malicious person could alter readings or disable alerts; a network outage could also hide spoilage.
Analysis
The assets include temperature data, alert integrity, shipment quality, customer records and the safety of food products. Threats include credential theft, message spoofing, physical access to sensors, cloud outage and battery depletion. Confidentiality is relevant to business information, but integrity and availability are especially important because incorrect or missing readings may lead to unsafe decisions.
Approach and Solution
The distributor assigns each device a unique identity and replaces shared passwords with authenticated enrolment. Sensor messages are protected against tampering and replay. The gateway validates configuration commands, limits administrative access and stores signed local records during connectivity loss. Local rules generate an alert when a temperature threshold is exceeded, while the cloud provides longer-term analytics. Devices are placed on a segmented network, and operators receive training on responding to conflicting readings.
The organisation also establishes a supplier update commitment, a vulnerability-reporting process and a retirement procedure that revokes device credentials. Testing includes deliberate gateway disconnection, incorrect sensor values, battery depletion and attempted unauthorised configuration.
Outcome
The system can continue essential monitoring during a communications outage, and operators can distinguish a genuine temperature excursion from a suspicious data pattern. No control eliminates all risk: a physically damaged sensor or incorrect threshold can still create problems. However, layered controls reduce the likelihood and consequences of failure.
Learning Points
The case demonstrates that IoT security is not limited to encryption. Identity, integrity, availability, local autonomy, operational procedures, supplier management and safety consequences must be considered together.
Contemporary Developments and Professional Practice
Edge computing is increasing because local processing can reduce latency, bandwidth use and dependence on cloud services. It also creates additional devices and software that must be secured. Artificial intelligence and machine learning can assist anomaly detection, but models may generate false alarms, inherit biased data or be manipulated by adversarial inputs. Automated detection should support, not replace, skilled investigation and safety controls.
Software bills of materials can improve visibility of third-party components and support vulnerability response. Hardware roots of trust, remote attestation and confidential-computing techniques may strengthen assurance, but they introduce implementation, cost and interoperability considerations. Long-lived devices also require attention to cryptographic agility: algorithms and key sizes may need replacement as threats and standards evolve.
Best practice for diploma-level professionals includes:
change default credentials immediately;
maintain an inventory of devices, software and owners;
use unique identities and least privilege;
encrypt sensitive communications and protect keys;
segment IoT networks from general user networks;
disable unnecessary services and ports;
verify and test firmware updates;
monitor logs and investigate unusual behaviour;
plan for outages, compromise and safe manual operation;
document support periods and retirement procedures;
report vulnerabilities responsibly and preserve evidence after incidents.
Chapter Summary
IoT security protects an interconnected ecosystem of devices, networks, platforms, applications, people and physical processes. A layered architecture helps locate security responsibilities and trust boundaries, but real systems may distribute functions across devices, gateways, edge systems and clouds. Important assets include hardware, firmware, keys, data, commands, services and safety functions.
IoT devices impose constraints such as limited resources, long lifetimes, unreliable connectivity and difficult maintenance. These constraints require proportionate design rather than removal of security controls. The principal security objectives are confidentiality, integrity and availability, supplemented by authenticity, accountability, resilience and justified trust. Privacy, safety and governance broaden the analysis beyond technical protection.
Threats exploit vulnerabilities and may produce incidents affecting information, operations or physical safety. Defence in depth, secure life-cycle management, supplier assurance, monitoring, recovery planning and safe local operation are essential. IoT professionals must treat security as a continuing organisational responsibility rather than a one-time configuration task.
Key Terms
Asset: Anything valuable that requires protection.
Authenticity: Confidence that an entity, message or data source is genuine.
Availability: Access to required systems or functions when needed.
Confidentiality: Protection against unauthorised disclosure.
Control: A safeguard that reduces security risk.
Device identity: A unique, verifiable identity assigned to an IoT device.
Exploit: A method of using a vulnerability.
Gateway: An intermediary that connects devices to other networks or services.
Incident: An event that actually or potentially compromises security.
Integrity: Preservation of accuracy, completeness and intended state.
IoT ecosystem: The connected devices, networks, services, people and processes forming an IoT system.
Least privilege: Granting only the permissions necessary for a task.
Resilience: The ability to withstand, adapt to and recover from disruption.
Risk: The possibility of adverse consequences arising from uncertainty.
Safety: Protection against unacceptable harm from accidental or uncontrolled conditions.
Stakeholder: A party that affects or is affected by a system.
Threat: A potential cause of harm.
Trust: A justified expectation of compliant behaviour.
Vulnerability: A weakness that can be exploited or triggered.
Review Questions
Short Answer Questions
What is meant by an IoT ecosystem?
State the four conceptual layers of an IoT architecture.
Distinguish confidentiality from privacy.
Define authenticity and give one IoT example.
Why can IoT security failures create safety consequences?
Long Answer Questions
Explain the main assets and stakeholders in a smart-building IoT system.
Discuss how limited battery power and intermittent connectivity influence IoT security design.
Compare confidentiality, integrity and availability using examples from industrial IoT.
Explain the relationship between security, safety, resilience and trust.
Describe a secure IoT life cycle from procurement to retirement.
Analytical / Application Questions
A water-treatment controller receives commands from a cloud service but must continue operating during network loss. Identify its major assets, threats and security objectives, and propose layered controls.
A hospital deploys wearable patient sensors using shared administrator credentials. Analyse the risks and design a more appropriate identity, access-control and monitoring approach.
A smart-factory sensor reports values that conflict with a local safety instrument. Explain how integrity, authenticity, availability and safety should guide the operational response.
Multiple Choice Questions with Answers
Question 1
Which component most commonly connects constrained IoT devices to broader networks and services?
A. Gateway
B. Actuator
C. Data subject
D. Safety label
Correct Answer: A. Gateway
Question 2
Protecting a valve command from unauthorised alteration is primarily an example of which objective?
A. Confidentiality
B. Integrity
C. Availability
D. Anonymity
Correct Answer: B. Integrity
Question 3
What does authenticity establish?
A. That a service is always available
B. That data is stored indefinitely
C. That an entity or message is genuine
D. That all data is public
Correct Answer: C. That an entity or message is genuine
Question 4
Which practice best supports least privilege?
A. Giving every device administrator access
B. Using one shared password for all operators
C. Allowing permissions only for required functions
D. Disabling audit logs
Correct Answer: C. Allowing permissions only for required functions
Question 5
Why is local fallback operation valuable in an IoT system?
A. It removes the need for device identities
B. It allows essential functions during cloud or network disruption
C. It guarantees confidentiality without encryption
D. It prevents all physical failures
Correct Answer: B. It allows essential functions during cloud or network disruption
Question 6
Which is an IoT asset?
A. Only the device enclosure
B. Only publicly available information
C. Firmware and cryptographic keys
D. An unrelated office chair
Correct Answer: C. Firmware and cryptographic keys
Question 7
A vulnerability is best described as:
A. A potential cause of harm
B. A weakness that can be exploited or triggered
C. A completed recovery plan
D. A business stakeholder
Correct Answer: B. A weakness that can be exploited or triggered
Question 8
Which statement correctly distinguishes safety from security?
A. Safety concerns unacceptable harm; security concerns unauthorised or malicious actions
B. Safety and security are exactly the same concept
C. Security applies only to physical equipment
D. Safety applies only to cloud software
Correct Answer: A. Safety concerns unacceptable harm; security concerns unauthorised or malicious actions
Question 9
Which measure most directly improves accountability?
A. Shared anonymous accounts
B. Protected audit logs linked to individual identities
C. Removing time synchronisation
D. Disabling configuration records
Correct Answer: B. Protected audit logs linked to individual identities
Question 10
Which activity belongs to secure device retirement?
A. Keeping active credentials permanently
B. Reusing unverified firmware
C. Revoking credentials and securely erasing sensitive data
D. Publishing private keys
Correct Answer: C. Revoking credentials and securely erasing sensitive data