View Single Post
Old 09-21-2009, 07:37 AM  
HEAT
Confirmed User
 
Join Date: Sep 2003
Posts: 2,255
How to fix Comus hack.

1. Install mod_security. (will stop code injection and defend from web attack.)


2. Migrate Comus Thumbs to Smart Thumbs - export and import gals, set cron/templates/trades/secure.php/etc..


3. Remove CT completely.


4. Find bad phpshell scripts(backdoor) that hacker installed into your server and remove them.

Quote:
grep -R 696620287374 * > /home/backdoor.txt &
(will find backdoor scripts under /home and save list to /home/backdoor.txt - normally they named with 'backup.php, sync.php')


5. Find infected website files and edit/delete.


Quote:
grep -R svrtsg:#9@#yliwvi:#mlmv@# * > /home/infected.txt &
(will find all js code injected files under /home and save list to /home/infected.txt)


6. Repeat #4~#5.


7. Setup better security.
change all server passwords(linux users/mysql users/web logins).
install Rootkit Hunter.
update APPs via yum(centOS).
apache in suexec mode, use suphp, no 777 permission.
use SFTP.
update mod_security rules.
install reliable anti-spyware to your local machine.
__________________
254-282-542

Last edited by HEAT; 09-21-2009 at 07:39 AM..
HEAT is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote