Free tech learning for everyone, from basics to pro

Network SecurityNetworking SecurityIntermediate

Stopping lateral movement: how attackers spread inside networks and the controls that slow them

In short: After getting a foothold, attackers spread to more valuable systems by using normal admin tools such as SMB, RDP, WinRM and WMI with stolen credentials. Network segmentation and host firewalls that block these protocols between workstations, separate admin accounts and jump hosts, unique local passwords and strong monitoring make lateral movement slow and noisy.

Why lateral movement matters

The first device an attacker compromises, usually a user's laptop from a phishing email, is rarely what they want. The prize is the domain controllers, file servers, backups and databases. In most ransomware and data theft cases, there are hours or days between the first compromise and the damage, spent moving laterally. Every control that slows this phase gives defenders more time to notice.

A typical attack path inside a networkInitialaccessphishing,exposed serviceDiscoveryscan, ADqueriesCredentialthefthashes, tokensLateralmovementSMB, RDP,WinRMObjectivedata theft,ransomware
Figure 1. Network controls are most useful in the middle: making discovery noisy and lateral movement hard.

How attackers move

  • Remote administration protocols: SMB (file shares and remote service creation, as used by PsExec), RDP, WinRM/PowerShell remoting, WMI, SSH. These are normal admin tools, which makes misuse hard to spot.
  • Stolen credentials: passwords or hashes taken from memory, browsers or files, then reused ("pass the hash"), and Kerberos ticket attacks.
  • Shared local admin passwords: the same local administrator password on every PC lets one compromise unlock them all.
  • Exploiting internal services that are unpatched because "they are not on the internet".

MITRE ATT&CK lists these under the Lateral Movement tactic (TA0008), a good checklist for defenders.

Network controls

  • Block workstation-to-workstation traffic: users' PCs almost never need to talk to each other. Private VLANs, Wi-Fi client isolation, or host firewall rules that block inbound SMB, RDP and WinRM on workstations remove a huge attack path.
  • Segment servers by role, and only allow admin protocols to servers from jump hosts or admin VLANs, not from every user network.
  • Protect the crown jewels: domain controllers, backup systems and hypervisor management should accept admin access only from dedicated admin networks.
  • Egress filtering and DNS controls limit tool downloads and command-and-control.

Identity controls

  • Tiered administration: separate admin accounts for workstations, servers and domain controllers, so a stolen helpdesk account cannot log in to a domain controller.
  • Windows LAPS: unique, rotating local admin passwords on every machine.
  • MFA for remote admin and privileged access, and privileged access management for the most powerful accounts.
  • Protect credentials in memory (Credential Guard) and remove old protocols such as NTLMv1.

Detecting it

  • Workstations connecting to many other workstations or servers over SMB, RDP or WinRM.
  • Admin accounts logging in from unusual machines or at unusual times.
  • New services created remotely, scheduled tasks and remote PowerShell sessions (EDR and Windows event logs).
  • Honeypots and honey credentials, which give very clear signals.

NDR, EDR and SIEM rules for these patterns turn lateral movement from silent to noisy.

Real-world example: the PC that tried 200 others

An attacker compromised a marketing laptop and tried to use its cached credentials to connect to other PCs and servers over SMB. Because the company had blocked inbound SMB on all workstations with host firewall policy and allowed admin protocols to servers only from jump hosts, every attempt failed. The NDR tool flagged one laptop trying SMB to 200 addresses in five minutes, and the device was isolated before the attacker found another way in.

Practice

Which protocols do attackers commonly use for lateral movement?
SMB, RDP, WinRM/PowerShell remoting, WMI and SSH, often with stolen credentials.
Why is blocking workstation-to-workstation traffic so effective?
Users' PCs rarely need to talk to each other, so blocking it removes a major path for spreading with little impact.
What does Windows LAPS prevent?
Reuse of a single shared local administrator password across many machines.

Key takeaways

  • Attackers spread with normal admin tools and stolen credentials.
  • Block workstation-to-workstation traffic and restrict admin protocols to jump hosts.
  • Use tiered admin accounts, LAPS and MFA to limit credential reuse.
  • Detect unusual admin connections with EDR, NDR, logs and deception.
Tracks your learning on this device only. See your progress on the learning paths.
Verified author✓ Valid
Issued to
Mohamed Fayas
Role
Founder of FM TecHub
Credentials
CCNABTEC HND Network EngineeringBEng (Hons) Computer Networking & Cloud Security
Issuer
FM TecHub · fmtechub.com

He writes practical, plain-English guides on networking, security and cloud.

More about the author →

Original content written by Mohamed Fayas for FM TecHub. © 2026 FM TecHub. You're welcome to share a link to this page; please don't copy the text elsewhere without permission.

Email updates: coming soon

New notes, tools and security news from FM TecHub by email, explained simply. Free. We're not collecting email addresses yet; see our privacy policy.

PortServiceStatus
SMTP/25Email updatesopening soon

Meanwhile, stay connected: