Remote Service Session Hijacking: RDP Hijacking T1563.002

Tactic: Lateral Movement

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).

Events covered

10 catalog events are tagged with this technique by at least one rule.

Authoring guide

Patterns shared across the 8 rules above: which fields they filter on, what specific values they look for, and what they exclude. The catalog normalizes field names across vendors so Sigma's Image, Elastic's process.name, and Splunk's process_name collapse into one row. Each rule contributes at most once per row.

Fields filtered most (16 distinct)

The fields most rules look at when detecting this technique. The How column shows the operators authors use (eq, wildcard, regex_match, match) and how often each appears. Sample values are concrete examples to start from, not an exhaustive list.

FieldRulesHowSample values
CommandLine4contains 4 /dest:rdp-tcp#, /dest:rdp-tcp, dest:rdp-, noconsentprompt, shadow:
process_name3eq 2, match 1(?i)rdpclip.exe, (?i)tstheme.exe, rdpsaproxy.exe, rdpsauachelper.exe, sc.exe
EventID2eq 21149, 4688, 4778, 4779
Details1eq 10x00000001, 0x00000002, 0x00000003
ImagePath1contains 1/dest:rdp-, tscon
OriginalFileName1eq 1mstsc.exe
ServiceFileName1contains 1/dest:rdp-, tscon
TargetObject1ends_with 1\software\policies\microsoft\windows nt\terminal services\shadow
event.category1eq 1process, registry
event.type1eq 1change, start
parent_process_name1eq 1svchost.exe
prefix1eq 1src_
process.args1starts_with 1/shadow:
registry_value_name1eq 1Shadow
signature_id1match 1(?i)4778, (?i)4779

Top indicator values (40 distinct)

Specific (field, operator, value) combinations the rules check for, ranked by how many rules under this technique use each one. The Corpus reach column counts how many rules across the entire catalog (any technique) check the same combination. High numbers point to widely-used indicators that are likely noisy on their own; combine them with another condition for useful signal. Blank means the combination is specific to rules under this technique. Click a value to expand the rules under this technique that use it.

FieldKindValueRules (here)Corpus reach
CommandLinecontains
/dest:rdp-tcp#
1
CommandLinecontains
/dest:rdp-tcp
1
CommandLinecontains
dest:rdp-
1
CommandLinecontains
noconsentprompt
1
CommandLinecontains
shadow:
1
CommandLinecontains
tscon
1
Detailseq
0x00000001
163
Detailseq
0x00000002
14
Detailseq
0x00000003
1
Detailseq
0x00000004
14
Detailseq
1
113
Detailseq
2
13
Detailseq
3
12
Detailseq
4
13
EventIDeq
1149
1
EventIDeq
4688
1313
EventIDeq
4778
12
EventIDeq
4779
13
ImagePathcontains
/dest:rdp-
1
ImagePathcontains
tscon
1
OriginalFileNameeq
mstsc.exe
15
ServiceFileNamecontains
/dest:rdp-
1
ServiceFileNamecontains
tscon
1
TargetObjectends_with
\software\policies\microsoft\windows nt\terminal services\shadow
1
event.categoryeq
process
1128
event.categoryeq
registry
14
event.typeeq
change
177
event.typeeq
start
1606
parent_process_nameeq
svchost.exe
113
prefixeq
src_
15

Rules under this technique

Every rule in the catalog tagged with this technique, grouped by vendor. Click a rule title for its full predicates, exclusions, and indicators.

Platform (all)
Domain (all)

Sigma 4 rules

Elastic 1 rule

Splunk 3 rules