Install hexec by entering the following commands in the terminal:
sudo apt update sudo apt install hexec
Description:
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.
Homepage: http://sourceforge.net/projects/hexec/
Version: 0.2.1-3build1
Section: universe/devel