Courseiva
Enumeration and System HackinghardMultiple ChoiceObjective-mapped

CEH Enumeration and System Hacking Practice Question

A security analyst examines a compromised Linux server and finds a hidden directory `/usr/share/.syslog` containing a modified version of `sshd` and a log cleaner script. This is indicative of which technique used to erase tracks?

⚠ Common exam trap

EC-Council often tests the distinction between platform-specific techniques, and the trap here is that candidates may confuse rootkit installation with steganography because both involve 'hiding,' but steganography hides data, not system binaries or logs.

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

Rootkit installation

The presence of a hidden directory containing a modified `sshd` binary and a log cleaner script is a classic sign of a rootkit installation. Rootkits replace core system binaries (like `sshd`) to maintain backdoor access and use log cleaners to erase evidence of their activity, directly aligning with the technique of erasing tracks.

Answer analysis

Option-by-option breakdown

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

  • Token impersonation

    Why it's wrong here

    Token impersonation is a privilege escalation technique specific to Microsoft Windows operating systems. It involves an attacker stealing or duplicating an access token from a privileged process or user session to execute commands with elevated permissions. This method relies on the Windows security model's use of access tokens for authentication and authorization, a mechanism fundamentally different from how Linux handles user and process privileges. Therefore, it is irrelevant in a Linux server compromise scenario.

  • DLL injection

    Why it's wrong here

    DLL injection is a code injection technique predominantly used on Windows systems, where a malicious Dynamic Link Library (DLL) is forced to load into the address space of another running process. This allows the attacker to execute arbitrary code within the context and privileges of the target process. Linux systems utilize Shared Objects (.so files) instead of DLLs, and while similar code injection methods exist (e.g., LD_PRELOAD), the specific term "DLL injection" refers to a Windows-centric attack vector, making it inapplicable to a Linux server compromise.

  • Rootkit installation

    Why this is correct

    Rootkit installation is a highly effective post-exploitation technique for maintaining persistent access and evading detection on a compromised Linux server. Rootkits often replace legitimate system binaries (like ls, ps, netstat) with malicious versions that filter out evidence of the attacker's activities, such as hidden processes or network connections. Concurrently, log cleaners are used to erase entries from system logs (e.g., /var/log/auth.log, /var/log/syslog) that would reveal the initial compromise or subsequent actions, ensuring the attacker's presence remains concealed.

  • Steganography

    Why it's wrong here

    Steganography is the art and science of hiding information within other non-secret data or files, such that the existence of the hidden information is not apparent. For example, data might be embedded within an image, audio, or video file. While it can be used for covert communication or data exfiltration, steganography itself does not involve replacing system binaries or actively cleaning logs to hide an attacker's presence on a compromised server, which are actions characteristic of maintaining persistence and evading detection.

About these practice questions

Courseiva writes every CEH question from scratch — 870 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. 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.