TMAegis베타
iis 관련 규칙 더 보기

Microsoft IIS

TMA-IIS-3.8

Ensure 'MachineKey validation method - .Net 3.5' is configured

낮음레벨 2수동 검토iis

설명

The machineKey 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. The following validation methods are available ... Manual review: the benchmark gives no reliable automated check for this control.

점검 방법

감사 방식: 수동 검토

이 권장 사항은 자동으로 점검할 수 없습니다. --include-manual 옵션을 전달하면 스캔 결과에 이 지침과 함께 표시됩니다.

To verify the Machine Key validation method using IIS Manager: 1. Open IIS Manager and navigate to the level that was configured, the WEBROOT, or server in this case 2. In the features view, double click Machine Key 3. On the Machine Key page, verify that SHA1 is selected in the validation method dropdown

조치 방법

조치 방식: 가이드 또는 인프라 패치

Machine key encryption can be set by using the UI, running appcmd.exe commands, by editing configuration files directly, or by writing WMI scripts. To set the Machine Key encryption at the global level using an appcmd.exe command: %systemroot%\system32\inetsrv\appcmd set config /commit:WEBROOT /section:machineKey /validation:SHA1 Note: When Appcmd.exe is used to configure the <machineKey> element at the global level in IIS, the /commit:WEBROOT switch must be included so that configuration changes are made to the root web.config file instead of ApplicationHost.config.

속성

운영 체제
모두
태그
iisaspnet
참고 자료
CIS Microsoft IIS 10 Benchmark v1.2.1 - 3.8 Ensure 'MachineKey validation method - .Net 3.5' is configured