Skip to content

Security Architecture Vulnerabilities and Mitigations

Step 15 of 38

CISSP Architecture Vulnerabilities: Cloud, Containers, and OT Security

Introduction

Assessing architecture vulnerabilities means matching each trust boundary to a practical security control. This CISSP lesson covers task 3.5 of Domain 3, Security Architecture and Engineering (13% of the exam, ISC2 exam outline effective 15 April 2024): assess and mitigate the vulnerabilities of security architectures, designs, and solution elements. The lesson on secure design principles and security models established the design rules; this lesson shows where real architectures break and what to do about it.

The task lists many technology families: client-based and server-based systems, databases, cryptographic systems, industrial control systems (ICS), cloud-based systems, distributed systems, the Internet of Things (IoT), microservices, containerization, serverless, embedded systems, high-performance computing (HPC), edge computing, and virtualized systems. You are not expected to be an engineer of each. You are expected to recognize the characteristic weakness of each family and pick the mitigation that fits. A typical question describes a short scenario ("a plant controller cannot be patched during production") and asks for the best compensating control.

After this lesson you will be able to reason about a new technology you have never seen by asking four questions: what is trusted, what is exposed, what cannot be patched, and what is shared with others.

Learning objectives

After this lesson you can:

  1. Identify typical vulnerabilities of client-based and server-based systems and apply hardening.
  2. Describe database threats (inference, aggregation, injection) and controls (views, polyinstantiation, least privilege, encryption).
  3. Recognize weaknesses in cryptographic systems that are not mathematical, such as poor key management and implementation errors.
  4. Explain why ICS and SCADA environments need segmentation and compensating controls.
  5. Distinguish cloud service models and deployment models and name the risks of each.
  6. Describe the security issues of distributed systems, IoT, microservices, containers, serverless, embedded and edge computing.
  7. Explain virtualization risks such as VM escape, VM sprawl, and hypervisor compromise.
  8. Describe the risks of high-performance computing environments.
  9. Choose between mitigation, compensating controls, and risk acceptance for systems that cannot be fixed.

1. A way of thinking: attack surface, trust, and patchability

Every architecture is a set of components, interfaces between them, and trust assumptions about each. Vulnerabilities cluster in three places:

  • Interfaces (network ports, APIs, management consoles, USB ports). More interfaces mean a larger attack surface.
  • Trust boundaries where data or control moves from a less trusted to a more trusted zone (user input reaching a database, a container reaching the host kernel).
  • Lifecycle gaps, meaning components that cannot be updated, monitored, or replaced (a sensor with a ten-year life, a forgotten virtual machine).

Three recurring mitigations answer most exam scenarios:

Mitigation When it fits
Remove or reduce (disable services, minimize images, delete unused VMs) Anything unnecessary is running
Isolate (segmentation, sandboxing, containers, separate management plane) The component is risky or cannot be patched
Monitor and verify (logging, integrity checking, attestation) You must keep a component but cannot fully trust it

When a patch is impossible, the answer is almost never "ignore it." It is a compensating control (isolation, allowlisting, monitoring) plus a time-limited decision by the authorized risk owner and a remediation plan. Acceptance cannot waive mandatory requirements or safety obligations.


2. Client-based and server-based systems

2.1 Client-based weaknesses

Clients are laptops, phones, browsers, and thick applications. They live outside the data center, so they are lost, stolen, and exposed to phishing. Typical weaknesses:

  • Unpatched operating systems and applications, including browsers and plug-ins.
  • Local storage of sensitive data (cached credentials, downloaded files, applets that keep data on disk).
  • Malicious or vulnerable code downloaded and run locally, such as applets, browser extensions, and macros. The risk is that code executes with the user's privileges.
  • Weak local authentication and local administrator rights granted "for convenience."

Mitigations: full-disk encryption, endpoint detection and response (EDR), application allowlisting, removal of local admin rights, automatic patching, mobile device management (MDM), and controlled browser extensions.

2.2 Server-based weaknesses

Servers concentrate data and services, so one flaw affects many users. Typical weaknesses: default or shared credentials, unnecessary services, unpatched software, excessive privileges for service accounts, insecure management interfaces exposed to the network, and misconfigured file shares.

Mitigations: hardening against a baseline (CIS benchmarks, vendor guides), minimum services, patch management, separate administrative network, privileged access management, logging to a central store, and configuration drift detection.

2.3 Data flow control and the client-server boundary

A recurring architecture mistake is trusting the client. Validation done only in the browser can be bypassed by anyone who sends the request directly. The server must validate every input, enforce authorization on every request, and never rely on hidden fields or client-side checks.

Example. An online retailer's checkout page computes the total in JavaScript and posts total=89.90 to the server. A tester changes it to total=0.01 with a proxy tool and the order is accepted. The flaw is a missing server-side recomputation. The fix: the server recalculates prices from its own catalog and ignores any client-supplied total.


3. Database systems

Databases concentrate the most valuable asset, data, so the exam treats their special threats carefully.

3.1 Aggregation and inference

  • Aggregation: combining many pieces of low-sensitivity information to produce something more sensitive. Individually, a phone directory and a building map are harmless; together they reveal where the chief executive sits.
  • Inference: deducing sensitive information from non-sensitive answers. If a query tool refuses to show an individual's salary but allows "average salary of the department" and the department has two employees, knowing one employee's exact salary lets you compute the other's.

Controls:

Control How it helps
Query restrictions and minimum result set size Refuse statistics on groups that are too small
Noise or perturbation Reduce disclosure risk; differential privacy additionally requires a defined mathematical guarantee and accounting for cumulative privacy loss
Cell suppression Hide cells that would identify individuals
Partitioning and views Show each user only the allowed columns and rows
Polyinstantiation Keep several versions of a row at different classification levels so a low-level user sees a harmless cover version, not an error that reveals the existence of secret data

3.2 Other database threats

  • SQL injection: attacker input is interpreted as part of a query. Primary defense: parameterized queries (prepared statements), plus input validation, least-privilege database accounts, and stored procedures that avoid dynamic SQL.
  • Excessive privileges: the web application connects as the database owner.
  • Unencrypted data and backups.
  • Weak or shared administrative accounts.
  • Deadlocks, lost updates, and integrity errors if transactions are not controlled. Databases support integrity through ACID properties: atomicity, consistency, isolation, durability. Atomicity makes the transaction's database changes commit or roll back as a unit; logs, sequence allocations, or external side effects may still exist.
  • Data warehouses and data mining: large collections of aggregated data raise inference and privacy risks and need strong access control and masking.

3.3 Big data and NoSQL

NoSQL and big data platforms can be exposed through insecure deployment or configuration; do not assume every current product ships without authentication. Apply the same principles: authentication, encryption, network isolation, auditing.

Worked example 1: the small-group inference problem.

Scenario. A hospital provides researchers with a reporting tool. Individual patient records are not accessible. Researchers may ask for counts and averages. A researcher asks: "Average length of stay for patients treated for condition X in ward 4 in March." The result set contains one patient.

Reasoning, step by step.

  1. The tool never displayed a name or a record, yet the answer identifies one person's data.
  2. This is an inference problem created by a statistical query on a very small group.
  3. Appropriate controls restrict the query and the output, not the database's existence.
  4. Options: enforce a minimum group size (for example, at least ten patients), suppress small cells, add noise, and log queries to detect repeated narrowing.

Solution. Implement minimum query set size with cell suppression and query auditing. A threshold such as ten is illustrative, not a universal anonymity guarantee; overlapping queries and auxiliary information can still disclose individuals. Where formal differential privacy is needed, evaluate its parameters, composition, and implementation.

Why the other choices are weaker. Encrypting the database does not help, because the tool legitimately decrypts for queries. Removing names does not help, because the group size reveals the individual. Polyinstantiation addresses classified rows, not statistical output.


4. Cryptographic systems: non-mathematical weaknesses

Lesson 9 covers algorithms. Here the focus is failures outside the underlying mathematics, including:

  • Poor key management: keys stored in code or configuration files, shared among teams, never rotated, or kept with the data they protect.
  • Weak random number generation: predictable seeds produce predictable keys.
  • Use of obsolete algorithms or short keys: DES, MD5, SHA-1 for signatures, 1024-bit RSA, SSL or early TLS versions.
  • Implementation flaws: buffer overflows in crypto libraries, improper certificate validation, padding oracle errors.
  • Side channels: leaking information through timing, power consumption, or cache behavior.
  • Misuse: reusing an initialization vector or nonce, encrypting without authenticating, storing passwords with fast unsalted hashes.

Mitigations: use well-reviewed libraries, follow Kerckhoffs's principle (secrecy lives only in the key), use a hardware security module (HSM) or cloud key management service for key protection, rotate keys under an approved cryptoperiod, test certificate validation, and maintain a cryptographic inventory so weak algorithms can be found and replaced (crypto-agility). The inventory also supports the migration to post-quantum algorithms discussed in Lesson 9.


5. Industrial control systems (ICS), SCADA, and operational technology

Operational technology (OT) controls physical processes: factories, power grids, water treatment, buildings. Components include programmable logic controllers (PLCs), remote terminal units (RTUs), human-machine interfaces (HMIs), historians, and a supervisory control and data acquisition (SCADA) layer. A distributed control system (DCS) controls a plant locally.

5.1 Why ICS is different

Property Information technology (IT) Operational technology (OT)
Priorities CIA priorities depend on the business system Safety, reliability, and physical consequences strongly influence CIA priorities
Patching Schedule according to operational requirements Test for safety and compatibility; coordinate maintenance windows and interim controls
Lifespan Varies by service and equipment Often long-lived; track the actual support horizon
Protocols TCP/IP, TLS and application protocols Legacy variants may lack security; capabilities differ by version and deployment
Consequence of failure Data loss Physical harm, environmental damage

Legacy protocols were designed for isolated, trusted networks. Convergence with corporate IT and remote access removed that isolation (the "air gap" is often a myth).

5.2 Mitigations

  • Segmentation between enterprise IT and OT with a demilitarized zone and firewalls (the Purdue reference model organizes levels from field devices up to enterprise systems). Keep control traffic off the corporate network.
  • Unidirectional gateways (data diodes) where data only needs to flow out to monitoring.
  • Passive monitoring and anomaly detection that does not disturb fragile devices.
  • Application allowlisting and removable-media controls on HMIs and engineering workstations.
  • Strong, mediated remote access (jump hosts, multifactor authentication, session recording) for vendors.
  • Compensating controls for unpatchable devices, plus a tested manual fallback.

Example. A water utility's PLC runs unsupported firmware and the vendor patch requires a one-week shutdown the utility cannot afford. The architect places the PLC in a dedicated zone behind a firewall that permits only the engineering workstation and the historian on required protocol ports, enables passive intrusion detection on the zone, and tests the changes with operations and safety staff. The authorized owner records the residual-risk decision and sets a maintenance or replacement deadline.


6. Cloud-based systems

6.1 Service models

Review from Lesson 7: IaaS, PaaS, and SaaS shift responsibility. Other models appear on the exam: function as a service (serverless), desktop as a service, and security as a service.

6.2 Deployment models

Model Description Typical concern
Public Shared provider infrastructure Multi-tenancy, customer misconfiguration
Private Exclusive use by one organization; may be third-party operated or hosted Responsibilities depend on the operating arrangement
Community Shared by organizations with a common need Governance across members
Hybrid Mix of environments linked together Consistent policy, identity, and connectivity security
Multi-cloud More than one provider; an additional strategy rather than one of NIST's four deployment models Skills, inconsistent controls, complexity

6.3 Common cloud vulnerabilities

  • Misconfiguration, such as public storage or permissive security groups, creates exposure; its prevalence depends on the measured environment.
  • Excessive permissions and unmanaged identities, access keys in code repositories.
  • Insecure interfaces and APIs.
  • Data residency and sovereignty conflicts.
  • Multi-tenancy and side-channel isolation failures (rare but severe).
  • Shadow IT: unsanctioned services holding company data.
  • Limited visibility into the provider's infrastructure.
  • Vendor lock-in and exit risk.

Mitigations: cloud security posture management (CSPM), infrastructure as code scanning, identity governance and least privilege, key management matched to risk and service capabilities, CASB for visibility and policy over SaaS use, logging from provider APIs, and contractual security terms with the right to audit or independent assurance reports (Lesson 15).


7. Distributed systems, microservices, containers, and serverless

7.1 Distributed systems

A distributed system spreads work across many nodes that communicate over a network. Challenges: authenticating every node, protecting data in transit, consistency of state, availability under partial failure, time synchronization, and the difficulty of tracing events across many logs. Mitigations include mutual authentication (mutual TLS), encrypted communication, consensus and integrity checks, and centralized, time-synchronized logging.

7.2 Microservices

An application is split into small services that talk through APIs. Benefits: independent deployment and smaller blast radius. Risks: a larger API attack surface, many service-to-service credentials, inconsistent authorization, and complex dependencies. Use an API gateway, service mesh with mutual TLS, per-service identities with least privilege, centralized secrets management, and schema validation.

7.3 Containerization

Containers share the host kernel and package an application with its dependencies.

Risk Mitigation
Vulnerable or malicious base images Scan images, use trusted registries, sign images, build minimal images
Kernel sharing: a kernel flaw affects every container Patch the host kernel; use hardened runtimes or sandboxed containers for untrusted workloads
Privileged containers and host mounts Prohibit privileged mode and unnecessary host mounts; run as non-root, drop capabilities, and restrict filesystem writes
Secrets baked into images Inject secrets at runtime from a secrets manager
Flat container networking Network policies, segmentation
Orchestrator (such as Kubernetes) misconfiguration, exposed dashboards Role-based access control, restricted API server, audit logs

Containers provide less isolation than virtual machines because the kernel is shared; for strong separation of tenants, use separate virtual machines or sandboxed runtimes.

7.4 Serverless

The provider runs code on demand and manages the operating system. The customer remains responsible for code, event inputs, permissions, and secrets. Risks: over-permissioned function roles, injection through event data (not only HTTP), vulnerable dependencies, secrets in environment variables, denial-of-wallet through abusive invocations, and limited visibility or forensics because the runtime is ephemeral. Mitigations: one narrowly scoped role per function, input validation on every event source, dependency scanning, secret stores, concurrency limits and budgets, and structured logging.

Worked example 2: choosing the isolation level.

Scenario. A software-as-a-service vendor lets customers upload and run their own scripts to transform data. The architect proposes running every customer's script in a container on shared hosts to save cost. The security team worries about a malicious customer.

Reasoning, step by step.

  1. Customers are mutually untrusted tenants running arbitrary code.
  2. Containers share the host kernel; a kernel or runtime escape would expose other tenants.
  3. Stronger isolation options: one virtual machine per tenant, lightweight micro-VMs, or sandboxed container runtimes with a user-space kernel.
  4. Also apply resource limits, egress filtering, no host mounts, and short-lived instances.

Solution. Run customer code in micro-VMs or per-tenant virtual machines (or a hardened sandboxed runtime) with strict resource and network limits.

Why the other options are weaker. Image scanning can reduce some vulnerabilities exploitable for escape, but does not establish a strong isolation boundary by itself. Code review of customer scripts does not scale and cannot be complete. Encrypting the host disk protects data at rest, not isolation at runtime.


8. Internet of Things, embedded systems, and edge computing

8.1 IoT and embedded systems

IoT devices and embedded systems (cameras, medical pumps, smart meters, vehicle controllers, printers) share traits: limited processing power, long lives, minimal or no update mechanism, default credentials, proprietary protocols, and physical exposure. Specific vulnerabilities: hard-coded passwords, unauthenticated management interfaces, unencrypted communications, insecure firmware updates, debug ports (JTAG, UART) left active, and no logging.

Mitigations:

  • Change defaults and buy devices that support signed firmware updates and a vendor support commitment.
  • Place devices in a dedicated network segment (VLAN) with restrictive firewall rules, usually outbound-only to the specific service.
  • Use certificate-based device identity where possible.
  • Disable unused services and physical debug interfaces.
  • Maintain an inventory (including a software bill of materials) and monitor device behavior.
  • Define an end-of-life plan, since unsupported devices accumulate risk.

8.2 Edge computing and fog computing

Edge computing processes data close to where it is produced (factory floor, retail store, vehicle) to reduce latency and bandwidth. Fog computing adds a layer of intermediate nodes between edge devices and the cloud. Risks: many physically accessible nodes, inconsistent patching, local data storage, and a wide management surface. Mitigations: tamper-resistant hardware, secure boot, encrypted storage, remote attestation, zero-touch secure provisioning, centralized policy and monitoring, and encrypting traffic to the cloud.

Example. A retail chain deploys small edge servers in 400 stores to run point-of-sale analytics. Without controls, a thief could remove a server and read local customer data. Full-disk encryption with TPM-based protection and suitable unlock policy can protect a powered-off stolen server; Secure Boot supports platform integrity. Remote wipe is supplementary and may not execute on an offline stolen device.


9. Virtualized systems

A hypervisor runs virtual machines (VMs). Type 1 (bare metal) hypervisors run directly on hardware; Type 2 (hosted) run on top of an operating system and are more exposed through the host.

9.1 Virtualization risks

  • VM escape: code in a guest breaks out to the hypervisor or other guests. It can compromise the host or other guests; the actual reach depends on the exploit, privileges, and architecture.
  • Hypervisor compromise: whoever controls the hypervisor controls all guests, so the management plane must be heavily protected.
  • VM sprawl: uncontrolled creation of VMs that are not patched, inventoried, or monitored.
  • Stale snapshots and templates: old images contain old vulnerabilities and sometimes credentials.
  • Resource contention and side channels between co-resident VMs.
  • Inter-VM traffic invisible to physical network sensors (east-west traffic stays inside the host).
  • Mixing trust levels on the same host.

9.2 Mitigations

  • Patch the hypervisor and firmware promptly; minimize its services.
  • Isolate and protect the management network; use MFA and privileged access management for administrators.
  • Separate workloads of different sensitivity onto different hosts or clusters.
  • Use virtual firewalls and micro-segmentation, and place virtual sensors or flow logging inside the host.
  • Control VM lifecycle with templates hardened to a baseline, inventory, and automated decommissioning.
  • Protect VM images and snapshots like production data (encryption, access control).
  • Use hardware-assisted features (CPU virtualization extensions, memory encryption) and confidential computing where the provider is not fully trusted.

10. High-performance computing (HPC)

HPC clusters, supercomputers, and large GPU farms run simulations and training jobs across thousands of nodes. Their design favors speed and throughput, which conflicts with common controls:

  • Performance-driven exceptions: security tools may be disabled because they slow computations; monitoring is thin.
  • Shared environments with many research users and batch schedulers.
  • High-speed interconnects and parallel file systems with limited access control and weak encryption.
  • Large attractive resources: stolen compute (for example, cryptocurrency mining) and valuable data sets or models.
  • Long-lived, custom software stacks with outdated libraries.
  • Open collaboration with external researchers.

Mitigations: network segmentation of the cluster with a hardened login/bastion node, strong authentication (multifactor, keys), job and user isolation, quotas, monitoring with measured, acceptable performance overhead, encrypted data at rest on shared storage where feasible, careful handling of the scheduler and its credentials, and data classification to decide what may run on the cluster at all.


11. Mini case study

Scenario. Brightwater Foods runs a plant that packs frozen vegetables. The environment includes (a) PLCs running 12-year-old firmware; (b) a recipe database that the corporate analytics team queries; (c) IoT temperature sensors in freezers, using a default password; (d) a new cloud application, built on containers and serverless functions, that receives production data from the plant; and (e) a shared virtualization cluster hosting both the corporate file servers and the plant's HMI servers. A recent audit lists these as findings. The plant manager insists on no production downtime.

Task. Recommend mitigations in priority order and justify them.

Commented solution.

  1. Segment the plant network (a, c, e). Create a plant OT zone, separate from corporate IT, with a firewall allowing only required protocols. Place PLCs and sensors in their own sub-zones. Stage and test the change with plant staff: firewall and routing changes can interrupt control traffic. Use the risk assessment to prioritize exposure, including ransomware moving from IT into production. Because availability and safety lead in OT, preserve a manual fallback.
  2. Separate trust levels on the virtualization cluster (e). Move the HMI servers to a dedicated host cluster, or at least an isolated one with its own management access, so a corporate-side compromise or VM escape does not reach the plant. Harden the management plane with MFA.
  3. Compensating controls for the PLCs (a). Since patching needs downtime, apply passive monitoring, allowlisted communication paths, locked-down engineering workstations, and a retirement plan; the authorized risk owner records the time-limited decision after safety review.
  4. Fix the IoT sensors (c). Change default passwords through the vendor tool or replace non-compliant sensors in the next maintenance window; restrict them to outbound communication with the monitoring server.
  5. Review database access and inference risk (b). Confirm which recipe or supplier fields are sensitive, restrict views, and assess whether small or overlapping statistical queries could disclose them. The presence of an analytics interface alone does not prove an inference flaw.
  6. Secure the cloud application (d). Minimal images from a trusted registry with scanning, per-function least-privilege roles, secrets in a secrets manager, API authentication, and logging into the central monitoring platform. Do not expose the OT network to the cloud; use an outbound-only gateway.

Why this order. Segmentation delivers the largest risk reduction with the least operational impact. The remaining items address specific weaknesses and are ordered by exposure and ease.


12. Common pitfalls and exam tips

  • Pitfall: treating OT like IT and scheduling routine patching and active scans. Active scanning can crash fragile controllers.
  • Exam tip: in OT questions, safety and availability come first; choose segmentation, monitoring, and compensating controls over disruptive changes.
  • Pitfall: believing containers are as isolated as VMs. They share the kernel.
  • Exam tip: for inference choose query restrictions, small-group suppression, or noise; for aggregation choose classification of the aggregate and access control.
  • Exam tip: SQL injection's best preventive control is parameterized queries, not only input filtering.
  • Pitfall: assuming "cloud" means the provider handles security. Customer configuration remains an important responsibility; verify the service-specific allocation of duties.
  • Exam tip: "cannot patch" means isolate, add compensating controls (they must give comparable protection), plan retirement, and obtain documented risk acceptance from the risk owner.

Key terms

  • Attack surface: the sum of interfaces and entry points exposed to attackers.
  • Aggregation / inference: combining or deducing information to reveal something more sensitive.
  • Polyinstantiation: multiple versions of a data item at different classification levels.
  • SCADA / PLC / HMI: supervisory control system / controller of a physical process / operator interface.
  • Data diode: hardware enforcing one-way data flow.
  • Container: packaged application sharing the host kernel.
  • Serverless (FaaS): provider-managed execution of customer code on demand.
  • VM escape / VM sprawl: guest breaks out of isolation / uncontrolled growth of unmanaged VMs.
  • Edge computing: processing near the data source.
  • Compensating control: alternative control that provides comparable protection when the preferred control is not possible.

Summary checklist

  • I can list typical client-side and server-side weaknesses and hardening measures.
  • I can explain aggregation and inference and name controls such as minimum group size, noise, views, and polyinstantiation.
  • I can identify cryptographic failures involving key custody, implementation, and misuse.
  • I can describe why ICS differs from IT and which compensating controls apply.
  • I can compare cloud service and deployment models and their main risks.
  • I can describe risks and mitigations for microservices, containers, serverless, IoT, embedded, and edge systems.
  • I can explain VM escape, hypervisor compromise, and VM sprawl.
  • I can describe HPC security trade-offs.
  • I can apply compensating controls and risk acceptance when patching is impossible.

Connect zoning decisions to secure network architecture and segmentation, and review cryptographic solutions and key management for controls protecting data across these systems.

Official sources