Member-only story
TryHackme’s Advent of Cyber 2023 — Day 18 Writeup
Eradication A Gift That Keeps on Giving
Learning Objectives
- 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.
Understanding Concept
Identifying the Process
Linux gives us various options for monitoring a system’s performance. Using these, we can identify the resource usage of processes. One option is the top
command. This command shows us a list of processes in real time with their usage. It's a dynamic list, meaning it changes with the resource usage of each process.
Systemctl
systemctl is the systemd command for controlling how services start on a Linux system. A service can be enabled, disabled, or masked, and it can be configured to start at boot, on demand, manually, or prevented from starting under any circumstances. Enabling a service means it will start at boot.7 Dec 2023