Monthly Server Security Audit Checklist for 2026
Servers drift. Packages go unpatched, accounts linger after people leave, and a firewall rule added for a one-time fix stays open for a year. A monthly server security audit is a fixed routine that catches that drift before it becomes an incident. This checklist walks through the checks in order, from users and logins to updates, firewall rules, and backups, and it fits on a single monthly calendar reminder.
Set aside an hour, work through this server audit checklist top to bottom, and write down what you changed. The notes matter as much as the checks: next month you will want to know whether a finding is new or a known exception you already judged safe. A checklist without notes turns into a ritual where every month looks the same, including the problems.
Monthly Server Security Audit: Users, Keys, and Logins
Start with who can log in. List all accounts, check the last login for each, and remove or lock accounts that no longer belong to anyone on the team. Then review every authorized_keys file on the server and match each key to a current team member. A key you cannot attribute to a person is a key to remove, after asking the team once whether anyone claims it.
sudo awk -F: '$3 >= 1000 {print $1}' /etc/passwd
sudo lastlog | head -30
sudo grep -r "" /home/*/.ssh/authorized_keys
Check sudo access next. List the sudo group and confirm every member still needs it. Sudo membership tends to grow over time as people get temporary access for a task and never lose it. Also review SSH settings for drift: confirm password authentication is still off if you disabled it, and confirm the SSH port and allowed users match your intent. Our guides on setting up Fail2ban for SSH and Nginx and automatic security updates with Unattended-Upgrades cover two of the controls this audit verifies.
Updates, Services, and Open Ports
Check for pending updates and confirm the last update actually ran. Automatic updates help, but they can fail quietly when a package conflict blocks the run, so look at the log, not just the setting. Review the list of listening services and open ports, and close anything you do not recognize. An open port for a test service you forgot about is a common audit finding, and it is free to fix.
sudo apt update && apt list --upgradable
sudo ss -tulpn
sudo systemctl list-units --type=service --state=running
For each listening service, ask whether it needs to face the internet or only localhost. A database listening on all interfaces when only the local app uses it is a finding, not a feature. Bind it to localhost or firewall it off. The same question applies to admin panels, monitoring dashboards, and test apps: if it is not meant for the public, it should not be reachable by the public.
Run a malware and rootkit scan as part of the same session, since a monthly scan catches what daily habits miss. Our guide on scanning a server with ClamAV and rkhunter gives the commands, and our guide on detecting a compromised server covers what to do when a scan or a log line looks wrong.
Firewall Rules, Logs, and Failed Logins
A firewall rules review goes line by line. Rules accumulate, and each one is a door you left open on purpose at some point. Remove rules for old IPs, old test ports, and former team members. Confirm the default policy still denies inbound traffic except what you explicitly allow, and confirm the web ports and SSH port are the only public ones.
sudo ufw status numbered
sudo ufw delete 5
Read the auth log for the month, at least in summary. A failed login attempts review each month shows whether attacks are rising and whether your blocks still work. Look for failed login bursts, successful logins at odd hours, and logins from unfamiliar addresses. A summary command that counts failed attempts per IP gives you the shape of the month without reading thousands of lines. If Fail2ban is running, confirm it is actually banning: a Fail2ban service that stopped months ago leaves the log full of attempts and no blocks.
sudo grep "Failed password" /var/log/auth.log | awk '{print $(NF-3)}' | sort | uniq -c | sort -nr | head -20
sudo fail2ban-client status sshd
Check disk space and log rotation too. A disk filled by logs can crash a database, and a log directory that stopped rotating hides the very evidence an audit needs. Confirm backups ran in the last month and that a restore test happened, not just that the cron job exists. A backup job that exists but fails is a finding for this checklist, not a separate problem.
Web Apps, Certificates, and the Monthly Report
Finish with the apps on the server. Check certificate expiry dates, since an expired certificate takes a site down just as surely as an attack. Review WordPress plugins and themes for abandoned ones, and update everything that has a pending security release. Check file permissions on the web root for drift, especially after deploys that ran as root.
sudo certbot certificates
sudo find /var/www -type f -perm 777
An empty result from the permission search is the expected state. Any file at 777 needs its mode fixed and a look at how it got that way, since a deploy or plugin may recreate it next month. Keep the audit notes in one file, dated, with three sections: findings fixed today, findings accepted as known exceptions with a reason, and findings carried to next month. The accepted exceptions section is what stops the same safe item from being re-investigated every month.
The audit does not need to be perfect to be useful. It needs to be monthly, written down, and acted on. A server audited every month with a short list of fixes beats a server audited once a year with a long report nobody finishes. Put the reminder on the calendar, run the list, and keep the notes where the next audit can find them.