Being hacked can be stressful. Recovering from a hack is only part of the solution, however. Getting your site back up and running is only the first step. You also want to ensure you are protected from future attempts. That is the second step and every bit as important as the recovery.

Below is several sets of steps to use when you are recovering from a hack. Use these regardless of the type of attack you experienced.
There may seem to be a lot of information here, but that is the point. We want to be sure to plug any holes the hacker was able to get in.

Be prepared to change all passwords associated with your account. These will include:

  • cPanel Password
  • all Email Passwords
  • all FTP passwords
  • Passwords for any other Content Management Systems (CMS) such as WordPress, Joomla, etc

Checking Your Local Machine:

  1. Update all anti virus programs you have on your local computer. I recommend more than one as they may have different checklists, so this gives you extra protection. After updating them, be sure to run a full scan of local machine. This may take some time, but do it anyway. If you do not have anti virus on your local machine, it is highly recommended that you install at least one anti virus program, keep it up to date, and scan your system regularly. Despite popular opinion, Macs and Linux machines are not immune, so be sure to do this with those machines as well.
  2. If you use a wireless router, ensure the connection is a secured one. If you are not sure how to secure your wireless router, check the documentation or do a search onlinefor your particular router model and how to secure it. Your router manufacturer's tech support may also be able to assist you should you need it.
  3. If you use any local web design/development software such as Dreamweaver, iWeb, Microsoft Expression Web, etc. make sure that software is up to date as well.
  4. Make sure that all Adobe products (Adobe Acrobat and Adobe Acrobat Reader, etc) are updated. These are widely popular and on the vast majority of machines. This makes any security holes very popular for exploitation by hackers.
  5. Check your internet browser version and update as needed. If you have more than one browser installed on your computer, check all browsers installed. Old software is more likely to be exploited as the security holes have been exposed for a longer period of time.

Checking your cPanel:

  1. Firstly, change your cPanel password.
  2. After that, log into the cPanel dashboard.
  3. Head over to the FTP Accounts section and ensure all FTP accounts are valid and in use. If not, delete them. When deleting, be sure to select the Delete Account Option and NOT Delete Account and Files to prevent accidental deletion of critical files.
  4. Change all FTP account passwords.
  5. Go to the Email accounts section and ensure that all accounts are valid and in use. Delete any unused or suspicious email accounts.This will delete any emails on these accounts from the server as well.
  6. Change all email account passwords.
  7. Next, go to the Email Forwarders section of the cPanel, ensuring any forwarders are valid. Delete any that should not be there.
  8. Go to the Cron Job section and ensure that any cron jobs listed are valid and the commands correct.
  9. Next, check the Simple DNS Zone editor in the cPanel. Be sure to check for any records (CNAMEs and A records) that should not be there. You may see MX records if you are using a third party email service. Ensure they are also correct, if present.
  10. Check the Redirects section of the cPanel. Look for any redirects that should not be there. If you see any unauthorised redirects, delete them. Also, check all existing redirects to make sure they are correct.

Other Things

  1. If you use a Content Management System (CMS) such as WordPress, Drupal, Joomla, ecommerce programs, etc. be sure they are updated to the latest version.
  2. Change ALL administrative passwords for these programs.
  3. Do a search for all programs you use to see if there are any recommended security strategies. In Wordpress, for example,  you will want to change your Security Keys and Salts. This invalidates any previous cookies and logs out all users from the dashboard if they were logged in.
  4. Do not connect to the internet on any network that is insecure. If you are online with an insecure network, do not login to your account at all.
  5. Last but certainly not least, regularly create and download backups of your account. This is extremely important for data recovery. Think of it as an insurance policy for your data.

Be sure to do all of the above steps and do not change any passwords until after the local machines have been cleared by anti-virus software.

Like this Article?

Login to comment.

Your Opinion Matters

... but we need to know what you're thinking!

I'm Scott Mitchell, your friendly Community Support technician, and I wrote the article you're looking at now. I like to think it's perfect, but I'm sure you have some suggestions. Please, let me know what they are!

Feedback
Your Email Address
Because we'd like to talk with you!

Latest Questions

If you need some help, submit your question to our Community!
We guarantee a response within 60 minutes (8am - 9pm EST, Monday - Friday)
Ask a Question!
Recent Questions
  1. Email logs - where shall I find log on who, when, IP address, has open a connection
  2. Creating a Cname
  3. 500 Firewall Error

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!