Glossary
Lateral movement
An attacker moving from one compromised host to others in the network, using RDP, SMB, PsExec, WMI, WinRM or remote tasks and services.
Lateral movement is the phase of an intrusion in which an attacker uses a foothold on one machine to reach others in the same network, usually with stolen credentials. MITRE ATT&CK tracks it as a dedicated tactic. On Windows the common techniques are Remote Desktop, SMB access to administrative shares, PsExec-style remote service creation, WMI, WinRM and PowerShell Remoting, and remotely created scheduled tasks or services.
Evidence is split between two machines, and a good investigation looks at both. On the source host you find traces of the outbound action: the client tools that were run, RDP client history, and logons made with explicit credentials. On the destination host you find the inbound side: Security logon events with a network or remote-interactive logon type, new services such as the one PsExec installs, new scheduled tasks, and processes spawned by WmiPrvSE.exe or wsmprovhost.exe.
The main sources are the Windows event logs, where a handful of event IDs (4624, 4648, 7045, 4698) carry most of the weight, and the RDP connection artifacts. Correlating timestamps, account names and source addresses across hosts lets you rebuild the path the attacker took. Because attackers often rely on built-in administration tools, lateral movement overlaps heavily with LOLBin abuse, and it frequently precedes the installation of persistence on the newly reached host.
Related artifacts
- Group Policy artifactsGroup Policy cheat sheet: SYSVOL policies, Registry.pol, GPP passwords, client-side history and event logs, and how attackers abuse GPO for mass deployment.
- IIS Web Server LogsIIS logs cheat sheet: W3C log location per site, UTC timestamps, default fields, HTTPERR, applicationHost.config and how to hunt webshells on Windows servers.
- NTDS.dit and domain controllersNTDS.dit cheat sheet: the Active Directory database, what it proves, theft traces on a DC, and the Kerberos, NTLM and DCSync event IDs investigators need.
- OpenSSH Server and ClientOpenSSH on Windows cheat sheet: sshd event log, sshd_config and host keys, authorized_keys persistence, known_hosts, client traces and reverse tunnels.
- RDP bitmap cacheRDP bitmap cache cheat sheet: bcache*.bmc and Cache*.bin files on the RDP client, what screen tiles reveal, timestamps, and rebuilding screens with bmc-tools.
- RDP connection artifactsRDP forensics cheat sheet: target-side event IDs (4624 type 10, 1149, 21–25, 131) and source-side traces (Terminal Server Client keys, Default.rdp, 1024).
- Remote access tools (RMM)RMM and remote access tool cheat sheet: AnyDesk, TeamViewer, ScreenConnect and more, their log files, connection IDs, IPs and timestamps, and how to hunt abuse.
- Scheduled TasksScheduled tasks cheat sheet: task XML and .job files, TaskCache registry keys, DynamicInfo times, hidden tasks, TaskScheduler and 4698 events.
- Windows event logs (EVTX)Windows event log cheat sheet: EVTX locations, must-know event IDs for logons, processes, services and log clearing, retention, audit policy and parsing tools.
- Windows Firewall LogsWindows Firewall cheat sheet: pfirewall.log format and defaults, rule change events 2004-2006, WFP audit 5156/5157, rules in the registry and netsh abuse.
- Windows ServicesWindows services cheat sheet: Services key values (ImagePath, Start, Type, ServiceDll), 7045 and 4697 install events, PsExec traces and pitfalls.
- WMI repository and SCCM RecentlyUsedAppsWMI repository cheat sheet: OBJECTS.DATA, event filters, consumers and bindings, WMI-Activity 5857–5861, MOF files and SCCM CCM_RecentlyUsedApps.