Note: You are currently viewing documentation for Moodle 3.1. Up-to-date documentation for the latest stable version of Moodle is probably available here: Hacked site recovery.

Hacked site recovery: Difference between revisions

From MoodleDocs
(initial steps, damage assessment, recovery, prevention, see also)
 
Line 5: Line 5:
* Contact your hosting provider, if you have one.
* Contact your hosting provider, if you have one.
* Organise to take your site off-line temporarily until you know you've fixed everything.
* Organise to take your site off-line temporarily until you know you've fixed everything.
* Backup data, database and data files.
* Find all available older database and file backups
* Backup data, database and data files (Do not overwrite older backups.)


==Damage assessment==
==Damage assessment==

Revision as of 13:21, 19 February 2009


Initial steps

  • Contact your hosting provider, if you have one.
  • Organise to take your site off-line temporarily until you know you've fixed everything.
  • Find all available older database and file backups
  • Backup data, database and data files (Do not overwrite older backups.)

Damage assessment

  • Look for any modified or uploaded files on your web server.
  • Check your server logs for any suspicious activity, such as failed login attempts, command history (especially as root), unknown user accounts, etc.

Recovery

Prevention

Always keep your site up-to-date and use the latest stable version.

It is very safe to go from 1.9.3 to 1.9.4+, for example, at any time. CVS is an easy way to do this.

See also

Using Moodle forum discussions: