Threat Intelligence

Lateral Movement & Attack Paths: Detection and Defense

Map how identities, remote channels, and critical targets create movement paths, then reduce reach and detect new relationships.

Alex Gibson, Cofounder and Principal at Artemes AI
Alex Gibson
Cofounder, Principal
Sep 4, 2026 16 min read
Lateral movement chain from foothold through identity and remote channel to a critical objective with defensive gates

Lateral movement is not an attacker teleporting across a network. It is your own trusted access working for the wrong person.

That distinction changes the defense. Malware may create the first foothold, but ordinary credentials, remote administration, file shares, cloud consoles, and management tools often carry the intrusion toward valuable systems. Blocking one known tool will not fix that path. You have to reduce which identities can reach which targets, then watch the relationships that remain.

This guide explains what lateral movement means, how attackers build a path, which signals reveal it, and how to make the route shorter. The goal is not a network where nobody can move. The goal is a network where legitimate work has narrow routes and abnormal movement becomes expensive, visible, and containable.

Infographic

Lateral movement is a chain of usable trust

Attackers move when one identity, one remote channel, and one reachable target line up. Break any link and the path stops.

Lateral movement attack path with four defensive gatesAn attack progresses from a foothold to a credential, remote channel, target system, and objective. Defensive gates for credential isolation, channel restriction, target segmentation, and behavior detection interrupt the route.FootholdOne host or sessionIdentityUsable credentialChannelRDP, SMB, SSH, WinRMTargetReachable systemObjectiveData or controlGate 1Keep powerful credentialsoff lower trust hostsGate 2Allow remote protocolsonly from managed sourcesGate 3Segment critical systemsand management planesGate 4Correlate identity,process, and networkDefend the relationship, not just the endpointIdentity + channel + target + time tells the real story

What is lateral movement in cybersecurity?

Lateral movement is the set of actions an intruder uses to enter and control additional systems after gaining an initial foothold. The MITRE ATT&CK lateral movement tactic currently lists nine top level techniques. They include remote services, exploitation of remote services, session hijacking, internal spearphishing, software deployment tools, alternate authentication material, and moving tools between hosts.

Movement can cross devices, applications, identity systems, cloud services, or administrative planes. An actor might use one laptop session to obtain a service account, use that account over SMB to reach a server, then use a backup console to reach the virtualization layer. The route is lateral because control expands across trust relationships. Privilege may rise along the way, but elevation is not required for every hop.

Defenders often focus on the executable. That is too narrow. RDP, SSH, WinRM, cloud command consoles, and software deployment platforms are legitimate. The malicious part is the combination of identity, source, destination, time, and action. The same command can be routine from a managed workstation during a change window and a severe incident from a receptionist laptop at 2 a.m.

How is lateral movement different from initial access and privilege escalation?

Initial access gets the attacker inside. Privilege escalation increases what an identity or process can do. Lateral movement expands control to another system or service. Discovery maps possible routes. Credential access supplies keys. Those tactics overlap in real incidents, but separating them helps teams place controls and measure where the chain broke.

Consider a phished user session. The actor queries directory groups, finds a server administrator logged onto the same device, steals reusable credential material, and authenticates to a file server. Discovery found the target. Credential access obtained authority. The remote authentication was lateral movement. If the account then abuses a weak service permission to become local administrator, that step is privilege escalation.

The categories are not paperwork. They reveal different owners. The identity team can remove reusable secrets. The platform team can restrict remote protocols. The server owner can narrow local rights. Detection engineers can correlate the sequence. One alert product cannot repair all four design failures.

What conditions make a lateral movement path usable?

Three conditions must line up: a usable identity, an allowed channel, and a reachable target. Context supplies a fourth condition, time. Attackers win when those elements are broad and independent. Defenders win when each is narrow and the combination is observed.

A usable identity can be a password, hash, Kerberos ticket, SSH key, cloud token, certificate, local account, or active session. The attacker does not care whether the organization labels it human or machine. If it authenticates and grants useful access, it is part of the path.

An allowed channel is any mechanism that can carry authentication and action to another target. RDP offers an interactive desktop. SMB can expose shares and administrative functions. WinRM and SSH provide remote commands. Virtualization, backup, endpoint management, and cloud consoles can act as much larger channels because one control plane reaches many systems.

A reachable target is not merely a host with an open port. It is a system the identity can influence. Effective permission, local group membership, delegated administration, trust, software deployment scope, and network policy decide reach. This is why Active Directory hardeningshould be measured in closed paths to control, not settings applied.

How does a lateral movement attack unfold?

First, the actor establishes a stable foothold and identifies the local context. Which user is active? Is the device joined to a domain? Which security tools run? What routes and name services reveal the internal network? Native commands and application interfaces answer most of those questions without a custom scanner.

Next comes identity collection. The actor looks for secrets in process memory, browser stores, scripts, configuration files, scheduled tasks, shell history, cached sessions, and poorly protected service accounts. They also look for identities that can be coerced or reset. The easiest credential is often the one an administrator brought onto the compromised host.

Then the actor tests a remote route. A quiet operator may authenticate to one likely server. A noisy tool may spray the same credential across dozens. Successful access reveals more groups, sessions, shares, tokens, and management tools. Each host becomes a new source for the next hop.

Finally, the path reaches an objective: directory control, source code, customer data, backup administration, hypervisors, production orchestration, or a broad software deployment system. At that point the attacker can steal, encrypt, destroy, or establish a route that survives password resets. The last hop gets attention. The earlier trusted relationships made it possible.

Which lateral movement techniques matter most?

Remote services dominate because businesses need them. RDP, SMB, SSH, WinRM, VNC, and cloud administration all solve legitimate work. Attackers hide inside that demand. Restrict each protocol by source, target, identity, and purpose. An open port from every workstation to every server is not flexibility. It is an attack graph.

Alternate authentication material matters because changing a password may not remove a stolen session, hash, ticket, certificate, or token. Response plans should revoke the artifact and investigate where it was usable. Our guide to implementing least privilege explains why current access paths matter more than the intended role name.

Software deployment and remote management tools deserve control plane treatment. A platform that can run code on 5,000 endpoints is a tier zero asset even if procurement calls it an operations tool. Protect its administrators, service identities, update path, logging, recovery, and network access accordingly.

Cloud movement looks different but follows the same model. An actor can use a synchronized identity, workload credential, delegated application, serial console, session manager, or orchestration role to cross services and accounts. Network segmentation alone will not stop an identity that has cloud control plane permission.

How does lateral movement change across Windows, Linux, and cloud systems?

Windows environments concentrate risk in directory identity and familiar administration protocols. Domain accounts, local administrator reuse, Kerberos tickets, SMB, RDP, WinRM, scheduled tasks, and deployment tools can form one connected route. The useful unit of analysis is the authentication edge: source device, account, destination, logon type, and action. A domain admin signing into a member server creates more risk than an open port with no usable identity.

Linux estates often spread trust through SSH keys, sudo rules, automation secrets, shared configuration, mounted storage, and orchestration agents. One private key copied across a server group can turn a single foothold into broad access. Inventory key fingerprints and authorized destinations. Remove interactive shells from service identities, restrict automation runners by environment, and make privileged commands attributable to a person or approved job.

Cloud movement crosses accounts and services through tokens, role assumption, application consent, workload identity, metadata services, CI systems, and control plane APIs. A route may never create an east to west network connection. Log the token issuer, principal, assumed role, target resource, source workload, and session chain. Review which identities can change identity policy itself. Those permissions can create new paths faster than a firewall review can find them.

Hybrid environments join all of these graphs. A synchronized user can start on a laptop, reach an on premises server, retrieve a deployment secret, and use it against a cloud subscription. Do not split the investigation at the platform boundary. Use common identity and asset identifiers so analysts can follow one route through the endpoint, directory, network, build system, and cloud control plane.

What does current incident data say about lateral movement?

Mandiant's April 2026 review of ransomware techniques observed during 2025 found that actors used RDP with compromised or attacker created accounts in about 85 percent of the intrusions reviewed. The same investigations saw SMB, SSH, PsExec, WinRM, WMIC, remote management tools, and virtualization consoles used for movement. The lesson is blunt. Native access remains the main highway.

Microsoft published a public sector case in April 2026 that shows the speed and compounding effect. Within 24 hours of exploiting an internet facing IIS server, the actor used privileged accounts to create a scheduled task on a domain controller and collect directory credentials. Weeks later, one password spray reached at least 14 servers through password reuse.

Those data points expose two weak assumptions. A perimeter tool will not contain a trusted credential after the foothold. An endpoint alert on one host will not explain every system that identity can reach. Incident response needs a path view before the actor uses the path.

How do you detect lateral movement without alerting on every administrator?

Build a baseline of relationships. Which accounts normally reach which systems, from which source devices, over which protocols, during what hours? Then alert on new edges and compressed sequences. A new source plus a powerful identity plus a sensitive target is stronger than any one element alone.

Correlate authentication with process and network evidence. A network logon followed by remote service creation, a scheduled task, a new share connection, or a command interpreter on the destination tells a story. So does one identity reaching ten servers in fifteen minutes when it normally reaches one. Detection should reconstruct the route, not produce ten unrelated alerts.

This defensive PowerShell query uses the documented Get-WinEvent FilterHashtable fields to retrieve recent successful logons, explicit credential use, and special privilege assignments. Run it from an approved administrative context and forward the results centrally for correlation.

Get-WinEvent -FilterHashtable @{
  LogName='Security'
  Id=4624,4648,4672
  StartTime=(Get-Date).AddHours(-1)
} | Select-Object TimeCreated,Id,MachineName,Message

Event 4624 volume will be high. Use logon type, source address, target, account, and device role to narrow it. Network logons and remote interactive sessions deserve attention when the source or relationship is new. Event 4648 can show explicit credentials. Event 4672 marks special privileges. None proves an intrusion alone. Sequence and context create the finding.

How do you prevent lateral movement?

Keep privileged credentials away from lower trust systems. Separate daily user work from administration. Use dedicated management devices for sensitive roles. Rotate local administrator secrets. Prefer managed service identities over human managed passwords. Remove standing domain privilege where temporary elevation can do the job.

Restrict remote channels. Allow RDP, SMB administration, WinRM, SSH, and management APIs only from named sources to named targets. Block ordinary workstations from administering servers. Limit server to server communication to documented service flows. Watch changes to firewall rules and management groups as closely as successful connections.

Segment critical control planes. Domain controllers, certificate authorities, backup systems, hypervisors, deployment platforms, identity connectors, and cloud administration should not share the same trust boundary as user devices. A flat management plane turns one credential into enterprise reach.

Remove unused relationships. Stale local groups, old service accounts, orphaned SSH keys, forgotten remote tools, and broad cloud roles create silent paths. Continuous inventory matters because a quarterly review leaves months for new edges to form.

How should defenders validate lateral movement controls?

Start with a written path and a safe expected outcome. For example: an approved test account on an ordinary workstation must not open an administrative session to a production server, while the same account from a managed administration device should reach one named target. That statement tests identity, source, destination, and channel without asking a tester to improvise across production.

Run prevention and detection checks separately. A denied connection should create policy evidence showing which control stopped it. An allowed test path should create authentication, process, and network records that analysts can join. If the firewall blocks the test but nobody can explain the rule, recovery will be slow. If the session succeeds but produces no useful alert, the route remains invisible.

Include control planes in the exercise. Test whether a lower trust identity can enter backup, virtualization, endpoint management, CI, or cloud administration. Confirm that sensitive administrators cannot sign in from ordinary endpoints. Verify that local secrets differ between systems and that revocation removes active sessions, not just future password use.

Define stop conditions before the test. Unexpected privilege, access outside the named scope, service errors, or missing telemetry should stop the activity and trigger review. Preserve timestamps, account identifiers, source and target names, control decisions, and analyst observations. A successful exercise proves more than one blocked command. It shows that the team can predict, observe, contain, and explain the path.

Repeat the same test after identity changes, network redesign, management platform updates, acquisitions, and major migrations. Trust relationships drift when business systems move. A route closed last quarter can reopen through a new group, connector, agent, or emergency exception. Validation should follow the rate of change, not an annual calendar.

Which lateral movement paths should you close first?

Start with paths that combine a common source, reusable identity, broad channel, and high consequence target. A route from every employee laptop to a domain controller is worse than a narrow route between two application servers, even if both use the same protocol. Reach and consequence set the order.

Use simple math. Suppose 40 administrators can sign into 20 ordinary servers. That creates 800 credential to host relationships where powerful material may appear. Move administration to four managed workstations and block those accounts from ordinary servers. The exposed relationship count falls to 160, an 80 percent reduction, before any new detection product arrives.

Next, rank shared control planes. One backup console with rights across 600 servers may matter more than 600 local findings. Then rank paths that are currently active, recently changed, or missing telemetry. Unknown does not mean safe. It means the team cannot see the route.

How should incident response contain lateral movement?

Contain both the host and the identity. Isolating one device while leaving its stolen token active lets the actor continue elsewhere. Disabling an account while leaving the compromised host online lets the actor collect another. Revoke sessions, rotate exposed secrets, restrict remote paths, and preserve evidence as one coordinated action.

Scope outward from every observed edge. Which systems accepted the identity? Where else was the credential present? Which management tools did it control? What new accounts, tasks, services, keys, certificates, or rules appeared? Resetting one password is not containment when the actor reached the directory or a deployment platform.

Recover trust in order. Secure identity infrastructure and administrative access first. Validate critical control planes. Rebuild or clean affected systems with known evidence. Test business service and authentication. Thealert runbook guide provides a broader model for ownership, evidence, containment, recovery, and review.

Which lateral movement metrics tell the truth?

Count reachable paths to critical systems, powerful credentials present on lower trust hosts, remote protocol relationships, unmanaged management tools, and new authentication edges. Also count identities touching many targets in a short period and the time from the first abnormal edge to containment. Measure coverage for identity, process, and network evidence separately.

Avoid reporting only blocked connections. A falling block count can mean improvement or missing telemetry. Pair it with allowed path inventory and evidence age. A useful metric answers whether the actor has fewer routes and whether the team would see the routes that remain.

What should a 30 day lateral movement reduction plan include?

  1. Week one: name ten critical targets and inventory every identity, source, protocol, and control plane that can reach them.
  2. Week two: remove stale access, block ordinary workstation administration, rotate shared local secrets, and separate privileged sessions.
  3. Week three: centralize authentication, process, service creation, scheduled task, and network evidence. Build one correlation for a new source to critical target edge.
  4. Week four: simulate an approved movement path, verify prevention and detection, rehearse account plus host containment, and record every gap with an owner.

Do not begin with the whole enterprise. Ten important targets will expose the identity and network habits that create most of the risk. Fix the repeated design failure, then expand the map.

Where should you go deeper in the lateral movement cluster?

Start with Kerberoasting defenses when user backed service accounts and RC4 tickets create a credential path. Use the Active Directory hardening guide to protect domain controllers, delegation, certificate services, protocols, and recovery. Then apply the least privilege operating model to remove standing access without breaking approved work.

For endpoint evidence, the endpoint threat hunting guide shows how to turn a hypothesis into repeatable queries. The goal across the cluster is the same: fewer usable paths, better evidence on the paths that remain, and faster containment when trust is abused.

Frequently asked questions

Is lateral movement always malicious?

No. Administrators, applications, and management platforms move across systems every day. Malice appears in the context: an unusual identity, source, target, time, sequence, or action. Baseline relationships before alerting on the protocol alone.

Can network segmentation stop lateral movement?

It can block many network paths, but identity and cloud control planes can cross segments. Combine segmentation with narrow privileges, managed administrative sources, session protection, and behavior detection.

Why is RDP common in lateral movement?

RDP is widely deployed, supports interactive control, and can use valid credentials. Restrict it to managed sources and approved targets, require strong authentication, limit privileges, and watch for new relationships.

What is the fastest way to reduce lateral movement risk?

Keep powerful credentials off ordinary endpoints and block those endpoints from remote administration of critical systems. That removes two common path ingredients at once.

The executive takeaway

Pick ten systems whose loss would stop the business. For each one, list every identity, source, and remote channel that can reach it. Remove stale edges, move administration to managed devices, and alert when a new relationship appears. Deep endpoint context with AI driven analysis can connect identity, process, and network evidence into a usable path. Leadership still has to decide which paths the business needs. Make that trust narrow and visible.

Artemes AI

Put more evidence behind vulnerability decisions

Artemes AI combines endpoint telemetry, sourced vulnerability intelligence, and analysis with practitioner review so teams can examine the evidence, missing context, and recommended next step together. We are accepting early access requests now.

Alex Gibson, Cofounder and Principal at Artemes AI

Alex Gibson

Cofounder, Principal

Alex writes about configuration drift, operational security evidence, endpoint telemetry, triage supported by AI, and the practical work of turning signals into better remediation decisions.

Lateral Movement
Threat Modeling
Blue Team
Found this useful? Share it.

Get articles like this in your inbox.

Security research and occasional Artemes AI product updates.