T1021.006 Windows Remote Management
Lateral Movementon attack.mitre.org
ATT&CK Enterprise 20.0 · 20.1 released, update in review
How MITRE detects it
DET0477 Behavioral Detection of WinRM-Based Remote Access
AN1313 Windows
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.
| MITRE log source | In Microsoft Sentinel |
|---|---|
WinEventLog:SecurityEventCode=4624, 4648 |
The same events land in SecurityEvent (Windows Security Events connectors) or WindowsEvent (Windows Event Forwarding); many built-in rules read SecurityEvent only. |
WinEventLog:SysmonEventCode=1 |
Sysmon has no dedicated Sentinel connector: it is collected as a Windows event log into Event or WindowsEvent. |
WinEventLog:WinRMEventCode=6 |
|
NSM:ConnectionsInbound on ports 5985/5986 | Not mapped to Sentinel yet. |
Content Hub rules tagged with it (3)
- WMI Spawning Suspicious Child Process (Living off the Land)
- Commands executed by WMI on new hosts - potential Impacket
- WMI or remote admin execution on hybrid device followed by cloud sign-in
How the Content Hub rules for T1021.006 are built: their tables, filters, joins, schedules and windows.
In Sigma rules
11 SigmaHQ community rules name it in their tags.
- OMIGOD HTTP No Authentication RCE - CVE-2021-38647
- Remote LSASS Process Access Through Windows Remote Management
- Potential Remote PowerShell Session Initiated
- Remote PowerShell Session (PS Module)
- Enable Windows Remote Management
- Execute Invoke-command on Remote Host
- HackTool - WinRM Access Via Evil-WinRM
- Remote PowerShell Session Host Process (WinRM)
- Remote PowerShell Session (PS Classic)
- Winrs Local Command Execution
- Potential Lateral Movement via Windows Remote Shell
Mitigations
M1026Privileged Account ManagementM1030Network SegmentationM1042Disable or Remove Feature or Program
MITRE ATT&CK® is a registered trademark of The MITRE Corporation. VeriKQL is not affiliated with or endorsed by MITRE. ATT&CK data © The MITRE Corporation, used under its terms of use.