What Is Lateral Movement? Techniques, Detection, and Prevention

As organizations connect more devices to their networks, they expand the number of potential access points that adversaries can exploit. For years, organizations prioritized external defenses to keep attackers out and protect internal assets. As targeted threats become more sophisticated, those perimeter-focused defenses need to be augmented.

Modern attacks often incorporate lateral movement. Once attackers gain a foothold in an environment, they navigate through the network to compromise high-value assets, sensitive data, or domain controllers. This slow, methodical process is often a stealthy progression that turns a minor endpoint compromise into a high-impact security breach. A compromise of a single Internet of Things (IoT), operational technology (OT), Internet of Medical Things (IoMT), or IT device can become the springboard for unauthorized access to other assets on the same network.

By understanding what lateral movement is and how attackers traverse networks, security practitioners can implement the specific protections that mitigate the risk.

What Is Lateral Movement?

Lateral movement refers to the techniques that cyber adversaries use to travel across an environment after gaining initial access. Once a threat actor compromises a workstation, a user account, or a vulnerable IoT, OT, IoMT, or IT device, they rarely stop there. Their primary objective resides deeper within the environment.

Attackers use existing network infrastructure, legitimate administrative tools, and stolen credentials to move from one system to another. Because they appear to be trusted users or services, their lateral movement often fails to trigger security alerts.

The MITRE ATT&CK framework catalogs lateral movement as tactic TA0008, a set of nine techniques and 14 sub-techniques that adversaries use to enter and control remote systems. In the attack lifecycle, lateral movement sits after initial access, execution, persistence, privilege escalation, and credential access, and before collection and exfiltration. It is the phase that connects a low-value entry point to the systems an attacker actually wants.

How Lateral Movement Works

Lateral movement follows a repeatable sequence. Attackers observe first, collect the credentials that let them authenticate somewhere new, then use those credentials to reach the next system. The cycle repeats until they arrive at a target worth acting on.


Stage One: Reconnaissance

After landing on a compromised host, the attacker maps what is reachable from it. They enumerate hosts, identify operating systems and firmware versions, learn naming conventions, find open ports and services, and look for the trust relationships that connect one segment to another. On networks with large populations of connected devices, this stage is unusually productive. Devices that respond to discovery protocols advertise their manufacturer, model, and function without requiring any exploitation at all.

Stage Two: Credential and Privilege Gathering

The attacker then harvests the authentication material needed to log in somewhere else. That may mean dumping credentials from memory, pulling passwords out of configuration files, capturing authentication hashes or Kerberos tickets, or simply trying default credentials that were never changed. Shared service accounts and vendor support accounts are frequent finds, because a single set of credentials often works across an entire fleet of identical devices.

Stage Three: Gain Access to Adjacent Systems

With valid credentials in hand, the attacker authenticates to the next system using the same remote access protocols the IT team uses every day. Each successful hop restarts the cycle, giving the attacker a new vantage point, new reachable hosts, and new credentials to collect. Attackers repeat this until they reach a domain controller, a database, a backup system, or an operational control system.

On IoT, OT, IoMT, and IT devices that cannot run detection agents, none of these three stages generates endpoint telemetry. The reconnaissance produces no log, the credential reuse produces no alert, and the hop to the next system looks like routine traffic. Visibility has to come from the network instead.

How Lateral Movement Differs From Other Cyberattacks

Lateral movement is distinct because it is a phase of an attack lifecycle, not a single event. Other cyberattacks are categorized by their immediate action. A DDoS attack seeks to disrupt services, while lateral movement explores the network as one step toward achieving a broader objective.

Lateral movement is often a manual, human-driven process where the attacker:

  • Observes the environment
  • Identifies relationships between systems
  • Selects the path of least resistance

Where a typical intrusion focuses on breaking in, lateral movement focuses on blending in. As a result, traditional signature-based detection systems often fail to identify the activity. Attackers hide inside systems by using native functionality such as remote login tools or administrative command-line interfaces.

Lateral Movement vs. Privilege Escalation

The two are often confused because attackers use them together, but they solve different problems. Privilege escalation, sometimes called vertical movement, increases what an attacker can do on a system they already control. Lateral movement increases the number of systems they control at whatever privilege level they currently hold.

In practice, the two alternate. An attacker moves laterally with ordinary user credentials until they land on a system where a misconfiguration or unpatched vulnerability lets them escalate. Higher privileges then open more destinations for the next lateral hop. Defenses that address only one of the two leave the cycle intact.

What Types of Attacks Use Lateral Movement?

Lateral movement is a step in the attack chain that occurs after the initial compromise. Attackers pivot from a single compromised device toward their ultimate target, often evading intrusion detection tools.

Ransomware

Ransomware operators rarely encrypt the first device they compromise. Instead, they spend days or weeks traversing the network, identifying high-value systems, exfiltrating data, and disabling backups before deploying the malicious payload. Across critical infrastructure and enterprise environments, this traversal increasingly runs through IoT, OT, and IoMT devices because they often lack the functionality to run detection agents.

Advanced Persistent Threats (APTs)

APT groups typically breach low-value targets, then establish persistence so they can quietly pivot device by device toward sensitive data and critical assets such as intellectual property, operational control systems, or regulated data. The lateral movement phase can last months as the attacker remains undetected by tools that only monitor traditional IT endpoints.

Supply Chain Attacks

Compromising a trusted vendor’s software or firmware gives attackers an authenticated foothold inside the perimeter. From there, they move laterally to spread from that initial trusted device across the rest of the environment.

Phishing Attacks

Phishing emails only mark the beginning of an attack. Once attackers harvest credentials or deploy a payload, they use lateral movement to turn human error into an organization-wide compromise.

Pass-the-Hash and Credential-Based Attacks

Once attackers harvest user credentials from one compromised system, they reuse or relay those credentials to authenticate across the network without needing to crack passwords. When organizations fail to change IoT, OT, IoMT, or IT device default credentials or shared service accounts, attackers can use these devices as the initial attack vector.

Worms and Self-Propagating Malware

Unlike targeted intrusions, worms automate lateral movement. WannaCry, for example, spread autonomously across connected environments. Any device that can communicate with its neighbors is a potential stepping stone. IoT, OT, IoMT, and IT devices are especially susceptible because they often:

  • Run legacy firmware
  • Use default credentials
  • Contain unpatched vulnerabilities
Common Lateral Movement Techniques

MITRE ATT&CK groups lateral movement into nine techniques under tactic TA0008. The following are the ones security teams encounter most often, along with how each one behaves on connected devices that cannot run an agent.

Remote Services (T1021)

Attackers authenticate to another system using the same remote access protocols administrators use: Remote Desktop Protocol (T1021.001), SMB and Windows admin shares (T1021.002), SSH (T1021.004), VNC (T1021.005), and Windows Remote Management (T1021.006). This is the most common lateral movement technique because it requires no exploit, only valid credentials. Many OT and IoMT devices expose SSH, Telnet, or VNC for vendor maintenance, frequently with credentials that have never been rotated.

Use of Alternate Authentication Material (T1550)

Rather than stealing a password, attackers capture and replay the authentication material derived from it. Pass-the-hash (T1550.002) reuses a captured NTLM hash to authenticate as a user without ever recovering the plaintext password. Pass-the-ticket (T1550.003) does the same with Kerberos tickets. Password rotation policies do not defeat these techniques on their own, because the attacker never needed the password.

Exploitation of Remote Services (T1210)

When credentials are unavailable, attackers scan internal hosts for exploitable vulnerabilities in network-facing services and use them to execute code on a remote system. This technique is disproportionately effective against connected devices, which often run firmware that has not been patched in years and cannot be taken offline for maintenance without disrupting clinical or production workflows.

Lateral Tool Transfer (T1570)

Attackers copy tools such as remote access utilities or credential dumpers from one compromised host to the next using network shares, administrative accounts, or removable media. Because the transfer happens entirely inside the network, controls that inspect only inbound traffic never see it.

Internal Spearphishing (T1534)

After compromising a mailbox, attackers send phishing messages from that legitimate internal account to colleagues. The messages pass authentication checks and arrive from a trusted sender, which makes them significantly more effective than external phishing.

Remote Service Session Hijacking (T1563)

Instead of authenticating, attackers take over a session that is already open, hijacking active SSH (T1563.001) or RDP (T1563.002) connections. The session already carries the legitimate user’s privileges, so no new authentication event is generated for a monitoring tool to flag.

Software Deployment Tools (T1072)

Attackers who reach a patch management or device management console can distribute payloads to every system that console controls. This turns an administrative tool into a distribution network and is one of the fastest paths from a single compromise to environment-wide impact.

Documented Examples of Lateral Movement

In the 2013 Target breach, attackers obtained network credentials belonging to Fazio Mechanical Services, a refrigeration and HVAC contractor with remote access for billing and project management. From that vendor foothold, they moved laterally into the corporate network and eventually onto point-of-sale systems, where they deployed card-scraping malware. The initial access point had no relationship to payment infrastructure. Network reachability supplied the rest.

WannaCry in 2017 automated the same movement without an operator. The worm exploited a vulnerability in SMBv1 to propagate from host to host, and it reached medical devices and hospital systems that could not be patched on the ordinary IT schedule. The United Kingdom’s National Health Service saw appointments canceled and diagnostic equipment taken offline, not because those devices were targeted, but because they were reachable.

More recently, CISA and partner agencies have documented state-sponsored activity that pre-positions inside critical infrastructure networks by compromising network edge devices such as routers, firewalls, and VPN appliances, then moving laterally using legitimate credentials and built-in system tools rather than malware. The pattern holds across all three cases. The device that gets compromised first is rarely the device that matters, and the compromise is only useful because of what that device can reach.

Why Do Attackers Use Lateral Movement?

Initial access alone rarely allows attackers to complete their objectives, because a single compromised device almost never provides access to critical systems or contains sensitive data like intellectual property or personally identifiable information (PII).

Evade Detection

Historically, internal network traffic is less scrutinized than inbound external traffic. Attackers exploit this lack of monitoring to perform reconnaissance, credential harvesting, and file transfers without triggering alerts. Moving between systems at a slow, deliberate pace that mimics legitimate user behavior makes detection and incident response more difficult, especially when attackers gain initial access through IoT, OT, IoMT, or IT devices that cannot run Endpoint Detection and Response (EDR) agents.

Privilege Escalation

Lateral movement is almost always paired with privilege escalation. Attackers rarely compromise a system that grants them immediate domain administrator rights. Instead, they gain initial access to a low-privilege workstation and harvest credentials from memory or configuration files until they reach privileged accounts. This cycle of moving and escalating is how an attacker eventually compromises critical assets.

Access to Sensitive Remote Systems

By mapping the organization’s network and identifying service accounts with rights across multiple segments, attackers can bypass protections. Lateral movement allows attackers to gain initial access to a low-security zone, such as a guest network, then move to a high-security zone, such as a financial database or operational control system.

Exploiting Vulnerabilities

After gaining an initial foothold, attackers scan the local network to identify vulnerabilities, map active services, and identify security controls. This living-off-the-land approach lets them tailor their next move. The more time they spend moving laterally, the more they learn about internal weaknesses they can exploit.

How to Detect Lateral Movement

Lateral movement is difficult to detect because it uses valid credentials and legitimate protocols. Detection depends on knowing what normal communication looks like for every device and account, then identifying the deviations. Five signal sources matter most.

East-West Traffic Visibility

Most monitoring investments watch traffic crossing the perimeter. Lateral movement happens between internal hosts, where that instrumentation does not reach. Baselining device-to-device communication, including which ports and protocols each device normally uses and which peers it normally talks to, is what makes an unexpected hop visible. An infusion pump initiating an SMB connection to a file server is not a subtle signal once the baseline exists.

Authentication Anomalies

Credential reuse leaves a trail in authentication logs even when the endpoint produces none. Network logon events from unusual sources, a single account authenticating to an atypical number of hosts in a short window, explicit credential use where none is expected, and service accounts logging in interactively are all indicators worth alerting on.

Protocol and Behavior Deviation on Connected Devices

Connected devices have narrow, predictable communication profiles. A device that has spoken only one industrial or clinical protocol for two years and suddenly initiates RDP, SSH, or SMB traffic has either been reconfigured or compromised. This constraint is an advantage. Behavioral detection is far more tractable on a device with a fixed function than on a general-purpose workstation.

Scanning and Enumeration Patterns

The reconnaissance stage produces a distinctive shape in network telemetry: one host touching many others, connection attempts to ports that are closed on most targets, and sequential address ranges. Flow data and deep packet inspection surface this pattern well before the attacker reaches a target of value.

Packet-Level Forensics

Once a device is implicated, detection has to become investigation. Full packet capture from the period surrounding the alert establishes what the device actually did, which systems it contacted, and what moved between them. Without it, teams investigating an agentless device are reconstructing an incident from inference.

How Network Segmentation Mitigates Lateral Movement Risk

Network segmentation is the most effective technical control against lateral movement. By dividing an enterprise network into smaller, isolated zones, an organization ensures that even if an attacker compromises one device, they cannot easily reach servers, operational systems, or other sensitive segments.

Limits Attacker Movement

Even when an attacker gains a foothold, segmentation contains the blast radius. When an infected device cannot communicate with systems outside its designated zone, attackers have no path to move from one segment to another.

Isolates the Incident

Beyond limiting where attackers can go, segmentation forces them to break through additional barriers at every step. A single compromised IoT, OT, IoMT, or IT device is no longer a launchpad for reaching the entire environment.

Removes Implicit Trust

Lateral movement works because devices on the same network tend to trust each other by default. Segmentation breaks that assumption by requiring every connection to be explicitly authorized.

Enforces Least Privilege With Microsegmentation

Rather than grouping devices into broad zones, microsegmentation restricts each device to only the communication it actually needs. By limiting every device to its minimum required communication, granular policies reduce the paths attackers can take to reach their objectives.

Best Practices for Implementing Network Segmentation

In complex environments, network segmentation can be challenging. The reason most segmentation programs stall is rarely the decision to segment. It is the gap between knowing what to isolate and safely enforcing policy at scale across a changing network. The following best practices help mitigate risk and improve security posture.

Gain Complete Visibility Into Every Connected Asset

Segmentation decisions are only as good as the inventory behind them. Without deep visibility into every device on the network, segmentation decisions rely on static assumptions rather than real network context. IP and MAC addresses are a starting point, but organizations also need to consider:

  • The devices communicating across the network
  • The ports that devices and applications use
  • The protocols that devices use

Organizations should look for solutions that:

  • Provide deep device discovery and classification across IoT, OT, IoMT, and IT environments agentlessly, capturing a complete and authoritative inventory safely and without disruption, using both passive scanning and active safe scanning where appropriate.
  • Map device-to-device communication patterns across the network, capturing what each device connects to, on which ports, and using which protocols.
  • Continuously update inventory as devices appear, disappear, or change behavior.
  • Act as a single source of truth that feeds every downstream segmentation policy.
Prioritize Segmentation Based on Real Risk, Not Just Device Count

When organizations manage tens or hundreds of thousands of connected assets, determining where to begin is nearly impossible without risk intelligence. Segmentation efforts that do not prioritize by risk consume significant operational effort while delivering minimal security value.

Organizations should look for solutions that:

  • Use risk scoring grounded in ATT&CK Analysis, which maps each vulnerability against adversary techniques to determine whether it is actually exploitable on a specific device in a specific topology. Generic CVSS scoring cannot make that determination. ATT&CK Analysis produces a prioritized queue where every item reflects genuine risk rather than theoretical severity.
  • Identify the small population of devices that drive the majority of segmentation urgency.
  • Map each prioritized attack vector to the specific NAC or firewall policy that contains it, expressed as DACLs, Security Groups, or Group-Based ACLs depending on the enforcement infrastructure.
  • Update risk scoring as patches land, exploits emerge, or device behavior changes.

[Related: Why Segmentation Stalls without Risk-Based Prioritization]

Simulate Policies Before Deployment

One of the biggest reasons segmentation projects stall is the fear of breaking critical workflows. In industrial, healthcare, and enterprise environments, a policy that disrupts device communication can have serious operational consequences, leaving teams writing policies they are afraid to enforce.

Organizations should look for solutions that:

  • Simulate each proposed policy against real, observed device communication before enforcement.
  • Surface every flow that would be blocked, including dependencies the team did not know existed.
  • Identify operational dependencies that would break under a proposed policy.
  • Allow teams to iterate on a policy in simulation until the impact is acceptable, then push it to enforcement tools.
Automate Policy Creation Across NAC and Firewall Infrastructure

Once a policy is agreed upon, network teams still have to write it in the precise format of each NAC or firewall, and every vendor is different. Manual policy creation at scale is error-prone, time-consuming, and one of the primary reasons segmentation initiatives stall in pilot.

Organizations should look for solutions that:

  • Automatically generate precise, conflict-free policies in the native format of the target enforcement tool, across NAC and firewall infrastructure, including DACLs, Security Groups, and Group-Based ACLs.
  • Detect every new device joining the network and propose the correct policy automatically.
  • Identify conflicts and overlaps before policies are pushed to enforcement tools.
  • Push continuous updates so enforcement never lags behind a changing environment.
Treat Segmentation as a Continuous Process, Not a One-Time Project

Static policies that require constant manual intervention become outdated as new devices appear, configurations change, and vulnerabilities evolve. Most segmentation initiatives fail because policies do not remain effective as the network evolves.

Organizations should look for solutions that:

  • Continuously adapt segmentation policies based on device behavior, risk posture, and network topology changes.
  • React to firmware changes, vulnerability disclosures, and behavior shifts with automated policy updates.
  • Detect devices whose risk profile has changed enough to require policy re-tiering.
  • Replace the periodic-review model with always-current enforcement.
Continuously Audit Policies To Prevent Drift and Sprawl

Even well-designed segmentation policies degrade over time. Conflicting rules, redundant policies, and drift from original intent silently erode the security value of segmentation without anyone noticing.

Organizations should look for solutions that:

  • Continuously evaluate policies for errors, conflicts, and redundancy.
  • Flag when policies are no longer needed or have been made redundant by changes in device or network configuration.
  • Identify opportunities to consolidate multiple policies for easier maintenance.
  • Automatically recommend optimizations that maintain segmentation effectiveness without overwhelming networking teams with manual management.
How Asimily Closes the Gap Between Risk Intelligence and Enforced Policy

Most security programs already know that lateral movement is the risk. Where they stall is the distance between identifying the riskiest devices and enforcing a policy that contains them without disrupting operations. Asimily, the Proactive Cyber Defense Platform, closes that gap across IoT, OT, IoMT, and IT.

Inventory and Visibility: Asimily captures a complete, authoritative, continuously updated inventory of every connected device, agentlessly, using both passive scanning and active safe scanning where appropriate. Deep packet inspection, AI and ML classification, and multi-source correlation discover every IoT, OT, IoMT, and IT asset, including services, connections, and firmware versions, without disrupting the devices or networks it monitors.

ATT&CK Analysis: Every vulnerability finding is evaluated through Asimily’s ATT&CK Analysis, our core IP. Rather than relying on generic CVSS scoring, ATT&CK Analysis maps each vulnerability against adversary techniques to determine whether it is actually exploitable on a specific device in a specific environment and network topology. The result is a prioritized queue where every item reflects real risk, and the team works on the smallest list necessary to achieve the greatest risk reduction.

Segmentation Orchestration: Asimily’s Segmentation Orchestration is the intelligence and policy orchestration layer that turns a deployed but underutilized NAC or firewall into operational segmentation. Policy Auto-Recommendation tells teams where to begin and what to prioritize. Policy Creation generates enforcement rules in the native format of the target infrastructure, across NACs and firewalls, expressed as DACLs, Security Groups, and Group-Based ACLs. Policy Simulation validates every proposed policy against real, observed traffic before anything is applied, surfacing every flow that would be blocked so teams can iterate safely. Policy Application pushes rules to enforcement infrastructure across supported platforms.

Continuous Segmentation: Networks are not static. Devices are added, patched, decommissioned, and moved, and IP addresses and OS versions change. Continuous Segmentation tracks whether policies still match the current state of the network and adapts enforcement so it never falls behind. The Intelligent Policy Engine monitors for anomalous behavior and triggers protective actions, up to enforced quarantine, when warranted.

Policy Audit: Policies accumulate over time, and policy sprawl is an operational risk, not a theoretical one. Asimily’s audit capability continuously merges, deduplicates, and optimizes policies so enforcement stays effective without overwhelming network teams.

Threat Detection and Response: Asimily remains the only connected device security platform with native packet capture for forensic incident response across IoT, OT, IoMT, and IT. When a device is implicated in a lateral movement incident, native packet capture shortens the investigation and limits the blast radius.

Discover Asimily’s Segmentation Orchestration feature and learn how to prevent lateral movement on your network.

Frequently Asked Questions About Lateral Movement

What is lateral movement in cybersecurity?

Lateral movement is the set of techniques attackers use to move from an initially compromised system to other systems and accounts on the same network, in pursuit of higher-value targets. MITRE ATT&CK catalogs it as tactic TA0008.

What is the difference between lateral movement and privilege escalation?

Privilege escalation increases an attacker’s permissions on a system they already control. Lateral movement increases the number of systems they control. Attackers typically alternate between the two, moving laterally with standard credentials until they find a system where they can escalate, then using the higher privileges to reach more destinations.

How long does lateral movement go undetected?

It varies widely. Automated worms complete lateral movement in minutes, while state-sponsored groups have maintained access for months or years. Dwell time is longest in environments where internal traffic is not monitored and where a significant share of devices cannot run detection agents.

What are the most common lateral movement techniques?

Abuse of remote services such as RDP, SMB, SSH, and WinRM (T1021) is the most common, followed by reuse of stolen authentication material through pass-the-hash and pass-the-ticket (T1550), exploitation of vulnerable internal services (T1210), and lateral tool transfer (T1570).

What are the warning signs of lateral movement?

Indicators include a single account authenticating to an unusual number of hosts, network logons from sources that have never been used before, internal scanning or enumeration patterns, connected devices initiating protocols outside their normal profile, and administrative tools running on systems where they are not normally used.

How does network segmentation stop lateral movement?

Segmentation removes the network reachability that lateral movement depends on. When a compromised device cannot open a connection to systems outside its authorized zone, an attacker has no path to the next hop regardless of what credentials they hold.

How do you detect lateral movement on devices that cannot run an agent?

Detection has to come from the network rather than the endpoint. Baselining each device’s normal communication, monitoring east-west traffic, correlating authentication events, and retaining packet capture for forensic review provide the signal that an agent would otherwise supply.

Does lateral movement affect OT and medical devices?

Yes, and often more severely than IT systems. OT and IoMT devices frequently run unpatched firmware, use shared or default vendor credentials, and sit on flat networks with broad reachability. They also cannot be taken offline easily for remediation, which extends the window during which an attacker can use them as a pathway.

Secure Every IoT Device.
Automatically.

Cyber threats move fast — so should you. Asimily gives instant inventory and smart, prioritized risk mitigation insights for every IoT, OT, and IoMT device — so you can take action before threats strike.