SaveMyCert
Log in
5 of 5 free questions left today·for 30 a day
Cloud Platform & Infrastructure Security

CCSP: Cloud Infrastructure Risk Assessment, Threats and Risk Treatment

18 min readCCSP · Cloud Platform & Infrastructure SecurityUpdated

Analyzing risks to cloud infrastructure and platforms means identifying the assets, threats and vulnerabilities in a cloud environment, rating each risk's likelihood and impact, and choosing how to treat it. CCSP sub-domain 3.3 covers three parts of that work: risk assessment (identification and analysis), the vulnerabilities, threats and attacks specific to cloud infrastructure, and risk treatment strategies. This lesson explains how to write a risk so it can be analyzed, when to use qualitative or quantitative analysis and how to calculate SLE, ALE and safeguard value, how inherent and residual risk relate to appetite, how the service model changes who treats each risk, the main infrastructure threats (VM escape, side channels, VM sprawl, management-plane compromise, misconfiguration, metadata-service SSRF and economic denial of sustainability), and how avoidance, mitigation, transfer, acceptance and compensating controls apply to them.

What you’ll learn
  • Record a cloud risk with its asset, threat, vulnerability and impact, and tell the parts apart
  • Choose qualitative or quantitative analysis for a situation, and calculate SLE, ARO, ALE and a safeguard's annual value
  • Distinguish inherent from residual risk and compare residual risk with risk appetite
  • Explain how IaaS, PaaS and SaaS change which infrastructure risks the customer treats and which it assesses from provider evidence
  • Describe VM escape, cross-tenant side channels, VM sprawl, management-plane compromise, misconfiguration, metadata-service SSRF and EDoS, and the controls that actually treat each
  • Apply avoidance, mitigation, transfer and acceptance, and explain why transfer moves cost but not accountability
  • Handle unfixable or provider-owned vulnerabilities with compensating controls and valid, owner-signed risk acceptance

What does a cloud infrastructure risk assessment involve?

A cloud infrastructure risk assessment identifies the risks to the assets that run on a cloud platform and analyzes each one for likelihood and impact, so the business can decide how to treat them. CCSP sub-domain 3.3 treats it as the first half of a cycle: identify, analyze, then choose a treatment and monitor the result.

Identification means writing each risk in parts that can be analyzed. A useful register entry names the asset at stake, the threat that could act on it, the vulnerability the threat would exploit, and the impact if it happened. A threat on its own ("a malicious insider at the provider") is not yet a risk: without the asset and the weakness, nobody can judge how likely it is or how much it would hurt.

TermWhat it isCloud example
AssetSomething of value to protectA tenant's customer database, signing keys, the management console
ThreatAn actor or event that could cause harmAn external attacker, a co-tenant, a careless administrator, a regional outage
VulnerabilityA weakness the threat could exploitAn unpatched hypervisor flaw, storage left public, no encryption at rest
ImpactThe consequence if the threat succeedsDisclosure of records, lost revenue, regulatory penalty
LikelihoodHow probable it is that the threat exploits the weaknessRaised by a public exploit; lowered by hard-to-achieve co-residency
RiskThe combination of likelihood and impact for that assetThe chance that a co-tenant reads key material through a cache side channel, and what that would cost

The common labelling mistake is swapping threat and vulnerability. The threat is who or what acts; the vulnerability is the condition that lets it succeed; the disclosure or outage that follows is the impact. Identification also depends on knowing the assets: an inventory that misses running instances or snapshots produces a register that misses their risks, so reconciling the inventory against the provider's own records of instances, disks and snapshots comes before rating anything.

How do qualitative and quantitative risk analysis differ?

Qualitative analysis rates likelihood and impact on ordinal scales (for example high, medium, low, or 1 to 5) using expert judgment; quantitative analysis expresses risk in money using loss values and frequencies taken from data. The choice depends on the data available and the decision the analysis has to support.

QualitativeQuantitative
OutputRatings, heat maps, ranked listsMonetary values such as SLE and ALE
InputsExpert judgment, workshops, Delphi rounds (anonymous expert rating repeated until views converge)Asset values, loss records, incident frequencies
StrengthsFast, works without history, covers many risks at onceSupports cost-benefit decisions and budget requests in the board's language
WeaknessesSubjective; ratings cannot be added or compared in moneySlow; numbers invented from thin data give false precision
Best fitA new platform, no incident history, many risks, short deadlineReliable loss and frequency data, and a spending decision to justify

Most programmes combine them: rate the whole list qualitatively, then quantify the few risks at the top where an investment decision depends on the number. Activities that find weaknesses or gather evidence feed the analysis without being it: analysis means rating each identified risk's likelihood and business impact for this organization, and only the organization's own assessment does that.

How do you calculate SLE, ALE and the value of a safeguard?

Quantitative analysis turns a risk into an expected yearly loss with a short chain of formulas, then values a control by how much of that loss it removes, less what the control costs each year.

TermMeaningFormula
Asset value (AV)What the asset is worth to the organizationGiven
Exposure factor (EF)The percentage of the asset's value one occurrence destroysGiven, 0 to 100%
Single loss expectancy (SLE)Loss from one occurrenceSLE = AV × EF
Annualized rate of occurrence (ARO)Expected occurrences per yearOnce every n years = 1/n; k times in n years = k/n
Annualized loss expectancy (ALE)Expected loss per yearALE = SLE × ARO
Safeguard valueNet yearly benefit of a controlALE before − ALE after − annual cost of the control

Worked example (illustrative numbers). A hosted reporting service is valued at $500,000. A storage-corruption event would destroy 30% of that value, so SLE = $150,000. Analysts expect it once every five years, so ARO = 0.2 and ALE = $30,000. A replication control costing $8,000 a year would lower the ARO to 0.05, giving a new ALE of $7,500. Its value is $30,000 − $7,500 − $8,000 = $14,500 a year. A control that lowers the exposure factor instead (say, faster restores that limit damage) changes the SLE rather than the ARO; recalculate whichever input the control actually moves, then compare the net values of competing controls.

The usual errors are using a frequency without converting it to a yearly rate, stopping at the reduction in ALE without subtracting the control's cost, and taking the asset value as the loss when only part of it is exposed.

What is the difference between inherent risk, residual risk and risk appetite?

Inherent risk is the level of risk before any control is taken into account; residual risk is what remains after the controls in place are counted; risk appetite is the amount of risk the organization has decided it is willing to carry. Residual risk is the figure compared with appetite to decide whether more treatment is needed.

  • Any control counts. A rating that already credits a provider's built-in protection (DDoS filtering, managed patching) is a residual rating, even though the customer did not build the control.
  • Residual above appetite needs more treatment or a documented acceptance by the risk owner. Residual within appetite is recorded and monitored.
  • Residual ratings are not fixed. They rest on specific controls. When a change weakens or removes one (opening an isolated database to a partner network, retiring a filter), the residual risk must be re-rated for the period the change is in effect, not left at the old value until the annual review.
  • Secondary risk is a new risk a treatment introduces, such as a second provider adding its own supply-chain exposure.

How does the service model change which infrastructure risks you treat?

The service model decides who operates each layer, and therefore who can apply the treatment: in IaaS the customer treats risks from the guest operating system upward, in PaaS the provider takes over the operating system and platform runtime, and in SaaS the customer directly controls little beyond its data, its users and the application settings it is given. The customer remains accountable for the consequences at every level.

Risk areaIaaSPaaSSaaS
Physical facilities, hosts, hypervisorProviderProviderProvider
Guest OS and platform patchingCustomerProviderProvider
Network rules around the workloadCustomerShared (customer sets exposed endpoints)Provider (unless the service offers tenant settings such as IP allow-lists)
Identity, user privileges, configuration exposed to the customerCustomerCustomerCustomer
Data classification and protection decisionsCustomerCustomerCustomer

Two consequences follow. First, when a layer moves to the provider, the register entry for its risk does not disappear: it stays, with the provider as the treating party and the customer's analysis based on provider evidence. What changes is who treats it and what evidence the rating rests on; the risk itself, and the customer's accountability for its consequences, remain. Second, where the customer cannot test the provider's layer (most contracts forbid scanning the provider's hosts), likelihood is judged from independent, in-scope, current assurance: independent beats self-published, in-scope (covering the service actually used) beats general, and a recent period beats an old one. A SOC 2 Type II report is the typical example. Evaluating those reports and certifications as such belongs to sub-domain 1.5; here they are inputs to the risk analysis.

What are the main virtualization threats: VM escape, side channels and VM sprawl?

The virtualization layer creates three threats that have no exact on-premises equivalent: escape from a guest to the hypervisor, information leakage between tenants that share hardware, and unmanaged machines and images that nobody patches.

Virtual machine escape

A VM escape is an attack in which code in one guest exploits a flaw to run on the hypervisor and from there reaches other guests on the same host. Because the attack goes beneath the guests, controls that act above the hypervisor do not change the likelihood of an attack beneath it. What does is a small, hardened, promptly patched hypervisor. A bare-metal (type 1) hypervisor runs directly on the hardware; a hosted (type 2) hypervisor runs on a general-purpose operating system, whose extra code adds flaws that can expose every guest, so it presents the larger attack surface. The host OS is not an additional barrier: compromising it compromises everything above it.

Cross-tenant side channels

Side-channel attacks (cache timing and similar microarchitectural leaks) let one VM infer data, such as key material, from another VM on the same physical CPU. They need physical co-residency and operate beneath the logical controls that separate tenants, so the treatment has to remove the shared hardware itself. Likelihood depends on how hard it is for an attacker to land on the same host; treatment removes the neighbour by running sensitive workloads on single-tenant (dedicated) hosts, and on those hosts keeping the organization's own internet-facing workloads separate from the sensitive ones, since a compromised web server on the same hardware is a neighbour too.

VM sprawl and dormant images

VM sprawl is the uncontrolled growth of virtual machines, images and snapshots without recorded owners. Stopped VMs and old images miss patches, and anything with credentials baked in keeps them valid long after they should have been rotated. A VM restored from an old image is as vulnerable as the day the image was built. Treatment is ownership and lifecycle: inventory reconciled against the provider's records, tagging and expiry, regular image rebuilds from patched baselines, and credentials injected at launch from a secrets service rather than stored in the image.

Why is the management plane the highest-impact target?

The management plane, the provider's console and administrative APIs, is the highest-impact target because whoever controls it can create, change, copy or delete every resource in the account, including the logs and backups that would detect and recover from the attack. A management-plane administrator credential therefore earns the highest impact rating in a credential assessment, above any single VM, database or storage token.

Treatment aims at removing standing administrative power rather than guarding long-lived secrets better:

  • Federate human sign-in through the organization's identity provider with MFA (phishing-resistant where possible).
  • Grant administrative rights just in time for a bounded task instead of permanently. This also limits what an attacker can do with a stolen live session that has already passed MFA, which stronger sign-in alone does not.
  • Give pipelines short-lived, narrowly scoped roles instead of long-lived administrator keys. Making a long-lived key harder to steal still leaves the standing power in place for whoever does obtain it.
  • Keep management-plane audit logs where administrators cannot alter them, so that any takeover can be detected and investigated. Detective controls complement the preventive ones above rather than replacing them.
  • Keep a break-glass path for when federation fails: a minimal, fixed set of local emergency accounts that are not anyone's everyday account (vendors such as Microsoft recommend at least two, held by different custodians, so losing one credential cannot lock the tenant out), the strongest authentication such as a hardware key, credentials sealed under dual control so no single person can use them unnoticed, and an alert on every use.

Identity and access design in general belongs to Domain 4 and 3.4; here the point is rating and reducing this one, very large, risk.

How do misconfiguration, metadata-service SSRF and EDoS put cloud infrastructure at risk?

Misconfiguration is among the most common causes of cloud breaches: a resource set more open than intended, often during a change nobody reviewed. Server-side request forgery against the instance metadata service turns an application flaw into stolen cloud credentials, and economic denial of sustainability turns elasticity itself into a cost weapon.

Misconfiguration and inadequate change control

The Cloud Security Alliance's Top Threats to Cloud Computing (the 2022 “Pandemic Eleven” edition) lists misconfiguration and inadequate change control as its own category, alongside categories such as insufficient identity, credential, access and key management and insecure interfaces and APIs. A setting opened "just for testing" and never reverted belongs here regardless of intent. Because cloud configuration changes constantly and across many accounts, the check has to run as often as the configuration changes. The effective treatment is continuous posture evaluation against policy plus guardrails that reject non-compliant deployments. Template scanning in a pipeline only guards changes that go through the pipeline; resources changed in the console or by hand (out-of-band) need restricted write access outside the pipeline and drift detection.

SSRF against the instance metadata service

Cloud VMs can query a link-local metadata endpoint (commonly 169.254.169.254) for configuration and the temporary credentials of the role attached to them. If an application fetches URLs supplied by users, an attacker can point it at that address and receive those credentials in the response: server-side request forgery. Treatments differ by which part of the risk they change:

ControlWhat it changes
Fix URL handling in the application (allow-lists, block internal addresses)Removes the root cause; takes development time
Harden the metadata service itself so a simple forged request cannot read credentialsLowers likelihood at the infrastructure layer, without touching the application
Least-privilege attached roleLowers impact: stolen credentials can do little

Providers harden the metadata service in different ways. In AWS (IMDSv2) a caller must first obtain a session token through a separate PUT request, and the hop limit (the IP time-to-live on the token response) keeps that token from travelling beyond the instance, so a forwarding host or container cannot receive it. Azure and Google Cloud require a specific request header (Metadata: true, Metadata-Flavor: Google) that a typical forged fetch does not send, and reject forwarded requests.

Note which question is being asked: reducing the chance of theft when the code cannot change points to the metadata service setting; reducing the damage if theft happens points to the role's permissions.

Economic denial of sustainability

Economic denial of sustainability (EDoS) is an attack in which traffic floods an elastic service that scales out to absorb it: customers see no outage, but the consumption bill rises until the service becomes unaffordable. It differs from a classic resource-exhaustion denial of service, where the service fails, and from a noisy neighbour, where another tenant's legitimate load degrades performance.

Its impact is measured in money, so the key input to an impact rating is the maximum spend the scaling configuration allows before any limit applies: the scaling ceiling bounds the loss. Treatment must keep elasticity for real demand while bounding cost: filter and rate-limit at the edge so attack traffic never reaches the scaling tier, set maximum scaling limits sized to plausible real peaks, and alert on spend. A treatment that removes elasticity swaps the cost risk for an availability risk, so the goal is a ceiling on spend rather than an end to scaling.

What are the risk treatment strategies, and what does transfer really move?

Once a risk is analyzed, the owner chooses one of four treatment strategies: avoid it, mitigate it, transfer or share it, or accept it. Often a combination applies, such as mitigating to bring a risk within appetite and accepting the remainder.

StrategyWhat it doesCloud infrastructure example
AvoidStop or never start the activity that creates the riskAbandon a migration when no provider can meet a data-location requirement
Mitigate (reduce)Apply controls that lower likelihood or impactActive deployment across two providers or regions; dedicated hosts; edge filtering
Transfer (share)Move all or part of the financial impact to a third partyCyber insurance; SLA service credits; contractual indemnities
AcceptKnowingly carry the risk, by a documented decision of the risk ownerA residual risk within appetite, signed off with a review date

Transfer moves cost, not accountability. Insurance and service credits compensate the organization, but customers, regulators and courts still hold the organization responsible for protecting its data, even when the provider caused the failure. A risk register entry is therefore not closed because insurance or an SLA exists, and its impact rating is not lowered by them either: reputational and regulatory consequences remain. Redundancy across providers is mitigation, not transfer, because it changes the likelihood of the impact rather than who pays for it.

How should you handle risks you cannot fix: compensating controls and risk acceptance?

When the customer cannot remediate a vulnerability itself, because the provider owns the layer, the vendor no longer supports the system, or a fix is months away, it records the risk, applies compensating controls that meet the intent of the missing control, and keeps the entry open until the fix is verified.

Provider-owned vulnerabilities

A hypervisor flaw on a public IaaS platform is the provider's to patch, but the customer still owns the risk to its workloads. The first steps are to record the risk, confirm the provider's remediation timeline and status, and add compensating controls for the interim (heightened monitoring, isolating the most sensitive workloads, reviewing dedicated-host options). The entry stays open until the provider's fix is verified, and the compensating controls must act on the exposure the flaw creates, not on unrelated layers.

Compensating controls

  • Can't patch: an unsupported operating system is isolated in its own segment with deny-by-default rules and added monitoring, and the exception is recorded until the upgrade. A compensating control lowers likelihood only if it sits on the path an attacker would use to reach the flaw; controls that protect stored data or speed recovery act on impact instead.
  • Provider can't enforce a control: if a SaaS application cannot restrict administrator sign-in by network, enforce the same condition at a point the customer does control, such as its identity provider's sign-in policy, and document the exception.

Risk acceptance and ownership

Acceptance is valid only when it is a documented decision by the risk owner (the person accountable for the affected business service), made with the analysis in front of them, within the organization's appetite, and with a review date. It is not:

  • a decision made by someone else, such as an engineer or project lead, even if the rating is within appetite;
  • a default: a risk nobody has treated and nobody has signed for is untreated, whatever the budget situation;
  • permanent: when the review date passes, or the likelihood or impact changes (a public exploit is released, the asset becomes internet-facing), the risk goes back to its owner for a new decision.

Tip. Expect short recall items that name a risk component, a threat (VM escape, VM sprawl, EDoS, SSRF against the metadata service, misconfiguration), a treatment strategy or inherent versus residual risk, and calculation items that ask for an ALE or a safeguard's annual value from asset value, exposure factor and a frequency that may need converting to a yearly rate. Scenario items give a constraint and ask what to do FIRST, which control BEST or MOST directly treats a risk, or which statement about a register entry is MOST accurate: choosing an analysis approach from the data and deadline, reading a rating against appetite, re-rating when a control changes, the effect of moving from IaaS to PaaS or SaaS on who treats a risk, rating likelihood from provider evidence, reducing management-plane, side-channel, SSRF or EDoS exposure without breaking a stated requirement, and judging whether a risk has been validly transferred or accepted. Harder items combine two facts, such as comparing two controls that change different inputs of the ALE, telling a control that acts at sign-in from one that limits what an authenticated session can do, or deciding whether an earlier decision still stands once its basis has changed.

Key takeaways
  • A risk needs an asset, a threat and a vulnerability: the threat acts, the vulnerability is the weakness it uses, and the harm is the impact.
  • Use qualitative ratings when data is thin or the list is long; use quantitative analysis when you have loss data and a spending decision. Many teams rate qualitatively, then quantify the top risks.
  • SLE = AV x EF; ALE = SLE x ARO; a safeguard is worth ALE before minus ALE after minus its annual cost. Convert every frequency to a yearly rate first.
  • Inherent risk ignores all controls; residual risk counts every control, including the provider's. Re-rate residual risk when a control it depends on changes.
  • The service model changes who treats a risk, not who is accountable. Keep provider-treated risks in the register and judge them from independent, in-scope, current assurance.
  • VM escape is lowered only by a small, patched hypervisor; type 2 hypervisors have the larger attack surface. Side channels need co-residency, so dedicated hosts treat them.
  • Management-plane credentials carry the highest impact: remove standing admin power with federation, MFA, just-in-time elevation, short-lived pipeline roles and a tightly controlled break-glass account.
  • Misconfiguration needs continuous posture checks and deploy-time guardrails, plus drift detection for out-of-band changes; metadata-service SSRF is reduced in likelihood by hardening the metadata service and in impact by least-privilege roles.
  • EDoS keeps the service up but drains money: filter at the edge, cap scaling and alert on spend.
  • Insurance and SLA credits transfer cost, never accountability. Acceptance is a documented, dated decision by the risk owner; untreated is not accepted.

Frequently asked questions

What is the difference between a threat and a vulnerability in cloud risk assessment?

A threat is the actor or event that could cause harm, such as an attacker, a co-tenant or a regional outage. A vulnerability is the weakness that threat would exploit, such as an unpatched hypervisor, storage left public or missing encryption. Risk combines the likelihood that the threat exploits the vulnerability with the impact on a specific asset.

How do you calculate annualized loss expectancy (ALE)?

Multiply the asset value by the exposure factor to get the single loss expectancy (SLE), then multiply the SLE by the annualized rate of occurrence (ARO). Convert the frequency to a yearly rate first: an event expected once every eight years has an ARO of 0.125, and five times in two years is 2.5. A safeguard's annual value is the ALE before the control minus the ALE after it minus the control's yearly cost.

When should qualitative risk analysis be used instead of quantitative analysis?

Qualitative analysis suits situations with little reliable loss or frequency data, many risks to rank, or a short deadline, such as a new cloud platform with no incident history. Quantitative analysis suits risks with good data where a monetary result is needed, such as a budget request. A common approach rates everything qualitatively and quantifies only the highest-ranked risks.

Is a rating that includes the cloud provider's controls inherent or residual risk?

It is residual risk. Inherent risk is the level before any control is considered, whoever operates the control. Once a rating credits a provider's built-in protection, such as DDoS filtering or managed patching, it describes residual risk, which is then compared with the organization's risk appetite.

Does cyber insurance or an SLA transfer a cloud breach risk to someone else?

It transfers part of the financial impact, not the accountability. The organization remains responsible to its customers and regulators for protecting their data, even when a provider's failure causes the breach. The risk stays in the register, and reputational and regulatory impact remain part of its rating.

Why are side-channel attacks between cloud tenants treated with dedicated hosts?

Cross-tenant side channels, such as cache-timing attacks, rely on the attacker's VM sharing physical hardware with the victim. They operate beneath the logical controls that separate tenants. Running sensitive workloads on single-tenant hosts removes the shared hardware, and keeping the organization's own internet-facing workloads off those hosts removes the remaining neighbour.

What is economic denial of sustainability (EDoS)?

EDoS is an attack that floods an elastic cloud service so that autoscaling absorbs the traffic: the service stays available, but consumption charges rise until it becomes unaffordable. It is bounded by filtering and rate-limiting traffic at the edge, setting maximum scaling limits sized to real demand, and alerting on spend, while keeping enough elasticity for genuine demand.

Who can accept a cloud infrastructure risk?

Only the risk owner, the person accountable for the affected business service, can accept a risk, by a documented decision within the organization's risk appetite and with a review date. An engineer's note is not acceptance, a risk nobody has signed for is untreated, and an acceptance must be revisited when its review date passes or the threat changes.

Source

This lesson covers the "Cloud Platform & Infrastructure Security" domain of the official CCSP exam guide. Vendors revise their guides — check the source for the current version.

Test yourself on this topic
Practice now

Sign up free to mark lessons complete, bookmark topics and track your exam readiness.

Spotted a mistake in this lesson?