What is the most common reasons why websites are hacked and how to prevent it in the future?
Announcement
Collapse
No announcement yet.
why websites are hacked
Collapse
X
-
Website hack due to
Following are the most common reasons why sites hack:-
Third party software and applications like Wordpress may be susceptible to hacking.
Before using the application themes on your website check their ratings. You may also ask security suggestion from Wordpress.
There may be presence of Trojan over your local machine and it may have got hold of your password for CPanel, FTP and may alter your website code and inject virus.
May have easy to decipher password or weak passwords for FTP of root login.
Setting of weak permissions such as 777
The code that you used in your script might be a weak code.
Make sure that you do not use old and outdated software or application.
Automated file search programs are used to exploit the old files as they may have been already indexed by the search engines thus even if you do not have any link to those pages the search engines display the list to the Internet user, who can visit and find them.
Following things may be done or Measures to be taken to prevent it in future:
Use only highly rated themes of WordPress to reduce the hacking susceptibility.
Always scan your local machine for viruses and Trojans and update your antivirus software.
Scan files on your website by downloading them and once they are virus free upload the files again.
Make sure you use and strong password and at regular basis change the password for root, FTP or main user.
Make sure that you do not keep folder permission like 777, the folder permission must be 755 and file permission must be 644
Make sure that in your script you do not use a weak code.
Use Updated version of scripts/ software/ application and always check for bugs before upgrading. :
-
Some hosts will not block the ports that are most prone to hacks and attacks. Although single websites can be targetted if they are using scripts prone to hacking or using old versions of softwares. However, it is very important to use secured servers that are completely tweaked and configured to prevent hacks from common reasons.
Comment
Comment