1.5.1 Move Default IIS Web Log Location

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Moving IIS logging to a restricted, non-system drive will help mitigate the risk of logs being maliciously altered, removed, or lost in the event of system drive failure(s).

Solution

moving the default log location can be easily accomplished using the logging feature in the iis management ui or appcmd.exe. to change to d:\logfiles using appcmd.exe: %windir%\system32\inetsrv\appcmd set config -section:sites -sitedefaults.logfile.directory:'d:\logfiles' moving log file stores to a non-system drive or partition separate from where web applications run and/or content is served is preferred. additionally, folder-level ntfs permissions should be set as restrictive as possible; administrators and system are typically the only principals requiring access. note: while standard iis logs can be moved and edited using iis manager, additional management tool add-ons are required in order to manage logs generated by other iis features, such as request filtering and iis advanced logging. these add-ons can be obtained using the web platform installer or from microsoft's site. the httperr logging location can be changed by adding a registry key

See Also

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

Item Details

Category: AUDIT AND ACCOUNTABILITY

References: 800-53|AU-9

Plugin: Windows

Control ID: e0001fadc2422d96182ee167f300497fe15aeb653ef11b70889bc7a383e2f645