kevmap

TechniquesT1021.006 › AN1313

AN1313 Analytic 1313

Windows · attack.mitre.org · ATT&CK Enterprise v19.2

<p>Adversaries using WinRM to remotely execute commands, launch child processes, or access WMI. The detection chain includes service use, network activity, remote session logon, and process creation within a short temporal window.</p>
Detects
T1021.006 Windows Remote Management
Part of
DET0477 Behavioral Detection of WinRM-Based Remote Access

Log sources and channels

Exactly as MITRE states them in x_mitre_log_source_references. Where a channel is vague, it is vague in the source; kevmap does not tidy it.

Log sourceChannelData component
WinEventLog:SecurityEventCode=4624, 4648DC0067 Logon Session Creation
WinEventLog:SysmonEventCode=1DC0032 Process Creation
WinEventLog:WinRMEventCode=6DC0041 Service Metadata
NSM:ConnectionsInbound on ports 5985/5986DC0078 Network Traffic Flow

Mutable elements

Parameters MITRE marks as environment-specific. These are the knobs you are expected to tune; they are why an analytic is not a rule.

FieldDescription
TimeWindowDefines max time between remote shell creation and child process execution (e.g., 60 seconds)
UserContextScope to unexpected remote user logons (non-admins, service accounts)
CommandLineAnomalyScoreScore for suspicious command usage via WinRM (e.g., encoded PowerShell)
KnownAdminHostsList of trusted systems allowed to use WinRM legitimately