Overview
Lateral movement in Windows environments involves using compromised credentials, hashes, or tickets to execute commands on other systems within the network. This page covers the primary Windows lateral movement techniques and their tradeoffs.Core Lateral Movement Techniques
PsExec
Creates a remote service to execute commands. Requires admin rights. Writes a service binary to disk — noisier than alternatives.
WMI / WmiExec
Uses Windows Management Instrumentation for remote execution. Leaves fewer traces than PsExec. Requires admin rights.
WinRM / PSRemoting
PowerShell remoting over HTTP/HTTPS. Clean and scriptable. Requires WinRM enabled on the target.
DCOM Exec
Uses COM objects (MMC20.Application, ShellWindows, ShellBrowserWindow) for remote execution. Rarely blocked by firewalls.
AtExec / SchtasksExec
Creates a scheduled task on the remote system to execute commands. Useful when other methods are blocked.
SMBExec
Similar to PsExec but uses named pipes over SMB. Does not write a service binary — slightly stealthier.
PsExec
PsExec creates a service on the remote host that runs commands as SYSTEM:WMI Execution (WmiExec)
WinRM / PSRemoting
DCOM Execution
Scheduled Tasks (AtExec / SchtasksExec)
RDP Lateral Movement
SCM Execution (SCMExec)
Use the Service Control Manager to create and execute a service:CrackMapExec for Lateral Movement
CrackMapExec (CME) / NetExec provides a unified interface for many lateral movement methods:Credential Reuse Spraying
Pass-the-Ticket for Lateral Movement
MSSQL Lateral Movement
RDP Session Injection (Third-Party Sessions)
If you have SYSTEM access and another user has an active (even disconnected) RDP session:Cloud Lateral Movement
- Pass-the-Cookie — steal Azure AD SSO cookies from browser memory
- Pass-the-PRT — use Primary Refresh Tokens for Azure AD auth
- Pass-the-Certificate — use Azure AD device certificates for auth