1.1.7 Stop non-used Application Pools

Information

Stopping an application pool that is not being used reduces the potential harm the identity could cause if the application becomes compromised.

Solution

Stopping an Application Pool can be done 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 stop all non-used Application Pools using 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 unused application pool, and then click Advanced Settings in the Actions pane For the StartAutomatically property under the General Section, click the down arrow button and select False. Click OK to close the window Right click on the application pool and select Stop Repeat for all un-used application pools To set an application pool to not AutoStart using AppCmd.exe, run the following from a command prompt: %systemroot%\system32\inetsrv\appcmd set config /section:applicationPools /[name='AppPoolName'].autoStart:false To stop an application pool using AppCmd.exe, run the following from a command prompt: %systemroot%\system32\inetsrv\appcmd stop AppPool /AppPool.name:AppPoolName

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-7, CSCv6|9.1

Plugin: Windows

Control ID: 751744b61df9590c3e2785a6d76c4e6d73583e7106a2fc00325f253bce14c29d