$
Learn Linux handbook
en
XP:0
Quest 121Environment Warden
+500 XP

Boss Challenge 14: Compromised Environment Cleanup

Launch Interactive Terminal for This Quest→No installation required • Runs fully in browser

Concept & Overview

SECURITY BREACH: A malicious session injected a backdoor path /tmp/evil_bin into /home/learner/.bashrc, attempting to hijack user commands.

Eradicate the persistence mechanism: clean /home/learner/.bashrc by removing all references to evil_bin, and delete the /tmp/evil_bin directory entirely from the system.

Delete directory /tmp/evil_bin and remove references to evil_bin from /home/learner/.bashrc.

Command Syntax Reference

Command / SyntaxDescription
rm -r /tmp/evil_binDelete malicious binary directory
nano ~/.bashrcClean user shell startup script

Verification Objectives

These conditions will be automatically verified when you run commands inside the interactive terminal simulator:

  • ○
    Delete directory /tmp/evil_bin
  • ○
    Remove evil_bin from /home/learner/.bashrc

Ready to complete Quest 121?

Test your skills live in the browser terminal with an emulated Linux filesystem, real-time command evaluation, and instant step-by-step hints.