IIST-SV-000137 - The production IIS 10.0 web server must utilize SHA2 encryption for the Machine Key - Encryption Method

Information

The Machine Key element of the ASP.NET web.config specifies the algorithm and keys that ASP.NET will use for encryption. The Machine Key feature can be managed to specify hashing and encryption settings for application services such as view state, forms authentication, membership and roles, and anonymous identification. Ensuring a strong encryption method can mitigate the risk of data tampering in crucial functional areas such as forms authentication cookies, or view state.

Solution

Open the IIS 10.0 Manager.

Click the IIS 10.0 web server name.

Double-click the 'Machine Key' icon in the web server Home Pane.

Set the Validation method to 'HMACSHA256' or stronger.
Set the Encryption method to 'Auto'.

Click 'Apply' in the 'Actions' pane.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_MS_IIS_10-0_Y22M01_STIG.zip

Item Details

References: CAT|II, CCI|CCI-001199, Rule-ID|SV-218807r561041_rule, STIG-ID|IIST-SV-000137, STIG-Legacy|SV-109253, STIG-Legacy|V-100149, Vuln-ID|V-218807

Plugin: Windows

Control ID: 8a8e04a2879e58bbc75d3abba9ad899f8ea4c142e8bc8c691ed19a43e9529f32