Windows Remote Management (WinRM)
MITRE ATT&CK, Lateral Movement, Sub-technique T1021.006
Enabling PowerShell Remoting
In a PowerShell console running as administrator enable PowerShell Remoting:
Set WinRM start mode to automatic:
Verify start mode and state:
Set Remote Hosts to Trusted
Configure all hosts to be trusted:
Validate trusted hosts configuration:
Establishing a Session
Interactive session using the current user:
Interactive session with explicit credentials:
Create a background session using the current user::
Create a background session with explicit credentials:
List background sessions:
Interacting with a background session:
Exiting out of a session:
Remove all background sessions:
References
Last updated