9.1 Cloud Shared Responsibility, Threat Landscape, and IAM Attacks
Key Takeaways
Shared-responsibility boundaries are provider- and service-specific; typically customers manage guest workloads and data in IaaS, application configuration and data in PaaS, and identity, configuration, and data use in SaaS.
Customers ordinarily lack direct hypervisor, physical-disk, and switch access in multi-tenant clouds, so investigations use authorized provider APIs, virtual telemetry, snapshots, guest agents, contracts, and provider support processes.
Many cloud incidents involve preventable misconfiguration or exposed credentials, including publicly accessible storage, unauthenticated management interfaces, and API keys leaked into repositories; responders must still investigate software vulnerabilities, supply-chain compromise, and provider-side events.
IAM privilege escalation exploits dangerous API permissions such as iam:PassRole, iam:CreateAccessKey, and iam:CreatePolicyVersion, enabling low-privileged actors to assume administrative control.
Control plane compromises target cloud management APIs and infrastructure configuration, whereas data plane compromises target hosted databases, storage objects, and application workloads directly.
Cloud Shared Responsibility, Threat Landscape, and IAM Attacks
The transition from on-premises data centers to cloud computing fundamentally alters incident handling. Defenders no longer possess physical custody, hypervisor visibility, or raw network tap access. Instead, responders navigate multi-tenant environments governed by application programming interfaces (APIs), virtualization layers, and strict service agreements. Mastering the Shared Responsibility Model, common cloud threat vectors, Identity and Access Management (IAM) abuse primitives, and the distinction between control plane and data plane compromises is vital for certified incident handlers.
The Shared Responsibility Model in Incident Response
The Shared Responsibility Model establishes security obligations between the Cloud Service Provider (CSP) and customer organizations across delivery models:
- Infrastructure as a Service (IaaS): The CSP secures physical facilities, hardware, and hypervisor virtualization. The customer is responsible for guest operating systems, virtual networking, access control lists, middleware, applications, identity policies, and data security. During an IaaS compromise, the customer conducts host-level triage, memory acquisition, disk snapshotting, and OS remediation.
- Platform as a Service (PaaS): The CSP manages physical hardware, hypervisors, operating systems, runtime engines, and platform patching. The customer maintains application code, configuration settings, user access, and data. During an incident, the customer lacks host OS access and relies on application logs, database connection telemetry, and platform diagnostics.
- Software as a Service (SaaS): The CSP manages the entire technology stack from hardware to software. The customer responsibility narrows to identity governance, user authentication, role assignment, data classification, and monitoring user behavior. Response is constrained to auditing SaaS activity logs, revoking compromised sessions, and managing resource sharing permissions.
Incident Response and Forensic Boundaries
Cloud investigations encounter strict boundaries separating customer access from CSP infrastructure. In multi-tenant environments, physical servers host workloads belonging to multiple unrelated organizations. Consequently, CSPs prohibit customers from capturing hypervisor memory, tapping physical switches, or inspecting physical disks, as doing so would violate neighbor confidentiality. Responders must investigate exclusively through CSP-provided APIs, guest operating system agents, virtual network flow logs, and storage snapshots. Furthermore, organizations cannot independently launch invasive vulnerability scans or penetration tests against shared infrastructure without adhering to CSP testing rules.
Cloud Threat Taxonomy: Misconfigurations and Leaks
Misconfigurations and exposed credentials are common cloud intrusion paths, but responders should evaluate them alongside vulnerable workloads, supply-chain compromise, and provider advisories:
- Misconfigured Object Storage: Storage repositories like Amazon S3 and Azure Blobs are frequently exposed due to faulty access control lists (ACLs) or overly permissive policies granting global access to
AllUsersorAuthenticatedUsers. Threat actors scan public IP ranges to exfiltrate sensitive databases, customer personally identifiable information (PII), and unencrypted backups. - Exposed Management Consoles: Administrative web consoles (AWS Management Console, Azure Portal, Google Cloud Console) protected solely by single-factor authentication fall victim to credential stuffing and password spraying. Gaining console access grants adversaries immediate graphical control over resource provisioning, billing, and identity governance.
- Leaked API Keys in Public Repositories: Developers inadvertently commit code containing hardcoded credentials (such as AWS keys beginning with
AKIA, Azure service principal secrets, or GCP service account keys) to public repositories like GitHub. Automated adversary scrapers detect leaked keys within seconds, triggering scripts that provision high-compute instances for cryptocurrency mining or pivot into enterprise subscriptions.
Cloud Identity and Access Management (IAM) Attack Vectors
In cloud architectures, identity serves as the primary security perimeter, governing authentication and authorization across users and workloads:
- Privilege Escalation Primitives: Attackers with limited initial permissions leverage specific APIs to escalate to administrative levels. The
iam:PassRolepermission allows passing an existing administrative role to compute services (EC2, ECS, Lambda), allowing code execution under that elevated role. Similarly,iam:CreateAccessKeygenerates new keys for dormant administrative accounts, whileiam:CreatePolicyVersionenables an attacker to define a permissive policy granting administrative wildcard actions as the default version. - Role Assumption and Lateral Movement: Threat actors exploit
sts:AssumeRoleto pivot across accounts and subscriptions. Overly permissive trust policies lacking external ID checks allow adversaries to assume cross-account roles and exfiltrate data from secondary production environments. - Compromised Service Principals: Non-human service accounts (Azure Service Principals, GCP Service Accounts) often hold extensive privileges for CI/CD automation. Attackers harvest client secrets or exploit Server-Side Request Forgery (SSRF) against the Instance Metadata Service (IMDSv1) to steal temporary credentials.
- Static Keys vs. Temporary STS Tokens: Long-lived access keys lack built-in expiration, are rarely rotated, and remain valid until manually revoked. Conversely, temporary tokens issued via AWS Security Token Service (STS) expire automatically within minutes to hours, require continuous renewal, and can enforce multi-factor authentication, substantially limiting attacker dwell time.
Control Plane vs. Data Plane Compromises
Incident handlers must distinguish between control plane and data plane compromises:
- Control Plane (Management Plane): Encompasses administrative APIs and orchestration services that create, modify, configure, and delete cloud resources. Operations include launching instances, modifying security groups, and altering IAM policies. A control plane compromise occurs when attackers manipulate cloud APIs directly—such as disabling audit trails, creating backdoor accounts, or launching illicit workloads.
- Data Plane: Involves direct interactions with workloads, services, and data stored in cloud resources, such as querying an RDS database, transferring files via SSH, or invoking
s3:GetObject.
A data plane compromise accesses or alters hosted assets without necessarily changing cloud configurations. Handlers must analyze both control plane telemetry and data plane logs to establish the full attack path and accurately assess exfiltration scope.
An organization experiences a ransomware attack encrypting the filesystem of an Infrastructure as a Service (IaaS) virtual machine running in AWS EC2. The company demands that the Cloud Service Provider (CSP) provide physical memory dumps from the underlying physical server and restore the virtual machine's corrupted operating system files. Under the Cloud Shared Responsibility Model, how should the CSP respond?
The CSP is responsible only for securing the physical data centers, host hardware, and hypervisor; the customer is solely responsible for guest operating system security, data protection, and host-level incident response.
The CSP must immediately provide hypervisor physical memory dumps because customer data confidentiality was violated on CSP-owned physical hardware.
The CSP is contractually required to rebuild the guest operating system under standard IaaS SLAs while the customer investigates the application layer.
The CSP shares joint administrative ownership of the guest operating system and must dispatch physical technicians to replace the encrypted storage drive.
During an incident investigation, a security analyst reviews AWS CloudTrail logs and discovers that a low-privileged IAM user invoked the iam:PassRole API to assign an existing administrative service role to a newly created AWS Lambda function, and then invoked the function to download proprietary files from a restricted S3 bucket. Which cloud attack vector does this scenario describe?
Control plane denial-of-service via API throttling
IAM privilege escalation via passing a privileged service role to compute infrastructure
Cross-account role assumption exploiting missing external IDs
Server-side request forgery against the Instance Metadata Service (IMDSv1)
A financial enterprise detects unauthorized modifications to its cloud environment. A threat actor used compromised management credentials to disable multi-factor authentication requirements on an AWS IAM group and modify network security group ingress rules, but did not access any database records or storage bucket contents. How should the incident handler categorize this intrusion?
A data plane compromise resulting in confirmed exfiltration of customer records
A hypervisor breakout affecting multi-tenant physical hardware
A control plane compromise impacting cloud management and governance infrastructure
An application-level SQL injection compromise targeting production web services
Sections you finish are checked off in the contents.