r/PowerShell • u/adbertram • Jan 26 '21
PowerShell Remoting: The Ultimate Guide
Hey guys,
u/ /r/ps_tyler just wrote a shiny new blog post you may enjoy.
"PowerShell Remoting: The Ultimate Guide"
Summary: How does PowerShell Remoting (PSRemoting) work? What authentication options are available? Learn this and more in this ultimate guide.
5
u/32178932123 Jan 26 '21
Hey Adam, just a small comment but I don't think this line is correct:
There’s one catch to using CredSSP though. The user credential stored on the first remote server is stored in plain-text thus introducing an obvious security concern.
According to this article that may have been fixed? It says:
Update: This testing was done using Windows Server 2012. Microsoft has made changes to Windows Server 2012R2 and Windows 8.1 to eliminate clear-text credentials from being stored in memory. This means that an attacker who runs Mimikatz will no longer see your clear-text credentials. An attacker will still see your NT password hash and your Kerberos TGT, both of which are password equivalent and can be used to authenticate as you over the network.
I could be wrong though - I was trying to find out how big a security risk opening up CredSSP is (and still not sure) so if anyone has any knowledge I'd be grateful!
3
3
u/ps_tyler Jan 26 '21
That is correct. We will get the article updated momentarily. There is still a security risk and it is only slightly less than having the plain-text password in memory, but it is good to point out. Thanks!
2
u/Cladex Jan 26 '21
Another awesome article Adam. As someone who is learning power shell I find your articles very well written and easy to follow.
Keep it up your making me look good at my job! LoL
1
u/adbertram Jan 26 '21
That's what I like to hear. I spend a lot of time with the writers helping them craft the content for everyone. I'm glad you're noticing!
2
u/soxfan3247 Jan 27 '21
Was this article pulled temporarily? I saved this to read later and now the link above redirects to https://adamtheautomator.com/psremoting-linux/ instead of the PSRemoting Ultimate Guide
2
u/adbertram Jan 27 '21
I'm not sure what happened there. This link still points to the PowerShell remoting Ultimate guide --> https://adamtheautomator.com/psremoting/
Tyler did publish one on PSRemoting with Linux recently too though.
2
u/soxfan3247 Jan 28 '21 edited Jan 28 '21
Yeah, that points to psremoting, but takes you to the psremoting-linux article. I can't get to the original article anymore :(
Edit: browsing to that link still redirects to psremoting-linux for some reason, but I found the article linked as a related article and that worked!
3
1
u/scotepi Jan 26 '21
In one of the next parts can you go over auto reconnect on session expiration? ExchangeOnline module will auto reconnect when you try and run one of the modules methods but I can’t seam to replicate that when connecting to Exchange OnPrem.
1
3
u/_Dron_ Jan 26 '21
Nice job. Thanks for the article, which has an added-value in getting to know you and your pages ;-)
3
u/holding3 Jan 26 '21
Great article. Relearned some things I have long forgotten from lack of use. Hoping I can implement some of this at work
-1
u/Akami_Channel Jan 26 '21
I made it easier on myself and installed wsl. And then switched to linux.
0
Jan 26 '21
[deleted]
4
u/adbertram Jan 26 '21
Stay tuned because that’s just the start of PSremoting topics. We’ve got another three coming up that goes into the nuts and bolts. This one was just an overview.
15
u/BlackV Jan 26 '21
I like this but, what happened at the bottom you run out of space?
you then dont go into in any way shape or for what implicit remoting is, the article just ends