What I do if my Website hacked ?

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 cPanel, 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.
  • 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.

How was my website hacked?

The more common methods used to hack websites include:

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?

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 cPanel.
  • 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 public_html 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.

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 cPanel 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.

And if you using Wordpress, you can also check this KB article which is well explained in order to prevent your Wordpress website from hacking http://billing.websouls.com/knowledgebase/61/How-to-Prevent-Wordpress-Hacking.html


Hope this article helps you!


Customer Support Team,
WebSouls
  • 14 Utilizadores acharam útil
Esta resposta foi útil?

Artigos Relacionados

What is Hacking

Hacker is a term used by some to mean a clever programmer and by others, especially those in...

How can we find IP where a hacking activity performed through cpanel ?

Site security nowadays is a great challenge. It’s a good idea to keep track of your cpanel access...

Hacking Types

There are lot of types of hacking,Main two types are: 1.ethical hacking2.illegal hacking for...

Reported Attack Page solution

Google introduced Safe browsing times ago which is an extension of Firefox and keep the Firfox...

Strong Passwords: How to create and use them

To an attacker, a strong password should appear to be a random string of characters. The...