Windows PowerShell must be updated to a version that supports script block logging on Windows 2012/2012 R2.

From Windows Server 2012/2012 R2 Member Server Security Technical Implementation Guide

Part of WIN00-000200

Associated with: CCI-000366

SV-95179r1_rule Windows PowerShell must be updated to a version that supports script block logging on Windows 2012/2012 R2.

Vulnerability discussion

Later versions of Windows PowerShell provide additional security and advanced logging features that can provide greater detail when malware has been run on a system. PowerShell 5.x includes the advanced logging features. PowerShell 4.0 with the addition of patch KB3000850 on Windows 2012 R2 or KB3119938 on Windows 2012 adds advanced logging features.PowerShell is updated with the installation of the corresponding version of the Windows Management Framework (WMF).Updating to a later PowerShell version may have compatibility issues with some applications. The following links should be reviewed and updates tested before applying to a production environment.WMF 4.0:Review the System Requirements under the download link - https://www.microsoft.com/en-us/download/details.aspx?id=40855WMF 5.0:https://docs.microsoft.com/en-us/powershell/wmf/5.0/productincompatWMF 5.1:https://docs.microsoft.com/en-us/powershell/wmf/5.1/productincompat

Check content

Open "Windows PowerShell". Enter "$PSVersionTable". If the value for "PSVersion" is not 4.0 or 5.x, this is a finding. Windows 2012 R2 includes PowerShell 4.0 by default. Windows 2012 must be updated. If PowerShell 4.0 is used, the required patch for script block logging will be verified with the requirement to have that enabled.

Fix text

Update Windows PowerShell to version 4.0 or 5.x. Windows 2012 R2 includes PowerShell 4.0 by default. It may be updated with the installation of Windows Management Framework (WMF) 5.0 or 5.1. Windows 2012 requires the installation of Windows Management Framework (WMF) 4.0, 5.0, or 5.1. Updating to a later PowerShell version may have compatibility issues with some applications. The following links should be reviewed and updates tested before applying to a production environment. WMF 4.0: Review the System Requirements under the download link - https://www.microsoft.com/en-us/download/details.aspx?id=40855 WMF 5.0: https://docs.microsoft.com/en-us/powershell/wmf/5.0/productincompat WMF 5.1: https://docs.microsoft.com/en-us/powershell/wmf/5.1/productincompat

Pro Tips

Lavender hyperlinks in small type off to the right (of CSS class id, if you view the page source) point to globally unique URIs for each document and item. Copy the link location and paste anywhere you need to talk unambiguously about these things.

You can obtain data about documents and items in other formats. Simply provide an HTTP header Accept: text/turtle or Accept: application/rdf+xml.

Powered by sagemincer