How to catch spammer or Scammer in Cpanel server?

1. Open exim.conf pico /etc/exim.conf 2) Find this; Ctrl + W: hostlist auth_relay_hosts = * ######################### Runtime configuration file for Exim # ######################### 3) After hostlist auth_relay_hosts = * add the following log_selector = +address_rewrite +all_parents +arguments +connection_reject +delay_delivery +delivery_size +dnslist_defer +incoming_interface … [Read more...]

Installing BFD (Brute Force Detection)

1) Login to shell via root. 2) Download BFD wget http://www.rfxnetworks.com/downloads/bfd-current.tar.gz 3) Unpackage the download tar -xvzf bfd-current.tar.gz 4) Move to BFD folder cd bfd-version-goes-here 5) Install BFD ./install.sh 6) Configure BFD nano -w /usr/local/bfd/conf.bfd then Find: ALERT_USR="0" Change to: ALERT_USR="1" Find: EMAIL_USR="root" Change to: … [Read more...]

SSH login message

(By default I have this set only to the root user and no shared accounts. but it’s up to you what you do...) Top create a login message login via root with your favourite SSH client (PuTTY!!) and type this pico /etc/motd Now type your message here to warn users about your AUP etc.. Now type Ctrl+X then hit Y and enter Saved and all done! … [Read more...]

Securing Centos and cpanel from root kits using rkhunter (root kit hunter)

Security of your web server is one of the more important issue now a days....Risk of your server security increaseswith the increase in popularity of your websites and your service.. Here is an article to teach you that how you can protect your server from rootkits.. root kit hunter is one of the best root kit scanner I found in my experience.. You can check its updates … [Read more...]

Setup and Secure Plesk Server

So login with SSH and enter as root.   1. Verify if YUM is installed. If yes, proceed to edit /etc/yum.conf. If not, install from RPM. YUM is installed in latest FEDORA by default. Other OS use for example apt-get (Debian)   2. Edit YUM configuration to work with ATOMIC packages.               Using Lynx (yum -y install lynx):                            lynx -source … [Read more...]