Courseiva
Enumeration and System HackinghardMultiple ChoiceObjective-mapped

CEH Enumeration and System Hacking Practice Question

An attacker has compromised a Linux machine and wants to hide a rootkit by replacing system binaries with trojaned versions. Which technique is being used to maintain persistent access while evading detection?

⚠ Common exam trap

EC-CEH often tests the distinction between hiding a rootkit (binary replacement) and covering tracks (log manipulation), causing candidates to confuse post-exploitation cleanup with the rootkit's evasion mechanism.

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 via binary replacement

Replacing system binaries (e.g., `ls`, `ps`, `netstat`) with trojaned versions is a classic rootkit technique. The rootkit intercepts system calls or filters output to hide its own processes, files, and network connections, allowing the attacker to maintain persistent access while evading detection by standard administrative tools.

Answer analysis

Option-by-option breakdown

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

  • Log manipulation

    Why it's wrong here

    Log manipulation involves modifying or deleting entries in system logs (e.g., /var/log/auth.log, /var/log/syslog) to remove evidence of an attacker's presence or actions. While crucial for post-exploitation cleanup and maintaining persistence by obscuring activity, it does not directly hide malicious binaries or processes from detection. Its purpose is to obscure the *record* of an event, not the *event source* itself, making it ineffective for concealing active malicious software.

  • Token impersonation

    Why it's wrong here

    Token impersonation is a Windows-specific privilege escalation technique where an attacker steals an authentication token from a privileged process or user session to execute commands with those elevated permissions. This method allows an attacker to bypass User Account Control (UAC) or gain SYSTEM-level access without cracking passwords. However, it is solely focused on privilege escalation and does not provide any mechanism for hiding malicious binaries, processes, or network connections on a compromised system.

  • Steganography

    Why it's wrong here

    Steganography is the art and science of hiding information within other non-secret data or media, such as images, audio files, or video. Its primary goal is to conceal the very existence of a message, making it appear as ordinary data. While it can be used to covertly exfiltrate data or deliver payloads, it does not directly hide an *active* malicious binary or its running process on a compromised Linux machine; it's about embedding data, not making an executable invisible to the operating system.

  • Rootkit installation via binary replacement

    Why this is correct

    Rootkit installation via binary replacement is a common and effective method for an attacker to maintain persistent access and hide their activities on a compromised Linux system. This technique involves replacing legitimate system binaries (e.g., `ls`, `ps`, `netstat`, `login`) with trojanized versions that execute their original function while simultaneously concealing malicious files, processes, or network connections. By subverting core system utilities, the rootkit can manipulate what the operating system reports, effectively making the attacker's presence invisible to standard monitoring tools.

About these practice questions

This CEH question is part of Courseiva's 870-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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.