SV-253056r958406_rule
V-253056
SRG-OS-000032-GPOS-00013
TOSS-04-040010
CAT II
10
Configure TOSS to monitor all remote access methods by adding or updating the following lines to the "/etc/rsyslog.conf" file:
auth.*;authpriv.*;daemon.* /var/log/secure
The "rsyslog" service must be restarted for the changes to take effect. To restart the "rsyslog" service, run the following command:
$ sudo systemctl restart rsyslog.service
Verify that TOSS monitors all remote access methods.
Check that remote access methods are being logged by running the following command:
$ sudo grep -E '(auth.*|authpriv.*|daemon.*)' /etc/rsyslog.conf
auth.*;authpriv.*;daemon.* /var/log/secure
If any of "auth.*", "authpriv.*" or "daemon.*" are not configured to be logged, this is a finding.
V-253056
False
TOSS-04-040010
Verify that TOSS monitors all remote access methods.
Check that remote access methods are being logged by running the following command:
$ sudo grep -E '(auth.*|authpriv.*|daemon.*)' /etc/rsyslog.conf
auth.*;authpriv.*;daemon.* /var/log/secure
If any of "auth.*", "authpriv.*" or "daemon.*" are not configured to be logged, this is a finding.
M
5469