Has targeted victims with remote administration tools including RDP.1
RDP Hijacking T1563.002
- Tactic
- Lateral Movement
- Platform
- Windows
- Version
- 1.1
- Created
- 25 February 2020
- Last modified
- 24 October 2025
Adversaries may hijack a legitimate user’s remote desktop session to move laterally within an environment. Remote desktop is a common feature in operating systems. It allows a user to log into an interactive session with a system desktop graphical user interface on a remote system. Microsoft refers to its implementation of the Remote Desktop Protocol (RDP) as Remote Desktop Services (RDS).[1]
RDP Hijacking MITRE reference T1563.002
1 group has been recorded using this technique. Newest first; each entry carries MITRE’s procedure text and a link to the group’s full record. Click a name to filter the rules below.
All 1 groups for this technique
1 software entry is documented implementing this technique. MITRE files each as a tool or as malware; newest first, then by how many groups carry them.
Enumerates current remote desktop sessions and tries to execute the malware on each session.1
All 1 software entries for this technique
Offense vs defense T1563.002
Is defensive coverage keeping up with adversary use? Eight counts, each ranked against all 697 ATT&CK techniques. Attack sits left, defense right, so a shape leaning left means adversaries are better documented here than defenders are equipped. Hover any spoke for its percentile and the share of techniques that have more. The timeline below shows when each side arrived.
How it got here
Adversary activity (campaign spans) over cumulative rule output. Each source is plotted independently from zero, so neither line includes the other. Campaign dates are year-granularity.
RDP Hijacking detection strategy DET0588
MITRE names one behaviour worth catching for this technique and breaks it into 1 analytic, one per platform. Each carries the log sources it needs and the fields you tune per environment.
Detection of Remote Service Session Hijacking for RDP.
AN1620 · Windows
Detection of suspicious use of tscon.exe or equivalent methods to hijack legitimate RDP sessions. Defenders can observe anomalies such as session reassignments without corresponding authentication, processes spawned in the context of hijacked sessions, or unusual RDP network traffic flows that deviate from expected baselines.
Log sources
The data this analytic draws on. You do not need every component — each one you already collect covers part of it. Each links to its ATT&CK record.
| Data component | Name | Channel |
|---|---|---|
| Process CreationDC0032 | WinEventLog:Sysmon | EventCode=1 |
| Service CreationDC0060 | WinEventLog:System | EventCode=7045 |
| Logon Session CreationDC0067 | WinEventLog:Security | EventCode=4624, 4648 |
| Network Connection CreationDC0082 | WinEventLog:Sysmon | EventCode=3, 22 |
Tunable fields
MITRE calls these the analytic’s mutable elements: the thresholds and filters you set for your own environment.
| Field | What you tune |
|---|---|
| ExpectedRDPHosts | Whitelist of systems and accounts authorized to use RDP; deviations indicate possible hijacking. |
| TimeWindow | Time threshold for correlating logon events with session reassignment and process execution. |
| SessionIDMapping | Environment-specific mapping of user accounts to session IDs; inconsistencies may reveal hijacking. |
Audit the Remote Desktop Users group membership regularly. Remove unnecessary accounts and groups from Remote Desktop Users groups.
Disable the RDP service if it is unnecessary.
Use remote desktop gateways.
Enable firewall rules to block RDP traffic between network security zones within a network.
Change GPOs to define shorter timeouts sessions and maximum amount of time any single session can be active. Change GPOs to specify the maximum amount of time that a disconnected session stays active on the RD session host server.
Consider removing the local Administrators group from the list of groups allowed to log in through RDP.
Limit remote user permissions if remote access is necessary.
| # | Test | Platform | Executor | Elevation | Prereqs | Cleanup | Ref | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 01 | RDP hijacking | windows | cmd | Required | — | Yes | ||||||||||||||
RDP hijacking - how to hijack RDS and RemoteApp sessions transparently to move through an organization Input arguments
Attack command query user
sc.exe create sesshijack binpath= "cmd.exe /k tscon #{Session_ID} /dest:#{Destination_ID}"
net start sesshijack
Cleanup command sc.exe delete sesshijack >nul 2>&1 GUID610cc189-cf96-4945-bb19-0f85bee3a054 | ||||||||||||||||||||
Tests from Atomic Red Team (MIT licence) · technique definition