The Photon operating system must have sshd authentication logging enabled.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-256484 | SRG-OS-000032-GPOS-00013 | PHTN-30-000007 | SV-256484r958406_rule | 2024-12-16 | 1 |
Description
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.
ℹ️ Check
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.
✔️ Fix
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