Skip to content
Shellbay

Security & Hardening · about 6 min · 6 steps

Rootkit Hunter scan

Installs Rootkit Hunter, records the current state of system programs, and scans for known rootkits and suspicious changes.

Runs on

  • Debian / Ubuntu: supported
  • RHEL / Fedora: supported — Uses EPEL on RHEL-compatible systems.
  • Alpine: not available — Alpine doesn't package Rootkit Hunter.

What it changes on your server

  • Installs rkhunter (from EPEL on RHEL-compatible systems), without a mail server.
  • Updates its data files and records the current properties of system programs in /var/lib/rkhunter, so later scans can spot changes.
  • Runs one scan and writes /var/log/rkhunter.log. No scheduled scans are set up.

What Shellbay asks you

Nothing. This workflow needs no details from you.

Steps

  1. Prepare packages
  2. Install Rootkit Hunter
  3. Update its data files
  4. Record the current system programs
  5. Scan the server
  6. Check the baseline was recorded

Shellbay checks the server before the first step, and stops at the first step that fails.

When it's done

  • Read the full results with sudo less /var/log/rkhunter.log. After installing updates, run sudo rkhunter --propupd so updated programs aren't reported as changed.