1.1.4 Configure Application Pools to Run As Application Pool Identity

Information

Setting Application Pools to use least privilege identities such as ApplicationPoolIdentity reduces the potential harm the identity could cause should the application become ever become compromised.

Solution

The default Application Pool identity may be set for an application using the IIS Manager GUI, using AppCmd.exe commands in a command-line window, directly editing the configuration files, or by writing WMI scripts. Perform the following to change the default identity to the built-in ApplicationPoolIdentity in the IIS Manager GUI: Open the IIS Manager GUI In the connections pane, expand the server node and click Application Pools On the Application Pools page, select the DefaultAppPool, and then click Advanced Settings in the Actions pane For the Identity property, click the '...' button to open the Application Pool Identity dialog box Select the Built-in account option choose ApplicationPoolIdentity from the list Restart IIS To change the DefaultAppPool identity to the built-in ApplicationPoolIdentity using AppCmd.exe, run the following from a command prompt: %systemroot%\system32\inetsrv\appcmd set config /section:applicationPools /[name='<Your AppPool>'].processModel.identityType:ApplicationPoolIdentity

See Also

https://benchmarks.cisecurity.org/tools2/iis/CIS_Microsoft_IIS_7_Benchmark_v1.7.1.pdf

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6, CSCv6|3.1

Plugin: Windows

Control ID: 257a6b3928797c4d74fa963340d28bf4affe327b83e5bf495ec3f9fae4013575