1. Home
  2. Knowledge Base
  3. Web Hosting
  4. I think my website is hacked. What do I do?

I think my website is hacked. What do I do?

There are lots of different types of website hacks. Hacks can be malicious (such as installing a virus on your website that your visitor’s may get), or the hacks can just change the text on your front page. It is important to determine if your website has been hacked, how it was hacked, and then how to restore the site to it’s status prior to the back.

Has my website been hacked?

Some website hacking is obvious, while others are more subtle. Signs that your website has been hacked:

– Your front page is “defaced.” When you visit your website, instead of your page there is a completely different page. Often these pages will have a “hacked by….” message on them.
– You can no longer log into any of your admin pages. If you are having trouble logging into your CMS administrator login and your Control Panel, then it is possible that your site was hacked and the passwords were changed.
– You get a Google Warning when you visit your website. Google scans all websites for malicious coding. If Google finds any files to be malicious, then when you visit your site through a Google search or in FireFox/Chrome it will display a red warning page.
– Your computer anti-virus software warns you when you visit your website. If your anti-virus warns you of a virus on your website, then there is likely a virus or trojan that your website is attempting to install on your computer.
– A page that previously loaded now suddenly will not load. This is not as common, but if a hacker has modified for example a database on your website that made the site no longer function properly, you may get a “can not connect to database” or similar message when loading a page.

Here are a couple scanners that can look at your site too:

https://www.unmaskparasites.com/
https://sitecheck.sucuri.net/scanner/

How was my website hacked?

The more common methods used to hack websites include:

Hacked CMS (WordPress Joomla etc.) admin password, FTP password
Code injection – https://en.wikipedia.org/wiki/Code_injection
Remote File Inclusion – https://en.wikipedia.org/wiki/Remote_File_Inclusion

If your password has been hacked, generally this will lead to your front page being “defaced” as the hackers will upload their own index page. If you use a software such as WordPress, ZenCart, or other programs, often time the hacks are done through an exploit in those programs. In many cases, if you use a CMS program the database will be hacked as well and will need to be restored.

How do I fix my website that is hacked?

1. Get your site cleaned
It is difficult to give an exact method to resolve a hacking issue as there are many different types of website hacks, here are some general steps to take to correct your website:

Restore backup of your website. The easiest way is to restore your site from a version that was saved prior to the site being hacked. If you have paid for the automated backup service, please contact our support team so that your website can be restored from the backup. If you do have the automated backup service, then you will need to restore your own backup of your website through the Control Panel.
Remove the coding from the .htaccess file. Many times if the site is hacked by code injection, there will be a “re-direct” placed in your .htaccess file in your httpdcos folder. Open your .htaccess file and look for any lines of coding that look suspicious. Delete the suspicious lines of coding, and then save your changes.

2. Get your site off the “hacked” “malware” lists:
Google (and many network partners) maintains a list of suspected and known malware infected sites and if your site is listed most modern browsers will put a warning before they go to it. The warning page will look something like this:

(#img malware.jpg#)

These pages are initiated by Google and their Safe Browsing initiative. For info on how to get your site removed from this list see Google’s Help:
https://goo.gl/9oLce
and Google Webmasters Tools:
https://www.google.com/webmasters/tools/
and More info on Malware here:
https://goo.gl/DbbvD

What should I do prevent my site from being hacked?

Depending on the cause of the hack, there are some steps you can take to help prevent hacks in the future:

– Change any passwords for your account. This is always the recommended first step. In case your passwords were compromised, change your Control Panel password, any FTP account passwords, and if you use WordPress or a CMS change that password as well.
– Update Programs running on your hosting account. If you use third party software to build your site, such as WordPress or Joomla, make sure you are using the most up to date version as security exploits may have been fixed by the developers.
– Update Programs running on your computer. Some programs, such as Adobe’s Flash, include vulnerabilities that allow hackers to access data on your computer. They can then sniff around and find data, such as FTP usernames and passwords that are saved in some programs. Be sure that you keep all of your software up to date as most developers often release security patches.

Was this article helpful?

Related Articles

Need Support?

Can't find the answer you're looking for?
Contact E Street Support