Courseiva
Enumeration and System HackinghardMultiple ChoiceObjective-mapped

CEH Enumeration and System Hacking Practice Question

A forensic analyst examining a compromised Linux system finds the following entry in /var/log/auth.log: `Mar 15 10:23:45 server sshd[1234]: Accepted password for root from 10.0.0.5 port 54321 ssh2`. However, the analyst also notices that /var/log/auth.log has been truncated and the /etc/ssh/sshd_config file contains `LogLevel QUIET`. Which attack phase is most likely being obscured?

⚠ Common exam trap

Many exam-takers confuse log manipulation with privilege escalation or execution phases, but the CEH exam specifically tests the 'Erasing Tracks' phase (part of the System Hacking domain) where attackers modify or delete logs, alter timestamps, or disable auditing to avoid detection.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Erasing tracks

The presence of `LogLevel QUIET` in sshd_config suppresses all authentication log entries, and the truncation of /var/log/auth.log indicates an attempt to remove evidence of unauthorized access. Together, these actions are classic examples of erasing tracks, as the attacker is modifying logs and configuration to hide their activities from forensic analysis.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Privilege escalation

    Why it's wrong here

    Privilege escalation refers to the act of gaining higher access rights than initially obtained on a compromised system, such as moving from a regular user to root. While an attacker might alter logs *after* escalating privileges to hide their actions, the act of log alteration itself is not the escalation. It is a distinct post-exploitation activity aimed at maintaining persistence or evading detection, rather than the process of gaining elevated permissions.

  • Executing applications

    Why it's wrong here

    Executing applications is a fundamental operation on any operating system, where a user or process runs a program to perform a specific task. An attacker will certainly execute various applications during an intrusion, such as malware, reconnaissance tools, or system utilities. However, the act of simply running an application does not inherently involve or describe the specific action of manipulating system logs to conceal evidence. Log manipulation is a separate, deliberate action often performed by specific tools or commands after other applications have achieved their primary objective.

  • Spying

    Why it's wrong here

    Spying, in a cybersecurity context, typically involves reconnaissance, monitoring system activities, or exfiltrating sensitive data without detection. This could include observing user behavior, capturing network traffic, or copying files. While an attacker engaged in spying aims to remain undetected, the act of log tampering is a specific forensic countermeasure designed to *destroy* or *alter* existing evidence of past actions, rather than the ongoing passive observation or active data collection that defines spying.

  • Erasing tracks

    Why this is correct

    Erasing tracks is a critical post-exploitation phase where an attacker attempts to remove or obscure any evidence of their presence and activities on a compromised system. This directly involves manipulating system logs, such as /var/log/auth.log or ~/.bash_history, by truncating, deleting, or modifying entries. Reducing logging levels or disabling logging services are also common techniques to prevent future actions from being recorded, thereby making forensic analysis significantly more challenging and hindering incident response efforts.

About these practice questions

One of 870 original CEH practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This CEH practice question is part of Courseiva's free EC-Council certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the CEH exam.