WN22-00-000410 - Windows Server 2022 must not have Windows PowerShell 2.0 installed.

Information

Windows PowerShell 5.x added advanced logging features that 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.x script block logging feature.

Solution

Uninstall the 'Windows PowerShell 2.0 Engine'.

Start 'Server Manager'.

Select the server with the feature.

Scroll down to 'ROLES AND FEATURES' in the right pane.

Select 'Remove Roles and Features' from the drop-down 'TASKS' list.

Select the appropriate server on the 'Server Selection' page and click 'Next'.

Deselect 'Windows PowerShell 2.0 Engine' under 'Windows PowerShell' on the 'Features' page.

Click 'Next' and 'Remove' as prompted.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_MS_Windows_Server_2022_V2R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-7a., CAT|II, CCI|CCI-000381, Rule-ID|SV-254278r958478_rule, STIG-ID|WN22-00-000410, Vuln-ID|V-254278

Plugin: Windows

Control ID: 3f5b1017ba186f2661b930e971cfe64f4f5342442bacd9e95afb279d693caeb3