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

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_Y24M10_STIG.zip

Item Details

Category: SYSTEM AND COMMUNICATIONS PROTECTION

References: 800-53|SC-28, CAT|II, CCI|CCI-001199, Rule-ID|SV-218807r1022707_rule, STIG-ID|IIST-SV-000137, STIG-Legacy|SV-109253, STIG-Legacy|V-100149, Vuln-ID|V-218807

Plugin: Windows

Control ID: 3b505b486aaee46e8d1710885f815e0ea2fcbc7eafcb40ee01bcc7e82947a124