nerdexam
CompTIA

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.

Submitted by kwame.gh· Mar 4, 2026Security operations

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)
  • B
    13% (2)
  • C
    80% (12)
  • D
    7% (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.

AEnable verbose system logging

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.

BChange the permissions on the user's home directory

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.

CImplement remote syslogCorrect

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.

DSet the bash_history log file to "read only"

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

#remote syslog#log integrity#intrusion detection#log management

Community Discussion

No community discussion yet for this question.

Full SY0-501 Practice