Hey guys,
Is there something similar to NetBSD veriexec(8) on FreeBSD?
I want to restrict in a jail the execution of only certain system binaries (even limiting root). Setting the filesystem as 'exec' only on the standard directories `/usr/bin` and `/usr/sbin` and 'noexec' on the others does not solve my problem, since root can still place any binaries in those directories and run them. NetBSD has veriexec, where I can specify in a database the HASH of the binaries allowed to be executed. There exist something similar tool, or would you recommend an alternative for FreeBSD?
Thanks
Is there something similar to NetBSD veriexec(8) on FreeBSD?
I want to restrict in a jail the execution of only certain system binaries (even limiting root). Setting the filesystem as 'exec' only on the standard directories `/usr/bin` and `/usr/sbin` and 'noexec' on the others does not solve my problem, since root can still place any binaries in those directories and run them. NetBSD has veriexec, where I can specify in a database the HASH of the binaries allowed to be executed. There exist something similar tool, or would you recommend an alternative for FreeBSD?
Thanks