Welcome to MSDN Blogs Sign in | Join | Help

PowerShell Security

Derek Melber has a very good analysis/summary of the PowerShell security over at WindowsSecurity.Com. If you run across someone concerned about the security aspects of PowerShell, this would be a good article to point them to. The article is HERE.

 

Jeffrey Snover [MSFT]
Windows Management Partner Architect
Visit the Windows PowerShell Team blog at: http://blogs.msdn.com/PowerShell
Visit the Windows PowerShell ScriptCenter at: http://www.microsoft.com/technet/scriptcenter/hubs/msh.mspx

Published Friday, November 16, 2007 5:15 AM by PowerShellTeam

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# MSDN Blog Postings » PowerShell Security

Friday, November 16, 2007 2:15 AM by MSDN Blog Postings » PowerShell Security

# re: PowerShell Security

I've read a number of articles about PowerShell's security, and they all cover pretty much the same set of features. Some do a better job of explaining the issue with running scripts from the current directory, and some mention additional ideas such as that scripts can't be launched from Windows Explorer by double clicking, etc.

None of the articles I've read, however, have explained the actual thinking behind the execution policies. Most articles even leave the definition of 'RemoteSigned' as fairly woolly: nobody who needs an article like that is going to understand that a script from a downloaded zip file isn't remote, or that non-Microsoft browsers don't generally mark ps1 files as coming from the internet, etc.

I'd really like to understand how the execution policy helps, when everyone who installs PowerShell disables it as soon as they encounter it. I can see a case for the setting as configured by group policy, but not for the default being 'Restricted'. I want someone to explain why this isn't the wrong trade-off; the result of an organisation too frequently bitten by insecurity to even consider ussability.

I'm not convinced the execution policy helps anyone right now; the lack of simple file association is a much more practical measure. I need someone to justify it, not simply to explain it.

Saturday, November 17, 2007 9:29 AM by James S.

Leave a Comment

(required) 
required 
(required) 
 
Page view tracker