Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

PowerShell Vulnerabilities Expand / Collapse
Author
Message
Posted Tuesday, August 5, 2014 6:03 AM
Old Hand

Old HandOld HandOld HandOld HandOld HandOld HandOld HandOld Hand

Group: General Forum Members
Last Login: Monday, December 22, 2014 6:55 AM
Points: 399, Visits: 822
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



Post #1599617
Posted Tuesday, August 5, 2014 7:02 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: 2 days ago @ 5:52 PM
Points: 5,831, Visits: 3,751
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!!!
Post #1599673
Posted Tuesday, August 5, 2014 7:23 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Yesterday @ 9:35 AM
Points: 2,114, Visits: 3,720
Hmm, oversimplifying, but...

Problem: Someone left the bank vault door unlocked. Robbers took loot & got away in cars.
Solution: Ban cars!
Post #1599694
Posted Tuesday, August 5, 2014 7:26 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: 2 days ago @ 5:52 PM
Points: 5,831, Visits: 3,751
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!!!


Gaz

-- Stop your grinnin' and drop your linen...they're everywhere!!!
Post #1599697
Posted Tuesday, August 5, 2014 8:01 AM
SSCrazy

SSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazySSCrazy

Group: General Forum Members
Last Login: Yesterday @ 9:35 AM
Points: 2,114, Visits: 3,720
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!!!


Roads! And bags with dollar signs on them!
Post #1599725
Posted Tuesday, August 5, 2014 8:07 AM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: 2 days ago @ 5:52 PM
Points: 5,831, Visits: 3,751
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!!!


Roads! And bags with dollar signs on them!


You win!!!

(Although you ignored internationalization )


Gaz

-- Stop your grinnin' and drop your linen...they're everywhere!!!
Post #1599729
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse