For the complete documentation index, see llms.txt. This page is also available as Markdown.

Overview

Lateral movement is the process of expanding access from a compromised host to other systems within the environment. It uses the credentials, permissions, and network paths discovered to reach systems that are closer to the engagement's objectives.

Strategic context

A single compromised host is rarely sufficient to accomplish engagement objectives. The data, systems, or access that matter are often on other machines. Lateral movement is how the operator reaches them.

Effective lateral movement is deliberate and selective. It is guided by the identity mapping, credential discovery, and network visibility developed during reconnaissance and privilege escalation. Moving laterally without a clear objective generates unnecessary risk and traffic.

The choice of lateral movement technique matters. Different techniques use different protocols, leave different artifacts, and carry different detection profiles. An operator who uses PsExec when WMI would suffice is choosing a noisier path. An operator who relays credentials when they could authenticate directly is adding unnecessary complexity.

For security leaders, lateral movement reveals the consequences of flat networks, permissive administrative access, and insufficient monitoring. The primary defenses are network segmentation, least privilege enforcement, credential hygiene, and monitoring for abnormal authentication patterns.

Categories of lateral movement

Credential-based authentication

The most common form of lateral movement is simply authenticating to another system using discovered credentials. This includes password-based authentication, hash-based authentication (pass the hash), and ticket-based authentication (pass the ticket).

Remote execution protocols

Windows environments provide multiple protocols for remote command execution: SMB, WMI, WinRM, and SSH. Each has a different detection profile, artifact footprint, and prerequisite.

Common mistakes

  • Moving laterally before understanding what systems contain the objectives

  • Using PsExec by default when quieter alternatives exist

  • Not considering the detection profile of the chosen technique

  • Failing to clean up artifacts on intermediate hosts

  • Tunneling through multiple hosts without tracking the tunnel chain

  • Moving laterally with noisy credential spraying rather than targeted authentication

Operator notes

  • Lateral movement should be targeted. Know where you need to go and why before moving

  • WMI and WinRM are generally quieter than SMB-based execution. Choose the technique appropriate to the engagement's stealth requirements

  • Pass the hash is often sufficient. Not every hash needs to be cracked before it is useful

  • Tunneling adds complexity. Keep the tunnel chain as short as possible and document it carefully

  • Every lateral movement action leaves some trace. Consider what artifacts are created and whether they need to be addressed

Last updated