Lateral Movement: How It Works, Techniques, and Prevention

November 24, 2026 / Published by: Admin

Lateral movement is the technique attackers use to move from one account or device to other systems inside a network after they break in. It is the stage that turns one employee laptop hit by phishing into ransomware across every company server.

Attackers rarely need a new way to break into each system. The U.S. Cybersecurity and Infrastructure Security Agency (CISA) analyzed 143 security assessments from fiscal year 2023 and named valid accounts the most prominent technique across tactics.

This article covers how lateral movement works, the most common techniques, a real case, and how to detect and prevent it, starting with identity.

What Is Lateral Movement?

Lateral movement is the middle phase of a cyberattack, after attackers gain a first foothold and before they reach the data or systems they are after. MITRE ATT&CK, a catalog of attacker tactics and techniques maintained by the nonprofit MITRE, lists it as a separate tactic with the code TA0008.

Picture a finance staff member opening a phishing attachment on their laptop. The attacker now controls that laptop, but payroll data and the payment system sit on other servers.

To get there, the attacker uses credentials stored on the laptop to sign in to a file server, then looks for an admin account that can open the finance system. Each of those hops is lateral movement.

This activity is hard to tell apart from normal work. According to MITRE, attackers who use legitimate credentials with built-in operating system tools tend to be harder to detect than attackers who bring their own tools.

The end goal can be stealing customer data, spreading ransomware to as many servers as possible, keeping long-term access for espionage, or building a botnet from the victim’s devices.

Lateral Movement vs. Initial Access vs. Privilege Escalation

These three terms often appear together in incident reports, yet each answers a different question. The table also adds exfiltration, the next stage.

TermMITRE ATT&CK codeQuestion it answersExample
Initial accessTA0001How did the attacker first get in?A phishing email or a VPN login with a leaked password
Lateral movementTA0008How does the attacker move to other systems?Moving from a staff laptop to a file server with stolen credentials
Privilege escalationTA0004How does the attacker gain higher access rights?A standard user account becomes a domain admin
ExfiltrationTA0010How is data taken out of the network?A customer database is compressed and sent to an attacker-controlled server

Privilege escalation and lateral movement feed each other, but they are not the same. Escalation can happen on a single server without moving anywhere, while lateral movement always involves a second system.

This distinction shapes the controls you put in place. Multi-factor authentication (MFA) on the VPN helps stop initial access, while separate admin accounts and network segmentation slow attackers down once they are inside.

How Lateral Movement Works in 3 Stages

How Lateral Movement Works in 3 Stages

Lateral movement runs in three stages that attackers repeat until they reach their target. The cycle starts after initial access succeeds, for example through phishing or a leaked VPN password.

The number of stages varies by source. Security vendor guides we reviewed use three to five stages, and some count the initial infection as part of lateral movement.

This article uses three stages because MITRE ATT&CK lists initial access (TA0001) and exfiltration (TA0010) as separate tactics. The split is also practical, since all three stages below happen inside your own network.

1. Internal Reconnaissance

The first step is mapping the environment the attacker has just entered. They look for servers that hold valuable data, accounts with admin rights, open shared folders, and the security tools in place.

Built-in operating system commands are usually enough. Admins run Active Directory (the Windows account directory) queries and commands like nltest every day, so this activity rarely triggers alerts.

2. Credential Theft and Privilege Escalation

Without new credentials, attackers cannot go far. They pull password hashes from device memory (credential dumping) or look for passwords written into scripts and configuration files.

Their targets are accounts with broader rights, such as a local admin account that shares one password across every laptop, or a domain admin account. On a Windows network, a domain admin account can usually open almost every server joined to the domain.

3. Moving to the Target System

Next, the attacker signs in to the next system through services opened for admins, such as Remote Desktop or SSH. From that new system, the cycle starts again.

Once they reach a domain controller (the server that handles sign-ins on a Windows network) or a backup server, attackers can steal data and delete backups. Ransomware is then launched on every server at once.

The Most Common Lateral Movement Techniques

The most common lateral movement techniques rely on legitimate credentials, not software flaws. MITRE ATT&CK lists 9 techniques and 14 sub-techniques for this tactic.

These four groups cover the most common ones.

Pass the Hash, Pass the Ticket, and Stolen Credentials

Pass the hash uses a password hash, not the password itself, to sign in to other systems over the NTLM protocol. Pass the ticket does the same with a Kerberos ticket (proof of sign-in on a Windows network) stolen from memory.

The attacker never needs the actual password. In the lateral movement section of CISA’s fiscal year 2023 report, pass the hash appeared in 27% of instances and pass the ticket in 17%.

Abuse of Remote Services Such as RDP and SSH

Remote Desktop Protocol (RDP) on Windows and SSH on Linux are open so admins can manage servers remotely. Attackers use the same doors with stolen credentials.

Windows admin file shares (SMB admin shares) also let attackers copy their tools from one server to the next. A server that accepts RDP from every device on the network gives attackers a short path to critical systems.

Session and Access Token Hijacking

This technique takes over a session that is already signed in, not the credentials behind it. Attackers can hijack an active RDP or SSH session, or steal session cookies and access tokens for cloud applications.

A stolen session skips the MFA prompt. MFA was already completed when the legitimate owner signed in, so the extra controls are short session lifetimes and rechecks when the sign-in context changes.

Living off the Land with Built-In System Tools

Living off the land means attackers use tools already installed on the victim’s systems, such as PowerShell and Windows Management Instrumentation (WMI). There are no foreign files to download.

The IT team’s own software deployment tools can also be abused to push malware to every device they manage. That is why monitoring should look at who runs these tools and from which device.

Case Study: 9 Days Inside Change Healthcare’s Network

The ransomware attack on Change Healthcare in February 2024 shows how long attackers can move inside a network before the damage becomes visible. The way in was a single stolen login.

According to testimony by Andrew Witty, CEO of parent company UnitedHealth Group, to the U.S. Senate Finance Committee, attackers got in on February 12 with stolen Citrix portal credentials. That remote desktop access portal did not have MFA.

After getting in, the attackers moved laterally within the systems and stole data. The ransomware was deployed nine days later.

StageWhat happenedControl that could break the chain
Initial access (February 12, 2024)Sign-in to the Citrix portal with stolen credentialsMandatory MFA on every remote access path
Lateral movement (February 12 to 21)Moved laterally within the systems and stole dataSeparate admin accounts, segmentation, and monitoring of sign-ins between systems
Impact (February 21)Ransomware deployedIsolating accounts and devices before the ransomware runs

Those nine days were a missed detection window. In lateral movement generally, every attacker sign-in to a new server leaves a trace in the authentication logs.

The business impact depends on how far the attacker got. An infected laptop only needs to be isolated and reimaged, while ransomware on the domain controller and backup servers means restoring the entire network.

How to Detect Lateral Movement

Lateral movement is easiest to detect through sign-in patterns, not malicious files, because attackers use legitimate accounts and tools. Learn normal sign-in patterns, then spot deviations.

Warning Signs in Sign-In and Access Logs

These signs are worth investigating when they show up in authentication and server logs:

  • One account signs in to devices it has never accessed before, one after another in a short time.
  • A standard user account signs in to a server or domain controller.
  • RDP or SMB connections between employee laptops, which normal work rarely needs.
  • A service account signs in interactively, even though only an application should use it.
  • An admin signs in outside working hours or from a device that admin does not usually use.
  • A string of failed sign-ins followed by one successful sign-in from an internal device.
  • Large data transfers between servers that have no working relationship.

One sign alone does not prove an attack. Two signs on the same account, such as a sign-in to a new device followed by a large data transfer, call for immediate investigation.

Detection Tools Security Teams Use

Logs only help when they are collected in one place and compared with normal behavior. Security teams usually combine these tools:

  • SIEM (security information and event management) collects sign-in logs from servers and applications, then connects events across systems.
  • User and entity behavior analytics (UEBA) builds a normal sign-in pattern for each account and flags deviations.
  • EDR (endpoint detection and response) on laptops and servers records running processes, including PowerShell use and credential theft from memory.
  • NDR (network detection and response) monitors traffic between network segments, for example unusual SMB connections.

Midsize companies do not have to start with all four. Centralized authentication logs and alerts for every admin account sign-in are enough as a starting point.

Also read: SIEM and IAM Integration as the Foundation for Identity Based Threat Detection

6 Ways to Prevent Lateral Movement, Starting with Identity

The most effective way to prevent lateral movement is to limit what one stolen account can open. The CISA data above puts valid accounts and pass the hash near the top, so identity controls should come before network controls.

Firewalls and antivirus alone are not enough. Both remain necessary as a base layer, but neither stops a legitimate sign-in that uses a stolen password.

For each account or access path, ask these three questions:

  • Can this account or path be reached from the internet?
  • Does this account have admin rights on more than one system?
  • Is its password shared or never changed?

Any account or path that meets two or more of these criteria comes first. The steps below follow guidance from the UK’s National Cyber Security Centre (NCSC), which starts with protecting credentials before moving to network segmentation and monitoring.

1. Require MFA on Remote Access and Admin Accounts

Start with the door Change Healthcare’s attackers used. Turn on MFA for the VPN, remote desktop portals, cloud consoles, and every admin account sign-in, including admin sign-ins to internal servers.

For admin accounts, choose phishing-resistant methods such as security keys or passkeys rather than SMS codes.

2. Separate Admin Accounts from Everyday Accounts

An admin who reads email with a domain admin account hands attackers a shortcut. The NCSC recommends admin accounts that are separate from everyday accounts and, where possible, separate devices for admin work.

Never use admin accounts for email or browsing. Also split admin accounts by tier, for example laptop admins and domain admins, so credentials stolen on a laptop cannot open the domain controller.

3. Apply Least Privilege and Temporary Access

The principle of least privilege limits every account to the systems its job actually needs. A stolen account then has limited reach.

For admin rights, use just-in-time access that turns on when needed and is revoked automatically once the task is done.

4. Control Service Accounts and Local Admin Passwords

Both account types are often overlooked in access audits. When every laptop shares the same local admin password, one stolen hash can open all the other laptops.

Give every device its own unique password. Service accounts also need a clear owner and rights limited to the application they serve, with no permission for interactive sign-in to servers.

5. Segment the Network Around Critical Systems

Segmentation divides the network into zones, so employee laptops cannot reach the database or domain controller directly. In a CISA and NSA advisory on the ten most common cybersecurity misconfigurations, a network without segmentation lets attackers move freely between systems.

Start with the most valuable zone. Put domain controllers and backup servers in their own segment, then allow access only from designated admin devices.

6. Monitor and Review Access Regularly

Access rights grow as employees change roles. Review admin and service account rights every quarter, then revoke any rights that are no longer used.

Also make sure alerts for the warning signs in the detection section reach someone who can act, instead of sitting unread in a log.

Also read: PAM Solution: 5 Key Features and Account Types that Must Be Protected

Conclusion

Lateral movement is the stage where one stolen account turns into access to the entire network. Because attackers most often move with legitimate credentials, the most effective prevention starts with identity, followed by segmentation and monitoring.

Start with a list of your admin accounts. Flag the accounts and remote access paths that lack MFA, then separate admin accounts from everyday ones and look for local admin passwords shared across devices.

Ready to Manage Digital Identities as a Business Security Strategy?

Request a demo today and discover how IAM solutions centralize user logins through Single Sign-On (SSO), automate employee onboarding, and protect company data from unauthorized access without disrupting productivity with repeated logins.

FAQ

Does lateral movement always use stolen credentials?

Lateral movement does not always rely on stolen credentials. Attackers can also exploit unpatched internal services or send phishing emails from a compromised internal account, two techniques MITRE ATT&CK also lists.

Can MFA prevent pass the hash?

MFA does not fully prevent pass the hash. The technique uses NTLM authentication inside the network, which usually does not ask for MFA, so MFA needs to be paired with separate admin accounts and unique local admin passwords.

Is antivirus or EDR alone enough to stop lateral movement?

Antivirus or EDR alone is not enough. EDR helps detect credential theft on devices, but sign-ins with legitimate accounts to other servers still need to be limited through identity controls and segmentation.

Does lateral movement also happen in cloud environments?

Lateral movement also happens in cloud environments. MITRE ATT&CK lists sub-techniques specific to cloud services and application access tokens, such as using a stolen token to move from a SaaS application to a cloud console.

What should you do first when lateral movement is detected?

Isolate the affected devices and accounts first, then reset their credentials along with any other admin accounts that have signed in on those devices. After that, trace the logs to map every system the attacker reached before you restore them.

Profil Adaptist Consulting

Adaptist Consulting is a technology and compliance firm dedicated to helping organizations build secure, data-driven, and compliant business ecosystems.

Read Related Post

✕