SY0-501 · Question #323
An administrator thinks the UNIX systems may be compromised, but a review of system log files provides no useful information. After discussing the situation with the security team, the administrator…
The correct answer is C. Implement remote syslog. To detect an attacker attempting to alter system logs on a potentially compromised UNIX system, sending logs to a remote, secure server ensures an untampered copy exists for comparison.
Question
An administrator thinks the UNIX systems may be compromised, but a review of system log files provides no useful information. After discussing the situation with the security team, the administrator suspects that the attacker may be altering the log files and removing evidence of intrusion activity. Which of the following actions will help detect attacker attempts to further alter log files?
Options
- AEnable verbose system logging
- BChange the permissions on the user's home directory
- CImplement remote syslog
- DSet the bash_history log file to "read only"
How the community answered
(15 responses)- B13% (2)
- C80% (12)
- D7% (1)
Why each option
To detect an attacker attempting to alter system logs on a potentially compromised UNIX system, sending logs to a remote, secure server ensures an untampered copy exists for comparison.
Enabling verbose system logging would generate more data but would not prevent an attacker from altering or deleting those logs on the compromised system, nor would it provide a mechanism to detect such alterations.
Changing permissions on a user's home directory is a general security measure but does not directly address the integrity or detection of tampering with system log files.
Implementing remote syslog ensures that log entries are sent immediately from the local system to a separate, typically more secure, centralized log server. If an attacker gains access to the local system and attempts to alter or delete log files, the original, untampered copies on the remote syslog server will remain intact, thereby allowing for the detection of any local log file manipulation.
Setting a single log file like bash_history to "read only" is a limited measure that can often be bypassed by an attacker with root privileges and does not provide comprehensive protection or detection for all system log files.
Concept tested: Log integrity via remote logging
Source: https://www.linux.com/training-certification/syslog-and-rsyslog-basics/
Topics
Community Discussion
No community discussion yet for this question.