security - My wordpress websites on VPS server is getting hacked regularly -
i have purchased vps server ovh. have installed vestacp, has been more 6 months , i'm still facing issues server security. wordpress websites hacked, server slow or not responding whole day. i'm not able identify issue. please. me.
here basic checklist started:
- download , run wpscan against site can obtain here.
- change passwords, since it's virtual private server pem file might of been compromised. change password access site.
- update plugins, can't stress enough , see businesses time, don't update plugins. make sure updated latest wordpress version well.
- if website beyond repair @ time download files , fresh install of wordpress , restore can.
- invest in ssl certificate encrypt data, protect , users mitm (man in middle) attacks.
- update .htaccess file restrictions try these.
- if don't have ids/ips detect sql injection consider installing modsecurity, can download here.
- since it's virtual private server if backdoor has been planted might want consider doing full wipe , restore of files know secure.
- close ports don't need. if don't use ports time close them.
- update webserver applications, apache, mysql, , others. if don't have latest version should able download them manually , if it's linux compile , run latest source.
- for countries don't mean business block of them country blocking plugin make sure it's secure, key research.
- install wpsecurity , limit amount of failed logins before being locked out or having ip address blocked usernames after many failed attempts.
if it's linux vps try these commands see server to:
#check remote connections netstat -a #allows monitor network usage application nethogs eth0 #allows monitor system log authorizations tail -f /var/log/auth.log #allows monitor firewall log tail -f /var/log/ufw.log #allows monitor packets (look malformed ones) tshark -i eth0
you should doing incident response @ time more since it's vps server. there great methodologies on this website may well.
hope helps.
--lillypad
Comments
Post a Comment