$
学ぶ Linux ハンドブック
ja
XP:0
クエスト 121Environment Warden
+500 XP

Boss Challenge 14: Compromised Environment Cleanup

このクエストの対話型ターミナルを起動する→インストール不要 • ブラウザ上で完全動作

概念と概要

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 / SyntaxDescription
rm -r /tmp/evil_binDelete malicious binary directory
nano ~/.bashrcClean user shell startup script

検証目標

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

クエスト完了への準備はできましたか? 121?