Support

UNiTE, Remote CLI, eXtract Wizard

#3645 restore plan after site hacked

Posted in ‘UNiTE and Remote CLI’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

PHP version
n/a
Tool
UNiTE
Tool version
n/a

Latest post by dlb on Wednesday, 09 June 2010 04:37 CDT

webjo
My site has been hacked (Casper) and I need to restore all of the files of my Joomla 1.5.17 site. According to my host, "the database is safe". I know users have added information since my last back up a month ago, and if the database is safe I would like to not lose that data.

Is there an option to restore only the site files and not the database using kickstart?

If not, does this seem like a reasonable plan to restore the files but keep the most recent version of the database?
1. Change database password
2. Backup database in hosting account
3. Delete all site files in hosting account
4. Use Joomlapack Kickstart to restore files and database
5. Check if site works with restored database (old) and files
6. Restore database in hosting account so that restored site points to newer version of database
7. Verify newer content displays
8. Change pw on host, ftp, super and other admin accounts
9. Check user list for suspicious names
10. Uninstall gcalendar-check xml file for files/directories to remove
11. Install updated gcalendar version
12. Continue with Joomla security recommended hack recovery checklist

Thanks for your help!

dlb
To restore only the files on the original server is pretty easy. Upload your backup archive and kickstart.pnp to the root of your site. Call kickstart and let it extract the files and give you the two "here" links. Don't press the first "here" link, so you're skipping the install script. Press the second "here" link to delete the /installation folder, kickstart.php and the backup archive. Now your site should work with the old database password. You need to change that password and manually update the configuration.php file. The setting you need to change is $password.

That procedure will allow you to skip some restore steps in your post, but the security related ones are still necessary.


Dale L. Brackin
Support Specialist


us.gifEnglish: native


Please keep in mind my timezone and cultural differences when reading my replies. Thank you!


????
My time zone is EST (UTC -5) (click here to see my current time in Philadelphia, PA)

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!