Trusted Path Execution - reduce attack vectorSat 10 November 2012 by admin
TPE is a feature presented in Grsecurity, which denies users from executing programs that are not owned by root. This approach eliminates some parts of self uploaded exploits by users. Using Grsecurity force us to prepare custom - mainly non-distribution kernel. Nowadays TPE is prepared as separate linux kernel module, which isn't complicated to test, deploy in supported linux distribution (RHEL/Centos,Ubuntu). Moreover when you using TPE-LKM you get some extra features like hiding processes which doesn't belong to user or hide from seeing linux kernel module list. Howto prepare, install and configure this module is pretty straightforward . Configuration is provided by sysctl variables described in . Some of TPM-LKM extra features is duplicated by RHEL kernel extensions presented in 6.3 (hidepid parameter) , which also add dmesg_restrict feature .