Information
At Level 1, utilize Trusted Execution (TE) to log execution of applications not yet allowlisted. This can be used to update the allowlist (TSD - /etc/security/tsd/tsd.dat ) so that, at Profile Level 2, non-listed applications are actually prevented from executing.
Trusted Execution (TE) provides an additional layer of access controls to processes on top of the base Discretionary Access Controls. Monitoring how processes access system resources can improve awareness of system integrity.
Solution
- Run the following command:
# /usr/sbin/trustchk -p TE=ON CHKEXEC=ON
- If logging for kern.info events is not already configured:
Run the following commands:
# /usr/bin/mkdir -p /var/log/syslog
# /usr/bin/touch /var/log/syslog/kernel.log
# print "kern.info /var/log/syslog/kernel.log rotate time 1d files 30 compress" >> /etc/syslog.conf
# /usr/bin/refresh -s syslogd || /usr/bin/startsrc -s syslogd
Note: Log retention periods should be configured as per site policy.
Impact:
As long as the TE policies STOP_UNTRUSTD and STOP_ON_CHKFAIL are OFF the TE security subsystem will only log allowlist omissions.