Remote Services: Windows Remote Management T1021.006

Tactic: Lateral Movement

Adversaries may use Valid Accounts to interact with remote systems using Windows Remote Management (WinRM). The adversary may then perform actions as the logged-on user.

Events covered

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

Authoring guide

Patterns shared across the 37 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 (42 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
CommandLine10contains 6, match 2, regex_match 2, in 1-r:, /r:, (?i)(winrm|winrs|wmic), *powershell*, *pwsh*
EventID8eq 84104, 4688, 1, 3, 7045
Image8ends_with 6, eq 2\winrs.exe, \wsmprovhost.exe, :\windows\system32\wsmprovhost.exe, \ruby.exe, c:\program files (x86)\avast software\avast\avastsvc.exe
ScriptBlockText7contains 5, in 3, eq 1-computername, enter-pssession, invoke-command, -computername , * -concatenate *
parent_process_name7eq 6, contains 1, in 1wsmprovhost.exe, winrshost.exe, mmc.exe, services.exe, svchost.exe
process_name7eq 5, in 3pwsh.exe, cmd.exe, powershell.exe, *powershell*, at.exe
DestinationPort5in 3, eq 25985, 5986, 445
EventType4eq 2, in 2ConnectionAttempt, ConnectionFailed, ConnectionRequest, FileCreated, FileModified
src_ip4ne 2, cidr_match 1, eq 1127.0.0.1, ::1, 0.0.0.0/0
GlobalPrevalence3lt 3, is_not_null 11000, 100
Initiated3eq 3incoming, ingress, true
OriginalFileName3eq 3winrs.exe, powershell.exe, powershell_ise.exe, pwsh.dll
Type3eq 3ServiceAccount
c_process3lt 325
event.type3eq 3start

Top indicator values (543 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
EventIDeq
4104
4268
EventIDeq
4688
2313
DestinationPortin
5985
35
DestinationPortin
5986
35
c_processlt
25
34
event.typeeq
start
3606
parent_process_nameeq
wsmprovhost.exe
36
parent_process_nameeq
winrshost.exe
22
CommandLinecontains
-r:
22
CommandLinecontains
/r:
2
CommandLinecontains
-computername
1
CommandLinecontains
-i
12
CommandLinecontains
-p
12
CommandLinecontains
-remote:
1
CommandLinecontains
-u
15
CommandLinecontains
/computer:
12
CommandLinecontains
/r:127.0.0.1
1
DestinationPorteq
5985
23
DestinationPorteq
5986
23
GlobalPrevalencelt
1000
24
Imageends_with
\winrs.exe
22
Imageends_with
\wsmprovhost.exe
23
Initiatedeq
incoming
210
Initiatedeq
ingress
212
OriginalFileNameeq
winrs.exe
22
ScriptBlockTextcontains
-computername
23
event.categoryeq
process
2128
process_namein
pwsh.exe
222
src_ipne
127.0.0.1
223
src_ipne
::1
221

Exclusions (46 distinct)

Field/operator/value combinations excluded by rules under this technique (top-level not() clauses), sorted by how many rules exclude each. These are the false-positive paths the community has learned to filter out. A new rule that ignores the high-count entries here will likely fire on the same noisy paths. Click a value to expand the rules under this technique that exclude it.

FieldKindValueRules excluding
Imageeq
?:\windows\system32\conhost.exe
2
Imageeq
c:\program files (x86)\avast software\avast\avastsvc.exe
1
Imageeq
c:\program files\avast software\avast\avastsvc.exe
1
Imageeq
c:\windows\system32\conhost.exe
1
dest_ipeq
127.0.0.1
2
dest_ipeq
::1
2
src_ipeq
127.0.0.1
2
src_ipeq
::1
2
CommandLinecontains
/r:
1
CommandLinecontains
/remote:
1
CommandLinecontains
c:\\windows\\ccm\\
1
ContextInfocontains
\windows\system32\windowspowershell\v1.0\modules\microsoft.powershell.archive...
1
GrantedAccesseq
0x80000000
1
HistoricLoginscontains
devicename
1
ImageLoadedstarts_with
c:\windows\assembly\nativeimages_
1

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 14 rules

Elastic 5 rules

Splunk 13 rules

Kusto 4 rules

YARA-L 1 rule