← Blog
Wazuh

File integrity monitoring: the quiet signal that gets ahead of ransomware

Luciana Arrieta·October 25, 2026·Leer en español
File integrity monitoring: the quiet signal that gets ahead of ransomware
Wazuh

By the time ransomware finishes encrypting a whole shared folder, it’s already too late for an early warning. But before it gets there, there’s almost always a quieter signal first: modified configuration files, replaced binaries, altered permissions, processes touching directories nobody normally touches.

That signal is exactly what File Integrity Monitoring (FIM) watches for.

How FIM works in Wazuh

The Wazuh FIM module monitors defined files and directories, and triggers an alert when a user or process creates, modifies, or deletes them. To do that, it first runs a baseline scan: it calculates and stores the cryptographic checksum and other attributes of each monitored file. From there, it compares any future change against that baseline and alerts if it doesn’t match.

Monitoring can be real-time or scheduled, depending on how each agent is configured, which lets you tune sensitivity based on the type of file and the criticality of the system.

Beyond threat detection

FIM isn’t only useful for catching an attack in progress. It’s also a change management tool: it lets you confirm a change control process is actually being followed, and see exactly what changed, when, and who did it. For organizations with compliance requirements, that traceability is often just as important as the detection itself.

What we monitor, and what 1 MSP manages

We monitor defined files and directories to detect modifications that may require investigation or validation. What gets monitored isn’t generic: it’s tuned to what’s critical in your environment, server configuration, system binaries, regulated folders, and the alert is delivered with the context needed to decide whether it calls for a response.

When a FIM alert lines up with other signals, a contextualized detection event or a known vulnerability on the same endpoint, that’s when it makes sense to escalate toward automated response.

Let’s talk about which files and directories should be under monitoring in your environment.

Frequently asked questions

What is File Integrity Monitoring (FIM)?

It’s a security process that monitors defined files and directories, and triggers an alert when a user or process creates, modifies, or deletes them, comparing the current state against a previously recorded baseline.

How does Wazuh detect a change in a file?

The Wazuh FIM module runs a baseline scan that stores the cryptographic checksum and other attributes of monitored files. When a file changes, it compares the new checksum against the baseline and triggers an alert if there’s a mismatch.

Does FIM replace antivirus or EDR?

No. FIM is a visibility layer over changes to specific files and directories, complementary to EDR. It doesn’t block malicious processes by itself: it provides the context of what changed, when, and by which process.

Which files are worth monitoring with FIM?

It depends on the environment: critical configuration folders, system binaries, files subject to compliance requirements, or directories where an unexpected change would be an early warning sign. It’s defined together with each client, not generically.