Definition
Lateral movement is how an attacker moves from the first compromised system to other systems inside a network, using stolen credentials, remote access tools and internal weaknesses to reach valuable data or control.
What lateral movement is
Lateral movement is what an attacker does after getting into a network: moving from the first compromised system to other systems, collecting credentials and access along the way, until they reach what they came for.
The first foothold is rarely the target. A phishing email might give an attacker one laptop, but the valuable data sits on file servers, databases or cloud accounts elsewhere. Lateral movement is how they get there, and it is often the stage where a small incident turns into a serious breach.
How lateral movement works
Most lateral movement follows a repeating cycle:
- Reconnaissance: the attacker looks around from the compromised system, mapping users, groups, servers, shares and trust relationships.
- Credential access: they collect passwords, hashes, tokens or session tickets stored on that system or in memory.
- Movement: they use those credentials, or a vulnerability, to log in to another system.
- Repeat: from the new system they gather more credentials and move again, often gaining higher privileges each time.
Because attackers often use valid accounts and normal admin tools, this activity can look like everyday IT work.
Common lateral movement techniques
- Stolen and reused credentials: passwords found in scripts, files or browsers, or reused across accounts and systems
- Pass-the-hash and pass-the-ticket: using captured password hashes or Kerberos tickets to log in without knowing the actual password
- Remote services: RDP, SSH, SMB, WinRM and remote management tools that let an account run commands on other machines
- Shared local admin passwords: the same local administrator password on many machines, so one compromise opens them all
- Exploiting internal vulnerabilities: unpatched systems inside the network that are not reachable from the internet but are reachable once inside
- Active Directory weaknesses: overly broad group memberships, delegation settings and service accounts with weak passwords
- Cloud and identity pivoting: using tokens, access keys or roles to move between cloud resources, or from on-premises systems into the cloud
The MITRE ATT&CK framework lists lateral movement as its own tactic, with these and other techniques described in detail.
Lateral movement vs privilege escalation
The two often happen together but are not the same:
| Lateral movement | Privilege escalation | |
|---|---|---|
| Direction | Sideways, to other systems | Upwards, to higher rights |
| Goal | Reach more systems and data | Gain admin or system level control |
| Example | Using a stolen password to log in to a file server | Turning a normal user account into a local admin |
In a real attack, each step of lateral movement often brings a new chance to escalate privileges, and each escalation opens new places to move to. Together they form the attack path from the first foothold to the target.
Why lateral movement is so damaging
- It turns one compromise into many. A single infected laptop can lead to the whole network.
- It is hard to spot. Valid accounts and built-in admin tools blend in with normal activity.
- It buys time. The longer an attacker moves around unnoticed, the more they can find, copy or encrypt.
- It is how ransomware spreads. Most large ransomware incidents rely on lateral movement to reach as many systems as possible before encrypting them.
How to detect lateral movement
- Unusual logins: accounts signing in to systems they never use, at odd hours or from unexpected hosts
- One account logging in to many machines in a short time
- Remote admin tools and remote execution used outside normal IT patterns
- Authentication anomalies such as signs of pass-the-hash or unusual Kerberos ticket requests
- New services, scheduled tasks or accounts created on servers
Endpoint detection, centralised logging and identity monitoring make these signals visible, but they only help if someone is watching them.
How to prevent lateral movement
- Segment the network so workstations cannot reach servers and management interfaces they do not need.
- Use unique local admin passwords on every machine, for example with a password management tool such as LAPS.
- Apply least privilege: remove unnecessary admin rights and review group memberships regularly.
- Protect privileged accounts with multi-factor authentication, separate admin accounts and restricted admin workstations.
- Remove stored credentials from scripts, shares and configuration files.
- Patch internal systems, not just those facing the internet.
- Test it: run a penetration test from an internal starting point to see how far an attacker could actually get.
How Plainsea helps
Plainsea tests what happens after the first foothold. Within the scope you set, AI agents try to move between systems the way a real attacker would: reusing credentials, abusing permissions and exploiting internal weaknesses. Every step is confirmed and shown as part of the attack path, so your team can see exactly where an attacker could go next and fix the step that stops the spread, then re-test it on demand.