Skip to content

Latest commit

 

History

History
68 lines (42 loc) · 1.23 KB

Task 24 [Day 18] Eradication A Gift That Keeps on Giving.md

File metadata and controls

68 lines (42 loc) · 1.23 KB

Task 24 [Day 18] Eradication A Gift That Keeps on Giving

Learning Objectives

In this task, we will:

  • Identify the CPU and memory usage of processes in Linux.
  • Kill unwanted processes in Linux.
  • Find ways a process can persist beyond termination.
  • Remove persistent processes permanently.

After machine is up open the terminal and follow along.

QUESTIONS

  1. What is the name of the service that respawns the process after killing it?

Command

systemctl list-unit-files

ANSWER

a-unkillable.service
Screenshot 2024-01-10 at 12 30 06 AM
  1. What is the path from where the process and service were running?

Command

systemctl status a-unkillable.service

ANSWER

/etc/systemd/system/
Screenshot 2024-01-10 at 12 32 09 AM
  1. The malware prints a taunting message. When is the message shown? Choose from the options below.

  2. Randomly

  3. After a set interval

  4. On process termination

  5. None of the above

ANSWER

4