Binary package “hexec” in ubuntu mantic
Command line tool to hook into exec calls
hexec can be used to hook into exec system calls. It evaluates a user
defined expression against all hooked exec calls. This expression can
contain simple path checks (e.g. -path "*/name") and even complex bash
scripts.