1.33 WN10-00-000155

Information

The Windows PowerShell 2.0 feature must be disabled on the system.

GROUP ID: V-220728RULE ID: SV-220728r958478

Windows PowerShell 5.0 added advanced logging features which can provide additional detail when malware has been run on a system. Disabling the Windows PowerShell 2.0 mitigates against a downgrade attack that evades the Windows PowerShell 5.0 script block logging feature.

Solution

Disable 'Windows PowerShell 2.0' on the system.

Run 'Windows PowerShell' with elevated privileges (run as administrator).Enter the following:Disable-WindowsOptionalFeature -Online -FeatureName MicrosoftWindowsPowerShellV2Root

This command should disable both 'MicrosoftWindowsPowerShellV2Root' and 'MicrosoftWindowsPowerShellV2' which correspond to 'Windows PowerShell 2.0' and 'Windows PowerShell 2.0 Engine' respectively in 'Turn Windows features on or off'.

Alternately:Search for 'Features'.Select 'Turn Windows features on or off'.De-select 'Windows PowerShell 2.0'.

See Also

https://workbench.cisecurity.org/benchmarks/23869

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7b.

Plugin: Windows

Control ID: 85b38303e16b1f5ee63f062f1a3a6ab87b829f3e6ae2489374fca48a4061d56f