Vulnerability Discussion
Remote access services, such as those providing remote access to network devices and information systems, which lack automated monitoring capabilities increase risk and make remote user access management difficult at best.
Remote access is access to DOD nonpublic information systems by an authorized user (or an information system) communicating through an external, nonorganization-controlled network. Remote access methods include, for example, dial-up, broadband, and wireless.
Automated monitoring of remote access sessions allows organizations to detect cyberattacks and ensure ongoing compliance with remote access policies by auditing connection activities of remote access capabilities, such as Remote Desktop Protocol (RDP), on a variety of information system components (e.g., servers, workstations, notebook computers, smartphones, and tablets).
Check
Verify that OL 8 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 /etc/rsyslog.d/*.conf
/etc/rsyslog.conf:auth.*;authpriv.*;daemon.* /var/log/secure
If "auth.*", "authpriv.*", or "daemon.*" are not configured to be logged, this is a finding.
Fix
Configure OL 8 to monitor all remote access methods by installing rsyslog with the following command:
$ sudo yum install rsyslog
Add or update 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