CCSKv5 Cheatsheet
Certificate of Cloud Security Knowledge
Download free PDFCloud Computing Concepts and Architectures
Cloud characteristics and architecture
- **Cloud computing** provides on-demand network access to a shared pool of configurable resources that can be provisioned and released with little provider interaction.
- The five **NIST characteristics** are on-demand self-service, broad network access, resource pooling, rapid elasticity and measured service. Metering makes consumption visible; it does not guarantee savings.
- **Abstraction** hides infrastructure details; **automation** executes repeatable tasks; **orchestration** coordinates provisioning and lifecycle workflows across compute, network and storage pools.
- **Scalability** is capacity to handle growth; **elasticity** adjusts capacity with demand. Horizontal scaling adds instances; vertical scaling increases an instance's resources. Right-sizing and scale-in reduce waste.
- **Multi-tenancy** shares underlying resources while separating customer environments. Isolation must cover identities, networks, workloads and data; shared hardware does not imply shared access.
Service models and shared responsibility
- **IaaS** supplies compute, network and storage. The provider protects physical infrastructure and the virtualization platform; the customer usually manages guest operating systems, applications and virtual-network configuration.
- **PaaS** adds managed runtimes and platform services. **SaaS** delivers a provider-operated application. Customers still govern identities, data, configuration and whether the service meets their requirements.
- **Shared responsibility** varies by service, feature, deployment and contract. Map each control to its operator and evidence owner; greater abstraction changes operational duties without removing customer accountability.
- **Public**, **private** and **community** clouds differ in permitted consumers; **hybrid cloud** connects distinct cloud environments. **Multi-cloud** uses multiple providers and adds integration and oversight demands.
Cloud Governance
Business alignment and accountability
- **Governance** sets decision rights, accountability, priorities and oversight. Align cloud adoption with business objectives and risk appetite; involve business owners, security, operations, legal and compliance stakeholders.
- A **policy** states organizational expectations; a **control objective** states the desired security outcome; **control specifications** define requirements; **implementation guidance** explains how to apply them.
- **Security frameworks** organize policies and control objectives. Tailor implementations to the service model and risk rather than assuming one tool or configuration satisfies every objective.
- Use **metrics**, transparent reporting and periodic reassessment to evaluate control effectiveness. Govern exceptions with an owner, rationale, compensating measures and review or expiry conditions.
Policies that guide cloud use
- An **acceptable use policy** defines permitted use of organizational IT resources. Cloud-use and data-handling policies define approved services, permitted data, access expectations and protection requirements.
- Express **control objectives** as measurable outcomes, such as restricting administrative access or preserving audit evidence. Automate guardrails where practical and test whether they enforce the intended outcome.
- **Agile security governance** adapts to new services and changing threats. Approved patterns and automated checks support rapid adoption while keeping decisions within agreed risk limits.
Risk, Audit, and Compliance
Risk treatment and provider assurance
- **Risk management** identifies assets and threats, assesses likelihood and impact, selects treatment and monitors residual risk. A **risk register** records owners, treatment actions, acceptance decisions and review status.
- **Threat modeling** examines assets, data flows, trust boundaries and plausible attacker actions. **Vulnerability assessment** identifies weaknesses; **risk assessment** relates threats and weaknesses to business consequences.
- Provider assessment is constrained by **limited internal visibility**. Review control documentation, independent assurance, service scope and customer obligations; resolve gaps before relying on the service.
- The **CSA Cloud Controls Matrix (CCM)** organizes cloud control requirements. **CAIQ** supports provider questionnaires; the **STAR Registry** publishes provider security assurance information. Evaluate the assurance level and scope of each entry.
Compliance, contracts and control inheritance
- **Compliance** means meeting applicable obligations, including laws, regulations, contracts, standards and internal policies. Identify requirements for data origin, storage, processing and access across relevant jurisdictions.
- **Control inheritance** lets customers rely on applicable provider-operated controls and evidence. It does not make the customer's application compliant automatically; assess scope, configuration duties and remaining gaps.
- An **audit** independently examines records, processes and controls. **Compensating controls** provide an acceptable alternative when a required control cannot be implemented; document equivalence and obtain the required acceptance.
- Review **contracts and SLAs** for shared duties, incident notification, support escalation, evidence access, availability, data handling and exit arrangements. Service credits alone do not restore operations or data.
Organization Management
Organize and inventory the cloud footprint
- Use provider **organization hierarchies**, accounts, subscriptions and projects to assign ownership and policy scope. Providers use different terminology and inheritance rules; map equivalent concepts before applying a common design.
- Separate **production, development and security administration** into appropriate deployment boundaries. Independent accounts can reduce blast radius when identity, policy, network and logging controls enforce the separation.
- A **service registry** catalogs approved services and integration requirements. A **deployment registry** records deployed environments, account identifiers, owners, support entitlements and incident contacts.
- **Cloud sprawl** creates untracked assets and inconsistent controls. Maintain discovery, ownership tags, lifecycle rules and centralized visibility across providers, regions and business units.
Establish secure deployment foundations
- **Landing zones** and **account factories** establish repeatable identity, policy, network and logging baselines for new environments. Validate the baseline and monitor changes after provisioning.
- Secure **root and organization administration** with strong authentication, restricted use and monitored emergency procedures. Delegate routine deployment creation and administration through narrowly scoped roles.
- For **hybrid and multi-cloud**, coordinate identity federation, connectivity, governance and telemetry. Portable containers do not make management APIs, IAM semantics or security controls identical across clouds.
Identity and Access Management
Identity lifecycle, authentication and federation
- **Authentication** establishes an identity; **authorization** permits or denies actions on resources. **Entitlements** are granted access rights. An **authoritative source**, such as HR, supplies trusted identity lifecycle information.
- Centralize **joiner, mover and leaver** workflows. Provision approved access, revise it after role changes and revoke it on departure; periodic reviews detect stale accounts and privilege creep.
- In **federation**, an identity provider authenticates users and issues assertions or tokens trusted by a relying service. The service validates them and applies its authorization rules and role mappings.
- **SAML** and **OpenID Connect** support federated sign-in; **OAuth** delegates authorization. **SSO** reduces repeated sign-ins, but does not by itself enforce MFA or least privilege.
- **MFA** combines independent factors. Cryptographic **passwordless** methods such as FIDO/WebAuthn can resist phishing; a biometric may unlock a device-held key. Protect recovery paths and administrator devices too.
Access policies and privileged permissions
- **Least privilege** grants only needed actions, resources and duration. **Segregation of duties** divides conflicting responsibilities, such as requesting and approving access. Role assignment alone does not guarantee either principle.
- **RBAC** groups permissions into roles. **ABAC** evaluates subject, resource, action and environment attributes. **Policy-based access control (PBAC)** expresses rules that can combine roles, attributes and context.
- Evaluate **effective permissions** across identity policies, resource policies, inherited scope and other provider controls. Test provider-specific allow, deny and condition behavior instead of assuming cross-cloud equivalence.
- **PIM/PAM** reduce elevated-access risk through time-limited activation, approval, strong authentication and audit trails. **CIEM** discovers cloud entitlements, unused privileges and risky access paths to support least privilege.
Workload identities and secrets
- Prefer **workload identities**, role assumption and short-lived credentials over embedded static keys. Scope each identity to the workload's tasks and protect token issuance and credential delivery paths.
- **Secrets management** protects passwords, API keys and similar credentials through restricted retrieval, rotation and auditing. Keep secrets out of source code, images, deployment templates and logs.
Security Monitoring
Choose the right telemetry
- **Management-plane audit logs** record administrative and API activity such as provisioning, configuration and permission changes. **Identity logs** add authentication, federation and account-lifecycle evidence.
- **Service and application logs** describe service requests, data access and application behavior. **Guest and workload logs** add OS, process and runtime detail; coverage varies by service and enabled settings.
- **DNS logs** describe name-resolution queries and responses. **Flow logs** describe network connections, addresses, ports, protocols, traffic counts and sometimes allow/deny results; they generally do not contain packet payloads.
- **Logs** preserve event records; **metrics** summarize measurements; **events** signal activities or state changes. Timely event delivery can trigger response, but durable retention must be configured separately.
Centralize, correlate and detect
- Export **ephemeral workload logs promptly** to persistent storage before scaling or termination removes them. Centralize audit evidence across accounts and protect it from alteration by workload administrators.
- A **cascading collection architecture** aggregates logs through intermediate collectors. **Cascade-and-filter** processing successively prioritizes relevant signals; retain enough raw evidence to investigate what filters omit.
- A **SIEM** correlates identities, API activity, service access and network evidence. Monitor unauthorized API calls, unusual sign-ins, privilege changes, logging changes and unexpected data access.
- **Behavioral detection** helps identify compromised identities using valid credentials or automated APIs. Tune baselines and validate alerts; neither signatures nor IP addresses alone establish whether activity is legitimate.
- **CSPM** assesses infrastructure configuration; **SSPM** assesses SaaS posture; **DSPM** focuses on sensitive data exposure; **CIEM** focuses on entitlements. Detection and response tools investigate active threats; capabilities may overlap.
Infrastructure and Networking
Protect management and network boundaries
- The **management plane** exposes administrative consoles and APIs; the **control plane** determines network behavior; the **data plane** forwards traffic. Restrict and audit administrative interfaces because they can change the environment.
- **Software-defined networking (SDN)** separates control decisions from forwarding and enables programmable networks. Cloud virtual networks provide logical separation on shared infrastructure; enforce explicit routing and access rules.
- **Segmentation** limits communication between networks; **micro-segmentation** applies finer workload-level boundaries. Default-deny rules and permitted flows reduce lateral movement and breach blast radius.
- **Security groups, network ACLs and firewalls** filter supported traffic. Their scope, statefulness and evaluation order vary by provider; verify the complete path rather than relying on a control's name.
Connect and expose services safely
- **VPNs** provide encrypted tunnels over untrusted networks. **Dedicated links** provide private connectivity with different capacity and availability characteristics; private transport does not automatically mean end-to-end encryption.
- A **hub or transit network** centralizes routing and inspection for connected environments. A **bastion host** mediates administrative sessions. Plan redundancy, route symmetry and controlled access for both.
- A **load balancer** distributes traffic to healthy destinations. A **WAF** filters application-layer HTTP(S) attacks such as injection and XSS; it complements secure code and authorization checks.
- **API gateways** can validate tokens, apply quotas, route requests and log access. For **PaaS**, verify public exposure, private endpoints, DNS and service-specific controls; VPC/VNet rules do not automatically govern every managed-service endpoint.
Cloud Workload Security
Virtual machines and secure images
- A **workload** combines application code, dependencies, configuration and supporting services. **VMs** run guest operating systems over virtualized hardware and retain substantial customer patching and hardening duties.
- Use **trusted image sources** and an **image factory** to build, harden, patch, scan and publish approved VM images. Remove unnecessary services and embedded credentials; version images and retire vulnerable builds.
- For **long-running VMs**, automate vulnerability, patch and configuration management and monitor drift. Use compatible **EDR** for process visibility and response where the operating system is customer-managed.
- **Snapshots** provide point-in-time disk recovery or evidence, with application consistency depending on capture methods. Memory is not automatically included; protect snapshot permissions, retention and encryption separately.
Containers and orchestration
- **Containers** package applications and dependencies while commonly sharing the host kernel. They reduce overhead compared with full VMs, but process isolation is a different boundary from separate guest operating systems.
- **Kubernetes** automates scheduling, deployment, scaling and desired-state reconciliation. Secure its API, RBAC, service accounts, secrets, admission policies, network paths and worker nodes.
- **Immutable deployment** replaces artifacts instead of editing running systems. Restrict privileges and use read-only filesystems where practical; container packaging alone does not prevent runtime modification.
- Scan and verify **container images** before deployment, then monitor runtime processes, API activity and network behavior. Build-time testing does not reveal every runtime compromise.
Serverless functions and IaC
- **FaaS** runs functions in response to triggers such as HTTP requests, queue messages or object events. Providers manage more infrastructure and scaling; customers secure code, dependencies, triggers, permissions and data flows.
- Function environments are **short-lived and provider-managed**, but may be reused between invocations. Keep durable state externally, limit resource use, validate event input and avoid assuming local memory or files are fresh.
- For **serverless security**, use a distinct least-privilege execution identity, controlled secrets retrieval and explicit service configuration. Monitor execution and management logs; traditional host agents may be unavailable.
- **Infrastructure as Code (IaC)** versions repeatable deployments and enables policy checks, review and recovery automation. Scan templates, protect state and detect live drift; IaC alone does not enforce immutability or compliance.
Data Security
Discover, classify and control data
- A **data and asset catalog** records ownership, location, sensitivity and business importance. Classification drives access, encryption, monitoring, retention and recovery requirements throughout the data lifecycle.
- **Object storage** exposes objects and metadata through APIs and suits scalable unstructured data. **Block storage** provides virtual disks; **file storage** provides shared filesystem semantics. Choose by access pattern and required guarantees.
- Prevent **storage exposure** with least-privilege policies, deliberate sharing and public-access restrictions. Encrypt stored objects and volumes, monitor access and maintain recovery copies; encryption does not block an authorized but malicious read.
- **DSPM** discovers sensitive data, maps exposure and access, and highlights protection gaps. Include replicas, snapshots, analytics stores and data lakes in governance rather than tracking only primary databases.
Encryption layers and key control
- **Encryption** converts plaintext into ciphertext using a key. Protect data **in transit** with authenticated secure channels and **at rest** at the storage or application layer; these are separate protections.
- **Server-side encryption** encrypts data at the cloud service after receipt. **Client-side or application-level encryption** encrypts before storage and can provide finer control, with added key-management and application complexity.
- **Provider-managed keys** simplify operation. **Customer-managed keys** add control over policies, rotation and revocation through a KMS; the service may still decrypt for authorized operations. Verify the actual key-custody model.
- In **envelope encryption**, a data encryption key (**DEK**) encrypts data; a key encryption key (**KEK**) protects the DEK. A **KMS** manages key operations; an **HSM** protects cryptographic key material and operations.
- Apply **least privilege to key use and administration**. Audit decrypt operations, separate key roles and test recovery before revocation or deletion; losing keys can make otherwise intact data unrecoverable.
Application Security
Security throughout delivery
- **DevOps** joins development and operations for reliable delivery. **DevSecOps** embeds security responsibilities and feedback throughout design, build, testing, deployment and operation.
- **Shift left** brings threat modeling, secure design and testing earlier. Specify data protection, privacy and authorization requirements in the architecture, then validate them throughout the lifecycle.
- **SAST** analyzes code or build artifacts without exercising a live application. **DAST** tests a running application. Combine automated scanning with manual review and testing for business logic and authorization flaws.
- **CI/CD** makes build, test and deployment steps repeatable. Apply security gates before release, validate target infrastructure and perform controlled post-deployment testing for production-specific configuration and integration issues.
Supply chain, pipelines and APIs
- **Third-party dependencies** can introduce vulnerabilities, malicious updates and transitive risk. Maintain an **SBOM**, scan dependencies, use trusted registries and respond to new vulnerabilities after release.
- Protect the **software supply chain** from source to deployment: review changes, isolate build permissions, secure CI credentials and verify artifact integrity and provenance. Restrict who can publish or deploy releases.
- Secure **interfaces and APIs** with authenticated transport, token validation, per-object and per-action authorization, input validation, quotas and audit logging. A gateway or WAF does not replace application-level access checks.
Incident Response and Resilience
Prepare and investigate cloud incidents
- **Preparation** establishes the response team, playbooks, communication routes, provider escalation and exercises. Maintain a deployment registry and confirm the support, evidence and notification arrangements in contracts.
- Give responders **preauthorized investigative access** and a tested path to controlled emergency write access. Scope permissions to response duties and audit their use; do not depend on a compromised administrator for access.
- **Detection and analysis** validate alerts, classify severity and determine affected identities, resources and data. Correlate management-plane activity with identity, application and network evidence; choose priorities based on the incident.
- Collect **ephemeral evidence promptly**: export logs, capture configurations and preserve supported disk or workload snapshots. VM memory capture requires separate support; serverless investigations often depend on execution and provider logs.
- Use cloud-compatible **forensic tools** and preserve timestamps, hashes, access records and chain of custody. Document collection limitations and coordinate with the provider for evidence outside customer control.
Contain, recover and learn
- **Containment** limits harm through actions such as isolating workloads, revoking sessions or restricting credentials. Balance rapid action against evidence loss and operational impact; preserve evidence before destructive changes when feasible.
- **Eradication** removes malicious artifacts, exploited weaknesses and persistence. **Recovery** rebuilds from trusted artifacts, restores required data, validates access and monitors for recurrence before returning to normal operation.
- **Post-incident analysis** records causes, timeline, response effectiveness and improvement actions. A **Just Culture** examines systemic conditions and supports learning while retaining appropriate accountability.
Design and test resilience
- **High availability** reduces interruption from component failure; **disaster recovery** restores service after major disruption. Set **RTO** for recovery time and **RPO** for acceptable data loss, then test both.
- **Load balancing**, redundancy, autoscaling and failover address different failure modes. Multiple zones reduce zonal risk; **multi-region** deployments can tolerate regional failure when data, dependencies and traffic failover are designed accordingly.
- **Backups** retain recoverable history; replicas support availability but can propagate deletion or corruption. Protect independent recovery copies, permissions and keys, and test restores rather than relying on backup-job success.
- Use **IaC and trusted images** to recreate recovery environments consistently. Exercise provider outages, identity dependencies and regional failover; added regions increase complexity and do not remove shared-service failure risk.
Related Technologies and Strategies
Zero Trust and access at the edge
- **Zero Trust** grants no implicit trust from network location or ownership. Evaluate identity, device posture, resource sensitivity and context; use least privilege and reassess access as conditions change.
- **ZTNA** grants context-aware access to specific applications. A **software-defined perimeter (SDP)** conceals services from unauthorized clients and establishes connections after authentication and authorization.
- **SASE** combines networking and security capabilities delivered near users through distributed points of presence. It can reduce datacenter backhauling while applying consistent access and traffic policies.
AI workloads, benefits and threats
- **AI training** learns model parameters and can require large datasets and substantial compute. **Inference** applies a model to new inputs. **AI as a Service** exposes managed models, APIs or supporting platforms.
- AI can assist **anomaly detection, alert triage and response**, but requires validation and human oversight. Attackers can also use it to automate phishing, reconnaissance and evasion.
- **Adversarial examples** manipulate inputs to induce incorrect predictions; **data poisoning** corrupts training inputs. Protect data provenance and test model behavior against realistic abuse cases.
- **Model inversion** attempts to infer sensitive information represented by a model; **membership inference** asks whether a record was in training. Limit exposed outputs and access, minimize sensitive training data and assess privacy leakage.
- **Differential privacy** bounds the influence of individual records through a quantified privacy mechanism, often using calibrated noise. It involves privacy-utility tradeoffs; storage encryption alone does not prevent inference from model outputs.
- For **LLM applications**, treat prompts, retrieved content and model output as untrusted. Limit tool permissions, protect secrets and validate actions; prompt injection or jailbreaks can redirect behavior without changing the model's code.