Just reinstall everything.

Disable functions you don't need in PHP. Make sure proftpd is updated. After a few failed logins start dropping the connections with the iptables. Make sure the actual...