Rule version PHTN-30-000007 · STIG v1 · 2026-08-31
Automated monitoring of remote access sessions allows organizations to detect cyberattacks and ensure ongoing compliance with remote access policies by auditing connection activities.
Shipping sshd authentication events to syslog allows organizations to use their log aggregators to correlate forensic activities among multiple systems.
At the command line, run the following command:
# grep "^authpriv" /etc/rsyslog.conf
Expected result should be similar to the following:
authpriv.* /var/log/auth.log
If "authpriv" is not configured to be logged, this is a finding.
Navigate to and open:
/etc/rsyslog.conf
Add the following line:
authpriv.* /var/log/auth.log
Note: The path can be substituted for another suitable log destination.
At the command line, run the following command:
# systemctl restart rsyslog.service