Re:PowerShell Remoting
by tyingq on Tuesday August 21, 2018 @08:55PM
(#17815285)
Ahh. Would be a good note in that area of the article.
[ Parent
| on HN ]
I was curious about the details and did some digging.
"Regardless of the transport protocol used (HTTP or HTTPS), PowerShell Remoting always encrypts all communication after initial authentication with a per-session AES-256 symmetric key."
https://docs.microsoft.com/en-us/powershell/scripting/setup/...
Then what's the point of using HTTPS? Heating the room?
Re:PowerShell Remoting
by jodrellblank on Tuesday August 21, 2018 @09:41PM
(#17815556)
See my other comment, but a) it encrypts more of the packets, b) helps with validating correct server, c) encrypts even if you end up authenticating without Kerberos somehow.
When using HTTP for remoting, headers are not encrypted. But body is always encrypted when using NTLM, CredSSP or Kerberos - the GSSAPI supported protocols. If user doesn't want to use these and opts for basic auth or some other protocol that doesn't have encryption specified, https is useful.