6.2.3.2 Ensure rsyslog is installed (Automated)
Profile
- Level 1 - Server
- Level 1 - Workstation
Description
The rsyslog software is recommended in environments where journald does not meet operation requirements.
Rationale
The security enhancements of rsyslog such as connection-oriented (i.e. TCP) transmission of logs, the option to log to database formats, and the encryption of log data en route to a central logging server) justify installing and configuring the package.
Audit Procedure
Command Line
- IF -
rsyslogis being used for logging on the system:
Run the following command to verify rsyslog is installed:
# dpkg-query -s rsyslog &>/dev/null && echo "rsyslog is installed"
Expected Result
rsyslog is installed
Remediation
Command Line
Run the following command to install rsyslog:
# apt install rsyslog
Default Value
Installed
References
- NIST SP 800-53 Rev. 5: AU-2, AU-3, AU-12
- Ubuntu 20.04 STIG Vuln ID: V-238353 Rule ID: SV-238353r991562 STIG ID: UBTU-20-010432
- Ubuntu 22.04 STIG Vuln ID: V-260588 Rule ID: SV-260588r991562 STIG ID: UBTU-22-652010
CIS Controls
| Controls Version | Control | IG 1 | IG 2 | IG 3 |
|---|---|---|---|---|
| v8 | 8.2 Collect Audit Logs | |||
| v7 | 6.2 Activate audit logging | |||
| v7 | 6.3 Enable Detailed Logging |
MITRE ATT&CK Mappings
| Techniques / Sub-techniques | Tactics | Mitigations |
|---|---|---|
| T1005, T1005.000, T1070, T1070.002 | TA0005 | M1029, M1057 |