Security operations

What Is Lateral Movement? How Attackers Move Inside Networks

Getting in is only the start. Lateral movement is how one compromised laptop becomes control of a whole network — and why segmentation and least privilege matter.

Cysoro Security TeamPublished · 10 min read
PC-01 SRV-2 DB-03 WS-14 DOMAINCTRL 1 3 SECURITY OPERATIONS Lateralmovement One foothold. Then hop by hop.
Quick answer

Lateral movement is the set of techniques attackers use to move from one compromised system to others inside a network, hopping from host to host until they reach valuable targets such as domain controllers, file servers and backup systems. In MITRE ATT&CK it is tactic TA0008. Attackers usually move with stolen credentials and legitimate admin tools such as RDP and SMB, which makes the movement hard to tell apart from normal IT work.

Key takeaways

  • Lateral movement turns one compromised machine into network-wide access, usually with stolen credentials and built-in admin tools.
  • MITRE ATT&CK catalogs it as tactic TA0008, covering remote services, stolen authentication material and internal spear phishing.
  • Segmentation, least privilege, phishing-resistant MFA and monitoring of admin logons are the strongest defenses.

Most breaches do not start with the crown jewels. They start with one ordinary laptop, one phished password, one unpatched service — and then the attacker moves sideways, machine by machine, until they own the network. That sideways movement is lateral movement, and it is the phase that turns a small incident into a disaster.

What is lateral movement?

Lateral movement is the set of techniques attackers use to move through a network after gaining initial access, going from host to host to reach higher privileges and more valuable systems. MITRE ATT&CK catalogs it as a dedicated tactic, Lateral Movement (TA0008).

The MITRE definition is worth reading closely: lateral movement "consists of techniques that adversaries use to enter and control remote systems on a network", and attackers "might install their own remote access tools or use legitimate credentials with native network and operating system tools, which may be stealthier".

That last point is the core problem. Much lateral movement uses the same tools your IT team uses every day — Remote Desktop, SMB file shares, WinRM, SSH — with credentials that are real, just stolen. There is no malware signature to catch, because nothing malicious is being installed. The attacker simply logs in.

Where does lateral movement sit in an attack?

Lateral movement sits in the middle of the attack chain. It typically follows initial access and privilege escalation, and precedes collection and exfiltration — the phases where the real damage happens. An attacker needs elevated credentials before they can move effectively, and they move so they can reach the data and systems worth stealing or encrypting.

Picture the chain as five links: get in, get higher privileges, move sideways, find and collect the target data, then steal it or encrypt it for ransom. Break any link and the attack stalls. Lateral movement is the link defenders most often miss, because it looks like ordinary administration.

It is also the phase where time works against the defender. Mandiant's M-Trends 2025 report recorded a global median dwell time of 10 days — more than a week on average for attackers to explore and move before detection. CrowdStrike's 2025 Global Threat Report recorded an average adversary breakout time of 62 minutes from initial compromise to first lateral movement, with the fastest recorded breakout under two minutes.

How does lateral movement work, step by step?

Lateral movement is not a single action but a repeating loop the attacker runs until they reach their objective. Each loop makes the next one easier.

The lateral movement loop 1 Foothold phishing or an exposed service 2 Discover map hosts, shares, trust, admins 3 Steal credentials hashes, tickets, tokens, keys 4 Pivot log in to the next host with them 5 Repeat until the domain controller falls Every hop uses credentials stolen on the previous hop — stop one loop and the chain breaks.
The lateral movement loop repeats until the attacker reaches the target. Illustration by Cysoro.

1. Establish a foothold

Initial access lands the attacker on one machine, usually a low-value endpoint reached by phishing or an exploited internet-facing service. At this point they control one workstation, not the network.

2. Discover the environment

The attacker maps the network from the inside: which hosts exist, which shares are open, who is logged in where, and which accounts have admin rights. Built-in commands and tools do this quietly, and the results tell the attacker where the valuable systems are.

3. Steal credentials

Credential theft is the fuel of lateral movement. Attackers dump password hashes from memory, steal Kerberos tickets, harvest tokens from browsers and sessions, and reuse SSH keys found on disk. One admin who logged into the compromised workstation may have left exactly what the attacker needs.

4. Pivot to the next host

With stolen credentials, the attacker logs into the next machine using RDP, SMB, WinRM or SSH — the same way an administrator would. They establish more footholds so the attack survives if one access point is discovered, then repeat the loop.

5. Reach the objective

The loop ends at the target: usually the domain controller, a file or database server, or the backup environment. Control of the domain controller means control of every account in the network. Control of backups means ransomware cannot be undone by restoring.

What are the main lateral movement techniques?

MITRE ATT&CK groups lateral movement into nine techniques under TA0008. Most real attacks use only a few of them, and they account for the bulk of what defenders see.

TechniqueATT&CK IDWhat the attacker doesWhat it looks like to a defender
Remote servicesT1021Logs into remote hosts with RDP, SMB, WinRM, SSH or VNC using valid or stolen credentialsAdmin logons from workstations, at odd hours, to many hosts
Pass-the-hashT1550.002Authenticates with a stolen NTLM password hash, no plaintext password neededNTLM logons with no prior interactive session
Pass-the-ticketT1550.003Reuses a stolen Kerberos ticket to authenticate as the victim, including forged Golden TicketsKerberos tickets used from unexpected hosts
Remote service session hijackingT1563Takes over an existing RDP or SSH session instead of logging in freshA session suddenly controlled from a new source
Exploitation of remote servicesT1210Exploits a vulnerability in a network service to gain access to an internal systemExploit traffic against internal services
Internal spear phishingT1534Sends phishing from an already-compromised internal account to reach more usersPhishing mail from a trusted colleague's real mailbox
Lateral tool transferT1570Copies tools or malware to the next host over SMB, FTP or admin sharesNew executables appearing on servers from workstations
Software deployment toolsT1072Abuses legitimate deployment systems to push malicious software to many machines at onceUnexpected packages pushed by the deployment tool

Pass-the-hash deserves special attention because it surprises people: the attacker never needs to know the password. The hash itself is enough to authenticate, which is why stolen hashes are as valuable as stolen passwords. Our guide to spear phishing explains how the first foothold is usually won.

What do real lateral movement attacks look like?

Almost every major ransomware incident of the last decade followed the same pattern: a small initial foothold, days of quiet lateral movement, then encryption everywhere at once. The ransomware is the visible ending; lateral movement is the invisible middle that made it possible.

In a typical case, the attacker enters through a phishing email or an exposed remote service, steals credentials from the first machine, and uses them to reach a server where an administrator had recently logged in. From there they reach the domain controller, disable or delete backups, and only then deploy ransomware across the whole network — often at night or on a weekend, when nobody is watching.

The pattern is so consistent that incident responders treat any single compromised host as a possible network-wide incident until proven otherwise. The question after a phishing click is never just "what did this machine do" — it is "where did the attacker go from here".

Why is lateral movement so hard to detect?

Three things make it hard. First, it uses legitimate tools and credentials, so there is no malware to signature-match. Second, it blends into normal admin activity: IT staff also log into many machines, also use RDP and PsExec, and also work at odd hours during incidents. Third, it is fast — with breakout times measured in minutes, a human reviewing logs the next morning is already too late.

Detection therefore depends on baselines, not signatures. You need to know what normal admin behavior looks like for each account, so that abnormal behavior stands out: a finance user's account suddenly using WinRM, a workstation logging into twenty servers in an hour, or an admin account active at 3 a.m. from a machine it has never used before.

Without centralized logging, even that is impossible. If each machine keeps its own logs and nobody collects them, the hop chain is invisible — each hop looks like an isolated, unremarkable logon.

How do you detect lateral movement?

Detection starts with collecting the right logs in one place, then watching for the signals that separate attackers from administrators.

Five signals that someone is moving sideways 1. Admin logons at unusual hours or from unusual hosts 2. One workstation logging into many other machines in a short time 3. PsExec, WinRM or WMI used by accounts that do not normally administer systems 4. New service accounts, scheduled tasks or remote sessions appearing on servers Any one signal is a lead; two together are an incident worth investigating now.
Detection signals for lateral movement. Illustration by Cysoro.
  • Centralize authentication logs. Collect Windows security events, VPN logs and cloud sign-in logs into a SIEM or log platform so a hop chain can be traced across machines.
  • Alert on admin logon anomalies. Flag privileged accounts logging in from workstations, at unusual hours, or to hosts they have never touched.
  • Watch the admin tools. PsExec, WinRM, WMI and remote PowerShell sessions initiated by non-admin accounts, or by admin accounts from user workstations, are high-value alerts.
  • Monitor Kerberos. Ticket-granting anomalies, such as tickets requested for unusual services or used from unexpected hosts, can reveal pass-the-ticket attacks.
  • Use endpoint detection. EDR tools see process creation and credential access on each host, which fills the gaps that network logs miss.
  • Hunt, don't just alert. Regularly hunt for lateral movement patterns — for example, any account that authenticated to more than ten hosts in a day — even when no alert fired.

When you find a signal, assume the attacker has moved further than the evidence shows. Investigate the full chain: every host the compromised account touched, every credential it could have harvested, and every system those credentials can reach.

How do you prevent lateral movement?

Prevention is about removing the paths, not just watching them. The controls below are ordered by impact, and the first three do most of the work.

Remove standing privilege

Give users admin rights only where needed, only when needed. A helpdesk account that can administer every workstation hands the attacker the whole network after one phishing email. Use just-in-time elevation, separate admin accounts that are never used for email or browsing, and privileged access workstations for domain administration.

Segment the network

Split the network so a compromised workstation cannot reach servers, backups or the domain controller directly. Workstations should not be able to talk to each other at all in most offices — that one rule alone blocks many hop chains. Keep backup systems on their own segment with their own credentials, so ransomware cannot reach them.

The same principle applies at home: our guide to setting up a guest Wi-Fi network shows how isolation works on a small network. Bitdefender's guide describes the same hop-by-hop pattern and the same segmentation answer.

Protect credentials

Stop hashes and tickets from being harvested in the first place. Enable Credential Guard on Windows, restrict where privileged accounts can log on, disable NTLM where possible, and use phishing-resistant MFA — passkeys or security keys — for admin logons. Rotate local admin passwords with a tool such as Microsoft LAPS so one password does not unlock every machine.

Patch remote services

Keep RDP, SMB, VPN gateways and other remote services patched, and do not expose RDP directly to the internet. Where remote access is needed, put it behind a VPN or gateway with MFA, and restrict it to specific accounts and source addresses.

Require MFA for admin access

Every privileged logon — to servers, cloud consoles, VPNs and admin portals — should require phishing-resistant MFA. One-time codes can be phished; passkeys and security keys are bound to the real site, so a stolen code is useless. See the MITRE ATT&CK page for TA0008 for the full technique list and the mitigations mapped to each one.

Assume breach, then test itRun a purple-team exercise or a controlled lateral movement test at least once a year. If your testers can reach the domain controller from a standard user workstation, so can a real attacker — and now you know exactly which control to fix first.

What should you do if you find lateral movement?

Act fast and assume the worst. Isolate the affected hosts from the network, but do not shut them down yet — volatile memory may hold the only evidence of stolen credentials. Reset credentials for every account that touched a compromised host, starting with privileged accounts, and revoke Kerberos tickets so stolen tickets stop working.

Then trace the chain. Pull authentication logs for every compromised account and every host it touched, and keep going until you reach a host with no further hops. Only when the full scope is known should you rebuild affected machines — cleaning a single host while the attacker still holds credentials elsewhere just restarts the loop.

For a small business without a security team, the practical version is simpler: disconnect affected machines, call your IT provider or an incident response firm, change all admin passwords from a clean machine, and check backups before anything is restored. Our small business cybersecurity checklist covers the preparation that makes this response possible.

The bottom line

Lateral movement is what turns a single compromised machine into a network-wide breach. Attackers move with stolen credentials and the same admin tools your IT team uses, which is why they are hard to spot and fast once inside.

The defenses are unglamorous but effective: remove standing privilege, segment the network, protect credentials, patch remote services and require phishing-resistant MFA for admin access. Do those five things, and most attackers never get past the first machine.

Frequently asked questions

What is lateral movement in cybersecurity?

Lateral movement is the phase of an attack where the intruder moves from the first compromised machine to other systems inside the same network. MITRE ATT&CK defines it as the techniques adversaries use to enter and control remote systems on a network, using legitimate credentials and native tools as often as exploits.

What is the difference between lateral movement and privilege escalation?

Privilege escalation means gaining higher permissions on a system you already control. Lateral movement means moving to a different system entirely. Attackers usually alternate the two: escalate to get better credentials, then use those credentials to move to the next machine.

What are the most common lateral movement techniques?

The most common are remote services such as RDP, SMB, WinRM and SSH used with stolen credentials, and pass-the-hash and pass-the-ticket attacks that reuse captured NTLM hashes or Kerberos tickets. Attackers also exploit vulnerable remote services and use internal spear phishing to reach more users.

How long does lateral movement take?

It can take minutes. CrowdStrike's 2025 Global Threat Report recorded an average adversary breakout time of 62 minutes from initial compromise to first lateral movement, with the fastest recorded breakout under two minutes. That is why automated detection matters more than manual review.

Can lateral movement happen in the cloud?

Yes. In cloud environments attackers move between workloads, identities and services instead of between servers: stolen API keys, over-permissioned roles and trust relationships between accounts let them pivot from one service to another, just as RDP and SMB do on a local network.

How do you detect lateral movement?

Look for admin logons at unusual hours, logons from a workstation to many other machines, use of PsExec or WinRM by accounts that do not normally administer systems, and new service accounts appearing on servers. Endpoint detection, centralized logging and baselining normal admin behavior make these signals visible.

Does MFA stop lateral movement?

MFA at the perimeter does not stop it, because lateral movement usually happens after the attacker is already inside, using sessions and credentials that are already authenticated. Phishing-resistant MFA on admin logons, privileged access workstations and jump servers helps, but segmentation and least privilege matter more.

What is the first step to stop lateral movement?

Remove standing admin privilege from everyday accounts. If a helpdesk account can log in as an administrator on every workstation, one phishing email hands the attacker the whole network. Give admin rights only where needed, only when needed, and monitor every use.

Sources

  1. MITRE ATT&CK — Lateral Movement, Tactic TA0008
  2. ManageEngine Log360 — Lateral movement (TA0008): How to detect, investigate and respond
  3. Bitdefender InfoZone — What is Lateral Movement
  4. CyberDefenders — What Is Lateral Movement in Cybersecurity?
Written & fact-checked byCysoro Security Team

The engineers and analysts who build Cysoro's domain scanner, email-authentication checks and free security tools. We test what we write about every day — SPF, DKIM, DMARC, certificates, look-alike domains and phishing — and check each guide against the relevant standards, government guidance and vendor documentation.

  • Email authentication
  • Phishing & BEC
  • Domain & DNS security
  • Small-business security

Checked against MITRE ATT&CK tactic TA0008 and detection guidance from ManageEngine and Bitdefender.

How we write and fact-check →

Free tools for this topic

No account needed.

See where your domain stands

Free for up to 3 domains. No card, no installs.

Start free