Cloudanix Achieves AWS Security Competency Status for Its CNAPP+ Platform and Just-in-Time Access Engine

What Is Lateral Movement in the Cloud? How Attackers Pivot From One Foothold

Lateral movement is how attackers use one compromised identity or workload to reach others. Learn the cloud techniques, signs to detect and how to contain it.

Lateral movement is the stage of an attack in which an intruder who has gained a first foothold uses it to reach other systems, accounts and data. The first foothold is rarely the goal. A stolen key or a compromised server is a starting point, and the attacker’s next job is to move sideways, and then up, until they reach something worth taking.

MITRE ATT&CK treats it as its own tactic, Lateral Movement (TA0008), and lists techniques such as using valid accounts, reusing stolen tokens and exploiting remote services. In traditional networks, this meant hopping between servers. In the cloud it often means something different and faster: using the permissions attached to one identity to act on other resources, without touching a network at all.

This page explains how lateral movement works in cloud environments, the common patterns, how it shows up in logs, and the controls that limit it. It connects directly to blast radius and attack path analysis.

Why cloud lateral movement is different

On a classic network, an attacker moves by connecting from machine to machine, stealing passwords from memory and exploiting services. Those steps still happen, for example when an attacker pivots between virtual machines or Kubernetes pods. But the cloud adds a second layer of movement through the control plane, the APIs that create, change and read cloud resources.

  • Identities are the connections. A role that is allowed to read a storage bucket, assume another role or fetch a secret is a path. No network route is needed.
  • Everything is reachable by API. If an identity has permission, it can act from anywhere that can reach the cloud provider’s API.
  • Permissions chain. One role may be allowed to assume another, which can read a secret, which holds a database password. Each hop looks like normal activity.
  • Machines hold credentials. Compute instances, containers and functions are given temporary credentials by the platform, so compromising a workload gives the attacker an identity.

This is why a single leaked key can produce a large incident. The attacker follows permissions, and the size of the breach is set by how far those permissions reach.

Common cloud lateral movement patterns

1. Credential chaining

The attacker finds a credential inside the first system, uses it to enter a second, finds another, and repeats. Barracuda reported this pattern in November 2026: after an attacker used a leaked vendor key, they used credentials found in one system to move through data analytics, source-code repositories and Kubernetes clusters. See Barracuda’s cloud breach.

2. Role assumption and trust abuse

Cloud roles can be assumed by other identities if a trust policy allows it. An attacker with permission to assume a role gains that role’s access. Overly broad trust, such as a role that trusts an entire account or a wildcard, makes this easy.

3. Metadata service credential theft

A compromised workload can ask the instance metadata service for the temporary credentials attached to its role. If the role is broad, the attacker inherits it. See the cloud instance metadata service (IMDS).

4. Secrets and configuration stores

Secrets managers, parameter stores, environment variables and configuration files hold database passwords and API keys. An identity allowed to read them can pivot to the systems they unlock.

5. Privilege escalation along the way

The attacker looks for permissions that let them grant themselves more, such as creating access keys, attaching policies or modifying a role. See privilege escalation detection.

6. Container and Kubernetes pivots

From a compromised pod, an attacker may reach the node, steal service account tokens, or call the cluster’s API. Mounting the host’s file system into a container, which Barracuda observed in an attempt to persist, exposes credentials on the host.

7. Cross-account and cross-tenant movement

Organizations with many accounts use cross-account roles. A compromise in a low-trust account can reach a high-trust one if the trust is too wide. Managed service providers and software vendors with access into customer tenants create a similar route.

8. CI/CD and developer tooling

Build pipelines often hold powerful credentials. Compromising a repository, a runner or a developer’s editor extension can yield access to production. See Cursor’s breach via a vendor key.

9. Application and token reuse

Stolen session tokens and application access tokens allow movement without passwords. MITRE lists these under Use Alternate Authentication Material (T1550). See session hijacking.

Why speed matters now

Lateral movement used to be slow because a human had to look around, think and try things. AI-assisted attack tools remove much of that delay. The FBI warned in November 2026 that one such framework, ARTEX, has taken some intrusions from first targeting to privileged access in under three hours. See the FBI warning on ARTEX and AI-powered attacks and autonomous penetration testing. When movement is automated, the time between the first foothold and a serious breach shrinks, and defenses that rely on a person noticing quickly lose ground.

How to detect it

Because the attacker uses valid credentials and legitimate APIs, detection depends on behavior and context rather than known-bad signatures.

SignalWhat it suggests
An identity calling APIs it has never usedExploring what it can do
Bursts of access-denied errorsProbing for permissions. See below.
A role assumed from an unusual source or by an unusual identityRole-chaining
Reading many secrets or parameters in a short timeCredential harvesting
New access keys, users or policy attachmentsPersistence and escalation
A workload using its credentials from outside the cloudStolen metadata credentials
Activity from a new geography or at unusual hoursCompromised identity
Sudden enumeration calls (list, describe, get) across many servicesReconnaissance

Example for AWS CloudTrail logs in CloudWatch Logs, finding identities with unusual numbers of denied calls:

fields @timestamp, userIdentity.arn, sourceIPAddress, eventName, errorCode
| filter errorCode in ["AccessDenied", "UnauthorizedOperation", "Client.UnauthorizedOperation"]
| stats count() as denied by userIdentity.arn, sourceIPAddress, bin(5m)
| sort denied desc
| limit 50

And role assumptions, to spot unexpected chains:

fields @timestamp, userIdentity.arn, requestParameters.roleArn, sourceIPAddress
| filter eventName = "AssumeRole"
| stats count() as assumptions by userIdentity.arn, requestParameters.roleArn
| sort assumptions desc

See also the lateral movement detection use case, cloud UEBA and cloud detection and response.

How to limit it

The aim is to make each hop harder, shorter and more visible.

Shrink what any one identity can reach

  • Apply least privilege to roles, users, service accounts and agents. Remove unused permissions.
  • Tighten trust policies. Trust specific roles and accounts, not wildcards. Use conditions such as external IDs, source addresses and required MFA where they apply.
  • Use permission boundaries and organization policies as ceilings that cannot be exceeded. See AWS IAM permission boundaries.

Shorten how long access lasts

Reduce the places credentials hide

  • Keep secrets out of code and configuration. See secrets sprawl.
  • Require the newer, session-based version of the instance metadata service and restrict workload roles.
  • Separate environments and accounts, so a compromise in development cannot reach production.

Add friction and visibility

  • Segment networks and clusters, and restrict east-west traffic.
  • Log control-plane and data access and keep logs off the systems being watched. See AWS CloudTrail.
  • Alert on the signals above and automate the safe responses, such as disabling a credential.

Know your paths

You cannot defend paths you have not mapped. Attack path analysis shows how an identity or workload connects to sensitive data, so you can cut the highest-value routes first.

How Cloudanix helps

Cloudanix maps the paths, removes standing access along them, and watches for movement.

The boundaries: Cloudanix does not block network traffic between your workloads, and it does not stop an attacker’s first foothold. It narrows the permissions and the time an attacker can use, and shows the paths, so each hop gets harder.

Further reading

Frequently asked questions

What is lateral movement?

It is the phase of an attack in which an intruder uses an initial foothold to reach other systems, accounts and data inside the environment.

How is lateral movement different in the cloud?

In the cloud it often happens through permissions and APIs, such as assuming roles and reading secrets, instead of connecting between servers. No network path is needed, only a permission.

How do attackers move laterally in AWS?

Common routes include credential chaining, assuming roles with broad trust, stealing temporary credentials from the metadata service, reading secrets, and creating new keys or policies to escalate.

What is the best defense against lateral movement?

Limit what each identity can reach and how long it can reach it: least privilege, no standing privilege, short-lived credentials and tight trust policies. Add monitoring for unusual identity behavior.

What is the difference between lateral movement and privilege escalation?

Lateral movement is reaching other systems or identities at a similar level. Privilege escalation is gaining a higher level of access. Attackers usually combine them.

People Also Read

What Our Users Are Saying

Customer Reviews

Cloudanix is trusted by security leaders worldwide to deliver proactive, reliable, and cutting-edge cloud security.

One day, I changed the password of a root account, and my CTO called me within less than a minute to confirm if I did so. I was not expecting a reaction this quick. He told me Cloudanix alerted him of this password change and that he wanted to confirm as it was a critical security notification. I couldn't believe it!

Ritesh Agarwal
Ritesh Agarwal
CEO, Airgap Networks

Compliance is one way of staying secure, but what I want is the ability to go deeper and attain 'true security.' Cloudanix provides us the capability to do so.

Vishal Madan
Vishal Madan
Head of Engineering, iMocha

Cloudanix is building for the future of the cloud, which makes the product all the more desirable.

Ritesh Agarwal
Ritesh Agarwal
CEO, Airgap Networks

Cloudanix gave us the visibility we were missing. Being able to move from permanent access to a robust Just-In-Time (JIT) workflow has fundamentally changed our security posture without slowing down our engineering velocity.

Pavan Kumar Lekkala
Pavan Kumar Lekkala
SRE Lead, HugoHub

We are excited to leverage Cloudanix's comprehensive multi-cloud DevSecOps solution to secure our production workloads on AWS. Cloudanix has demonstrated that it can solve many challenges that DevSecOps teams face while continually adding new features such as SOC2 compliance and drift detection.

Satish Mohan
Satish Mohan
Co-founder & CTO, Airgap Networks

Managing third-party partner access was once a major concern for our security posture. With Cloudanix JIT Cloud, we've effectively achieved zero third-party risk. We can now grant access confidently, knowing that it is temporary, audited, and automatically revoked, resulting in a 100% reduction in our privileged access exposure.

Okesh Badhiye
Okesh Badhiye
Head of Technical Engineering, Finfinity

The snooze feature and responsible alerts have helped us save time and prioritize what to tackle first.

Satish Mohan
Satish Mohan
Co-founder & CTO, Airgap Networks

Implementing Cloudanix JIT internally allowed us to practice what we preach. By eliminating permanent access to our own clouds and databases, we've neutralized the risk of standing privileges, ensuring our own 'keys to the kingdom' are never left exposed.

Girish Manghnani
Girish Manghnani
Managing Partner, Tech Inspira

The problem with permissions is a lot of times, the gaps are left open due to oversights from inside the organization itself. With Cloudanix's CIEM, we get a complete view of user permissions and access. This enables us to update the permissions, reducing the attack surface.

Nilesh Pethani
Nilesh Pethani
Application Architect, iMocha

In the world of Fintech, trust is our currency. Cloudanix provided the frictionless visibility we needed to secure our EKS workloads across AWS, ensuring we stay audit-ready for SOC2 and GDPR without slowing down our engineering velocity.

Amol Naik
Amol Naik
Head of Security & Infrastructure, HugoHub

Cloudanix delivered value within 5 minutes of onboarding. Continuous monitoring, timely detection, and excellent documentation helped us attain a great cloud security posture.

Divyanshu Shukla
Senior DevSecOps, Meesho

Technology strategies and business strategies are in a state of constant change which includes centralization and decentralization of responsibilities. Regardless of strategic shift, we still have intellectual property to protect. Cloudanix are critical partners for us in our public cloud security posture across our three cloud providers.

Jerry Locke
Jerry Locke
Senior Director Global Solutions Engineering, Eversana

Cloudanix has been amazing. They opened up a common Slack channel with us — and it feels like we are talking to our own team and getting things done with Cloud security. The support team is always available, friendly, helpful, and ready to go out of their way.

Satish Mohan
Satish Mohan
CTO, Airgap Networks

Beyond just access management, Cloudanix CSPM has given us a unified view of our AWS environment. The real-time alerting and anomaly detection allow us to prevent any untoward activity before it happens, which is critical for a marketplace connecting 50+ financial institutions.

Okesh Badhiye
Okesh Badhiye
Head of Technical Engineering, Finfinity

For a Fintech company, data is our most valuable — and most sensitive — asset. Cloudanix DAM hasn't just improved our visibility; it has given us control. The ability to mask data and prevent unauthorized queries in real-time is a game-changer for our compliance and customer trust.

Jiten Gala
Jiten Gala
President Engineering and Product, Kapittx

Our clients, especially in the Middle East financial sector, demand absolute accountability. Cloudanix JIT Cloud has been a competitive differentiator for us, allowing us to provide secure, governed access to customer accounts that meet their strictest audit and compliance requirements.

Girish Manghnani
Girish Manghnani
Managing Partner, Tech Inspira

Cloudanix is always on my team's lips because of its exceptional support. Be it a small or big query, Cloudanix has gone above and beyond to resolve them. This one's a keeper for us.

Sujit Karpe
Sujit Karpe
CTO, iMocha

For a long-lasting partnership, great support goes a long way. Cloudanix has delivered exceptional support whenever required. Their edge is their team is always ready to go beyond to solve any issues that we have. This speaks volumes about the culture at Cloudanix.

Akash Maheshwari
Akash Maheshwari
Co-founder, MoveInSync

Beyond the technology, Cloudanix feels like an extension of our own team. Their willingness to stand up a dedicated Middle East tenant for us and provide exceptional support at a sensible price makes them a long-term partner for Hugosave.

Surya Tamada
Surya Tamada
CTO, HugoHub

The real-time notifications that Cloudanix provides are a real lifesaver. Their adaptive notifications ensure that my team stays productive and doesn't get interrupted all the time.

Digvijay Singh
Staff Security Engineer, Meesho

The whole point in technological evolution is to help improve the world we live in. We must protect that and to do so requires an effective and efficient security strategy. The Cloudanix team helped make our public cloud security posture management strategy a reality. The symbiotic relationship we have allows for a continuous feedback loop which is how business should operate.

Larry Wheat
Larry Wheat
Staff Solutions Engineer, Eversana

Ready to see your graph?

Connect a cloud account in under 30 minutes. See every finding rooted in identity, asset, and blast radius — with a fix path attached.

Book a Demo