IT lexicon › Security › Veriexec

Veriexec

Security På svenska → Updated: 2026-11-08

NetBSD kernel feature that refuses to run files whose cryptographic fingerprint doesn't match a list loaded at boot.

Veriexec, short for verified exec, arrived in NetBSD in the early 2000s. The administrator generates a table of hashes for programs, libraries and scripts and loads it into the kernel with veriexecctl during startup. Whenever a file is executed or opened, the kernel checks its contents against the table. Four strict levels decide what a mismatch means, from merely logging it to locking the system down.

The point is that an attacker who has gained write access still can't swap out /bin/login unnoticed. It works best alongside a raised securelevel, so the table can't simply be reloaded. Juniper used a variant in its FreeBSD-based Junos and later upstreamed it to FreeBSD. The nearest Linux equivalent is IMA.

← Back to the lexicon