STIGUI
V-275676CAT II — Medium severitySV-275676r1148078_rule

Ubuntu OS must monitor remote access methods.

Rule version RIIM-OS-652015 · STIG v1 · 2025-10-02

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 also 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 Ubuntu OS monitors all remote access methods by using the following command:

     $  grep -Er '^(auth\.\*,authpriv\.\*|daemon\.\*)' /etc/rsyslog.* 
     /etc/rsyslog.d/50-default.conf:auth.*,authpriv.* /var/log/secure 
     /etc/rsyslog.d/50-default.conf:daemon.* /var/log/messages 

If "auth.*", "authpriv.*", or "daemon.*" are not configured to be logged in at least one of the config files, this is a finding.

Fix

Configure Ubuntu OS to monitor all remote access methods.

Add or modify the following line in the "/etc/rsyslog.d/50-default.conf" file:

auth.*,authpriv.* /var/log/secure daemon.* /var/log/messages

Restart "rsyslog.service" for the changes to take effect by using the following command:

     $ sudo systemctl restart rsyslog.service

Identifiers

Group ID
V-275676
Group title
SRG-OS-000032-GPOS-00013
Rule ID
SV-275676r1148078_rule
Check ID
C-79778r1148076_chk
Fix ID
F-79683r1148077_fix