t3gah
17th March 2005, 07:55 PM
I got hacked the other day through ssh, which was funny to me as always because of the lameness of people that do that versus the intelligence quotient, etc, etc. too funny. :D
but anyway, they hacked me. why? because the default settings for sshd were this:
Protocal 2,1
#PermitRootLogin yes
Now you may say that "het it's remarked out", but according to the read me in the beginning of sshd_conf, those that are remarked out are active settings too.
Run the following tools on your system and see:
rkhunter
http://freshmeat.net/projects/rkhunter/
chkrootkit
http://www.chkrootkit.org/
The ssh protocal 1 is dead imho and should be removed from ssh altogether as it is a insecure protocal. Future Fedora releases should have a special ssh according what is safe and not what the RFC says.
And one last thing. sshd was running by default on my system and I didn't even know it. FedoraFaq.org should have a new section for Security as the first link and have the top things to set on your Fedora Core system that will make it safe for Internet travel.
There are books on this out there. There should be a headline here and every forum on the Internet with the "simple steps to secure your Linux box" as their top billed homepage item. php should be included, etc, etc.
(Maybe Fedora Core 4 the release will be secure or have a util so you can set and close ports, have the correct settings for sshd, etc. Maybe they will include rkhunter and chkrootkit packages in the next release.)
but anyway, they hacked me. why? because the default settings for sshd were this:
Protocal 2,1
#PermitRootLogin yes
Now you may say that "het it's remarked out", but according to the read me in the beginning of sshd_conf, those that are remarked out are active settings too.
Run the following tools on your system and see:
rkhunter
http://freshmeat.net/projects/rkhunter/
chkrootkit
http://www.chkrootkit.org/
The ssh protocal 1 is dead imho and should be removed from ssh altogether as it is a insecure protocal. Future Fedora releases should have a special ssh according what is safe and not what the RFC says.
And one last thing. sshd was running by default on my system and I didn't even know it. FedoraFaq.org should have a new section for Security as the first link and have the top things to set on your Fedora Core system that will make it safe for Internet travel.
There are books on this out there. There should be a headline here and every forum on the Internet with the "simple steps to secure your Linux box" as their top billed homepage item. php should be included, etc, etc.
(Maybe Fedora Core 4 the release will be secure or have a util so you can set and close ports, have the correct settings for sshd, etc. Maybe they will include rkhunter and chkrootkit packages in the next release.)