Do you know what to do if your website is hacked? You may think that it’s never going to happen to you because you’ve done everything you can to make your website secure. If you have implemented robust security, then congratulations, you have done a lot to reduce your chances of having your website hacked. There are, however, never any guarantees, so it’s still wise to have a plan in place for if it is. Here is some guidance to help.
What to do if your website is hacked?
When thinking about what to do if your website is hacked, there are seven key points you need to address. These are as follows. Contain the damage. Report the issue to your host. Scan your site for malware. Scan your server, local computers, and mobile devices. Check your list of administrators. Back up and restore your website. Learn and prevent.
Contain the damage
There are two sides to this. First of all, you want to stop the hacker from doing any more damage to your website. Secondly, you need to do everything you possibly can to prevent your site infecting anyone else with malware. In principle, the best move is to take your site entirely offline. In practice, however, this is not often a realistic option because you’re probably going to want to use cloud-based tools in the clean-up operation. You can, however, block your site to all IP addresses except for ones that you specify.
Report the issue to your host
If your host did not report the issue to you, then you need to make them aware that you have identified an issue and are dealing with it. Your host may be able to help by providing information that can help you to work out what happened to your site. They may also be able to suggest vendors you could use if you need extra assistance or offer support themselves at an extra cost.
Scan your site for malware
Even if you’ve been using a reputable website vulnerability scanner, there’s always the possibility that malware can slip past it in the interval between a new threat being created and an anti-malware scanner being updated to deal with it. One of the advantages of using cloud-based website vulnerability scanners is that this delay is minimized, but it is still there.
This means that if your website is ever hacked, you should make it a top priority to scan it for malware (and any other vulnerabilities supported by your scanner) as there may have been an update released since your last scan.
If you haven’t been using a website vulnerability scanner then you could try using one of the free scanning services just to get your website up and running again. Make sure, however, that you use a reputable vendor. Then make it a priority to sign up for a premium service, again, check that you’re using a reputable vendor.
Scan your server, local computers, and mobile devices
If you’re running your own server, you need to check for malware on that. You definitely need to check for malware on your local computers and mobile devices. The attacker may have compromised one or more of them and used their access to steal the login details they needed to access your website.
Check your list of administrators
Go through your list of administrators carefully and make sure that you actively and definitely recognize all of them as legitimate users. If you don’t, then just delete them. You can always create new accounts if they turn out to be genuine users.
Once your scans have finished, have all the administrators change their passwords. If they’re not around to change their passwords, then downgrade their accounts until they are.
Back up and restore your website
Back up your website and its contents just to be on the safe side. Then decide if you are going to clean up your website by hand (or have someone do it for you) or if you are just going to start again from scratch.
As a rule of thumb, the more customization you have done on your website, the more sense it makes to grit your teeth and go through it manually looking for the malicious code the attackers will almost certainly have left behind. This code is often missed by anti-malware scanners because it is customized to your website, hence they have no reference point. If you do go down this route, remember to update all your software afterward.
Learn and prevent
Undertake a security audit on your site and commit to actioning the results.
Please click here now to have your website scanned, for free, by cWatch from Comodo.
© 2024 Comodo Security Solutions, Inc