- Operating System
- Minimal os install
- Minimal services running
- Disable IPv6
- Ossec to watch filesystem integrity, monitor log files and watch for rootkits
- Script to alert when os/package updates are needed (patching)
- Firewall (iptables)
- SSH
- Harden the sshd config
- Apache
- Harden apache
- MySql
- Harden MySQL
- Postfix
- Configured as satellite, will only send email to our domain from our relay
- Wordpress
- Install security plugins
- iThemes Security
- Wordfence
- InfiniteWP
- Install security plugins
- Backup
- Backup database (mysql)
- Backup file system (wordpress directory)
- Document how to perform full recovery
The process to patch is to apt-get update. apt-get upgrade, then update ossec’s database. This might be automated in the future. I’m leaving the default ubuntu 12.04 AppArmor policies in place.