Additional Security Software
For WHM version 11.32
This document includes additional software and modifications you can install and use to help secure your server.
chkrootkit
chkrootkit is a
shell script that examines your system's binaries for rootkit installations. In this case, a rootkit is a software modification, performed on the system, that someone can use to gain administrative access to the server undetected. To install chkrootkit:
- Log into your server as the root user.
- Enter the /root/ directory using the following command:
- Use the following command to download chkrootkit:
- wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz
- Uncompress the
.tar.gz. file using the following command:
- tar -xvzf chkrootkit.tar.gz
- Enter the new directory using the following command:
- Begin the chkrootkit installation using the following command:
At this point, chkrootkit should install successfully on your server. To run rootkit, enter the following command:
- /root/chkrootkit-0.44/chkrootkit
We strongly recommend that you run chkrootkit often and add a cronjob that runs the command above.
Modify the Logwatch Configuration File
Logwatch is a customizable log analysis system. It parses your system's log files for a given period of time and creates a report analyzing specified data. Logwatch is already installed on most cPanel & WHM servers.
The Logwatch configuration file is located at:
/usr/share/logwatch/default.conf/logwatch.conf
To make the necessary edits, you will need to open the file listed above with your preferred text editor. We recommend changing the following parameters:
- MailTo = user@example.com
-
Note: You will need to replace user@example.com in the example above with the email address at which you wish to receive notifications from Logwatch.
- Detail = 5 or Detail = 10
-
Note: Changing this parameter allows you to receive more detailed log files. A value of 5 would represent a medium level of detail while a value of 10 would result in a high level of detail.
Make sure to save your changes when you are finished editing this file.
ConfigServer Software
Many of our technical analysts recommend using CSF. CSF is a free product provided by ConfigServer. CSF is a stateful packet inspection (SPI) firewall, login and intrusion detection mechanism, and general security application for Linux servers. For more information about using and installing CSF, you can
visit the CSF website.
ConfigServer also provides a free add-on product for cPanel & WHM called ConfigServer Mail Queues (CMQ). The product provides a full featured interface to cPanel's
Exim mail queues from within WHM. For more information about using and installing CMQ, you can
visit the CMQ website.
Topic revision: r7 - 22 Apr 2011 - 18:13:50 - Main.RosieArcelay
AllDocumentation/WHMDocs.AdditionalSecuritySoftware moved from Sandbox.AdditionalSecuritySoftware on 16 Jul 2010 - 18:31 by Main.JustinSchaefer -
put it back