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.

A file-integrity monitor (AIDE, Tripwire) takes a fingerprint — size, owner, permissions, a content hash — of every file it watches while the host is known-good, and stores it as a baseline. Later it recomputes those fingerprints and reports any that no longer match: a changed binary, an edited config, a new or removed file. It is detection, not prevention — the change has already happened when the check reports it — but it catches tampering that a vulnerability scan would miss, such as a trojaned system file or an attacker's edit to sshd_config. The baseline must be taken while the host is trusted and stored where the attacker cannot quietly update it, or the tampering is baked in.

See it on real machines

Learn it on real machines.

Every lab is a small network of real Linux machines in your browser. Start with a free account: Google or email, no card.

Open this lab