Lateral Movement and Pivoting

Overview

This room covers how attackers move through an environment after gaining an initial foothold. It focuses on common lateral movement techniques, remote process execution, using alternative authentication material, and leveraging compromised hosts as pivots to reach deeper network segments.

Core idea: compromise is rarely the end of the attack. Once inside, the real work is moving laterally, extracting better access, and using new footholds to reach systems that matter.

1) What Lateral Movement Is

Lateral movement is the set of techniques used to move from one compromised host to others in the same network.

The room presents this as a cycle: compromise, elevate, extract credentials, move, then repeat.

2) Why Pivoting Matters

A compromised host is often useful not because it is valuable itself, but because it can reach systems you cannot.

Operational point: a quieter path through a plausible host is usually better than a direct but suspicious path from your first foothold.

3) Admin Accounts and UAC

The room makes an important distinction between local admins and domain admins with local admin rights.

4) Remote Process Creation with PsExec

PsExec remains one of the classic Windows lateral movement tools.

The required privilege level is administrative access on the remote host.

5) WinRM and Remote PowerShell

Windows Remote Management is another major lateral movement path.

This is often cleaner and more admin-like than dropping custom tooling.

6) Creating Services and Scheduled Tasks Remotely

The room also covers native Windows methods to execute code remotely.

These methods are powerful because they use built-in OS tooling, but they are often blind in the sense that you do not directly receive command output.

7) Service Payloads and Reverse Shells

The room points out an important operational detail: not every executable behaves correctly as a Windows service.

8) Runas for Token Context

The room reuses a familiar AD trick: runas /netonly to execute network actions under another credential set.

9) WMI for Lateral Movement

Windows Management Instrumentation gives another major route for remote execution and service creation.

Tradeoff: WMI is flexible and native, but like some service-based methods, it often gives you limited direct output back.

10) Practical Lateral Movement Mindset

This room is about selecting the least noisy route that still gets the job done.

Exam Notes (PT1)