← Cloud Incident Field Guide

Cloud App Patterns

How common cloud applications are put together, read the way an attacker reads them. Follow a request from the edge to the data, see which identity every hop runs as, and find the logs that would record each step. Pairs with the IAM Field Guide and Cloud Log Anatomy.

AWSAzureGoogle Cloud

Reading a cloud app

An attacker who lands in a cloud app rarely stops there. The app’s code runs as a cloud identity, so a bug in the app becomes access to whatever that identity can reach. The patterns assume an enterprise setup: several accounts, internal tools such as a self-managed GitLab, and a network shared with your data center. Before you scope an incident, answer three questions about the app involved.

01

What are the ways in?

Start with the front door: the CDN, WAF and API layer. Then list the doors that skip it: direct URLs to the compute, pipelines and runners that deploy it, and network paths from other workloads. Attackers look for the door without the guard.

02

What does each hop run as?

Every hop that calls a cloud API has an identity: an execution role, a managed identity, a service account. That identity is the blast radius of a compromised hop.

03

Who can change it?

Deploying new code or settings is the quietest persistence there is. Find who holds deploy rights on the control plane, including pipelines.

The identity changes at the API layer

An end user’s identity is checked at the front of the app. Past that point, cloud IAM sees only the workload. Data-layer logs name the function’s identity, never the customer, so tying a data read back to a user takes the app’s own logs.

UserSigns in to the apptoken: user JWT
→
API layerValidates the tokensees: the user
→
FunctionRuns your codeclaims passed as data
→
Data storeChecks cloud IAMsees: the workload identity
New to this? Open Serverless API, keep the provider you know best, and tap each box from left to right. Then switch to Attack walk to see the same app under attack. Dotted-underlined words have definitions, and the Glossary lists them all.

Pattern catalog

Where this comes from

Service behaviour, log sources and their defaults were checked against each provider’s own documentation. Attack steps are composite scenarios built from documented techniques, not reports of specific incidents.

Glossary

Terms used across this guide, in plain language. Throughout the guide, a term with a dotted underline opens its definition when you tap it.