Now and then I get a person who thinks they can crack the system and they fail, every time. Last night was different in that I had two separate simultaneous attacks. The short attack lasted for almost 290 password combinations over two different IDs. The main one was much more determined in that he/she used over 1,100 passwords over two different IDs. The beauty of it was that every attack was logged and earlier this evening two emails went out the attackers ISPs. The ISP of the main attack politely asked me for a copy of the log and I was more than happy to send them a copy of the security log.
I am very certain that the hackers didn't get anything as I don't have any default IDs on this system. I also enforce password changes every 90 days and yes that is overkill for a personal system, but, it is a good habit to get into. The last thing is that ROOT never accesses the FTP server and the 'power' ID does not have root priviliges, just enough to maintain the FTP directories.
If you do decide to run a FTP server (Windows or Linux) here are a few things to keep in mind:
- Have and use a firewall.
- Have and use a virus scanner (Windows only, not really necessary for Linux).
- Kill all default IDs and passwords.
- Enforce regular password changes. Minimum for me is 6 characters with 1 character that is not A-Z.
- Turn on the FTP security and log everything.
- The ID that services the FTP area does not have root capabilities.
- Grant only the bare minimum of authority to any ID.
- Backup your data on a regular basis.
- Apply all patches ASAP.
- Review your FTP and firewall logs regularly.
- Log and trace all intrusion attempts. You can trace back the attacker to their ISP by using WHOIS and then send a short note to the admin or abuse email ID.