<?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://www.instacarma.com/blog/tag/security/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.instacarma.com/blog</link>
	<description>Information Resource for Web Hosting Technical Support and Server Management</description>
	<lastBuildDate>Tue, 24 May 2011 10:01:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>Cloud Computing Security</title>
		<link>http://www.instacarma.com/blog/technical/cloud-computing-security/</link>
		<comments>http://www.instacarma.com/blog/technical/cloud-computing-security/#comments</comments>
		<pubDate>Tue, 04 Jan 2011 13:56:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technical]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[cloud computing]]></category>
		<category><![CDATA[Cloud Computing Attacks]]></category>
		<category><![CDATA[Data Security Lifecycle]]></category>
		<category><![CDATA[Network Security]]></category>
		<category><![CDATA[Operating System Security]]></category>
		<category><![CDATA[Operational Security]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://instacarma.com/blog/?p=1394</guid>
		<description><![CDATA[Filed under: cloud, cloud computing, Cloud Computing Attacks, Data Security Lifecycle, Network Security, Operating System Security, Operational Security, security There are a lot of concerns in the minds of experts while moving to cloud computing. The first one is information or data security. While cost and ease of use are two great benefits of cloud [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/cloud/'>cloud</a>, <a href='http://www.instacarma.com/blog/tag/cloud-computing/'>cloud computing</a>, <a href='http://www.instacarma.com/blog/tag/cloud-computing-attacks/'>Cloud Computing Attacks</a>, <a href='http://www.instacarma.com/blog/tag/data-security-lifecycle/'>Data Security Lifecycle</a>, <a href='http://www.instacarma.com/blog/tag/network-security/'>Network Security</a>, <a href='http://www.instacarma.com/blog/tag/operating-system-security/'>Operating System Security</a>, <a href='http://www.instacarma.com/blog/tag/operational-security/'>Operational Security</a>, <a href='http://www.instacarma.com/blog/tag/security/'>security</a></p>
<p>There are a lot of concerns in the minds of experts while moving to cloud computing. The first one is information or data security. While cost and ease of use are two great benefits of cloud computing, there are significant security concerns that need to be addressed when considering moving critical applications and sensitive data to public and shared cloud environments. Prior to any move to the cloud, it’s simple common sense and good practice to ensure that the necessary security procedures, standards, guidelines and processes are already in place at home to ensure the technical security of data.</p>
<p>In a cloud, data can be moved through data centers in different international locations in response to varying levels of demand. Data located in any country may be governed by the laws of that country and there are sophisticated regulatory demands on businesses to ensure the security of the information they hold and generate. Furthermore, organizations have legal obligations to preserve data and ensure that it is available for any legal proceedings—called<br />
electronic discovery—even if the customer is not in direct possession or control of that data. Therefore, cloud customers must seek contractual assurance regarding the geographical storage and transit of their cloud-based data, to ensure compliance with existing as well as the inevitable introduction of new laws governing Therefore, cloud customers must seek contractual assurance regarding the geographical storage and transit of their cloud-based data, to ensure compliance with existing as well as the inevitable introduction of new laws governing.</p>
<p><strong>Physical Security</strong></p>
<p>The cloud provider is responsible for providing platform and infrastructure security. Physical access should be strictly controlled by professional security staff utilizing video surveillance, state of the art intrusion detection systems, and other electronic means. As a result, an organization is responsible for managing:</p>
<ul>
<li> The physical location of the data center (affecting which country’s law applies);</li>
<li>The security of the data center</li>
<li>The trustworthiness of system administrators; and</li>
<li>The documented information security program that protects the confidentiality, integrity, and availability of data and systems, including, but not limited to, configuration, patching, incident response, and business continuity management.</li>
</ul>
<p><strong>Environmental Controls</strong></p>
<p>Cloud computing clusters architecture should be designed with resiliency and redundancy in mind,<br />
helping minimize single points of failure and the impact of common equipment failures and<br />
environmental risks. Dual circuits, switches, networks, and other necessary devices are utilized<br />
to provide redundancy. Facilities infrastructure at the data centers has been designed to be<br />
robust, fault tolerant, and concurrently maintainable.</p>
<p><strong>Operational Security</strong></p>
<p><strong>Network Security</strong>: Most of the cloud computing providers employs multiple layers of defense to help protect the network perimeter from external attacks. Enforcement of network segregation using industry standard firewall and ACL technology can prevent network attacks.<br />
<strong>Operating System Security</strong>: You have to make sure that a standard hardened operating system (OS), and security fixes are uniformly deployed to the entire infrastructure.<br />
Access Control: Authentication controls and Authorization controls are very much required in host levels and application levels to prevent unauthorized access.</p>
<p><strong>Data Security Lifecycle</strong></p>
<p>The Data Security Lifecycle consists of six phases as shown in the diagram given below:<br />
<strong>Data security</strong>: Confidentiality, Integrity, Availability, Authenticity, Authorization, Authentication, and Non-Repudiation.<br />
<strong>Location of the data</strong>: There must be assurance that the data, including all of its copies and backups is stored only in geographic locations permitted by contract, SLA, and/or regulation. For instance, use of “compliant storage” as mandated by the European Union for storing electronic health records can be an added challenge to the data owner and cloud service provider.<br />
<strong>Data remanance or persistence</strong>: Data must be effectively and completely removed to be deemed ‘destroyed.’ Therefore, techniques for completely and effectively locating data in the cloud, erasing/destroying data, and assuring the data has been completely removed or rendered unrecoverable must be available and used when required.<br />
In addition, the destruction of information is more difficult to guarantee in a shared environment. Encryption, and the provision of different encryption keys for each customer in a public cloud may go some way to mitigate this, but not all cloud providers can offer this.<br />
It is wise to ensure that data isn’t held in a proprietary format and is readily transferable to other systems as required. The format of information entrusted to a provider should be agreed and be documented in the contract.</p>
<p><strong>Cloud Computing Attacks</strong></p>
<p><strong>Denial of Service attacks</strong>: Some security professionals have argued that the cloud is more vulnerable to DoS attacks, because it is shared by many users, which makes DoS attacks much more damaging. Twitter suffered a devastating DoS attack during 2009.<br />
<strong>Side Channel attacks</strong>: An attacker could attempt to compromise the cloud by placing a malicious virtual machine in close proximity to a target cloud server and then launching a side channel attack.<br />
<strong>Authentication attacks</strong>: Authentication is a weak point in hosted and virtual services and is frequently targeted. There are many different ways to authenticate users; for example, based on what a person knows, has, or is. The mechanisms used to secure the authentication process and the methods used are a frequent target of attackers.<br />
<strong>Man-in-the-middle cryptographic attacks</strong>: This attack is carried out when an attacker places himself between two users. Anytime attackers can place themselves in the communication’s path, there is the possibility that they can intercept and modify communications.</p>
<p>Cloud computing therefore offers real benefits to companies seeking a competitive edge in today’s fast growing economy. A lot of providers are moving into this area, and the competition is driving prices even lower. Attractive pricing, the ability to free up staff for other duties, and the ability to pay for “as needed” services will continue to drive more businesses to consider cloud computing. The decision to move to cloud-based services should fit into the organization’s overall corporate objectives. A cloud provider must be able to deliver the security, availability, audit and reporting configurations you require. It is therefore essential that enterprises seeking the benefits of cloud computing ensure that their cloud providers can deliver the levels of security and control that they need and should expect.</p>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/cloud-computing-security/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/cloud-computing-security/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Changing /cpanel to something else</title>
		<link>http://www.instacarma.com/blog/technical/changing-cpanel-to-something-else/</link>
		<comments>http://www.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[Filed under: apache, cPanel, port, redirect, security, WHM 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 [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/apache/'>apache</a>, <a href='http://www.instacarma.com/blog/tag/cpanel/'>cPanel</a>, <a href='http://www.instacarma.com/blog/tag/port/'>port</a>, <a href='http://www.instacarma.com/blog/tag/redirect/'>redirect</a>, <a href='http://www.instacarma.com/blog/tag/security/'>security</a>, <a href='http://www.instacarma.com/blog/tag/whm/'>WHM</a></p>
<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>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/changing-cpanel-to-something-else/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/changing-cpanel-to-something-else/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to prevent SFTP users from viewing server files and folders</title>
		<link>http://www.instacarma.com/blog/technical/how-to-prevent-sftp-users-from-viewing-server-files-and-folders/</link>
		<comments>http://www.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[Filed under: FTP, security, sftp, ssh 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 [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/ftp/'>FTP</a>, <a href='http://www.instacarma.com/blog/tag/security/'>security</a>, <a href='http://www.instacarma.com/blog/tag/sftp/'>sftp</a>, <a href='http://www.instacarma.com/blog/tag/ssh/'>ssh</a></p>
<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>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/how-to-prevent-sftp-users-from-viewing-server-files-and-folders/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/how-to-prevent-sftp-users-from-viewing-server-files-and-folders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>32 million passwords leaked!</title>
		<link>http://www.instacarma.com/blog/technical/32-million-passwords-leaked/</link>
		<comments>http://www.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[Filed under: password, security 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>Filed under: <a href='http://www.instacarma.com/blog/tag/password/'>password</a>, <a href='http://www.instacarma.com/blog/tag/security/'>security</a></p>
<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>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/32-million-passwords-leaked/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.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://www.instacarma.com/blog/technical/access-denied-referrer-check/</link>
		<comments>http://www.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[Filed under: cPanel, error, security, webmail, WHM 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 [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/cpanel/'>cPanel</a>, <a href='http://www.instacarma.com/blog/tag/error/'>error</a>, <a href='http://www.instacarma.com/blog/tag/security/'>security</a>, <a href='http://www.instacarma.com/blog/tag/webmail/'>webmail</a>, <a href='http://www.instacarma.com/blog/tag/whm/'>WHM</a></p>
<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>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/access-denied-referrer-check/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/access-denied-referrer-check/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Rkhunter and Chrootkit installation</title>
		<link>http://www.instacarma.com/blog/technical/rkhunter-and-chrootkit-installation/</link>
		<comments>http://www.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[Filed under: security, vulnerability 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 [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/security/'>security</a>, <a href='http://www.instacarma.com/blog/tag/vulnerability/'>vulnerability</a></p>
<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>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/rkhunter-and-chrootkit-installation/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.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://www.instacarma.com/blog/technical/security-issue-apache-info-being-displayed-on-non-existent-pages/</link>
		<comments>http://www.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[Filed under: apache, security, WHM 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 [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/apache/'>apache</a>, <a href='http://www.instacarma.com/blog/tag/security/'>security</a>, <a href='http://www.instacarma.com/blog/tag/whm/'>WHM</a></p>
<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>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/security-issue-apache-info-being-displayed-on-non-existent-pages/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.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://www.instacarma.com/blog/technical/nessus-vulnerability-scanner/</link>
		<comments>http://www.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[Filed under: Nessus, PCI, scan, scanner, security, vulnerability 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 [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/nessus/'>Nessus</a>, <a href='http://www.instacarma.com/blog/tag/pci/'>PCI</a>, <a href='http://www.instacarma.com/blog/tag/scan/'>scan</a>, <a href='http://www.instacarma.com/blog/tag/scanner/'>scanner</a>, <a href='http://www.instacarma.com/blog/tag/security/'>security</a>, <a href='http://www.instacarma.com/blog/tag/vulnerability/'>vulnerability</a></p>
<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>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/nessus-vulnerability-scanner/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/nessus-vulnerability-scanner/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>PCI Compliance</title>
		<link>http://www.instacarma.com/blog/technical/pci-compliance/</link>
		<comments>http://www.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[Filed under: PCI, security 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 [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/pci/'>PCI</a>, <a href='http://www.instacarma.com/blog/tag/security/'>security</a></p>
<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>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/pci-compliance/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/pci-compliance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moodle security fix released</title>
		<link>http://www.instacarma.com/blog/technical/moodle-security-fix-released/</link>
		<comments>http://www.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[Filed under: moodle, security 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 [...]]]></description>
			<content:encoded><![CDATA[<p>Filed under: <a href='http://www.instacarma.com/blog/tag/moodle/'>moodle</a>, <a href='http://www.instacarma.com/blog/tag/security/'>security</a></p>
<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>
<div class="alignright"><div class="g-plusone" data-href="http://www.instacarma.com/blog/technical/moodle-security-fix-released/" size="standard" count="true"></div></div>]]></content:encoded>
			<wfw:commentRss>http://www.instacarma.com/blog/technical/moodle-security-fix-released/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

