The Wazuh agent already runs file integrity monitoring (FIM) on Windows the moment it is installed, but the stock configuration watches only a short list of system binaries, the Startup folder and a set of registry keys, and it scans them twice a day. This guide is for admins who have Wazuh agents on Windows servers and want FIM to cover what actually matters on those machines: application configs, web roots, scripts and persistence locations. The short answer: keep the defaults, add your own paths with realtime or whodata, exclude noisy files, and push the settings to a group instead of editing every server by hand.
What we checked on 1 December 2026
| Item | Details |
|---|---|
| Latest stable release | 4.14.11, published 25 November 2026 (GitHub releases API) |
| Licence | Free and open source; the agent and manager are GPL-2.0 |
| Agent config file | C:\Program Files (x86)\ossec-agent\ossec.conf, section <syscheck> |
| Local FIM database | C:\Program Files (x86)\ossec-agent\queue\fim\db (SQLite); the server keeps a copy per agent in /var/ossec/queue/db |
| Who-data requirement | Windows later than Windows Vista; uses the Windows audit subsystem |
| Network paths | Since 4.13.0, UNC paths and mapped drives are ignored in every FIM mode |
| Our testing | Not tested yet. Settings below are taken from the official Wazuh documentation and the 4.14.11 default agent configuration on GitHub |
What the default Windows configuration already watches
Before adding anything, read the <syscheck> block that ships with the Windows agent. In 4.14.11 it does the following:
- Runs a full scan every 43200 seconds (12 hours).
- Checks only the top level (
recursion_level="0") of%WINDIR%,%WINDIR%\System32,System32\drivers\etc,System32\wbemand the Windows PowerShell 1.0 folder, and in most of them restricts the check to named files:cmd.exe,net.exe,netsh.exe,reg.exe,regsvr32.exe,sc.exe,schtasks.exe,sethc.exe,powershell.exe,WMIC.exeand a few others. The wholedrivers\etcfolder is checked, so a changedhostsfile is reported. - Watches the all-users Startup folder (
%PROGRAMDATA%\Microsoft\Windows\Start Menu\Programs\Startup) in real time. - Ignores files ending in
.log,.htm,.jpg,.png,.chm,.pnfand.evtxeverywhere. - Monitors registry keys used for persistence and policy, including the
Run,RunOnceandWinlogonkeys,System\CurrentControlSet\Services,Software\Policiesand theKnownDLLslist.
Two consequences follow. Your own data is not covered: nothing under C:\inetpub, C:\ProgramData\<your app> or a scripts share is watched until you add it. And the default ignore pattern silently skips .log and .htm files, which matters if you plan to watch a web root.
Scheduled, real-time or who-data: which mode to use
| Mode | How you enable it | When a change shows up | Who made it | Notes |
|---|---|---|---|---|
| Scheduled scan | Default for every <directories> entry | At the next scan (12 hours by default) | No | Works for files and directories; cheapest option |
| Real-time | realtime="yes" | Shortly after the change | No | Directories only, not single files; paused while a scheduled scan runs |
| Who-data | whodata="yes" | Shortly after the change | Yes: user, process name and process ID | Uses Windows audit policies and SACLs that the agent sets itself; falls back to real-time if they are changed |
A practical split: scheduled scans for large, slow-changing trees such as program folders; real-time for web roots and script folders; who-data for a small number of sensitive directories where you need to know which account changed a file.
Step 1: Add the folders you care about
Edit C:\Program Files (x86)\ossec-agent\ossec.conf as an administrator and add entries inside the existing <syscheck> section. The paths below are examples; replace them with your own:
<syscheck>
<directories realtime="yes" check_all="yes">C:\inetpub\wwwroot</directories>
<directories whodata="yes" check_all="yes" report_changes="yes">C:\Scripts</directories>
<directories check_all="yes" recursion_level="3">C:\ProgramData\MyApp</directories>
</syscheck>Then restart the agent from an elevated PowerShell prompt:
Restart-Service -Name wazuhPoints from the documentation that are easy to miss:
- A directory set for real-time monitoring must exist before the agent restarts. If it does not, the module ignores it until a later restart.
recursion_levelaccepts 0 to 320 for directories.check_allrecords hashes (MD5, SHA-1, SHA-256), size, modification time, Windows file attributes and NTFS permissions. On Windows the group ID is always 0 and the owner check is Linux-only.%WINDIR%\System32andSysnativeare treated as the same folder, butSysWOW64must be added separately if you want 32-bit DLLs covered.
Step 2: Turn on who-data where you need the user name
With whodata="yes", the agent configures the local audit policies and the system access control list (SACL) of the monitored folder when it starts. If Group Policy or another tool later changes those audit settings, Wazuh notices in two ways: it watches for Windows event ID 4719 (audit policy changed) and it re-checks the policies every windows_audit_interval seconds, which is 60 in the default configuration. When the check fails, the affected directories drop to real-time mode, so you still get alerts, only without the user and process fields.
If a domain GPO manages advanced audit policy on your servers, coordinate with whoever owns it; otherwise who-data may keep falling back to real-time.
Step 3: Cut the noise with exclusions
Exclude temporary and cache files at the agent, where they are never reported:
<syscheck>
<ignore>C:\ProgramData\MyApp\cache</ignore>
<ignore type="sregex">.tmp$|.bak$</ignore>
</syscheck>The alternative is a level 0 rule on the Wazuh server, which keeps the file in the inventory but silences its alerts. For files that may contain secrets, keep report_changes on the folder but add the file to <nodiff>: you still get an alert, but the changed text is not copied into it. Remember that report_changes keeps a copy of every monitored file under queue\diff in the agent folder, so do not enable it on large trees.
Step 4: Change the scan schedule
Use <frequency> to shorten or lengthen the interval between full scans, or <scan_time> and <scan_day> to run the scan outside business hours:
<syscheck>
<scan_time>10pm</scan_time>
<scan_day>saturday</scan_day>
</syscheck>Files created inside a monitored path after the first scan are picked up at the next scheduled scan, unless the folder is in real-time or who-data mode.
Step 5: Add registry keys for your own software
Registry monitoring uses <windows_registry> and runs on the scan schedule, not in real time. Wildcards * and ? are allowed, and arch="both" covers the 32-bit and 64-bit views:
<syscheck>
<windows_registry arch="both">HKEY_LOCAL_MACHINE\SOFTWARE\MyApp</windows_registry>
</syscheck>Step 6: Push the same settings to every server
Editing ossec.conf on fifty servers does not scale. Put Windows servers in an agent group, as described in our Wazuh agent rollout guide, and place the <syscheck> block in that group’s file on the manager, /var/ossec/etc/shared/<GROUP_NAME>/agent.conf, inside an <agent_config> block. The documentation recommends editing a temporary file whose name starts with a dot (the manager does not distribute those), validating it with /var/ossec/bin/verify-agent-conf -f <file>, and only then renaming it to agent.conf.
Reading the results
File events appear in the dashboard under Endpoint security > File Integrity Monitoring. The built-in rules that fire most often are 550 (integrity checksum changed), 553 (file deleted) and 554 (file added); registry changes use 750, 751 and 752 for changed, deleted and added values. Who-data alerts add audit.user.name and audit.process.name, which answers the usual question of whether a change came from an installer, an admin or something else.
Limitations
- Network shares cannot be monitored from a Windows agent since 4.13.0. Install an agent on the file server itself.
- Real-time mode works on directories only and pauses during scheduled scans.
- Registry monitoring is scheduled only, so a persistence key can be added and removed between scans without an alert.
- FIM tells you that a file changed and, with who-data, who changed it. It does not decide whether the change was approved; that comes from your change records.
Who this setup suits
It suits small IT teams that already run Wazuh and need change evidence for web servers, script folders and key application configs, for example for PCI DSS file-monitoring requirements. It suits less well teams that mainly need to watch large file shares (agent on every file server, heavy scans) or that want an approval workflow around changes. For the wider picture of access and security admin tools, see our identity and access management hub.
FAQ
Does Wazuh file integrity monitoring work on Windows?
Yes. FIM is enabled by default in the Windows agent, covering selected system files, the Startup folder and a set of registry keys. Scheduled, real-time and who-data modes are all available on Windows.
Why is Wazuh file integrity monitoring not working?
The documented causes are: the real-time folder did not exist when the agent restarted; the path is a UNC path or a mapped drive (ignored since 4.13.0); the file matches an ignore rule such as the default .log$ pattern; or the file was created after the last scan in a folder that is only scanned on schedule.
How do I enable real-time FIM in Wazuh?
Add realtime="yes" to a <directories> entry in ossec.conf or in a group agent.conf, then restart the agent. It works for directories, not single files.
What is syscheck in Wazuh?
Syscheck is the name of the FIM configuration section (<syscheck>) and of the agent daemon that runs it (wazuh-syscheckd). The terms FIM and syscheck refer to the same module.
How often does Wazuh FIM scan by default?
Every 12 hours (<frequency>43200</frequency>). Real-time and who-data folders report changes between scans.
Can Wazuh FIM show who changed a file?
Yes, with whodata="yes". On Windows it uses the audit subsystem and reports the user, process name and process ID.
Last updated: 1 December 2026 · AdminHub Plus editorial team. Licence, version and platform details are checked against each developer's official documentation.