Attacking "Developer-First" Cloud Environments: Exploiting Interconnected Cloud & AI Systems - Anant Shrivastava and Riyaz Walikar - DCTSG2027
Description
Name of Training: Attacking "Developer-First" Cloud Environments: Exploiting Interconnected Cloud & AI Systems
Trainer(s): Anant Shrivastava and Riyaz Walikar
Skill Level: Intermediate
Dates: March 5 – March 6, 2027
Time: 9 to 5 pm
Venue: TBD
Early Bird Cost: S$2,900 (incl. GST, until Dec 31, 2026)
Regular Cost: S$3200 (incl. GST)
Short Summary
Modern cloud applications are no longer contained within a single cloud account. They are assembled across source repositories, AI application builders, developer-first deployment platforms, managed backends, model APIs, and AWS, Azure, or GCP services. Each integration creates identities, credentials, APIs, and trust relationships that attackers can chain.
This practical two-day course teaches students to attack these connected environments as complete systems. Students begin with limited information, map the application and delivery stack, compromise application and deployment surfaces, obtain workload identities, abuse cloud IAM relationships, test AI-generated applications and agents, extract secrets, and pivot across platform boundaries. Representative labs use AWS, Azure, GCP, GitHub, Vercel, Railway, Lovable, Supabase, and related services.
The course is organized around mission-based attack paths rather than vendor feature lists. Students collect evidence, explain why each attack worked, and validate the controls that would prevent, detect, or contain it.
Course Description
Modern applications are assembled across cloud services, source repositories, AI application builders, deployment platforms, managed backends, model APIs, and third-party integrations. This creates a security boundary beyond a traditional cloud account. A weakness in generated code, a preview deployment, an environment variable, a repository integration, a workload identity, or an AI tool can begin a wider compromise.
Attacking AI and Developer-First Cloud Environments teaches students to assess this connected stack from an attacker's perspective. Students investigate realistic applications combining representative AWS, Azure, and GCP services with GitHub, Vercel, Railway, Lovable, Supabase, and related platforms. They reconstruct the delivery graph, identify exposed surfaces and trust relationships, obtain or abuse identities, test generated applications and managed backends, manipulate model-enabled features and tools, escalate cloud privileges, and move between development platforms and cloud control planes.
The course uses complete attack missions rather than isolated demonstrations. Students begin with limited information, validate an attack path, collect reproducible evidence, reach a defined objective, and explain the controls that would interrupt the chain. This gives students a reusable methodology for testing modern cloud applications as interconnected systems while retaining platform depth to understand how equivalent attack primitives differ across providers.
Course Outline
View full outline
Hide outline
Day 1 - Morning
Module 1: Map the Modern Cloud Application Attack Surface
Timing: 85 minutes, including a 65-minute mission lab
Mission: Given one or more externally accessible application endpoints and limited architectural information, identify the services, providers, trust relationships, identities, and attack surfaces involved in delivering the application.
Operating Conditions:
- A public application URL and limited contextual information.
- No initial cloud or platform credentials.
- Standard browser, HTTP, DNS, source analysis, API, and cloud-enumeration tools.
- A defined target scope and evidence collection requirements.
Required Student Tasks:
- Enumerate domains, subdomains, APIs, storage endpoints, deployment URLs, and externally reachable services.
- Identify indicators of cloud providers, deployment platforms, AI application builders, managed backends, repositories, and model services.
- Distinguish application, deployment, data, identity, AI, and cloud-control-plane components.
- Identify preview, development, test, and production environments.
- Locate public configuration, source maps, client-side identifiers, repository references, and deployment metadata.
- Construct an initial application delivery and trust graph.
- Prioritize candidate entry points based on accessibility, privilege, and downstream connectivity.
Techniques and Knowledge: DNS and certificate enumeration; HTTP headers and asset analysis; JavaScript bundle and source-map inspection; API discovery; cloud storage fingerprinting; preview environment discovery; public repository analysis; architecture and trust-boundary inference.
Practical Exercise: Students investigate an unknown application and reconstruct the technologies and services used to build, deploy, operate, and extend it.
Completion Standard: The student produces an attack graph containing the intentionally exposed components, relevant trust boundaries, candidate identities, and prioritized attack paths, supported by observable evidence.
Module 2: Gain Access Through Application and Runtime Weaknesses
Timing: 105 minutes, including an 85-minute mission lab
Mission: Given an exposed or vulnerable cloud-hosted application, obtain access to application data, runtime information, secrets, or the identity assigned to the workload.
Operating Conditions:
- A vulnerable application hosted on a representative AWS, Azure, or GCP workload.
- No initial administrative access.
- Standard HTTP testing tools and provider-native command-line or API clients.
- A defined exploitation and data-access boundary.
Required Student Tasks:
- Identify functionality that interacts with URLs, internal services, files, cloud APIs, webhooks, callbacks, or external integrations.
- Test server-side request, proxy, import, and URL-processing behavior.
- Determine whether metadata, identity, diagnostic, or internal service endpoints are reachable.
- Identify the protections applied to metadata and workload identity services.
- Extract permitted runtime configuration, diagnostics, credentials, tokens, or secrets.
- Determine the identity under which the application is executing.
- Verify the validity, audience, scope, and lifetime of acquired credentials.
- Enumerate the initial resources and APIs accessible to the compromised identity.
Techniques and Knowledge: SSRF discovery and controlled exploitation; metadata and identity endpoints; AWS role credentials; Azure managed identity tokens; GCP service identity tokens; serverless and container enumeration; debug endpoints; cloud API authentication.
Practical Exercise: Students exploit an application-layer weakness to obtain a workload identity or equivalent runtime secret, then use native provider APIs to determine its effective access.
Completion Standard: The student obtains the scenario-defined runtime information or identity, confirms the principal, enumerates effective access, and records reproducible evidence.
Day 1 - Afternoon
Module 3: Escalate Through Cloud Identity and Service Relationships
Timing: 105 minutes, including an 85-minute mission lab
Mission: Given a constrained cloud identity, identify and exploit permission combinations that provide access to sensitive resources, additional identities, or higher privileges.
Operating Conditions:
- A valid low-privileged AWS role, Azure managed identity, or GCP service account.
- Provider-native APIs, command-line tools, and representative audit evidence.
- Incomplete knowledge of the environment.
- A defined privileged identity or protected resource as the objective.
Required Student Tasks:
- Enumerate the principal, role assignments, policy bindings, and effective permissions.
- Identify accessible storage, secrets, functions, applications, data services, and identity resources.
- Discover service accounts, managed identities, execution identities, or deployment identities that can be influenced.
- Identify combinations that enable impersonation, deployment modification, policy mutation, credential creation, or secret access.
- Exploit the selected identity or service relationship and confirm the resulting access.
- Determine reachable impact and alternative escalation paths.
Techniques and Knowledge: AWS IAM and role abuse; Azure role assignments and managed identities; GCP IAM and service-account impersonation; execution roles; deployment identities; secret stores; storage and database authorization; cross-service trust.
Practical Exercise: Students begin with an application or deployment identity and chain cloud permissions to reach a protected secret, administrative workload, or higher-privileged identity.
Completion Standard: The student reaches the assigned identity or protected resource and provides evidence of the exact permissions, identity transitions, and trust relationships used.
Module 4: Compromise the Source-to-Deployment Trust Chain
Timing: 90 minutes, including a 70-minute mission lab
Mission: Given access to one element of a developer-first delivery workflow, demonstrate control over the relationship between source code, deployment infrastructure, container orchestration (GKE) and a production-connected application.
Operating Conditions:
- Low-privileged project membership, a leaked deployment credential, vulnerable preview deployment, limited repository access, or information recovered in an earlier exercise.
- A target deployed through a representative platform such as Vercel or Railway.
- A source repository and one or more connected services.
- Container Orchestration environment (Native Kubernetes or GKE)
- Controlled deployment and evidence requirements.
Required Student Tasks:
- Identify repository, project, team, environment, domain, and deployment boundaries.
- Determine how branches, pull requests, commits, hooks, and platform APIs trigger deployments.
- Enumerate & exploit container orchestation control plane - GKE/attacker in a pod/escape to node scenarios
- Identify accessible environment variables, build output, logs, artifacts, tokens, and project metadata.
- Determine whether source or configuration changes can influence a deployment.
- Identify cloud services, data platforms, and APIs reachable from the deployment environment.
Techniques and Knowledge: Repository and deployment integrations; Kubernetes privilege escalations preview deployments; branch and trigger abuse; environment variables; build logs and artifacts; deployment tokens; platform APIs; project and team boundaries; production association.
Practical Exercise: Students compromise a development or preview-level component and use the associated trust relationship to affect a production-connected deployment or access a downstream service running on Google cloud with pipelines and GKE/Native Kubernetes.
Completion Standard: The student demonstrates controlled influence over deployment or obtains the assigned secret.
Day 2 - Morning
Module 5: Break AI-Generated Applications & Managed Backends
Timing: 105 minutes (85-minute mission lab)
Mission: Given ordinary access to an AI-generated application, exploit weaknesses introduced through generated code, authentication, data authorization, backend integration, publishing, storage, or secret handling.
Operating Conditions:
- A deployed application created through Lovable or a comparable AI-assisted builder.
- Standard user access and limited architectural knowledge.
- A managed backend such as Supabase, Lovable Cloud, or an equivalent service.
- Browser, HTTP, API, and source analysis tools.
Required Student Tasks:
- Identify functionality executing in the browser and on trusted backend services.
- Inspect generated client code, configuration, API calls, and application state.
- Identify backend URLs, project identifiers, storage locations, functions, and data endpoints.
- Evaluate authentication, session, account recovery, and role behavior.
- Test object-level, function-level, and row-level authorization.
- Determine whether client-supplied identity, role, ownership, or pricing data is trusted.
- Assess storage, server-side function, and repository integration boundaries.
- Obtain access to the scenario-defined protected data or function.
Techniques and Knowledge: AI-generated code review; client-side trust; managed backend APIs; authentication and session testing; object, function, and row authorization; storage access; serverless and edge functions; configuration exposure.
Practical Exercise: Students assess a functioning AI-generated application, identify assumptions embedded in the generated implementation, and exploit an authorization or configuration weakness.
Completion Standard: The student identifies the backend trust model, exploits the intended weakness, demonstrates unauthorized access, and records evidence explaining the failure.
Module 6: Abuse AI Features, Agents, Tools, and Connected Data
Timing: 105 min (85-minute mission lab)
Mission: Given access to an AI-enabled cloud application, manipulate model input, retrieved content, tools, or agent behavior to reach data or actions outside the intended user authorization boundary.
Operating Conditions:
- A standard application identity.
- Limited knowledge of system instructions, model configuration, tools, data sources, and cloud architecture.
- One or more connected APIs, databases, storage services, retrieval systems, or application tools.
- A defined unauthorized data-access or tool-use objective.
Required Student Tasks:
- Identify model-backed features and their application entry points.
- Determine which data sources, tools, connectors, model APIs, and cloud services are available to the model or agent.
- Establish authorization boundaries between the user, application, model, tool, and connected resource.
- Test direct prompt injection and instruction manipulation.
- Test indirect prompt injection through retrieved or imported content.
- Determine whether untrusted content can influence tool selection, parameters, or execution.
- Identify excessive permissions assigned to the application, agent, tool, or workload identity.
- Attempt to access unauthorized records, files, secrets, context, or tool functions.
- Use obtained access to enumerate the connected cloud or data resource within scope.
Techniques and Knowledge: Direct and indirect prompt injection; retrieval attack paths; tool and function-call manipulation; agent authorization failures; excessive permissions; cross-user context exposure; model API credentials; AI-to-cloud identity relationships.
Practical Exercise: Students manipulate an AI-enabled application into accessing a protected record, invoking an unauthorized tool action, or exposing information from a connected cloud data source.
Completion Standard: The student completes the assigned unauthorized access or action objective and documents how model behavior crossed an application, identity, data, or cloud
Day 2 - Afternoon
Module 7: Pivot Across AI, Developer, and Cloud Boundaries
Timing: 135 minutes, including a 115-minute capstone lab
Mission: Given an initial foothold in one component of the application delivery stack, chain multiple weaknesses to reach a high-value objective across platform boundaries.
Operating Conditions:
- One initial entry point such as a public AI-generated application, exposed environment variable, preview deployment, repository token, low-privileged cloud identity, or deployment credential.
- No complete architecture diagram or prescribed attack path.
- Multiple connected application, developer-platform, data, AI, and cloud components.
- A mission objective and defined scope.
Required Student Tasks:
- Reconstruct the connected application, repository, deployment, AI, data, and cloud architecture.
- Validate the initial access and determine the associated identity or privilege.
- Identify credentials, tokens, identities, integrations, and downstream services reachable from the compromised component.
- Cross at least two distinct trust boundaries.
- Obtain access to a developer platform, cloud workload, managed data service, repository, or additional identity.
- Escalate privileges or expand access where required.
- Reach the assigned mission objective and maintain evidence for every transition.
- Identify opportunities where the attack could have been prevented, detected, or contained.
Techniques and Knowledge: Cross-platform credential analysis; trust graph expansion; application-to-cloud pivoting; cloud-to-repository or deployment pivoting; AI application to backend pivoting; identity chaining; multi-stage validation.
Practical Exercise: Students complete a capstone combining application testing, AI or generated-application weaknesses, developer-platform compromise, credential analysis, cloud IAM exploitation, and lateral movement.
Completion Standard: The student reaches the assigned objective through a valid multi-stage path, provides evidence for every transition, and explains the trust relationship enabling each movement.
Module 8: Reconstruct, Defend, and Validate
Timing: 60 minutes, including a 40-minute validation lab
Mission: Given a completed attack chain and representative telemetry, reconstruct the sequence and define controls that prevent, detect, contain, or reduce the impact of each stage.
Operating Conditions:
- The student's collected evidence and representative application, deployment, repository, identity, AI, data, and cloud logs.
- Selected original configurations, policies, and infrastructure definitions.
- A defensive analysis and validation worksheet.
Required Student Tasks:
- Construct a chronological attack timeline and map each action to the affected platform, identity, credential, and resource.
- Identify the initial weakness and the trust or permission failures that enabled further impact.
- Identify relevant logs, events, and telemetry for every stage.
- Define preventive, detective, containment, and recovery controls.
- Apply selected configuration, identity, authorization, or secret-management corrections.
- Repeat relevant attack steps to validate that the control interrupts or limits the path.
- Identify residual risk, alternate routes, and monitoring gaps.
- Produce a concise technical attack-path report.
Techniques and Knowledge: Attack timeline reconstruction; cloud audit events; repository and platform audit review; AI request and tool-call logging; credential invalidation; IAM and authorization remediation; isolation; detection points; regression testing.
Practical Exercise: Students remediate selected weaknesses from the capstone and verify whether the original attack path can still be completed.
Completion Standard: The student produces a report containing the entry point, identities, privileges, resources, evidence, root causes, controls, and validation results.
Difficulty Level
Intermediate - The student has education and some experience in the field and familiarity with the topic being presented. The student has foundational knowledge that the course will leverage to provide practical skills on the topic.
Suggested Prerequisites
- At least one year of experience in penetration testing, application security, cloud engineering, DevOps, SRE, platform engineering, or security engineering.
- Comfort with the Linux command line, HTTP requests, and reading JSON.
- Understanding of DNS, APIs, common web vulnerabilities, authentication, and authorization concepts.
- High-level familiarity with at least one major cloud provider, including basic services and console navigation.
- Basic familiarity with Git repositories, branches, pull requests, and deployment workflows.
- No prior multi-cloud, AI security, or Kubernetes specialisation is required. Required concepts are introduced in context.
What Students Should Bring
- A laptop with a modern browser, SSH client, command-line tools, and text editor.
- Administrative rights to install or run the required tools.
- Stable internet connectivity and the ability to reach external cloud and developer services over HTTPS.
- Git, Python 3, Terraform or OpenTofu, and provider command-line tools as specified in the pre-class guide.
- A GitHub account and dedicated lab accounts or projects identified in the final lab guide.
- Billing enabled only where a student-owned deployment is required. Production-connected accounts must not be used.
- Recommended hardware: 64-bit laptop, four or more CPU cores, 8 GB RAM minimum, 16 GB recommended, and at least 10 GB free disk space. No dedicated GPU is required.
What the Trainer Will Provide
- Purpose-built cloud and application lab environments for the primary exercises.Terraform and configuration files for selected cloud targets.
- Deployment, validation, reset, and cleanup scripts.
- Detailed lab guides, mission briefs, and walkthroughs.
- Cheat sheets for commands, APIs, identity formats, and platform terminology.
- Attack-path diagrams and evidence collection worksheets.
- Reference hardening checklists and representative logging guidance mapped to each attack stage.
- Post-class access to lab definitions and extension exercises, subject to the organizer distribution model.
Trainer(s) Bio
Anant Shrivastava is the founder of Cyfinoid Research and a long time offensive security practitioner with a focus on application, cloud, and supply chain security. He has delivered trainings and talks at Black Hat (USA, Europe, Asia), Nullcon, c0c0n, BSides, Rootconf and multiple other events, and runs projects such as Hacking Archives of India to highlight real work from the security community. His courses are built from real consulting and red team experience, with an emphasis on attack chains that actually show up in the field and defenses that teams can implement the next day.
Riyaz Walikar is a seasoned security researcher, evangelist and offensive security expert with a wealth of experience across industry verticals and technologies. Riyaz has over 15 years of hands on offensive security experience focussing on Web, API, Mobile, Thick Clients, Systems, Internet facing and unreachable infra, Wireless, Cloud, Container, Kubernetes and more recently AI Agentic and MCP security. Professionally, Riyaz has run pentesting and research teams at Microland, PwC, Citrix, Appsecco and Kloudle in the past. He now does full time research and consulting on his own while continuing to mentor and teach at various events and conferences. When he isn't breaking things and looking under the hood of systems, Riyaz loves to stargaze, do photograhy, travel, google for easy weight loss solutions and crack really bad jokes to gain more followers.
Proficiency Exam
1 hours CTF (Module 8) will be given to attendees which will be based on the learnings that they have from the course. - 5 Hands on questions with 20 marks each.
Registration Terms and Conditions
Trainings are refundable before January 29, 2027, minus a non-refundable processing fee of $350.
Between January 30, 2027 and February 28, 2027 partial refunds will be granted, equal to 50% of the course fee minus a processing fee of $350.
All trainings are non-refundable after Feb 28, 2027.
Training tickets may be transferred to another student. Please email us at training@defcon.org for specifics.
If a training does not reach the minimum registration requirement, it may be cancelled. In the event the training you choose is cancelled, you will be provided the option of receiving a full refund or transferring to another training (subject to availability).
Failure to attend the training without prior written notification will be considered a no-show. No refund will be given.
DEF CON Training may share student contact information, including names and emails, with the course instructor(s) to facilitate sharing of pre-work and course instructions. Instructors are required to safeguard this information and provide appropriate protection so that it is kept private. Instructors may not use student information outside the delivery of this course without the permission of the student.
By purchasing this ticket you agree to abide by the DEF CON Training Code of Conduct and the registration terms and conditions listed above.
Several breaks will be included throughout the day. Please note that food is not included.
All courses come with a certificate, contingent on attendance at 75% of course sessions. Students who pass the end-of-course evaluation will be issued a certificate of proficiency. All other students with sufficient course attendance will be issued a certificate of completion. Students are responsible for making sure their attendance is recorded at the start of the day and after returning from lunch.