[Forgot Password]
Login  Register Subscribe

30479

 
 

423868

 
 

248392

 
 

909

 
 

195452

 
 

282

Paid content will be excluded from the download.


Download | Alert*
CCE
view XML

CCE-95702-7

Platform: cpe:/o:ubuntu:ubuntu_linux:16.04, cpe:/o:ubuntu:ubuntu_linux:18.04, cpe:/o:ubuntu:ubuntu_linux:20.04, cpe:/o:ubuntu:ubuntu_linux:22.04, cpe:/o:ubuntu:ubuntu_linux:23.04Date: (C)2021-06-15   (M)2023-09-01



Monitor the sudo log file. If the system has been properly configured to disable the use of the su command and force all administrators to have to log in first and then use sudo to execute privileged commands, then all administrator commands will be logged /var/log/sudoers_log. Any time a command is executed, an audit event will be triggered as the /var/log/sudoers_log file will be opened for write and the executed administration command will be written to the log. Rationale: Changes in /var/log/sudoers_log indicate that an administrator has executed a command or the log file itself has been tampered with. Administrators will want to correlate the events written to the audit trail with the records written to /var/log/sudoers_log to verify if unauthorized commands have been executed. Fix: Add the following lines to the /etc/audit/rules.d/audit.rules file -w /var/log/sudoers_log -p wa -k actions


Parameter:

[yes/no]


Technical Mechanism:

Add the following lines to the /etc/audit/rules.d/audit.rules file -w /var/log/sudoers_log -p wa -k actions

CCSS Severity:CCSS Metrics:
CCSS Score : 5.3Attack Vector: LOCAL
Exploit Score: 1.8Attack Complexity: LOW
Impact Score: 3.4Privileges Required: LOW
Severity: MEDIUMUser Interaction: NONE
Vector: AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:LScope: UNCHANGED
 Confidentiality: LOW
 Integrity: LOW
 Availability: LOW
  

References:
Resource IdReference
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:70832
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:92250
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:70728
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:69551
SCAP Repo OVAL Definitionoval:org.secpod.oval:def:85279


OVAL    5
oval:org.secpod.oval:def:70728
oval:org.secpod.oval:def:69551
oval:org.secpod.oval:def:70832
oval:org.secpod.oval:def:92250
...
XCCDF    5
xccdf_org.secpod_benchmark_general_Ubuntu_16_04
xccdf_org.secpod_benchmark_general_Ubuntu_18_04
xccdf_org.secpod_benchmark_general_Ubuntu_23.04
xccdf_org.secpod_benchmark_general_Ubuntu_22.04
...

© SecPod Technologies