Security Compliance
Enable file auditing in Windows
This article describes how to enable file auditing in Windows. File auditing in Windows allows monitoring of events related to users accessing, modifying, and deleting sensitive files and folders on your network.
First published date
Last published date
Overview
File auditing in Windows allows monitoring of events related to users accessing, modifying, and deleting sensitive files and folders on your network. To maximize the value of this type of auditing, only enable file auditing on a file server where a SEM agent is installed, and only for the specific files and folders you want to monitor. Enabling file auditing on a large number of files or folders will result in an unnecessary number of log events on the SEM appliance.
Product section
Cause
Resolution
- Enable object auditing in Windows:
- Navigate to Administrative Tools > Local Security Policy.
- In the left pane, expand Local Policies, and then click Audit Policy.
- Select Audit object access in the right pane, and then click Action > Properties.
- Select Success and Failure.
- Click OK.
- Close the Local Security Policy window.
- To enable file auditing on a file or folder in Windows:
- Locate the file or folder you want to audit in Windows Explorer.
- Right-click the file or folder and then click Properties.
- Click the Security tab.
- Click Advanced.
- Click the Auditing tab.
- If you are using Windows Server 2008, click Edit.
- Click Add.
- Enter the name of a user or group you want to audit for the selected file or folder, and click Check Names to validate your entry. For example, enter
Everyone. - Click OK.
- Select Success and Failure next to Full control to audit everything for the selected file or folder.
- Optionally, clear Success and Failure for unwanted events, such as:
- Read attributes
- Read extended attributes
- Write extended attributes
- Read permissions
- Click OK in each window until you are back at the Windows Explorer window.
- Repeat these steps for all files or folders you want to audit.