Recognising Unusual System Behaviour
- Your computer is running significantly slower than usual, even when not performing resource-intensive tasks.
- Applications are crashing frequently or behaving erratically.
- You notice a sudden increase in hard drive activity or network traffic when you are not actively using the internet or large files.
- New, unfamiliar processes are running in your system monitor (e.g.,
htop,gnome-system-monitor). - Your fan is spinning loudly and constantly, indicating high CPU usage.
- Pop-up windows or advertisements are appearing unexpectedly, even when your web browser is closed.
Tip
Investigating Suspicious Files and Directories
- Check for new, unknown directories in common system paths like
/opt/,/usr/local/bin/, or your home directory's hidden files (e.g.,~/.local/share/). - Look for recently modified files in critical system directories (e.g.,
/etc/,/boot/) that you didn't personally edit. - Examine the contents of configuration files in your home directory (e.g.,
~/.bashrc,~/.profile) for unfamiliar commands or scripts. - Inspect newly created files with unusual names or extensions, especially in temporary directories (e.g.,
/tmp/).
Important
Checking Running Processes and Network Connections
- Use
htoportopto identify processes consuming excessive CPU or memory, especially if their names are unfamiliar. - Run
ps aux | grep [suspect_process_name]to get more details about a suspicious process, including its full command. - Use
netstat -tulnp(as root) orss -tulnpto view active network connections and listening ports, looking for connections to unknown IP addresses or services. - Examine your firewall rules (e.g.,
sudo ufw status) for any unexpected allowances or open ports that you didn't configure.
Good to know
Verifying Package Integrity and Sources
- For Debian/Ubuntu packages, use
apt-cache policy [package_name]to see which repository a package came from. Check if it's the official source or an unknown PPA. - For AppImages, verify the download source. Did you get it from the official developer's website or a third-party host? Most AppImages should also provide a GPG signature for verification.
- If you installed from a PPA, check its description and author. Does it seem legitimate for the software it provides?
- For installed packages, most distributions allow you to verify package integrity. For instance, on Debian/Ubuntu,
debsums [package_name]can check modified files (you may need to installdebsumsfirst). - Review your package manager's history (e.g.,
/var/log/apt/history.logfor Debian/Ubuntu) to see recent installations you don't recall authorising.
Important
Was this guide helpful?
Know someone who needs this? Send them the guide.
Written by
Jordan DicksonFounder, CyberSecurityGuides
Founder of CyberSecurityGuides, writing practical, jargon-free guides that help everyday people recover from and protect against online attacks.
Reviewed by CSG Security Engineers