ATT&CK coverage › Technique

Remote Services: Windows Remote Management T1021.006

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

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

ProviderEvent IDTitle
Sysmon1Process creation
Sysmon3Network connection
Sysmon10ProcessAccess
Security-Auditing4688A new process has been created.
PowerShell4103Payload Context: ContextInfo User Data: UserData.
PowerShell4104Creating Scriptblock text (MessageNumber of MessageTotal).
PowerShell400

Authoring guide

Patterns shared across the 15 rules above: which fields they filter on, what specific values they look for, and what they exclude. Field names are normalized 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 (18 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
Image6ends_with 4, eq 2\ruby.exe, C:\Windows\System32\conhost.exe, C:\Program Files (x86)\Avast Software\Avast\AvastSvc.exe, C:\Program Files\Avast Software\Avast\AvastSvc.exe, :\Windows\system32\wsmprovhost.exe
ScriptBlockText5eq 3, match 2, in 1"*-ComputerName*", Enable-PSRemoting , invoke-command , -ComputerName , "*Enter-PSSession*"
CommandLine3match 2, eq 1-i , -p , -u , /remote:127.0.0.1, /r:127.0.0.1
EventID3eq 34104
ParentImage2ends_with 2\winrshost.exe, \wsmprovhost.exe
process_name2eq 1, in 1"mmc.exe", "cmd.exe", "pwsh.exe", "*powershell*"
SourceIsIpv61eq 1false
user1match 1SEAU, SERVICIO DE RED, NETZWERKDIENST
src_ip1eq 1127.0.0.1, ::1
Initiated1eq 1true
dest_ip1eq 1127.0.0.1, ::1
DestinationPort1eq 15985, 5986
GrantedAccess1eq 10x80000000
TargetImage1ends_with 1\lsass.exe
Data1match 1wsmprovhost.exe, HostName=ServerRemoteHost

Top indicator values (59 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.

FieldKindValueRules (here)Corpus reach
EventIDeq41043108
ScriptBlockTexteq"*-ComputerName*"23
ScriptBlockTextmatchEnable-PSRemoting 1
ScriptBlockTextmatch -ComputerName 1
ScriptBlockTextmatchinvoke-command 1
CommandLinematch-p 12
CommandLinematch-u 13
Imageends_with\ruby.exe12
CommandLinematch-i 1
ImageeqC:\Windows\System32\conhost.exe12
ParentImageends_with\winrshost.exe1
Initiatedeqtrue140
dest_ipeq::11
DestinationPorteq598612
usermatchNETWORK SERVICE1
usermatchSERVIZIO DI RETE1
SourceIsIpv6eqfalse1
usermatchSERVICIO DE RED1
ImageeqC:\Program Files\Avast Software\Avast\AvastSvc.exe1
dest_ipeq127.0.0.112

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.

Sigma 10 rules

Splunk 5 rules