CISSP-112 · Lesson 7 of 12 · 26 min
Assessing and mitigating vulnerabilities II: cloud, virtualization, containers, IoT, embedded and edge
The second half of sub-domain 3.5 covers the architectures that have reshaped computing in the past fifteen years: cloud services, virtualized systems, containers, microservices and serverless functions, the internet of things, embedded systems, high-performance computing and edge and fog computing. Each brings new efficiencies and new weaknesses. The common thread is that the attack surface moves: away from a single server room and toward identities, configurations, application programming interfaces and millions of small devices.
Cloud-based systems
Cloud computing, as defined by NIST in SP 800-145, has five essential characteristics: on-demand self-service, broad network access, resource pooling, rapid elasticity and measured service. It comes in three service models, infrastructure, platform and software as a service, and four deployment models: public cloud, open to many customers; private cloud, operated for one organization; community cloud, shared by organizations with common concerns such as government departments; and hybrid cloud, which combines them. Lesson 2 covered the shared responsibility model; here the focus is on what goes wrong.
The leading causes of cloud breaches are misconfiguration and weak identity, not exotic attacks on the provider. Storage left publicly readable, overly broad permissions for roles, administrator accounts without multifactor authentication, secrets embedded in code repositories, unmonitored application programming interfaces and logging turned off all recur in incident reports. Multi-tenancy adds the theoretical risk of one customer reaching another through a hypervisor or service flaw, which providers work hard to prevent. Other concerns include data location and sovereignty, lock-in to one provider, and the difficulty of forensic investigation when the customer does not control the hardware.
Controls start with identity: single sign-on, phishing-resistant multifactor authentication for administrators, least-privilege roles and short-lived credentials. Cloud security posture management tools continuously check configurations against benchmarks and flag drift. Infrastructure as code lets teams review and test configurations before deployment, and policy as code blocks non-compliant changes automatically. Encryption with customer-managed keys, private network endpoints, central logging and cloud workload protection complete the picture. A cloud access security broker, or CASB, sits between users and cloud services to give visibility and control over software-as-a-service use, including services adopted without approval, known as shadow IT.
Virtualized systems
Lesson 5 described hypervisors and their place in the trusted computing base. The vulnerabilities of virtualized environments include virtual machine escape, in which code in one guest breaks out to the hypervisor and can then reach other guests; virtual machine sprawl, where forgotten machines remain unpatched; snapshots and images that contain sensitive data or outdated software; weak separation of management interfaces; and resource exhaustion, where one guest starves others. Controls include patching hypervisors promptly, isolating management networks, hardening and scanning templates, controlling who can create and copy machines, and placing workloads of very different sensitivity on separate hosts or clusters.
Containers, microservices and serverless
Containers package an application with its libraries into an image that runs on a shared operating system kernel, isolated by kernel features such as namespaces and control groups. They start quickly and use fewer resources than virtual machines, but their isolation is weaker, because all containers on a host share one kernel; a kernel flaw or a container running with excessive privileges can expose the host. Images pulled from public registries may contain vulnerable packages or even malware. Orchestration platforms such as Kubernetes add their own attack surface: exposed dashboards, overly broad role-based access and secrets stored without encryption have all been exploited. Controls include using minimal, signed images from trusted registries, scanning images in the build pipeline, running containers as non-root with read-only file systems, applying network policies between pods, encrypting secrets and keeping the orchestrator patched and locked down.
Microservices break an application into many small services that communicate over the network through application programming interfaces. This makes development faster and scaling easier, but turns internal function calls into network traffic that must be authenticated, authorized and encrypted. Each service has its own dependencies to patch. Common patterns include an API gateway that handles authentication and rate limiting at the edge, a service mesh that provides mutual TLS and policy between services, and centralized logging with distributed tracing so that a request can be followed across dozens of services.
Serverless computing, or function as a service, runs small pieces of code in response to events without the customer managing any servers. The provider handles the operating system and scaling; the customer is responsible for the code, its dependencies, its permissions and the data it handles. Typical weaknesses are functions granted far more permissions than they need, injection through event data from queues or storage, insecure third-party libraries, secrets stored in plain environment variables and weak logging that hides attacks. Because functions are short-lived, traditional host-based security tools do not apply, so security moves into the build pipeline, identity policies and application monitoring.
Internet of things and embedded systems
The internet of things, IoT, connects everyday devices such as cameras, thermostats, door locks, medical devices and industrial sensors to networks. Embedded systems are computers built into larger devices to perform specific functions, often with limited processing power, memory and battery. Their weaknesses are well known: default or hard-coded passwords, no secure update mechanism, unencrypted communication, insecure cloud back ends, open debugging interfaces such as JTAG or serial ports, long lifetimes after vendor support ends and no way to install security software. The Mirai botnet in 2016 enslaved hundreds of thousands of cameras and routers that still used default passwords and used them for record-breaking denial-of-service attacks.
Governments now regulate some of these weaknesses. The United Kingdom's product security regime, in force since April 2024, bans universal default passwords and requires vendors to publish how long devices will receive security updates. In the United States, the FCC's voluntary Cyber Trust Mark program for consumer IoT was launched in 2025, and NIST guidance in its IR 8259 series sets baseline device capabilities; the status of the labeling program has been changing, so check current details. In Canada, the Canadian Center for Cyber Security publishes guidance for organizations and consumers on securing connected devices. Within organizations, controls include placing IoT devices on separate network segments, changing default credentials, disabling unused services, monitoring device traffic for unusual behavior, buying from vendors with a published vulnerability disclosure policy and support period, and planning to replace devices before support ends.
High-performance computing and edge and fog computing
High-performance computing, HPC, uses clusters of powerful nodes for scientific, engineering and artificial intelligence workloads. Clusters are often shared by many research groups, run specialized schedulers and file systems, and prioritize performance over security, which can mean flat internal networks and long-lived credentials. Their computing power also makes them attractive for cryptocurrency mining by attackers. A series of intrusions into European supercomputers in 2020 used stolen SSH credentials for exactly this. Controls include strong authentication for users and administrators, segmentation of management networks, monitoring of job and resource usage, and careful handling of sensitive research data.
Edge computing processes data close to where it is generated, such as in a factory, a cell tower or a retail store, to reduce delay and bandwidth. Fog computing describes a layer of intermediate nodes between edge devices and the cloud that aggregate and process data. Edge nodes are physically exposed, numerous and often unattended, so they need tamper resistance, secure boot, encrypted storage, remote management with strong authentication and the ability to keep operating safely if their connection to the cloud is lost.
| Architecture | Main risk | Key controls |
|---|---|---|
| Public cloud | Misconfiguration and weak identity | MFA, least-privilege roles, posture management, infrastructure as code |
| Virtualization | VM escape, sprawl, exposed management | Patch hypervisors, isolate management, separate sensitive workloads |
| Containers | Shared kernel, vulnerable images | Signed minimal images, scanning, non-root, network policies |
| Microservices | Many network APIs to secure | API gateway, service mesh with mutual TLS, tracing |
| Serverless | Over-privileged functions, event injection | Least-privilege roles, input validation, dependency scanning |
| IoT and embedded | Default passwords, no updates | Segmentation, credential changes, vendor support commitments |
| HPC | Shared clusters, stolen credentials | Strong authentication, usage monitoring, segmented management |
| Edge and fog | Physically exposed nodes | Secure boot, encrypted storage, tamper resistance |
Worked problem
Finding the over-privileged function
A serverless function resizes images uploaded to one storage bucket and writes thumbnails to another. Its role allows read and write on all storage in the account, full access to the database service and permission to create new roles. What is wrong and what should the role allow?
Show solution
- The function needs only to read from the upload bucket and write to the thumbnail bucket.
- Access to all storage, the database and role creation violates least privilege; role creation even allows privilege escalation.
- If an attacker injects a malicious image that exploits the image library, they inherit all these permissions.
- Restrict the role to read on the upload bucket and write on the thumbnail bucket, and log its activity.
Answer: The role should allow only read on one bucket and write on another. Over-privileged functions turn a small code flaw into an account-wide compromise.
Worked problem
Estimating IoT exposure
A hospital has 1,200 connected devices: 400 infusion pumps, 500 badge readers and 300 cameras. An audit finds 15 percent of pumps, 40 percent of badge readers and 60 percent of cameras still use default passwords. How many devices are exposed, and where should work start?
Show solution
- Pumps: 0.15 × 400 = 60.
- Badge readers: 0.40 × 500 = 200.
- Cameras: 0.60 × 300 = 180.
- Total: 60 + 200 + 180 = 440 devices with default passwords.
- Prioritize by harm: infusion pumps affect patient safety, so fix those first even though cameras have the highest rate, and segment all three groups.
Answer: 440 devices are exposed. Start with the 60 infusion pumps because of patient safety, then badge readers that control physical access, then cameras.
Thinking like a manager
In cloud scenarios, the likely root cause is misconfiguration or weak identity, and the fix is usually stronger identity, least privilege and continuous configuration monitoring, owned by the customer. In container and serverless scenarios, look for answers that move security into the build pipeline and restrict permissions. In IoT scenarios, segmentation and vendor support commitments are key, and devices that affect safety come first.
A common thread
Across cloud, virtual, container, IoT and edge systems the same questions recur: who is responsible for each layer, how the asset is inventoried, how it is configured and patched, how identities and secrets are managed, and how isolation is enforced and monitored. Answering these consistently is more valuable than memorizing the details of any single platform, which change quickly.
Common mistakes
MistakeAssuming containers isolate as strongly as virtual machines.
InsteadContainers share the host kernel; use hardening, non-root containers and patching.
MistakeBlaming the provider for exposed customer storage.
InsteadConfiguration and access in the cloud are the customer's responsibility.
MistakeGiving serverless functions broad permissions for convenience.
InsteadGrant each function only the actions and resources it needs.
MistakePutting IoT devices on the same network as staff laptops.
InsteadSegment IoT devices and monitor their traffic.
MistakeUsing public container images without checking them.
InsteadUse minimal, signed images from trusted registries and scan them.
Summary and key terms
- NIST defines cloud by five characteristics, three service models and four deployment models.
- Most cloud breaches come from misconfiguration and weak identity, not provider failures.
- Virtualized environments face VM escape, sprawl and exposed management interfaces.
- Containers share a kernel; secure images, non-root execution and orchestrator hardening are essential.
- Microservices and serverless move security to APIs, identities, pipelines and least-privilege permissions.
- IoT and embedded devices suffer default passwords and missing updates; segment them and demand vendor support.
- HPC clusters and edge nodes need strong authentication, monitoring and physical and boot protections.
- Multi-tenancy
- Many customers sharing the same underlying infrastructure.
- Cloud security posture management
- Tools that continuously check cloud configurations against policy.
- CASB
- A cloud access security broker that gives visibility and control over cloud service use.
- Shadow IT
- Technology adopted without the approval of the IT or security function.
- VM escape
- Breaking out of a virtual machine to the hypervisor or other guests.
- Container
- An isolated application package that shares the host operating system kernel.
- Service mesh
- Infrastructure that secures and manages traffic between microservices.
- Serverless
- Running event-driven functions without managing servers.
- Embedded system
- A computer built into a device to perform specific functions.
- Fog computing
- An intermediate processing layer between edge devices and the cloud.
Practice problems
Work each problem on paper first, then reveal the answer to check.
Name NIST's four cloud deployment models.
Show answer
Public, private, community and hybrid.
What are the most common causes of cloud breaches?
Show answer
Misconfiguration and weak identity and access management.
What is VM sprawl?
Show answer
The uncontrolled growth of virtual machines that may go unmanaged and unpatched.
Why are containers less isolated than virtual machines?
Show answer
They share the host operating system kernel.
What does a service mesh provide?
Show answer
Mutual TLS, policy and observability for traffic between microservices.
In serverless, what remains the customer's responsibility?
Show answer
The code, its dependencies, permissions and data.
What did the Mirai botnet exploit?
Show answer
Default passwords on IoT devices such as cameras and routers.
Name two embedded system weaknesses.
Show answer
Hard-coded passwords and no secure update mechanism; others include open debug ports.
Why were HPC clusters attacked in 2020?
Show answer
To use their computing power, entering with stolen SSH credentials.
Why do edge nodes need secure boot and tamper resistance?
Show answer
They are physically exposed and often unattended.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.