Concepts / Hardening and auditing

Hardening and auditing

File integrity monitoring

Also called FIM, AIDE, Tripwire, integrity check, tamper detection, file hash baseline

Recording a fingerprint of trusted files while a host is known-good, then checking later which ones have changed.

Compare each file's hash with the one stored earlier
Compare each file's hash with the one stored earlier

Hashes are stored while the host is trusted and recomputed later; a different hash means the file changed. It detects the change, it does not prevent it.

A file-integrity monitor (AIDE, Tripwire) records a fingerprint of each watched file (size, owner, permissions, a content hash) while the host is known-good, then later recomputes them and reports every file that changed, appeared or vanished. It is detection, not prevention: the change has already happened. It catches what a vulnerability scan misses, such as an edited sshd_config. Store the baseline where an attacker cannot quietly update it.

See it on real machines

Read next

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Sign in with Google or email to start.

Start this lab