- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud
- Security

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.

Lab 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
About the author
Real skill practice before real-world application
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.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.