ID | Name |
---|---|
T1021.001 | Remote Desktop Protocol |
T1021.002 | SMB/Windows Admin Shares |
T1021.003 | Distributed Component Object Model |
T1021.004 | SSH |
T1021.005 | VNC |
T1021.006 | Windows Remote Management |
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.
WinRM is the name of both a Windows service and a protocol that allows a user to interact with a remote system (e.g., run an executable, modify the Registry, modify services).[1] It may be called with the winrm
command or by any number of programs such as PowerShell.[2] WinRM can be used as a method of remotely interacting with Windows Management Instrumentation.[3]
ID | Name | Description |
---|---|---|
G0016 | APT29 |
APT29 has used WinRM via PowerShell to execute command and payloads on remote hosts.[4] |
G0114 | Chimera | |
S0154 | Cobalt Strike |
Cobalt Strike can use |
G0027 | Threat Group-3390 |
Threat Group-3390 has used WinRM to enable remote execution.[8] |
G0102 | Wizard Spider |
Wizard Spider has used Window Remote Management to move laterally through a victim network.[9] |
ID | Mitigation | Description |
---|---|---|
M1042 | Disable or Remove Feature or Program |
Disable the WinRM service. |
M1030 | Network Segmentation |
If the service is necessary, lock down critical enclaves with separate WinRM infrastructure and follow WinRM best practices on use of host firewalls to restrict WinRM access to allow communication only to/from specific devices.[10] |
M1026 | Privileged Account Management |
If the service is necessary, lock down critical enclaves with separate WinRM accounts and permissions. |
Monitor use of WinRM within an environment by tracking service execution. If it is not normally used or is disabled, then this may be an indicator of suspicious behavior. Monitor processes created and actions taken by the WinRM process or a WinRM invoked script to correlate it with other related events.[11] Also monitor for remote WMI connection attempts (typically over port 5985 when using HTTP and 5986 for HTTPS).