Hi,
I need help , one of my resellers account has been hacked ,by the way all the reseller's users are just fine, all the reseller's domains are forward to another site all the domain records seen to be corrupted, at the begining i thought that it was a httpd attack but no index files are replaced then i look for not usual apache process and nothing
ps aux | grep ^apache | grep -v /usr/sbin/httpd
then with httpd2 and find some
ps aux | grep ^apache | grep -v /usr/sbin/httpd
i killed all the httpd process and the domains still forward
i only have one named process runnig
the main reseller domain is showing a plesk default page insted of the good one , that happens with any domain zone register in the account, but they have a subdomain created in a user level account and its working fine
then i checked with chkrootkit and rkhunter, and get the next output for rkhunter only the file seen corrupted so i dont know if i have to delete it
/usr/sbin/prelink: "/usr/bin/file" is not an ELF file
/usr/sbin/prelink: "/usr/bin/file" is not an ELF file
/usr/bin/file [ BAD ]
i also checked /tmp for some .txt or perl script but there is nothing there ,
all named configuration files are fine.
Can anyone helpme i dont know what else to do.
if someone knows or have/had similar problem, what kind of attack is this?, and how to fix it and prevent it , please let me know , it doesnt look like a regular htpd attack
I have Fedora 3 server
this is the apache errorlog
Please Help Me , Thanks
I need help , one of my resellers account has been hacked ,by the way all the reseller's users are just fine, all the reseller's domains are forward to another site all the domain records seen to be corrupted, at the begining i thought that it was a httpd attack but no index files are replaced then i look for not usual apache process and nothing
ps aux | grep ^apache | grep -v /usr/sbin/httpd
then with httpd2 and find some
ps aux | grep ^apache | grep -v /usr/sbin/httpd
i killed all the httpd process and the domains still forward
i only have one named process runnig
the main reseller domain is showing a plesk default page insted of the good one , that happens with any domain zone register in the account, but they have a subdomain created in a user level account and its working fine
then i checked with chkrootkit and rkhunter, and get the next output for rkhunter only the file seen corrupted so i dont know if i have to delete it
/usr/sbin/prelink: "/usr/bin/file" is not an ELF file
/usr/sbin/prelink: "/usr/bin/file" is not an ELF file
/usr/bin/file [ BAD ]
i also checked /tmp for some .txt or perl script but there is nothing there ,
all named configuration files are fine.
Can anyone helpme i dont know what else to do.
if someone knows or have/had similar problem, what kind of attack is this?, and how to fix it and prevent it , please let me know , it doesnt look like a regular htpd attack
I have Fedora 3 server
this is the apache errorlog
Code:
[Tue May 22 21:34:07 2007] [error] [client 66.98.148.24] File does not exist: /home/res01357/domains/sharedip/robots.txt
[Tue May 22 21:34:07 2007] [error] [client 66.98.148.24] File does not exist: /home/res01357/domains/sharedip/404.shtml
[Tue May 22 21:50:00 2007] [error] [client 24.35.92.21] File does not exist: /home/res01357/domains/sharedip/ag/secciones/AG/ES/MAIN/M/SHOWROOMS/seccion_HTML.html
[Tue May 22 21:50:00 2007] [error] [client 24.35.92.21] File does not exist: /home/res01357/domains/sharedip/404.shtml
[Tue May 22 21:50:02 2007] [error] [client 24.35.92.21] File does not exist: /home/res01357/domains/sharedip/index.php
[Tue May 22 21:50:02 2007] [error] [client 24.35.92.21] File does not exist: /home/res01357/domains/sharedip/404.shtml
[Tue May 22 21:50:05 2007] [error] [client 24.35.92.21] File does not exist: /home/res01357/domains/sharedip/modules.php
[Tue May 22 21:50:05 2007] [error] [client 24.35.92.21] File does not exist: /home/res01357/domains/sharedip/404.shtml
[Tue May 22 23:03:10 2007] [warn] NameVirtualHost 209.126.144.95:80 has no VirtualHosts
[Tue May 22 23:03:10 2007] [warn] NameVirtualHost 209.126.144.95:443 has no VirtualHosts
[Tue May 22 23:03:10 2007] [warn] NameVirtualHost 209.126.144.91:80 has no VirtualHosts
[Tue May 22 23:03:10 2007] [warn] NameVirtualHost 209.126.144.91:443 has no VirtualHosts
[Tue May 22 23:03:10 2007] [warn] NameVirtualHost 209.126.144.90:80 has no VirtualHosts
[Tue May 22 23:03:10 2007] [warn] NameVirtualHost 209.126.144.90:443 has no VirtualHosts
[Tue May 22 23:03:11 2007] [notice] Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7a PHP/4.3.10 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Tue May 22 23:03:11 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Tue May 22 23:03:11 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Wed May 23 00:15:01 2007] [notice] caught SIGTERM, shutting down
[Wed May 23 00:15:05 2007] [warn] NameVirtualHost 209.126.144.95:80 has no VirtualHosts
[Wed May 23 00:15:05 2007] [warn] NameVirtualHost 209.126.144.95:443 has no VirtualHosts
[Wed May 23 00:15:05 2007] [warn] NameVirtualHost 209.126.144.91:80 has no VirtualHosts
[Wed May 23 00:15:05 2007] [warn] NameVirtualHost 209.126.144.91:443 has no VirtualHosts
[Wed May 23 00:15:05 2007] [warn] NameVirtualHost 209.126.144.90:80 has no VirtualHosts
[Wed May 23 00:15:05 2007] [warn] NameVirtualHost 209.126.144.90:443 has no VirtualHosts
[Wed May 23 00:15:06 2007] [notice] Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7a PHP/4.3.10 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Wed May 23 00:15:06 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed May 23 00:15:06 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Wed May 23 01:00:50 2007] [warn] NameVirtualHost 209.126.144.95:80 has no VirtualHosts
[Wed May 23 01:00:50 2007] [warn] NameVirtualHost 209.126.144.95:443 has no VirtualHosts
[Wed May 23 01:00:50 2007] [warn] NameVirtualHost 209.126.144.91:80 has no VirtualHosts
[Wed May 23 01:00:50 2007] [warn] NameVirtualHost 209.126.144.91:443 has no VirtualHosts
[Wed May 23 01:00:50 2007] [warn] NameVirtualHost 209.126.144.90:80 has no VirtualHosts
[Wed May 23 01:00:50 2007] [warn] NameVirtualHost 209.126.144.90:443 has no VirtualHosts
[Wed May 23 01:00:51 2007] [notice] Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7a PHP/4.3.10 FrontPage/5.0.2.2510 configured -- resuming normal operations
[Wed May 23 01:00:51 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Wed May 23 01:00:51 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Wed May 23 01:16:09 2007] [error] [client 194.224.199.48] File does not exist: /home/res01357/domains/sharedip/robots.txt
[Wed May 23 01:16:09 2007] [error] [client 194.224.199.48] File does not exist: /home/res01357/domains/sharedip/404.shtml
[Wed May 23 01:30:39 2007] [error] [client 24.154.211.66] File does not exist: /home/res01357/domains/sharedip/podcast.php
[Wed May 23 01:30:39 2007] [error] [client 24.154.211.66] File does not exist: /home/res01357/domains/sharedip/404.shtml
[Wed May 23 01:30:41 2007] [error] [client 24.154.211.66] File does not exist: /home/res01357/domains/sharedip/forums.php
[Wed May 23 01:30:41 2007] [error] [client 24.154.211.66] File does not exist: /home/res01357/domains/sharedip/404.shtml
[Wed May 23 01:30:42 2007] [error] [client 24.154.211.66] File does not exist: /home/res01357/domains/sharedip/html/biere.php
[Wed May 23 01:30:42 2007] [error] [client 24.154.211.66] File does not exist: /home/res01357/domains/sharedip/404.shtml
[Wed May 23 01:30:46 2007] [error] [client 24.154.211.66] File does not exist: /home/res01357/domains/sharedip/index.php
[Wed May 23 01:30:46 2007] [error] [client 24.154.211.66] File does not exist: /home/res01357/domains/sharedip/404.shtml
[Wed May 23 01:30:47 2007] [error] [client 24.154.211.66] File does not exist: /home/res01357/domains/sharedip/index.php
[Wed May 23 01:30:47 2007] [error] [client 24.154.211.66] File does not exist: /home/res01357/domains/sharedip/404.shtml
Please Help Me , Thanks