Windows Remote Management Explained

WinRM (Windows Remote Management)
Developer:Microsoft
Operating System:Microsoft Windows
Genre:Application programming interface
License:Proprietary commercial software

WinRM (Windows Remote Management) is Microsoft's implementation of WS-Management in Windows which allows systems to access or exchange management information across a common network. Utilizing scripting objects or the built-in command-line tool, WinRM can be used with any remote computers that may have baseboard management controllers (BMCs) to acquire data. On Windows-based computers including WinRM, certain data supplied by Windows Management Instrumentation (WMI) can also be obtained.[1]

Components

winrs
Developer:Microsoft
Operating System:Microsoft Windows
Genre:Command
License:Proprietary commercial software

Common uses

Ansible communicates with Windows servers over WinRM using the Python pywinrm package and can remotely run PowerShell scripts and commands.[4]

Thycotic's Secret Server also leverages WinRM to enable PowerShell remoting.[5]

SolarWinds Server and Application Monitoring software (SAM) utilizes a WinRM server on monitored servers for its PowerShell integration.[6]

CloudBolt leverages WinRM as part of Blueprints, Server Actions, and CB Plugins to execute remote scripts on Windows servers using the python pywinrm module.[7]

Security

WinRM uses Kerberos for initial authentication by default. This ensures that actual credentials are never sent in client-server communications, instead relying on features such as hashing and tickets to connect.[8] Although WinRM listeners can be configured to encrypt all communications using HTTPS, with the use of Kerberos, even if unencrypted HTTP is used, all communication is still encrypted using a symmetric 256-bit key after the authentication phase completes. Using HTTPS with WinRM allows for additional security by ensuring server identity via SSL/TLS certificates thereby preventing an attacker from impersonating it.[9]

External links

Notes and References

  1. Web site: Windows Remote Management - Windows applications. windows-sdk-content. docs.microsoft.com. en-us. 2019-02-21.
  2. Web site: Windows Remote Management Glossary - Windows applications. windows-sdk-content. docs.microsoft.com. en-us. 2019-02-21.
  3. Web site: About Windows Remote Management - Windows applications. windows-sdk-content. docs.microsoft.com. en-us. 2019-02-21.
  4. Web site: Windows Remote Management — Ansible Documentation. docs.ansible.com. 2019-02-21.
  5. Web site: Thycotic Support. thycotic.force.com. 2019-02-21.
  6. Web site: Create a WinRM HTTPS listener. 2016-03-24. SolarWinds Worldwide, LLC. Help and Support. en. 2019-02-24.
  7. Web site: Remote Scripts — CloudBolt 8.7 Documentation. docs.cloudbolt.io. 2019-06-04.
  8. Web site: How To: Configure WINRM for HTTPS. support.microsoft.com. 2019-02-24.
  9. Web site: Is WinRM Secure or do I need HTTPs?. FoxDeploy. 2017-02-08. FoxDeploy.com. en. 2019-02-24.