<?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>InstaCarma Blog &#187; security</title>
	<atom:link href="http://instacarma.com/blog/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://instacarma.com/blog</link>
	<description>Information Resource for Web Hosting Technical Support and Server Management</description>
	<lastBuildDate>Sat, 04 Sep 2010 16:06:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Changing /cpanel to something else</title>
		<link>http://instacarma.com/blog/technical/changing-cpanel-to-something-else/</link>
		<comments>http://instacarma.com/blog/technical/changing-cpanel-to-something-else/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 20:51:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[port]]></category>
		<category><![CDATA[redirect]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1125</guid>
		<description><![CDATA[Issue : How can you access cPanel like, say, http://domainname.com/xyz ? This is for security purposes. Solution : This can be done but not recommended as it would not be of much effect security-wise. Even if you change it, cPanel/WHM would still run on the standard ports (2082/2083 &#038; 2086/2087) which is known to everyone. [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Issue : </strong></p>
<p>How can you access cPanel like, say, http://domainname.com/xyz ? This is for security purposes.</p>
<p><strong>Solution : </strong></p>
<p>This can be done but not recommended as it would not be of much effect security-wise.<br />
Even if you change it, cPanel/WHM would still run on the standard ports (2082/2083 &#038; 2086/2087) which is known to everyone. If you have a valid cPanel license then you can contact their support and get the ports changed. This coupled with a strong password (change regularly) should be good enough.</p>
<p>However, coming back to the original question, you can achieve it in the following way : </p>
<p>Go to <em>/usr/local/apache/conf/httpd.conf</em><br />
Find the following line : </p>
<blockquote><p>ScriptAliasMatch ^/?cpanel/?$ /usr/local/cpanel/cgi-sys/redirect.cgi</p></blockquote>
<p>Comment it out by adding a &#8216;#&#8217; at the beginning and add the following line below that line : </p>
<blockquote><p>ScriptAliasMatch ^/?xyz/?$ /usr/local/cpanel/cgi-sys/redirect.cgi</p></blockquote>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://instacarma.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://instacarma.com/blog/technical/changing-cpanel-to-something-else/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to prevent SFTP users from viewing server files and folders</title>
		<link>http://instacarma.com/blog/technical/how-to-prevent-sftp-users-from-viewing-server-files-and-folders/</link>
		<comments>http://instacarma.com/blog/technical/how-to-prevent-sftp-users-from-viewing-server-files-and-folders/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 19:24:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[FTP]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sftp]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1113</guid>
		<description><![CDATA[Issue : SFTP users can view server files and folders by simply changing the path to &#8216;/&#8217;. How can this be avoided? Solution : SFTP means FTP access over SSH. You will have to chroot the individual users in order to prevent them from viewing files outside their chroot jail. Normal FTP access has chroot [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Issue : </strong></p>
<p>SFTP users can view server files and folders by simply changing the path to &#8216;/&#8217;. How can this be avoided?</p>
<p><strong>Solution : </strong></p>
<p>SFTP  means  FTP access over SSH.<br />
You will have to <em>chroot</em> the individual users in order to prevent them from viewing files outside their chroot jail.<br />
Normal FTP access has chroot isolation at the ftp daemon level.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://instacarma.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://instacarma.com/blog/technical/how-to-prevent-sftp-users-from-viewing-server-files-and-folders/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>32 million passwords leaked!</title>
		<link>http://instacarma.com/blog/technical/32-million-passwords-leaked/</link>
		<comments>http://instacarma.com/blog/technical/32-million-passwords-leaked/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 17:48:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1097</guid>
		<description><![CDATA[We all know about the huge password breach that happened last month. Click here to read an article on this by Slashdot with some amazing statistics.]]></description>
			<content:encoded><![CDATA[<p>We all know about the huge password breach that happened last month. <a href="http://www.imperva.com/docs/WP_Consumer_Password_Worst_Practices.pdf" target="_blank">Click here</a> to read an article on this by Slashdot with some amazing statistics.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://instacarma.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://instacarma.com/blog/technical/32-million-passwords-leaked/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Access Denied: Referrer Check</title>
		<link>http://instacarma.com/blog/technical/access-denied-referrer-check/</link>
		<comments>http://instacarma.com/blog/technical/access-denied-referrer-check/#comments</comments>
		<pubDate>Thu, 21 Jan 2010 21:05:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[cPanel]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[webmail]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1091</guid>
		<description><![CDATA[Issue : Following message occurs every time when trying to connect to an own dedicated server from other servers. Access Denied: Referrer Check Functions in cPanel / WHM are available only directly through the cPanel and WHM interfaces or through our XML API. It appears that this request is coming from a referring site and [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Issue : </strong></p>
<p>Following message occurs every time when trying to connect to an own  dedicated server from other servers.</p>
<p>Access Denied: Referrer Check</p>
<p><em>Functions in cPanel / WHM are available only directly through the cPanel and WHM interfaces or through our XML API. It appears that this request is coming from a referring site and might be malicious. Administrator Note: If new ips<br />
were recently bound to this server manually you must restart cpsrvd.<br />
If you wish to continue to this page, you may do so but please note that allowing other sites to tell you which actions to perform in cPanel / WHM could be a security risk. Continue at Your Own Risk!</em></p>
<p><strong>Fix : </strong></p>
<p>The message says it all. Isn&#8217;t it?</p>
<p>But if you still want to prevent this message from coming up every time you try to connect then disable the following option in WHM >> Tweak Settings >> Security section : </p>
<p><em>Only permit cpanel/whm/webmail to execute functions when the browser provided referrer (Domain/IP and Port) exactly matches the destination URL. This will help prevent XSRF attacks, but may break integration with other systems, login applications, and billing software. Cookies are required with this option enabled.</em></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://instacarma.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://instacarma.com/blog/technical/access-denied-referrer-check/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Rkhunter and Chrootkit installation</title>
		<link>http://instacarma.com/blog/technical/rkhunter-and-chrootkit-installation/</link>
		<comments>http://instacarma.com/blog/technical/rkhunter-and-chrootkit-installation/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 15:34:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articles and tutorials]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[vulnerability]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=544</guid>
		<description><![CDATA[Rkhunter Installation Rkhunter is a tool used to check trojans, rootkits, and other security problems. Here are the installation steps:- root@server1 [~]#wget http://downloads.rootkit.nl/rkhunter-1.2.7.tar.gz root@server1 [~]#tar -zxvf rkhunter-1.2.7.tar.gz root@server1 [~]#cd rkhunter-1.2.7 root@server1 [~]#./installer.sh You can scan the server by using the following command:- root@server1 [~]#/usr/local/bin/rkhunter -c You can update the rkhunter database by issuing the following [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Rkhunter Installation</strong></p>
<p>Rkhunter is a  tool  used to check trojans, rootkits, and other security problems.<br />
Here are  the installation steps:-</p>
<blockquote><p>root@server1 [~]#wget http://downloads.rootkit.nl/rkhunter-1.2.7.tar.gz<br />
root@server1 [~]#tar -zxvf rkhunter-1.2.7.tar.gz<br />
root@server1 [~]#cd rkhunter-1.2.7<br />
root@server1 [~]#./installer.sh</p></blockquote>
<p>You can scan the server by using the following command:-</p>
<blockquote><p>root@server1 [~]#/usr/local/bin/rkhunter -c</p></blockquote>
<p>You can update the rkhunter database by issuing the following command:-</p>
<blockquote><p>root@server1 [~]#rkhunter –update</p></blockquote>
<p><strong>Chrootkit Installation</strong></p>
<p>Chrootkit is a tool used for scanning the trojans in the server.</p>
<p>Here are the installation steps:-</p>
<p>1) Download the source package</p>
<blockquote><p>root@server1 [~]#wget ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.tar.gz</p></blockquote>
<p>2)Check the  MD5 SUM of the download for security.</p>
<blockquote><p>
root@server1 [~]#ftp://ftp.pangeia.com.br/pub/seg/pac/chkrootkit.md5<br />
root@server1 [~]#md5sum chkrootkit.tar.gz</p></blockquote>
<p>3) Extract the source file and install it.</p>
<blockquote><p>root@server1 [~]#tar xvzf chkrootkit.tar.gz<br />
root@server1 [~]#cd chkrootkit*<br />
root@server1 [~]#make sense</p></blockquote>
<p>4) Scan the server.</p>
<blockquote><p>root@server1 [~]#./chkrootkit</p></blockquote>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://instacarma.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://instacarma.com/blog/technical/rkhunter-and-chrootkit-installation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Security Issue : Apache info being displayed on non-existent pages</title>
		<link>http://instacarma.com/blog/technical/security-issue-apache-info-being-displayed-on-non-existent-pages/</link>
		<comments>http://instacarma.com/blog/technical/security-issue-apache-info-being-displayed-on-non-existent-pages/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 15:32:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=507</guid>
		<description><![CDATA[Issue : When an user tries to access a non-existent page or when a new account is created and no index page is uploaded then the following information can be viewed : Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8 Server at domain.com Port 80 Fix : Disable the Server Signature via WHM >> Main [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Issue : </strong></p>
<p>When an user tries to access a non-existent page or when a new account is created and  no index page is uploaded then the following information can be viewed :</p>
<p><em>Apache/2.0.63 (Unix) mod_ssl/2.0.63 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.8 Server at domain.com Port 80</em></p>
<p><strong>Fix : </strong></p>
<p>Disable the <em>Server Signature</em> via WHM >> Main >> Service Configuration >> Apache Configuration >> ServerSignature </p>
<p>OR </p>
<p>Add the following lines in the <em>httpd.conf</em> file :</p>
<blockquote><p>ServerSignature Off<br />
ServerTokens Prod<br />
FileETag None</p></blockquote>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://instacarma.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://instacarma.com/blog/technical/security-issue-apache-info-being-displayed-on-non-existent-pages/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Nessus : Vulnerability scanner</title>
		<link>http://instacarma.com/blog/technical/nessus-vulnerability-scanner/</link>
		<comments>http://instacarma.com/blog/technical/nessus-vulnerability-scanner/#comments</comments>
		<pubDate>Fri, 08 May 2009 14:57:10 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articles and tutorials]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[Nessus]]></category>
		<category><![CDATA[PCI]]></category>
		<category><![CDATA[scan]]></category>
		<category><![CDATA[scanner]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[vulnerability]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=132</guid>
		<description><![CDATA[Nessus is one of the best vulnerability scanning tool available today. It is available free of cost for personal use. It can detect potential vulnerabilities in an individual system or a network. In the Unix/Linux environment,  Nessus consists of two parts :- nessusd &#8211; It is the daemon which does the scanning. Nessus  &#8211; the [...]]]></description>
			<content:encoded><![CDATA[<p><strong></strong></p>
<p><strong>Nessus</strong> is one of the best vulnerability scanning tool available today. It is available free of cost for personal use. It can detect potential vulnerabilities in an individual system or a network.</p>
<p>In the Unix/Linux environment,  Nessus consists of two parts :-<br />
<em><br />
nessusd &#8211; It is the daemon which does the scanning.<br />
Nessus  &#8211; the client which controls the scanning and provides the report to the user.</em></p>
<p>Source and guidelines for the installation is available on the official Nessus website – <a href="http://www.nessus.org" target="_blank">www.nessus.org</a></p>
<p>Once you are done with the installation you need to make sure that the nessusd daemon is up and running. After that an <em>user </em>needs to be added. This can be done using the command &#8216;nessus-adduser&#8217; (of course, without the quotes).<br />
The figure below explains it quite well:</p>
<div id="attachment_140" class="wp-caption aligncenter" style="width: 386px"><img class="size-full wp-image-140" title="Adding an user" src="http://instacarma.com/blog/wp-content/uploads/2009/05/useradd_bak.png" alt="Adding an user" width="376" height="398" /><p class="wp-caption-text">Adding an user</p></div>
<p>This user will be able to login to the client and run the scan.</p>
<p>Then you can start the client by entering the command &#8216;nessus&#8217; through the console.<br />
You will be presented with an interface like in figure 2 .</p>
<p>This screen shot was taken while we were running a scan for one of our clients.</p>
<div id="attachment_143" class="wp-caption aligncenter" style="width: 285px"><img class="size-medium wp-image-143" title="fig2" src="http://instacarma.com/blog/wp-content/uploads/2009/05/fig2-275x300.jpg" alt="Figure 2" width="275" height="300" /><p class="wp-caption-text">Figure 2</p></div>
<p>You just need to fill in the fields and click &#8216;Log in&#8217;</p>
<p>Please note that you might have to update the plugins and for that you need to get your scanner registered online. The process takes just a couple of minutes and the instructions are available at <a href="http://www.nessus.org/plugins/index.php?view=register-info" target="_blank">http://www.nessus.org/plugins/index.php?view=register-info</a></p>
<p>Then you need to click on the tab &#8216;Plugins&#8217;</p>
<div id="attachment_147" class="wp-caption aligncenter" style="width: 297px"><img class="size-medium wp-image-147" title="plugins" src="http://instacarma.com/blog/wp-content/uploads/2009/05/plugins-287x300.jpg" alt="Figure 3" width="287" height="300" /><p class="wp-caption-text">Figure 3</p></div>
<p>Enable all the plugins as shown above in figure 3. If you do not enable the required plugins then the scan will not return the desired results.</p>
<p>Certain plugins might cause freezing of the network from which you are running the scan . So, make sure  you have the system administrators ready in case you run into any trouble.</p>
<p>Now, you need to mention the &#8216;target&#8217; machine on which the scan is going to be run.  Please refer to figure 4 below :</p>
<div id="attachment_145" class="wp-caption aligncenter" style="width: 297px"><img class="size-medium wp-image-145" title="target" src="http://instacarma.com/blog/wp-content/uploads/2009/05/target-287x300.png" alt="Figure 4" width="287" height="300" /><p class="wp-caption-text">Figure 4</p></div>
<p>Now, you can go ahead and &#8216;Start the scan&#8217; . You can see the progress of the scan on your screen as shown in figure 5.</p>
<div id="attachment_148" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-148" title="progress" src="http://instacarma.com/blog/wp-content/uploads/2009/05/progress-300x233.png" alt="Figure 5 " width="300" height="233" /><p class="wp-caption-text">Figure 5 </p></div>
<p>Once the scan is completed, you will be presented  with a report as the one given below in figure 6.</p>
<div id="attachment_149" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-149" title="report" src="http://instacarma.com/blog/wp-content/uploads/2009/05/report-300x236.png" alt="Figure 6" width="300" height="236" /><p class="wp-caption-text">Figure 6</p></div>
<p>This report can be exported to html or pdf format also.</p>
<p>For reference, I am pasting parts of the pdf that we got after scanning the client server.</p>
<p><img class="aligncenter size-full wp-image-151" title="summary1" src="http://instacarma.com/blog/wp-content/uploads/2009/05/summary1.png" alt="summary1" width="742" height="110" /></p>
<p>The above part depicts the summary of the scan on the whole.</p>
<p>The one below shows the part which explains one of the vulnerability and the suggested solution.</p>
<p><img class="aligncenter size-full wp-image-152" title="vlner" src="http://instacarma.com/blog/wp-content/uploads/2009/05/vlner.png" alt="vlner" width="583" height="307" /></p>
<p>Likewise, you will get a detailed report about the potential problems and the suggested fixes.<br />
If all the vulnerabilities are fixed then the server is most likely to achieve PCI compliance.</p>
<p>I hope this article would be helpful for some people out here. If you have any further queries then do get back to us. We would be happy to help you.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://instacarma.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://instacarma.com/blog/technical/nessus-vulnerability-scanner/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PCI Compliance</title>
		<link>http://instacarma.com/blog/technical/pci-compliance/</link>
		<comments>http://instacarma.com/blog/technical/pci-compliance/#comments</comments>
		<pubDate>Fri, 03 Apr 2009 21:00:55 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Articles and tutorials]]></category>
		<category><![CDATA[Popular Posts]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[PCI]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=57</guid>
		<description><![CDATA[Today, I am going to discuss how we at InstaCarma were able to help one of our clients in achieving PCI Compliance and hence increase their customer base.. Now, this client is basically a provider of e-commerce based hosting solutions. They deal with plenty of sensitive and important data. Hence, becoming PCI Compliant was mandatory [...]]]></description>
			<content:encoded><![CDATA[<p>Today, I am going to discuss how we at <strong>InstaCarma</strong> were able to help one of our clients in achieving <strong>PCI Compliance</strong> and hence increase their customer base..</p>
<p>Now, this client is basically a provider of e-commerce based hosting solutions. They deal with plenty of sensitive and important data. Hence, becoming PCI Compliant was mandatory for them. Recently they were getting too many potential customer queries whether they are PCI Compliant. Achieving this has helped them grow their business by almost 50% in last couple of quarters.</p>
<p>A <strong>PCI Scan</strong> tells you what could be potentially insecure about your server. This is particularly important where storage of sensitive data occurs. Therefore, PCI Compliance is something which is preferred by most credit-card companies these days.</p>
<p>The <strong>PCI Security Standards Council</strong> talks about 12 basic requirements broadly divided into 6 categories. This is called the <strong>PCI-DSS</strong> (Payment Card Industry Data Security Standard)</p>
<p>This is required in order to avoid data frauds where card information is stored.</p>
<p>You can find these details at <a href="https://www.pcisecuritystandards.org/security_standards/pci_dss.shtml" target="_blank">https://www.pcisecuritystandards.org/security_standards/pci_dss.shtml</a></p>
<p>Following are the important steps that we took in order to ensure that their cPanel servers pass the <strong>PCI Scan</strong> :-</p>
<p>- <strong>Installed a firewall</strong> : A server is not likely to pass the PCI Scan if there are unnecessary open ports. We installed <em>CSF</em> on the server. Alternatively, APF can also be used. We closed all the ports except for the ones required for the essential services. Certain standard ports like 2082, 2086 and 2095 could produce a negative result. So, we configured WHM to use the secure ports only.</p>
<p>- <strong>Updating the packages </strong>: Just run <em><strong>/scripts/upcp</strong></em> to update all the packages. Also, we had to make sure that Apache , PHP and MySQL were running the latest version.</p>
<p>The suggested versions are :</p>
<p><em><strong>MySQL 4.1.22</strong></em> or above<br />
<em><strong>PHP 5.2.5</strong></em> or above<br />
<em><strong>Apache 1.3.39 </strong></em>or above ( Certain scans might require Apache 2.0.x )</p>
<p><em><strong>OpenSSL 0.9.7j</strong></em> or above</p>
<p>cPanel suggests that you should keep <em>cPAddons</em> up to date as well.</p>
<p>- <strong>Disabled mod_userdir</strong> : If a site on the server can be accessed as http://serverip/~username</p>
<p>then it means that mod_userdir is &#8216;enabled&#8217;. We can disable it through WHM &gt; Security Center &gt; Apache mod_userdir Tweak</p>
<p>- SSL : At least, one SSL certificate from a recognized certificate authority is required. We</p>
<p>installed SSL for Apache. SSL can be installed for other services as well.</p>
<p>- <strong>Apache Setup should not be revealed</strong>: We all have seen the &#8217;404 Error&#8217; page at some point. Information about the Apache Setup</p>
<p>should not be available on that page. This can be achieved by adding the following lines to the &#8216;httpd.conf&#8217; file :</p>
<p><em>ServerSignature Off</em></p>
<p><em>ServerTokens Prod</em></p>
<p><em>FileETag None</em></p>
<p>- <strong>Disable SSLv2 and other weak encryption methods </strong>: Some services doesn&#8217;t allow you to</p>
<p>choose between SSL protocols but most PCI Scan overlook it.</p>
<p>The Weak SSL cipher issue has been an headache for people who want to pass the scan.</p>
<p>Thankfully, cPanel 11.24 has got an in-built solution for that.</p>
<p>Just go to WHM &gt; Apache Configuration &gt; Global configuration and copy paste the following :</p>
<p>ALL:!ADH:!NULL:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:-LOW:+SSLv3:+TLSv1</p>
<p>- <strong>mod FrontPage</strong> &#8211; It is likely to cause a scan failure. Therefore, we kept it disabled.</p>
<p>- <strong>Separate services</strong> – cPanel recommends that you keep services separate like MySQL server on</p>
<p>a local subnet, remote DNS only, no local BIND etc</p>
<p>- <strong>2 factor authentication</strong> – This is another suggestion by cPanel that we adopted. A 2-factor</p>
<p>authentication procedure which requires a key and a passphrase.</p>
<p>- Besides all these, another important measure that we took was running the <strong>Nessus Scan</strong>.</p>
<p>It is a wonderful freely available tool to find any vulnerabilities on your server. You can find the details on the official Nessus website – <a href="http://www.nessus.org" target="_blank">http://nessus.org</a></p>
<p>Nessus basically consists of two parts, the server and the client. Once you are done with the two installations you need to add an user for the scanner and then you can start a scan on any remote server. The scan might take a while. It will give you a detailed report about all the package related vulnerabilities and any security loopholes. The best thing about Nessus is that it will also give you suggestions on how to fix those.</p>
<p>Thus, Nessus will tell you almost everything that needs to be done in order to achieve PCI Compliance.</p>
<p>I will be discussing about the installation and working of Nessus in the coming articles.</p>
<p>Let me tell you that different scan companies have a different approach . Hence, the requirements vary and they might have many more than the ones mentioned above. But these are the very basic ones that need to implemented for sure. I hope this article would be helpful for those looking forward to achieving PCI Compliance.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://instacarma.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://instacarma.com/blog/technical/pci-compliance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moodle security fix released</title>
		<link>http://instacarma.com/blog/technical/moodle-security-fix-released/</link>
		<comments>http://instacarma.com/blog/technical/moodle-security-fix-released/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 18:00:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Quick fixes]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[moodle]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=233</guid>
		<description><![CDATA[Moodle 1.9.5 and Moodle 1.8.9 &#8211; update has been released to patch some security issues. Four serious security vulnerabilities (1 critical, 3 major) have been discovered and fixed recently.   There are no reported exploits yet, and they do not affect all sites, but still it is recommended hat you upgrade your sites to these latest [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Moodle 1.9.5</strong> and <strong>Moodle 1.8.9</strong> &#8211; update has been released to patch some security issues. Four serious security vulnerabilities (1 critical, 3 major) have been discovered and fixed recently.   There are no reported exploits yet, and they do not affect all sites, but still it is recommended hat you upgrade your sites to these latest versions as soon as possible (or otherwise ensure that these issues are not active in your site).</p>
<p>release notes:</p>
<p><em>http://docs.moodle.org/en/Moodle_1.9.5_release_notes</p>
<p>http://docs.moodle.org/en/Moodle_1.8.9_release_notes</em></p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://instacarma.com/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://instacarma.com/blog/technical/moodle-security-fix-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
