Skip to content

RDP Lateral Movement Detection ​

FieldValue
Module ID376
DifficultyHard
TierTier I
CategoryDefensive
Estimated Time2 hours
Cubes Earned10
Experience Points1420
Creatorsletsdefendio
Last Updated2026-06-24T18:26:55.000000Z
URLhttps://academy.hackthebox.com/app/module/376

Module Includes ​

  • 7 Sections
  • 5 Interactive Exercises
  • 0 Assessments
  • 10 Cubes

Module Description ​

In today's digital landscape, detecting lateral movement is crucial for maintaining a secure network environment. This module offers in-depth insights into identifying and responding to RDP (Remote Desktop Protocol) lateral movement—a common technique employed by cyber attackers to navigate through compromised systems. Through a blend of theoretical knowledge and practical exercises, participants will gain a thorough understanding of the tactics, techniques, and procedures (TTPs) used in lateral movement attacks. Additionally, the module will provide hands-on tutorials for implementing effective detection and response strategies, enabling learners to safeguard their organization's networks more efficiently.

Module Summary ​

The RDP Lateral Movement Detection module is designed for

  • Cybersecurity professionals seeking to strengthen their incident detection capabilities and
  • Network security analysts focusing on threat detection and response. Throughout this module, students will develop
  • Develop skills to detect and analyze RDP lateral movement in network environments, - Understand the tactics used in lateral movement attacks, and
  • Gain practical experience through guided tutorials and real-world scenarios.
  • Basic understanding of networking concepts

  • Familiarity with cybersecurity principles

  • Knowledge of remote desktop protocol (RDP)

Sections ​

7 sections - 5 Interactive

#GroupTypeTitle
1NonetheoryIntroduction
2interactiveDetecting RDP Activity via Event Logs
3interactiveDetecting RDP Activity via Process Execution
4interactiveDetecting RDP Activity via Registry
5interactiveDetecting RDP Activity via Bitmap Cache
6interactiveDetecting RDP Bruteforce Activity
7theoryRDP Lateral Movement Detection Quiz

Conclusion ​

In this module, we covered the detection of RDP-based lateral movement by analyzing Windows event logs including Event ID 4624 (logon types 7 and 10), TerminalServices-LocalSessionManager events 21, 22, and 25, the MRU registry key for recently accessed RDP targets, RDP Bitmap Cache analysis using BMC-TOOLS and RDP Cache Stitcher, and additional artifacts such as UserAssist, BAM, Prefetch, and DeepBlueCLI for corroborating attacker activity.

Module key takeaways:

  • Event ID 4624 with logon type 10 (RemoteInteractive) indicates an RDP logon; type 7 indicates an RDP reconnection to an existing session
  • TerminalServices-LocalSessionManager Event IDs 21, 22, and 25 log session connection, reconnection, and disconnection events with source IP and username
  • The MRU (Most Recently Used) registry key under HKCU\Software\Microsoft\Terminal Server Client\Default records RDP targets the user recently connected to
  • RDP Bitmap Cache stores graphical tiles from remote sessions as .bmc files; BMC-TOOLS extracts these tiles and RDP Cache Stitcher reconstructs partial screenshots of what the attacker saw on the remote desktop
  • UserAssist registry entries record GUI application executions with timestamps and run counts, helping confirm if RDP client was manually launched
  • BAM (Background Activity Monitor) and Prefetch files provide corroborating timestamps for program execution during the investigation timeline
  • DeepBlueCLI automates Windows Security event log analysis and flags suspicious patterns such as password spraying, new admin accounts, and PowerShell obfuscation