Defense against hacks.

Akshat Tripathi

New Member
Joined
Jun 3, 2019
Messages
26
Reaction score
1
Credits
0
Hello all, What process or strategies you follow to keep your web hosting away from hacks?
 


If you want to keep your hosting secured, you must follow these things.

  1. Use the strong passwords(Ex: ANY#@1546$%name)
  2. Use the Scripts, Extensions & Themes Downloaded from Official Sources. Don't use the items downloaded from Nulled sites.
  3. Avoid using outdated Scripts, Extensions & Themes
Most of the websites and servers got hacked because of these things only.
 
Iptables configuration. Config on the desktop:
Code:
/etc/rc.local
Code:
echo "Starting firewall"

iptables -F

iptables -P INPUT DROP
iptables -P FORWARD DROP
iptables -P OUTPUT ACCEPT

iptables -A INPUT -i lo -j ACCEPT
iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT
Checking logs.
Code:
var/log/

chkrootkit
rkhunter

portsentry
logcheck
tripwire
nmap
snort

aide
 
Last edited:


Top