By NHI Mgmt Group Editorial TeamBased on Sprocket Security: “How Cloud Migrations Expand Your Attack Surface” (February 23, 2026)

TL;DR: Cloud migrations are expanding external attack surfaces faster than annual testing can track, with misconfigurations, stale DNS, exposed secrets, and inherited assets creating new entry points, according to Sprocket Security and cited industry research. The control problem is not the migration itself but the assumption that a point-in-time test still represents a dynamic cloud environment.


At a glance

What this is: Cloud migration is widening external exposure faster than annual testing can assess, with dynamic assets and misconfigurations creating new attack paths after each change.

Why it matters: IAM, cloud security and identity teams need continuous visibility because the control problem shifts from checking a static perimeter to governing fast-changing access, DNS and workload exposure.


Context

Cloud migration changes the security problem from protecting a bounded environment to governing a moving one. New workloads, DNS records, API endpoints and cloud resources can appear faster than annual testing can reflect, so the old assumption that a pre-migration assessment still represents the live estate no longer holds.

The identity angle is central because cloud access is increasingly controlled through IAM roles, service accounts and credential paths rather than a fixed network perimeter. When those controls drift, attack surface expands through over-permissioned identities, exposed secrets and inherited assets that were never fully brought under governance.


Key questions

Q: What breaks when cloud testing is only done annually?

A: Annual cloud testing fails when the asset list changes faster than the test cycle. New workloads, DNS records, APIs and service accounts can appear after the assessment starts, so the report describes a past environment rather than the live one. Security teams need continuous discovery and change-triggered validation to keep pace.

Q: Why do misconfigured cloud services and overly permissive identities create higher exposure than traditional infrastructure issues?

A: Cloud exposures are riskier because cloud environments change quickly and at scale. Assets appear and disappear in minutes, teams deploy new services constantly, and exposed APIs or weak identities can slip through unnoticed. Traditional vulnerability management is built for static assets, so it misses context that determines whether an issue is merely present or immediately exploitable.

Q: How can teams tell whether cloud exposure is drifting faster than controls?

A: Look for mismatches between deployed resources and current inventory, stale DNS records, public cloud storage, unreviewed IAM roles and assets created outside formal change management. If discovery lags behind deployment, the organisation is already operating with blind spots that attackers can find before defenders do.

Q: When should organisations move from quarterly testing to continuous validation?

A: When applications change faster than assessments can keep up. If microservices, APIs, serverless functions, or mobile releases are landing frequently, quarterly testing leaves long unvalidated windows. Continuous validation becomes necessary once the gap between releases and tests is large enough to make previous results unreliable.


Technical breakdown

Why cloud migration breaks point-in-time testing

Cloud migration changes the security model because the asset inventory is no longer stable. Ephemeral containers, serverless functions, unmanaged subdomains and self-service cloud resources appear and disappear without waiting for a formal assessment cycle. A pentest that was accurate at the start of the quarter can become obsolete before the report is delivered, which means assurance has to move from a snapshot model to continuous discovery and validation.

Practical implication: security teams need continuous attack surface management tied to change events, not annual scope reviews.

How misconfigured IAM becomes the new perimeter

In cloud environments, IAM often replaces the network perimeter as the main control boundary. That means a permissive role, exposed service account or hard-coded credential can matter more than whether a workload sits behind a firewall. Once an identity is over-scoped, an attacker does not need to break the perimeter in the old sense; they only need to find a path that the identity already allows.

Practical implication: cloud security validation has to include least-privilege checks for roles, service accounts and secrets, not just infrastructure scans.

Why stale DNS and decommissioned assets remain exploitable

Cloud resource churn creates a common failure mode where the technical asset is retired but its external reference remains live. A DNS record can still point to a deleted bucket, VM or service, and that orphaned pointer can be claimed or abused by an attacker. The control gap is not just asset removal, but synchronized offboarding of the asset and its external dependencies.

Practical implication: decommissioning processes must remove DNS, endpoints and cloud references at the same time as the workload.


Threat narrative

Attacker objective: The objective is to exploit cloud migration churn before defenders have updated inventory, access controls or external references.

  1. Entry begins when attackers discover newly exposed cloud assets such as public buckets, subdomains, API endpoints or forgotten services created during migration.
  2. Credential access or abuse follows when over-permissioned IAM roles, exposed service accounts or hard-coded secrets provide a direct path into the environment.
  3. Impact occurs when the exposed asset is taken over, used to host malicious content, or leveraged for phishing, malware delivery or broader compromise.
  • Imperva breach 2019: An AWS API key stolen from an exposed Imperva test instance let an attacker copy Cloud WAF customer data, including API keys and SSL certificates.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

Cloud migration creates attack surface debt: the real governance issue is not migration itself, but the accumulation of external exposures faster than security can re-baseline them. Once workloads move into elastic infrastructure, the organisation inherits a continuously changing external footprint that cannot be governed by a yearly assurance cycle. Practitioners need to treat every change as a new security state, not a minor delta.

Identity is the control plane that now fails first: cloud exposure is increasingly an IAM problem before it is an infrastructure problem. Overly permissive roles, exposed service accounts and stale credentials turn identity drift into externally reachable risk, which means cloud migration also becomes an identity governance event. Security programmes that still separate cloud posture from access governance are already behind the failure mode this article describes.

Stale reference exposure is a specific governance gap: the article illustrates how a retired workload can remain reachable through DNS or other external references even after the resource itself is gone. That is a lifecycle and offboarding failure, not just a hygiene issue. The practitioner lesson is to govern retirement as aggressively as deployment.

Point-in-time assurance no longer matches cloud reality: annual testing assumes scope stability, but cloud environments invalidate that assumption through daily change, self-service provisioning and inherited infrastructure. The market signal is clear: security assurance is moving toward continuous verification because static testing cannot keep pace with cloud operations. For practitioners, the question is whether their testing model can see change before attackers do.

Cloud migration exposes governance fragmentation: security, infrastructure and identity teams often own different parts of the same failure chain, which leaves no one accountable for the full external exposure lifecycle. That is why cloud migration programmes should be measured on discovery-to-remediation speed, not assessment cadence alone. The control objective is coordinated ownership of the live attack surface.

What this signals

Cloud migration exposure becomes a lifecycle problem, not a one-time assessment problem: once workloads are provisioned and retired continuously, the control point shifts to discovery, change detection and decommission discipline. Teams that still anchor assurance to an annual test are measuring yesterday’s environment, not the one attackers see today.

Identity governance has to travel with cloud operations: the article’s strongest implication for practitioners is that IAM review, secret hygiene and workload onboarding must be part of the migration workflow, not a separate audit stream. When roles, service accounts and credentials drift, cloud posture degrades faster than most governance models can absorb.

Stale DNS exposure is the kind of cloud-migration risk that hides in plain sight: a decommissioned asset with a live external reference can remain reachable long after the business thinks it has been retired. That means migration programmes need synchronized offboarding controls, not just deployment controls.


For practitioners

  • Implement continuous external attack surface discovery Track domains, subdomains, IPs, APIs and cloud services continuously so newly exposed assets are visible as soon as they appear.
  • Tie security tests to cloud change events Trigger validation when a workload, endpoint, DNS record or cloud service changes instead of waiting for the next annual assessment.
  • Validate IAM permissions as part of migration control Review roles, service accounts and secrets for least-privilege drift whenever new cloud resources are deployed or inherited.
  • Remove stale DNS at decommission time Delete DNS records, CNAMEs and other external references when buckets, VMs or services are retired so orphaned exposure does not remain.
  • Inventory inherited environments immediately after acquisition Map the external footprint of acquired infrastructure before integration completes so hidden subdomains, public services and legacy permissions are found early.

Key takeaways

  • Cloud migration turns external exposure into a moving target, so static testing can miss the risks that appear between assessment cycles.
  • The most important failure mode is governance drift across assets, DNS and identity, where a retired or over-permissioned component remains reachable.
  • Security teams need continuous discovery, change-triggered validation and synchronized offboarding to keep cloud assurance aligned with live operations.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

MITRE ATT&CK and OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsCloud migration risk here is driven by over-permissioned identities and exposed service accounts.
Recommendation — Review cloud roles and service accounts against PR.AA-05 and remove unnecessary permissions before they reach production.
CIS Controls v8CIS-5 — Account ManagementThe article focuses on identity drift, inherited access and stale accounts in cloud environments.
Recommendation — Use CIS-5 to inventory, review and revoke cloud accounts and service identities that no longer have a business owner.
MITRE ATT&CKTA0001; TA0006; TA0008 — Initial Access; Credential Access; Lateral MovementThe attack pattern centers on exposed cloud assets and credential paths used to reach trusted services.
Recommendation — Map exposed cloud assets and credential abuse to TA0001, TA0006 and TA0008 to prioritise detection coverage.
OWASP Non-Human Identity Top 10NHI-02 — Secret LeakageThe article explicitly cites hard-coded credentials and exposed API keys during cloud migrations.
NHI-05 — Overprivileged NHIOverly permissive roles and service accounts are a core cloud-migration exposure in the article.
Recommendation — Scan repositories, pipelines and container images for leaked secrets and revoke exposed credentials immediately. Reduce NHI privileges to the minimum required scope and revalidate access after each migration change.

Key terms

  • Cloud attack surface: The set of externally reachable assets, identities, and services that an attacker can discover and target in a cloud environment. It changes continuously as workloads, APIs, DNS records, and storage services are created, modified, or retired.
  • Stale DNS Exposure: A condition where a DNS record still points to a retired or moved cloud resource, leaving an external path open even though the workload was supposedly decommissioned. It is dangerous because attackers can claim the orphaned reference or abuse the trust attached to the original domain.
  • Overprivileged Identity: An overprivileged identity has more access than its workload or service actually needs. In NHI environments, this often happens through default cloud permissions, role accumulation, or poor review discipline. The practical risk is a larger blast radius if the identity is compromised or misused.
  • Continuous validation: Continuous validation is the practice of re-checking user, device, or session risk after login instead of trusting access indefinitely. It recognizes that identity assurance can drift during a session, especially when endpoint state or user context changes after authentication.

Deepen your knowledge

NHI Mgmt Group covers identity security, NHI governance, and agentic AI through independent research, practitioner guides, and the NHI Foundation Level course. It is suitable for practitioners who need to connect identity governance to cloud migration, workload access and secrets management.
NHIMG Editorial Note
Published by the NHIMG editorial team on August 19, 2026.
Updated on October 12, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org