Cloud Security Testing: Identity, Configuration and Exposure
Scope cloud security testing across identities, permissions, public exposure and workloads. Prepare access and understand the evidence a review should provide.
Cloud security testing examines how your use of a cloud platform could expose data, permissions or services. The assessment needs to consider both the resources you deploy and the identities that can create, change or access them.
A cloud configuration review can examine settings that an external attacker cannot see. A penetration test can then validate agreed attack paths. Combining the two can help explain whether a configuration weakness is reachable and what it would allow in your environment.
Define the boundaries of the cloud estate
Identify the provider, accounts or subscriptions, organisational structure, environments and services included. Explain how users authenticate and how applications receive credentials.
Separate your responsibilities from those of the cloud provider. Testing your workloads does not authorise assessment of the provider's underlying infrastructure or another customer's resources.
| Area | Questions to include in scope |
|---|---|
| Human identities | Which users can administer services, and how is privileged access controlled? |
| Workload identities | What can applications, build jobs and service accounts access? |
| Public exposure | Which storage, databases, endpoints and management services are reachable? |
| Data protection | Who can read sensitive data, use encryption keys or restore backups? |
| Network controls | Are routes and security rules consistent with the intended boundaries? |
| Monitoring | Are relevant administrative and data-access events available to investigators? |
Include relationships between environments. A deployment role in development may be able to change a production workload through a shared pipeline or trusted account.
Agree configuration review and exploitation separately
Read-only review access is often useful for examining policies and deployed settings. Some controls need additional evidence or controlled activity to establish how they behave.
For example, a policy may appear broad while another control blocks its use. Conversely, a seemingly limited permission to change a workload might allow that workload to assume a more powerful identity.
Document the access used, the evidence reviewed and any permission boundaries the tester could not verify. Agree active checks, credential handling and cleanup before work starts.
Prepare useful access and documentation
Provide a current architecture outline, asset inventory, identity design and a list of sensitive services. Identify resources managed by infrastructure as code and any deliberate policy exceptions.
Set up temporary assessment access through the approved identity process. Confirm that it can reach the relevant configuration without granting unnecessary write permissions. Define its expiry and how activity will be logged.
Cloud provider testing policies can differ by service and technique. Confirm the applicable conditions for the planned activities, including any managed services or third parties in the path.
What should a cloud finding explain?
A useful finding identifies the affected resource and principal, the effective permission or exposure, and the conditions needed to cause harm. It should distinguish a broadly worded policy from a demonstrated route to sensitive actions.
Remediation should consider the source of the setting. A console change may be overwritten if the same permission remains in a deployment template. Address templates, inherited policies and related identities where they share the cause.
Keep assessment evidence current
Record accounts, regions, resource identifiers and assessment dates in a way that supports later verification. Use retesting to check the deployed fix and the relevant effective permissions.
Revisit testing after account restructuring, identity federation changes, new deployment tooling or significant service adoption. Routine configuration monitoring can identify drift, while focused manual assessment can investigate the business effect of connected permissions and trust relationships.
Related resources
- Internal Network Penetration Testing: Access and Attack Paths
- Secure Code Review: Scope, OWASP ASVS and Remediation
- Annual Security Testing Plan: Schedule, Owners and Evidence
Read our Testing methodology to discuss coverage, or Book a demo with the systems and objectives you have in mind.