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

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-28, 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: f89017a8b50d0907fc81be87ad32b839682f2586ead2ecbbe2f58bf12933b716