- Lab
- A Cloud Guru
Looking for Malware on Linux Systems
In this lab, we'll be investigating a possible malware infection on an Ubuntu Linux host. We'll be looking for specific data points and will document them in a file on the host. Then we'll export the syslog data to a text file for later analysis.
Path Info
Table of Contents
-
Challenge
Document data points provided by your supervisor.
- Open Gedit to provide a place to save your findings.
- Run the command
sudo top
to open the system performance interface. - Type the letter
P
to sort by processor utilization. Document the process using the most processor resources. - Type the letter
M
to sort by memory utilization. Document the process using the most memory resources. - Type
Ctrl+c
to exit top - Run the command
sudo df -h
to list out disk space statistics for the server. Identify the percentage of used disk space for/dev/xvda1
and record it. - Run the command
sudo w
to list active connections to the server. Identify the username of the active connection and record it. - Run the command
sudo netstat -a
and identify the ESTABLISHED connection. Record the remote IP address of the device connecting to the server. - From within Gedit, save the document on the Desktop as investigation.txt.
-
Challenge
Export syslog data to a file.
Run the following command:
sudo cat /var/log/syslog > /home/cloud_user/Desktop/syslog.txt
What's a lab?
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.