SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


PowerShell Vulnerabilities


PowerShell Vulnerabilities

Author
Message
shew
shew
SSC Eights!
SSC Eights! (861 reputation)SSC Eights! (861 reputation)SSC Eights! (861 reputation)SSC Eights! (861 reputation)SSC Eights! (861 reputation)SSC Eights! (861 reputation)SSC Eights! (861 reputation)SSC Eights! (861 reputation)

Group: General Forum Members
Points: 861 Visits: 950
I had an interesting conversation with one of our security folks yesterday about PowerShell vulnerabilities. He has read several things in the news lately, for example: http://www.securityweek.com/windows-powershell-increasingly-abused-attackers

He inquired if we can remove PowerShell from our environments. Hmmmmm... We standardized on PowerShell for all of our scripts (i.e., database backup, database maintenance, database health checks, etc.) several years ago. So, that would be a complete re-write for us. And, who knows what we would use to replace PowerShell? cmd.exe does not appear to be particularly secure.

A coworker found the following link http://msdn.microsoft.com/en-us/library/ms143506.aspx, which states:

SQL Server 2014 does not install or enable Windows PowerShell 2.0; however Windows PowerShell 2.0 is an installation prerequisite for Database Engine components and SQL Server Management Studio. If Setup reports that Windows PowerShell 2.0 is not present, you can install or enable it by following the instructions on the Windows Management Framework page.


Can anyone share their experiences about PowerShell vulnerabilities and how they address them?

See also old SQL Server Central discussion at http://www.sqlservercentral.com/Forums/Topic941730-1351-1.aspx



Gary Varga
Gary Varga
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16391 Visits: 6534
I guess the problem is the age old battle of facility versus abuse. I remember a book on security that specified a secure computer as one with no networking, no ports and in a secure room. Even a keyboard was questionable. Not very useful though.

The problem often appears to be user ignorance (they don't know) or arrogance (they should know better). I have had to recover a family member's computer because they couldn't help themselves but open an attachment because it was so tempting. They knew better. Similar experiences with FaceBook apps too.

PowerShell is too useful and central to remove, however, there is nothing wrong with leaving it locked down. If necessary require changing the execution policy each time a script is run to avoid remote access and privileges.

Gaz

-- Stop your grinnin' and drop your linen...they're everywhere!!!
Gazareth
Gazareth
SSCarpal Tunnel
SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)

Group: General Forum Members
Points: 4006 Visits: 5820
Hmm, oversimplifying, but...

Problem: Someone left the bank vault door unlocked. Robbers took loot & got away in cars.
Solution: Ban cars!
Gary Varga
Gary Varga
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16391 Visits: 6534
Gazareth (8/5/2014)
Hmm, oversimplifying, but...

Problem: Someone left the bank vault door unlocked. Robbers took loot & got away in cars.
Solution: Ban cars!


...or vaults???

No!!! Banks!!! :-P

Gaz

-- Stop your grinnin' and drop your linen...they're everywhere!!!
Gazareth
Gazareth
SSCarpal Tunnel
SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)SSCarpal Tunnel (4K reputation)

Group: General Forum Members
Points: 4006 Visits: 5820
Gary Varga (8/5/2014)
Gazareth (8/5/2014)
Hmm, oversimplifying, but...

Problem: Someone left the bank vault door unlocked. Robbers took loot & got away in cars.
Solution: Ban cars!


...or vaults???

No!!! Banks!!! :-P


Roads! And bags with dollar signs on them! :-)
Gary Varga
Gary Varga
SSCoach
SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)SSCoach (16K reputation)

Group: General Forum Members
Points: 16391 Visits: 6534
Gazareth (8/5/2014)
Gary Varga (8/5/2014)
Gazareth (8/5/2014)
Hmm, oversimplifying, but...

Problem: Someone left the bank vault door unlocked. Robbers took loot & got away in cars.
Solution: Ban cars!


...or vaults???

No!!! Banks!!! :-P


Roads! And bags with dollar signs on them! :-)


You win!!! Smooooth

(Although you ignored internationalization :WhistlingSmile

Gaz

-- Stop your grinnin' and drop your linen...they're everywhere!!!
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search