CCE-95519-5Platform: cpe:/o:amazon:linux:2, cpe:/o:centos:centos:7, cpe:/o:oracle:linux:7, cpe:/o:oracle:linux:8, cpe:/o:redhat:enterprise_linux:7, cpe:/o:redhat:enterprise_linux:8, cpe:/o:redhat:enterprise_linux:9 | Date: (C)2021-09-28 (M)2023-07-04 |
Monitor login and logout events. The parameters below track changes to files associated with login/logout events. The file /var/log/faillog tracks failed events from login. The file /var/log/lastlog maintain records of the last time a user successfully logged in. The /var/run/failock directory maintains records of login failures via the pam_faillock module.
Rationale:
Monitoring login/logout events could provide a system administrator with information
associated with brute force attacks against user logins.
Parameter:
[yes/no]
Technical Mechanism:
Edit the /etc/audit/audit.rules file to include the following lines:
-w /var/log/faillog -p wa -k logins
-w /var/log/lastlog -p wa -k logins
-w /var/log/faillock -p wa -k logins
CCSS Severity: | CCSS Metrics: |
CCSS Score : 5.9 | Attack Vector: LOCAL |
Exploit Score: 2.5 | Attack Complexity: LOW |
Impact Score: 3.4 | Privileges Required: NONE |
Severity: MEDIUM | User Interaction: NONE |
Vector: AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | Scope: UNCHANGED |
| Confidentiality: LOW |
| Integrity: LOW |
| Availability: LOW |
| |
References: Resource Id | Reference |
---|
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:74467 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:74466 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:74465 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:74469 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:74468 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:74470 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:84298 |
SCAP Repo OVAL Definition | oval:org.secpod.oval:def:74471 |