March 5 2008, I developed my mail server into new machine after I found an error message “promiscous mode” on my log mail server. After looked at google site, I found that it occoured of because the server NIC has overload by something. That’s why, I decided to re-built the new mail server.
On March 17 2008, it happen again. After I saw the log mail, I found that my server has been hijack by someone else. I run the #history command and I found :
ps x
kill -9 20053
cat /proc/cpuinfo
cd /var/tmp
tar xzvf psybnc-2.3.2.6 tar.tar
/sbin/iptables -I INPUT -p tcp –dport 31337 -j ACCEPT
cd psybnc
make
ls
Someone has run a psybnc program on mail server. From googling, I found that psybnc is a program which use for an IRC server. My God, the hacker will make my server as an IRC server. The Hacker is already change root password, I can not run the ls and vi command, every time I run that command, it always appear Segmentation Failed error. I tried to trace where’s the hole in my server but I could not find it.
My friend suggested that I have to fix the Firewall Rules, so I did that. Another friends, suggested that I have to install a new server because the server has been contaminating. Hmm… it makes me very stuck…
Finally I ask to Mas asfik for helping me out from this trouble and find the hole in my server. Mas Asfik came to my office on March 20, he look around the configuration and found that I did not close the ssh port from outsider. The hacker accessed my server through this port. He suggested to me to reinstalling the server again and I agree. He help me to install the server using Ubuntu Server LTS (hmm.. I never touch this variant). After 7 hours all configuration was completed. He taught me how to use the spam blocking, installing ubuntu and tell me what ports should be close from outside. I Thank you to Mas Asfik.
And today, I come to the office again for monitoring the server and looks the server is running well using the spam blocker.
I hope every IT staff will aware to the server security and it can be knowledge for all people.
Again, Thank you Mas asfik
Posted by waktuluang
Posted by waktuluang 

